agentleFS
MicrosoftKnown publishermicrosoft/apm/.agents/skills/release-acceptance/SKILL.md

release-acceptance

Skill4.5k starsChanged 13 days agoApache-2.0View on GitHub

Use this skill to accept or reject an APM release candidate before tagging: walk the program's critical user journeys (consume, publish, govern) end to end on the exact candidate build, look for broken hints, inconsistent commands, scopes, modes and targets, trust and integrity gaps, upgrade and environment breaks, verify every finding independently, turn each one into a failing-before lifecycle test brief, and return one release-gate row (GO or NO-GO) with evidence. Activate on "red team the release", "acceptance test the RC", "UX acceptance", "pre-release QA", "break the train", "is the release candidate ready", "re-check the findings on the release PR", or before or after cut-release, even when the user does not say "skill". Mode `recheck` re-verifies open findings on a moved head. It never fixes code, opens PRs or tags; reviewing one PR's diff belongs to autopilot-pr-review-worker and writing the tests belongs to apm-lifecycle-tests.

3 other projects use a version of this.

Trending

More talk lately.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 12 mentionsApr 2026: 7 mentionsMay 2026: 3 mentionsJun 2026: 4 mentionsJul 2026: 4 mentionsAug 2026: 0 mentionsSep 2026: 3 mentionsOct 2026: 9 mentionsNov 2026: 16 mentionsDec 2026: 3 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the microsoft/apm repository that our weekly crawl found. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about microsoft/apm

The biggest 5 of 61 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 61

Talked about on GitHub, Hacker News and Bluesky (61 times).

On GitHub · 50

45 more on GitHub

On Hacker News · 6

1 more on Hacker News

On Bluesky · 5

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 10

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Before cut-release: mode full on the green release-train tip.

    line 38
  2. Very specific:

    After cut-release: mode recheck on the release PR's exact SHA, right before the human tags.

    line 39
  3. Distinctive:

    Not for: reviewing one PR (autopilot-pr-review-worker), writing tests (apm-lifecycle-tests), docs prose checks (docs-grounding-verifier), …

    line 43
  4. Very specific:

    No side effects outside the run directory except filing confirmed non-security findings per the release's bug pipeline (see …

    line 62
  5. Very specific:

    Read references/atlas-protocol.md now.

    line 104
  6. Very specific:

    Write the queue to run.json.

    line 118
  7. Very specific:

    Read references/walker-brief.md and references/lenses.md now.

    line 123
  8. Very specific:

    Read references/verifier-brief.md now.

    line 145
  9. Very specific:

    Write REPORT.md from assets/report-template.md.

    line 167
  10. Very specific:

    Follow references/atlas-protocol.md: write the experience page draft and the break-pattern update into the run directory and hand them to …

    line 187
  11. Very specific:

    All are non-interactive, print JSON on stdout and diagnostics on stderr, and support --help.

    line 193

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

release-acceptance -- discover what the regression net does not know yet

The test-corpus program is the regression net: deterministic tests, receipts and journey goldens in CI. This skill is the DISCOVERY engine that runs on the exact release candidate before the tag. It walks the program's journeys as a real user would, executes every hint the CLI prints, repeats steps in sibling cells, and reports what breaks. Every confirmed finding becomes a failing-before test through apm-lifecycle-tests, so each pass makes the net stronger.

Why it exists: in 0.37, plain user journeys found about 80 issues where targeted reviews found 14, and many were hints that sent users to a command that did not work. No test runs the commands the CLI tells users to run.

When to use

  • Before cut-release: mode full on the green release-train tip.
  • After cut-release: mode recheck on the release PR's exact SHA, right before the human tags.
  • Any time someone asks whether a candidate build is ready.

Not for: reviewing one PR (autopilot-pr-review-worker), writing tests (apm-lifecycle-tests), docs prose checks (docs-grounding-verifier), version bumps (cut-release), tagging (a human).

