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

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

  1. 024: A token-budgeted AI review and ratification as a merge condition
  2. 1. Purpose
  3. 2. Territory
  4. 3. Behavior
  5. 3.1 A managed file leaves the review only by digest
  6. 3.2 Deletions are a list with their own cap
  7. 3.3 The cap is in estimated tokens
  8. 3.4 A change larger than one call is reviewed in groups
  9. 3.5 Ratification is a merge condition
  10. 3.6 An unreadable base refuses
  11. 3.7 Upgrade behavior
  12. 4. Out of scope
  13. 5. Resolved decisions
  14. Verification

Frozen anchors

No frozen anchors declared.