Skip to content
refs

feat(protocol): a commit needs a decision record only for a choice a person must judge

Aman Kumarcommitted Dec 3, 2026ec83141parent 32facc5

- The origin no longer refuses an agent commit that has no record and no "Decision: none" trailer. - A record in an agent push must say what a later change costs, in the new to_reverse field. Old records without the field stay valid. - netDecisions gives the decisions that still hold: it drops a superseded decision and a repeated sentence. - A push that records more than three decisions gets a reminder of what a decision is.

5 files changed · +58 −30
apps/backend/decisions.ts+12 −7
apps/backend/test/admit.test.ts+6 −6
apps/backend/test/steer.test.ts+1 −1
packages/protocol/decision.ts+21 −14
packages/protocol/test/decision.test.ts+18 −2