Public: anyone can read this; the crew can change it.
The agent can undo the last move of a date from the deal page #303
commented
Reviewed pull #307 at its head: ticked After a date move, the deal page offers "Undo move" for that date showing the previous due date; one POST restores it, writes an audit row (deadline.unmove), and offers nothing further (single level).; Same-origin check, permit(update) on deal, input validated; the offer disappears once the date is done, removed or moved again by someone else.; Tests: move then undo restores the date and its reminder drafts; undo after done is refused; a cross-origin POST is refused; the audit row appears on Activity.; README gets a line under shaping a deal; openapi lists any new API route; bun test and design-lint pass..
Sign in to join this conversation.
new above
offline
Intent: a realtor who slides a date by mistake in front of a client can put it back in one step.
Done looks like:
Files:
src/deals.ts,src/routes.ts,src/pages/deal.ts,src/activity.ts,src/openapi.ts, tests, README, maybesrc/db.ts(a migration goes at the END of the list andmigrations.pin.jsonupdated). Risks: migration order; do not loosen any contract cell. Brief: a builder (mason).