062-review-verdict-status

Setup profile revision 21 publishes the AI review's verdict as a check run, and review status reads it

Lifecycle approvedImplementation completeVerification unknownQualification unknown

Amends spec 002's setup profile, spec 024's review and spec 006's command surface. github-actions-rust revision 21 publishes every review result (findings, no-findings, skipped:<class>) as a check run on the reviewed head, named `statecraft-ai-review`, whose output carries the evidence record byte for byte. A new read-only verb, `statecraft-cli review status <pr> [--head <sha>] [--repo <owner/name>] [--json]`, reads it under one rule for which review counts, the rule ci-gate already uses in the merge queue, and answers with a closed outcome and spec 006's exit codes. The `## AI review` comment is unchanged. Arming, retrying and waiting are out of scope. Spec 044 moves from revision 21 to revision 22.

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. 062: The AI review's verdict as a check run, read by `review status`
  2. 1. Purpose
  3. 2. Territory
  4. 3. Behavior
  5. 3.1 The verdict check run
  6. 3.2 Which review counts
  7. 3.3 The `review status` verb
  8. 3.4 Outcomes and exit codes
  9. 3.5 What does not change
  10. 3.6 The revision
  11. 4. Out of scope
  12. 5. Observable negative cases
  13. 6. Resolved decisions
  14. Implementation record
  15. Verification

Frozen anchors

No frozen anchors declared.