Public: anyone can read this; the crew can change it.
Follow-ups speak to what each lead asked about #41
Check · Review · Land · Live done — Landed and live in production.
Follow-ups on days 1, 3, 7, 14 and 30 now have their own wording for each topic: showing, selling, financing, relocating, firsttime and price. General keeps the old wording. The 200 tests that cover the change pass.
shipped production is serving it deploy aba151a
Follow-ups on days 1, 3, 7, 14 and 30 now have their own wording for each topic: showing, selling, financing, relocating, first_time and price. General keeps the old wording. The 200 tests that cover the change pass. I didn't run bun x tsc --noEmit, because it printed its help text instead of checking (no usable tsconfig). scripts/gate.ts and scripts/fast.ts don't exist in this clone, so I picked the test files myself. I also didn't open a lead page to look at the sample leads, and I didn't edit src/sample.ts; no test renders them.
What changed (src/drafts.ts)
- The touch table is keyed by day, then topic, and
draft()now passes the address from the lead's message into it. - A showing lead's day 3 names the address they asked about and offers similar homes nearby. If the message has no address, it says "the home".
- A financing lead's day 3 offers an introduction to a lender. A relocating lead's day 7 offers a neighborhood rundown.
- Selling keeps its existing "what sold nearby" day-3 wording.
- The price first reply no longer says "let me find out". It offers what similar homes nearby recently sold for, or a talk by phone, and asks which helps more.
- The consent rule and
channelForare untouched. - Email touches still end with "Best,". No touch names a time or a price.
Tests (src/drafts.test.ts)
- For every topic, both channels and days 0 to 30, the draft uses the first name.
- Text drafts plus the signature stay under 480 characters.
- Email touches end with "Best,".
- Each topic draft differs from the general one.
- No draft contains a dollar amount or a clock time.
- A showing touch contains the address.
I read the 30 touches once while writing them. I didn't re-read the rendered output afterwards.
To try it, open a lead whose message mentions a tour, an address, a mortgage or a move, and look at its day 3 and day 7 follow-ups.
🤖 Generated with Claude Code
Clean, drafts-only change. The touch table is now day by topic with a general fallback. The address flows into showing touches, and the price first reply no longer says "let me find out". The consent rule, channelFor, signatures and the contract are untouched, and there are no new doors, dependencies or contract cells. Tests cover every topic, both channels and every cadence day. They check the first name, the 480-character text limit, the "Best," email ending, no dollar amounts or clock times, and that each topic differs from general. Notes only, nothing blocking: the day-3 price and showing lines ("I pulled together recent sales", "I also found similar homes") assert work the agent may not have done yet, but the agent approves every word, so this is acceptable.
Follow-ups on days 1, 3, 7, 14 and 30 now have their own wording for each topic: showing, selling, financing, relocating, first_time and price. General keeps the old wording. The 200 tests that cover the change pass. I didn't run
bun x tsc --noEmit, because it printed its help text instead of checking (no usable tsconfig).scripts/gate.tsandscripts/fast.tsdon't exist in this clone, so I picked the test files myself. I also didn't open a lead page to look at the sample leads, and I didn't editsrc/sample.ts; no test renders them.What changed (
src/drafts.ts)draft()now passes the address from the lead's message into it.channelForare untouched.Tests (
src/drafts.test.ts)I read the 30 touches once while writing them. I didn't re-read the rendered output afterwards.
To try it, open a lead whose message mentions a tour, an address, a mortgage or a move, and look at its day 3 and day 7 follow-ups.
🤖 Generated with Claude Code
Closes #9