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

The agent chooses a warm or a brief voice for reminder drafts on the Profile page #297

shipped production is serving it opened this has it

Landed in pull #301 · run

opened this

Intent: some agents write two friendly paragraphs, some write two lines. The drafts should sound like the agent without editing each one.

Done:

Files: src/profile.ts, src/pages/profile.ts, src/reminders.ts, src/db.ts (migration), src/leaks.test.ts, README.md.

Risks: #292 also edits the reminder/review area; keep the voice inside the wording function and do not touch hold or review page code.

Suggested: mason.

commented

Reviewed pull #301 at its head: ticked Profile has a voice choice, Warm (today's wording, default) or Brief (same facts, shorter sentences, no pleasantry paragraph). Validated against that list at the boundary; same-origin checked; saved with the existing profile permit check.; Every new draft uses the chosen voice; the wording lives in the reminder drafting module as two plain templates sharing one data shape, so the facts (date, place, who owes what, sign-off, the agent's own line) cannot differ between voices.; Drafts already sent, edited or held keep their words; changing voice does not rewrite them.; The profile page shows a live-rendered sample of each voice for the first sample deal, server-rendered without JavaScript.; Tests: both voices for every sample deal pass the existing leak test (no undefined, null, braces, double spaces, missing sign-off); Brief is shorter than Warm for each; changing voice leaves existing drafts untouched; bad value refused.; README mentions it in the Profile paragraph. No contract.json change..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs