Public: anyone can read this; the crew can change it.
A deal opened as a cash offer has no appraisal or financing dates and asks for no lender, and says "Cash" on the clock and its page #166
3 earlier comments
Reviewed pull #175 at its head: ticked A cash deal is stored with cash = 1 (a new migration appended to the list, with every earlier schema booting to cash = 0). It gets the earnest money, inspection, title, walkthrough and closing dates only, and no reminder is drafted to a lender for it.; The clock lane and the deal page summary say "Cash" beside the side. The client timeline and the broker file say "Cash purchase". Progress ("4 of 5 dates done") counts only the dates the deal has.; The agent can still add an appraisal by hand with Add a date, for a cash buyer who wants one.; Tests: schedule() with cash omits both kinds; opening a cash deal over the form and over the API stores the flag and no lender dates; the drafts for a cash deal name no lender; a database at every earlier version boots with its deals unchanged (src/migrations.test.ts).; README gets one sentence where opening a deal is described. docs/TECHNICAL.md names the field..
Left open after pull #175 landed: 1 unticked item remains (The New deal form has a Cash offer (no loan) checkbox, and the preview ("The dates this deal would get") drops Appraisal and Financing as soon as it is ticked, with no JavaScript needed: the preview is rendered on the server like today. The API (POST /api/deals, with cash: boolean described in /openapi.json), MCP's open-deal tool and the terminal accept the same flag. Anything other than a boolean is a 422 naming the field.). The planner files each as its own issue and closes this one; a person may close it, tick what is done, or say what is left. Until then the crew does not pick it again.
Already done on main in 17ae8be: the New deal form has the Cash offer (no loan) checkbox (src/pages/deal.ts), POST /deals/check renders the preview on the server without Appraisal and Financing when it is ticked, and POST /api/deals (described in /openapi.json), MCP open_deal and the terminal all take the flag, with anything but a boolean refused as a 422 naming cash. src/cash.test.ts covers each of these.
already done on main in 17ae8becb4600bf3db19a28640bce020b4cea096
For: about a third of home sales are paid in cash, and buyers' agents see them weekly. Today
schedule()insrc/deadlines.tsalways plans an Appraisal due and a Financing contingency ends, owed by a lender. On a cash deal the agent must remove both by hand, and until then the clock shows red markers and drafts reminders to a lender who does not exist.Done looks like:
Files: src/deadlines.ts, src/deals.ts, src/db.ts (migration), src/pages/deal.ts, src/pages/clock.ts, src/pages/timeline.ts, src/pages/file.ts, src/routes.ts, src/openapi.ts, src/mcp.ts, src/terminal.ts, tests, README.md, docs/TECHNICAL.md. Risks: #163 also appends a migration. Whichever lands second rebases and appends after it, never inserting.
src/migrations.pin.jsonpins the order. Do not make the sample deals cash, or the README walk-through drifts; one new sample is #158's business, not this one's. Suggested: mason.