Operating rules

  • Facts come from tools. Exit codes, output lines, file contents and SHAs are read from scripts/ output, never asserted from memory.
  • One writer. Only this orchestrator thread writes the ledger, the coverage table, the report and the Atlas drafts. Workers write only inside their own world directory.
  • Capacity. At most 2 workers at a time (--slots, default 2). Run scripts/load_gate.py before every spawn; exit 75 means wait 120 seconds and check again. Never run full test suites.
  • Hermetic. Every step runs in a world from scripts/world.py: isolated HOME and APM_HOME, local git remotes and local marketplaces, no credentials, no real network writes.
  • Neutral briefs. Every brief passes scripts/brief_lint.py before it is sent. Some model families refuse security-worded briefs.
  • No side effects outside the run directory except filing confirmed non-security findings per the release's bug pipeline (see references/rubric.md). Never fix code, commit, push, comment on or push to pull requests, or tag. Security findings route privately.
  • ASCII only in everything this skill writes.
  • Reload run.json before every spawn and after every return. Do not rely on recall of earlier turns.

Inputs

InputMeaning
--sha SHA or --pr Nthe exact candidate; a PR resolves to its current head SHA
--mode full|recheckfull hunts; recheck re-verifies open findings only
--slots 2concurrent workers (hard maximum 2 unless the operator raises it)
--catalog PATHoperator-supplied journey catalogue; default is tests/lifecycle/journeys/index.yaml
--journeys J01,E01restrict to these journey ids (default: risk-ranked full set)
--findings PATHprior ledger, required for recheck

Run directory: <session files>/release-acceptance/<version>/<sha>/. State lives in run.json (inputs, phase, queue, per-slot status), findings.json (ledger) and coverage.csv.

Procedure

P0 -- ground (deterministic)

  1. Resolve the SHA: git rev-parse <sha>, or gh pr view <N> --json headRefOid. Record it in run.json.
  2. Build or locate the candidate binary from that SHA and check <apm> --version prints the SHA prefix. If it prints another commit (an in-tree build on a branch), accept it only when git diff --quiet <candidate> <printed> -- src/ succeeds, and record both SHAs. Otherwise stop.
  3. Load the catalogue: python3 scripts/journeys.py --repo-root <checkout> [--catalog PATH]. Exit 3 means "catalogue unavailable": stop and report it. Never use an embedded or hand-converted copy.
  4. python3 scripts/load_gate.py.

P1 -- recall (Atlas)

Read references/atlas-protocol.md now. Probe for Atlas, read the listed lessons and decisions, and write the one-page wisdom block into run.json. If Atlas is unavailable, record that and continue.

P2 -- plan (risk-ranked queue)

  1. List what changed since the last tag: git log --oneline <tag>..<sha> the changelog.d/ fragments, and the [Unreleased] block of CHANGELOG.md.
  2. Map changed files to owners (.apm/architecture/owners/) and owners to journeys and lenses with references/lenses.md.
  3. Rank journey x lens pairs: golden journeys first, then pairs that touch changed owners, then pairs where the wisdom block shows recurring breaks, then the rest. Add the flagship chain in a full pass.
  4. Write the queue to run.json. In recheck mode the queue is the open findings from --findings instead.

P3 -- walk (waves of at most 2 workers)

Read references/walker-brief.md and references/lenses.md now.

  • Wave 1: plain journeys with lenses L1 and L2.
  • Gate: merge the new findings (python3 scripts/findings.py add --ledger findings.json --findings <worker>/findings.jsonl --sha <sha>; --sha binds the ledger even when a wave finds nothing, and an unbound ledger never yields GO), drop duplicates, check whether the PR head moved (if it did, record the new SHA and re-run only the affected steps), and re-rank.
  • Wave 2: lenses L3 to L6 on the ranked journeys.

For each queue item: fill the walker brief, lint it, check the load gate, spawn the worker with the brief as its whole prompt, and wait. One journey and one lens per worker.

