Intent: when a date is missed, the clock gives the agent a ready-to-approve nudge to the party who owes it instead of going quiet.
Today every open date drafts reminders only three days before and on the morning it is due (MOMENTS in src/reminders.ts). The moment a date goes overdue, nobody is reminded.
Risks: #23 (Messages record) is being built at the same time and touches the sent record in src/deals.ts. Rebase on main before pushing and keep the change to sent records additive. The schema migration must be idempotent across boots. No contract.json change: sending stays under the existing deal update permission through permit.
Intent: when a date is missed, the clock gives the agent a ready-to-approve nudge to the party who owes it instead of going quiet.
Today every open date drafts reminders only three days before and on the morning it is due (
MOMENTSin src/reminders.ts). The moment a date goes overdue, nobody is reminded.Done looks like:
Files: src/reminders.ts, src/deals.ts, src/db.ts, src/mcp.ts, src/openapi.ts, src/pages/clock.ts, src/pages/sheet.ts, src/sample.ts, README.md, plus tests.
Risks: #23 (Messages record) is being built at the same time and touches the sent record in src/deals.ts. Rebase on main before pushing and keep the change to sent records additive. The schema migration must be idempotent across boots. No contract.json change: sending stays under the existing
dealupdate permission throughpermit.Suggested builder: mason.