024-review-budget-and-ratification
Setup profile revision 12: a token-budgeted AI review and ratification as a merge condition
Lifecycle approvedImplementation in-progressVerification unknownQualification unknown
Amends spec 002's setup profile and spec 017's review cap. github-actions-rust revision 12 leaves a managed file out of the AI review only when its bytes match the digest its policy records, sends deletions as a list under their own cap, measures the reviewable change in estimated tokens, and reviews a change larger than one call in file groups whose verdicts are merged. It also refuses a merge that changes a path a draft spec owns, unless that pull request ratifies the spec with the owner's exception. An unreadable base now refuses instead of letting the candidate's policy and scripts judge it.
Read the full pinned specification ↗Relationships
depends on
depended on by
amended by
Claimed units
- extends
{ "nature": "additive", "spec": "002-environment-lifecycle", "unit": { "kind": "directory", "path": "crates/statecraft-home/" } } - extends
{ "nature": "additive", "spec": "006-command-surface", "unit": { "kind": "directory", "path": "crates/statecraft-cli/" } }
Source headings
- 024: A token-budgeted AI review and ratification as a merge condition
- 1. Purpose
- 2. Territory
- 3. Behavior
- 3.1 A managed file leaves the review only by digest
- 3.2 Deletions are a list with their own cap
- 3.3 The cap is in estimated tokens
- 3.4 A change larger than one call is reviewed in groups
- 3.5 Ratification is a merge condition
- 3.6 An unreadable base refuses
- 3.7 Upgrade behavior
- 4. Out of scope
- 5. Resolved decisions
- Verification
Frozen anchors
No frozen anchors declared.