In recheck mode: one worker re-runs each finding's repro and replays the original step at the new SHA, then reports VERIFIED-FIXED, STILL-OPEN, CHANGED or FALSE-POSITIVE. Apply them with python3 scripts/findings.py recheck --ledger findings.json --verdicts <file> --sha <sha>.

P4 -- verify (independent, cold)

Read references/verifier-brief.md now. For every new finding, spawn a verifier with the finding record only, preferably on a different model family. Apply its verdict: CONFIRMED sets status verified and may change severity; FALSE-POSITIVE closes it; CHANGED records the new observation. A finding the verifier cannot reproduce in 2 attempts is a false positive. Apply verdicts with python3 scripts/findings.py verify --ledger findings.json --verdicts <file>.

P5 -- synthesize, convert, checkpoint

Read references/rubric.md now.

  1. Severity and routing per the rubric. Record them with python3 scripts/findings.py set --ledger findings.json --id RA-NNN route=<lane> pre_existing=<true|false>. A pre-existing non-security finding becomes status=known-issue unless the release claims to fix it; a security finding never does.
  2. For every verified finding, write a failing-before test brief for apm-lifecycle-tests (template below). The finding keeps status verified and lifecycle_test: null until a test node exists that fails on the unfixed code; then record the node id.
  3. Coverage: python3 scripts/findings.py coverage --csv coverage.csv.
  4. Gate row: python3 scripts/findings.py gate-row --ledger findings.json --sha <sha>.
  5. Write REPORT.md from assets/report-template.md.
  6. HUMAN CHECKPOINT: present the gate row, the findings table and the routing to the human or coordinator who started the pass. Do not publish the row or route anything until they approve.

Failing-before test brief (one per verified finding):

For apm-lifecycle-tests:
PROMISE: <id or NEW> -- <sentence> (source: <docs page, CHANGELOG line or spec req>)
CELL: <factor tuple from the finding>
OWNER: <owner id or path:line>
FAILING-BEFORE: <exact command sequence> -> <observed line> (at <sha>)
EXPECTED: <what the promise requires>
ORACLES: <I1-I9 and hint-truth as relevant>
FROM: release-acceptance finding <RA-NNN>

P6 -- persist (Atlas drafts)

Follow references/atlas-protocol.md: write the experience page draft and the break-pattern update into the run directory and hand them to the designated Atlas writer. Update run.json to done.

Scripts

All are non-interactive, print JSON on stdout and diagnostics on stderr, and support --help.

ScriptUse
scripts/load_gate.pyhost load check before each spawn (exit 75 = wait)
scripts/world.pycreate a hermetic world (host git config and credentials scrubbed); --apm-bin puts the candidate first on PATH; --git-host maps a fake host to local bare repos
scripts/capture.pyrun one step in a world; stdout, stderr and exit code saved separately; line lint; hints and docs links extracted
scripts/journeys.pyload the program catalogue through one schema check; refuses when unavailable
scripts/findings.pyledger: add (dedupe across journeys), verify (P4 verdicts), set (route, pre_existing, lifecycle_test, known-issue), coverage, gate-row (GO, NO-GO, PENDING-VERIFICATION), recheck
scripts/brief_lint.pyneutral-wording check for every brief

Output

  • REPORT.md with the release-gate row, findings, coverage and gaps.
  • findings.json, coverage.csv, run.json.
  • One failing-before test brief per verified finding.
  • Atlas drafts (experience page, break-pattern update).

References (load on trigger)

  • references/atlas-protocol.md -- at P1 and P6.
  • references/lenses.md -- at P2 and P3.
  • references/walker-brief.md -- at P3, before the first spawn.
  • references/verifier-brief.md -- at P4.
  • references/rubric.md -- at P5, and whenever a severity is unclear.
  • assets/report-template.md -- at P5 step 5.

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.