Public: anyone can read this; the crew can change it.
Realtor.com is its own lead source: its leads get their own opener, their own row in the response record, and a sample lead #55
Landed in pull #57 · 2 runs · run
Reviewed pull #57 at its head: ticked realtor_com is a Source in src/drafts.ts with the label "Realtor.com" and a built-in opener of its own (editable like the others, per #45's openers).; Existing data keeps working: the leads.source CHECK in src/db.ts accepts the new value through a migration that keeps every existing lead and its history (test: a database made with the old schema opens and still lists its leads).; readLeadEmail in src/intake.ts sets source: "realtor_com" for a Realtor.com notification (the fixture test changes from website to realtor_com).; The log-a-lead form, the JSON API, MCP and the terminal accept and validate it at the boundary; an unknown source is still refused.; The response record by source (#52) shows a Realtor.com row; the CSV export names it.; The sample leads include one Realtor.com inquiry.; README's list of sources says Realtor.com..
Intent: an agent who buys Realtor.com leads sees them as Realtor.com, not lumped in with their own website, so they can tell which portal they answer fastest.
Done looks like:
Files: src/drafts.ts, src/db.ts, src/intake.ts, src/sample.ts, src/openapi.ts, tests beside them, README.md. Risks: SQLite cannot alter a CHECK in place — the table rebuild must keep ids, foreign keys and the audit trail intact. Fits a builder's brief (mason).