Public: anyone can read this; the crew can change it.

A party keeps both a phone and an email, and Send on a reminder offers Open in Mail and Open in Messages so the agent picks how it reaches them #120

shipped production is serving it opened this has it

Landed in pull #123 · run

opened this

Intent: a lender is emailed and a buyer is texted, from the same deal, without retyping a contact over the other one.

Done looks like:

Files: src/db.ts (appended migration), src/people.ts, src/outbox.ts, src/deals.ts, src/sample.ts, src/pages/deal.ts, src/pages/review.ts, src/pages/people.ts, src/pages/contact.ts, src/routes.ts, src/mcp.ts, src/openapi.ts, README.

Risks: #117 also touches deals.ts and the sample deals, so rebase on it if it has landed; contract.json is untouched; the app still sends nothing itself.

Suggested: mason.

commented

Reviewed pull #123 at its head: ticked A party has an optional email and an optional phone, each validated at the boundary (an email shape up to 200 characters; a phone of digits, spaces, + - ( ) . up to 30); the existing single contact migrates into whichever one it looks like.; Adding or correcting a party on the deal's page, and the add-contact form on the review page (#114's), take both fields; a refused form keeps what was typed.; When a party has both, Send on a reminder, a follow-up, a date-changed notice and a status update records the approval once and shows both Open in Mail and Open in Messages with the approved words; with one, it shows that one, as today.; The People page and the deal's page show both as tap-to-call/text/write links.; The sample deals give at least one party both; Restore the sample deals brings them back.; /api/deals, MCP party tools and src/openapi.ts carry email and phone; the old contact field still reads for a release, documented as deprecated.; Tests: the migration splits an existing email and an existing phone correctly, a bad email is a 422, a party with both yields both hrefs, the send record is written once. bun test passes..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs