157-the-affected-sweep-runs-in-the-merge-queue
The affected-acceptance sweep runs in the merge queue
Spec 150 runs the affected-acceptance sweep in the session that drives a pull request, on its head, and records the counts in the pull request body (D-1). Any engine change selects the whole corpus, so each remediation round costs the session about 45 minutes and a fresh body record, and two pull requests swept at once share one machine. 150 D-1 named the alternative and left it to a later spec: run the sweep in CI on `merge_group`, which sweeps only a change a maintainer has queued. This spec takes it. The sweep becomes a required merge-queue check, sharded across a job matrix so a whole-corpus run is not one sequential job, and the session step and the body record retire. The job belongs to the Statecraft profile, so every governed repository gets it; this repository declares it until the profile carries it.
Read the full pinned specification ↗Relationships
depends on
amended by
Claimed units
- establishes
{ "kind": "file", "path": ".github/workflows/affected-acceptance.yml" } - extends
{ "nature": "additive", "spec": "089-nothing-reruns-a-merged-acceptance", "unit": { "kind": "file", "path": "scripts/verify-sweep.sh" } } - extends
{ "nature": "additive", "spec": "089-nothing-reruns-a-merged-acceptance", "unit": { "kind": "file", "path": "scripts/test-verify-sweep.py" } } - extends
{ "nature": "additive", "spec": "064-compile-warnings-reach-the-gate", "unit": { "kind": "file", "path": "AGENTS.md" } } - extends
{ "nature": "additive", "spec": "064-compile-warnings-reach-the-gate", "unit": { "kind": "file", "path": ".claude/skills/" } } - extends
{ "nature": "additive", "spec": "156-statecraft-profile-10-governs-this-repository", "unit": { "kind": "file", "path": ".statecraft/environment.json" } } - extends
{ "nature": "additive", "spec": "156-statecraft-profile-10-governs-this-repository", "unit": { "kind": "file", "path": ".statecraft/setup/github-actions-rust.json" } } - extends
{ "nature": "additive", "spec": "156-statecraft-profile-10-governs-this-repository", "unit": { "kind": "file", "path": ".github/workflows/statecraft-ci.yml" } } - extends
{ "nature": "corrective", "spec": "094-one-gate-and-the-boundaries-it-holds", "unit": { "kind": "file", "path": "crates/spec-spine-core/tests/gate.rs" } }
Source headings
- 157: The affected-acceptance sweep runs in the merge queue
- 1. Purpose
- 1.1 What 150 costs
- 1.2 The alternative 150 left open
- 2. Territory
- 3. Behavior
- 3.1 The sweep is a merge-queue check
- 3.2 The selection is sharded
- 3.3 The session step retires
- 3.4 The trust boundary holds
- 3.5 The job belongs to the Statecraft profile
- 3.6 The post-merge sweeps stay
- 4. Out of scope
- 5. Resolved decisions
- Verification
Frozen anchors
No frozen anchors declared.