agentleFS
WenyuChiouWenyuChiou/agent-collab-skills/skills/agent-acceptance-gate/SKILL.md

agent-acceptance-gate

Skill30 starsChanged 3 months agoMITView on GitHub

Use when reconciled multi-agent output needs an evidence-based PASS, CONDITIONAL PASS, or FAIL record before authorized delivery.

The file

Show its rules and text

We split this skill into the rules it gives an agent

15 rules. About 0 are common, 14 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈14

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Run the final read-only verification step for a multi-agent round.

    line 8
  2. Distinctive:

    Run the matching preset when a staged diff:

    line 28
  3. Distinctive:

    Verify each declared success criterion with a deterministic command, artifact check, or explicit manual-check requirement.

    line 54
  4. Distinctive:

    Check structured statuses, claimed tests, evidence references, reconciliation blockers, and unresolved high-severity risks.

    line 59
  5. Distinctive:

    Run triggered presets and applicable project invariants.

    line 61
  6. Distinctive:

    Write a new immutable acceptance evidence record.

    line 65
  7. Distinctive:

    All numeric budgets and retry limits come only from the canonical policy.

    line 72
  8. Distinctive:

    Write an acceptance evidence artifact with:

    line 91
  9. Very specific:

    run ID, timestamp, plan/checkpoint/policy references, and action hash.

    line 93
  10. Distinctive:

    test commands, exit codes, bounded excerpts, and artifact paths.

    line 96
  11. Distinctive:

    Do not run implementation agents or decide retries.

    line 109
  12. Distinctive:

    Do not mutate source, plan, checkpoint history, or canonical memory.

    line 110
  13. Distinctive:

    Do not overwrite prior acceptance or human-decision records.

    line 111
  14. Distinctive:

    Do not treat agent consensus as evidence.

    line 112
  15. Distinctive:

    Do not commit, merge, push, release, or delete branches.

    line 113

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Presets are declarative review contracts, not an executable engine in the Python harness. For delegated content tasks, follow the required task-content evidence review. Retained mtime checks are advisory: reject missing/stale task evidence, verify the current baseline/candidate and scope, and allow justified unchanged output only when the task contract permits it. Hashes identify bytes, not semantic truth.

Workflow

  1. Validate the plan, checkpoint, and policy. Unreadable configured policy is a fail-closed blocker.
  2. Inventory all tasks and required artifacts. Missing, null, declined, cancelled, timeout, degraded, and failed states remain distinct.
  3. Verify each declared success criterion with a deterministic command, artifact check, or explicit manual-check requirement. Never invent missing criteria.
  4. Compare changed files with declared task scopes and record unexplained drift as FAIL.
  5. Check structured statuses, claimed tests, evidence references, reconciliation blockers, and unresolved high-severity risks.
  6. Run triggered presets and applicable project invariants. For external facts, cite authoritative sources and mark whether evidence was locally verified.
  7. Evaluate canonical policy after the gate cycle. Respect v2 action/slice/goal scope and eligible automatic slice continuation; v1 behavior is unchanged.
  8. Write a new immutable acceptance evidence record. Do not overwrite a prior run or human decision.
  9. 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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.