agent-acceptance-gate
Run the final read-only verification step for a multi-agent round. The gate
checks declared criteria and produces acceptance evidence. It never merges,
commits, retries, or silently converts a decline, cancellation, timeout, or
failure into success.
Inputs
- current provider-neutral plan and success criteria;
- validated
TaskCheckpoint and latest PolicyDecision;
- task results, evidence references, and raw-log paths;
- reconciliation report;
- repository diff and project-specific verification commands;
- prior human decision records, if any.
Historical provider fields may be read for migration only. Current checks use
task IDs and roles (primary-agent, delegated-executor, reviewer, and
synthesizer).
Mandatory preset routing
Run the matching preset when a staged diff:
- touches multiple locale variants of the same document stem;
- adds entries to a catalog; or
- changes a model-and-benchmark claim.
The bundled preset names are multi-locale-mirror-sync,
catalog-entry-add, and fact-check-frontier-models.
Presets encode additional failure-mode checks; they do not replace independent
review or factual source verification. If a preset cannot run, report a blocker
or explicit degraded state. Never claim PASS.
Workflow
- Validate the plan, checkpoint, and policy. Unreadable configured policy is a
fail-closed blocker.
- Inventory all tasks and required artifacts. Missing,
null, declined,
cancelled, timeout, degraded, and failed states remain distinct.
- Verify each declared success criterion with a deterministic command,
artifact check, or explicit manual-check requirement. Never invent missing
criteria.
- Compare changed files with declared task scopes and record unexplained drift
as FAIL.
- Check structured statuses, claimed tests, evidence references, reconciliation
blockers, and unresolved high-severity risks.
- Run triggered presets and applicable project invariants. For external facts,
cite authoritative sources and mark whether evidence was locally verified.
- Evaluate canonical policy after the gate cycle. Respect v2 action/slice/goal
scope and eligible automatic slice continuation; v1 behavior is unchanged.
- Write a new immutable acceptance evidence record. Do not overwrite a prior
run or human decision.
- Report acceptance to the primary-agent and user. The host checks existing
authorization for delivery; do not demand a fresh approval solely because
review, session, or slice changed. A genuinely new human gate still needs a
separate recorded decision bound to the specific affected action.
All numeric budgets and retry limits come only from the canonical policy. This
skill and its presets must not copy default values.
Verdicts
PASS: every required check passed and no blocker remains. This means
technically acceptable, not human-authorized to merge.
CONDITIONAL PASS: deterministic checks passed but an explicit human action,
degraded optional check, or documented non-blocking condition remains.
FAIL: any required criterion, scope, policy, evidence, preset, or blocker
check failed.
A human may approve a documented exception, but the original gate record stays
immutable. The new decision must include gate, actor, decision, timestamp,
rationale, and affected action hash. A human override does not rewrite a failed
test into a passing test.
Output contract
Write an acceptance evidence artifact with:
- run ID, timestamp, plan/checkpoint/policy references, and action hash;
- per-task status and criterion results;
- scope and preset results;
- test commands, exit codes, bounded excerpts, and artifact paths;
- risks, degraded checks, and blockers;
- technical verdict;
- pending or recorded human decision reference.
Coordination scratch is gitignored by default. Promote only explicitly required
checkpoint snapshots, shipping artifacts, or acceptance evidence into a
repository-owned path.
See references/acceptance_checklist.md for the verification taxonomy.
Prohibitions
- Do not run implementation agents or decide retries.
- Do not mutate source, plan, checkpoint history, or canonical memory.
- Do not overwrite prior acceptance or human-decision records.
- Do not treat agent consensus as evidence.
- Do not commit, merge, push, release, or delete branches.
1---2name: agent-acceptance-gate3description: Use when reconciled multi-agent output needs an evidence-based PASS, CONDITIONAL PASS, or FAIL record before authorized delivery.4---56# agent-acceptance-gate78Run the final read-only verification step for a multi-agent round. The gate9checks declared criteria and produces acceptance evidence. It never merges,10commits, retries, or silently converts a decline, cancellation, timeout, or11failure into success.1213## Inputs1415- current provider-neutral plan and success criteria;16- validated `TaskCheckpoint` and latest `PolicyDecision`;17- task results, evidence references, and raw-log paths;18- reconciliation report;19- repository diff and project-specific verification commands;20- prior human decision records, if any.2122Historical provider fields may be read for migration only. Current checks use23task IDs and roles (`primary-agent`, `delegated-executor`, `reviewer`, and24`synthesizer`).2526## Mandatory preset routing2728Run the matching preset when a staged diff:2930- touches multiple locale variants of the same document stem;31- adds entries to a catalog; or32- changes a model-and-benchmark claim.3334The bundled preset names are `multi-locale-mirror-sync`,35`catalog-entry-add`, and `fact-check-frontier-models`.3637Presets encode additional failure-mode checks; they do not replace independent38review or factual source verification. If a preset cannot run, report a blocker39or explicit degraded state. Never claim PASS.4041## Workflow42431. Validate the plan, checkpoint, and policy. Unreadable configured policy is a44 fail-closed blocker.452. Inventory all tasks and required artifacts. Missing, `null`, declined,46 cancelled, timeout, degraded, and failed states remain distinct.473. Verify each declared success criterion with a deterministic command,48 artifact check, or explicit manual-check requirement. Never invent missing49 criteria.504. Compare changed files with declared task scopes and record unexplained drift51 as FAIL.525. Check structured statuses, claimed tests, evidence references, reconciliation53 blockers, and unresolved high-severity risks.546. Run triggered presets and applicable project invariants. For external facts,55 cite authoritative sources and mark whether evidence was locally verified.567. Evaluate canonical policy after the gate cycle. Respect v2 action/slice/goal57 scope and eligible automatic slice continuation; v1 behavior is unchanged.588. Write a new immutable acceptance evidence record. Do not overwrite a prior59 run or human decision.609. Report acceptance to the primary-agent and user. The host checks existing61 authorization for delivery; do not demand a fresh approval solely because62 review, session, or slice changed. A genuinely new human gate still needs a63 separate recorded decision bound to the specific affected action.6465All numeric budgets and retry limits come only from the canonical policy. This66skill and its presets must not copy default values.6768## Verdicts6970- `PASS`: every required check passed and no blocker remains. This means71 technically acceptable, not human-authorized to merge.72- `CONDITIONAL PASS`: deterministic checks passed but an explicit human action,73 degraded optional check, or documented non-blocking condition remains.74- `FAIL`: any required criterion, scope, policy, evidence, preset, or blocker75 check failed.7677A human may approve a documented exception, but the original gate record stays78immutable. The new decision must include gate, actor, decision, timestamp,79rationale, and affected action hash. A human override does not rewrite a failed80test into a passing test.8182## Output contract8384Write an acceptance evidence artifact with:8586- run ID, timestamp, plan/checkpoint/policy references, and action hash;87- per-task status and criterion results;88- scope and preset results;89- test commands, exit codes, bounded excerpts, and artifact paths;90- risks, degraded checks, and blockers;91- technical verdict;92- pending or recorded human decision reference.9394Coordination scratch is gitignored by default. Promote only explicitly required95checkpoint snapshots, shipping artifacts, or acceptance evidence into a96repository-owned path.9798See `references/acceptance_checklist.md` for the verification taxonomy.99100## Prohibitions101102- Do not run implementation agents or decide retries.103- Do not mutate source, plan, checkpoint history, or canonical memory.104- Do not overwrite prior acceptance or human-decision records.105- Do not treat agent consensus as evidence.106- Do not commit, merge, push, release, or delete branches.