This agentic workflow tests an exact release candidate by walking risk-ranked user journeys, checking the commands and hints users encounter, and independently verifying findings. It records coverage and findings, creates failing-before test briefs, and presents a release-gate row for human approval before publication. Its operating rules prohibit code changes, commits, pushes, and tagging.
97%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Medium
Suggest reviewing before use
The canonical home for this skill is release-acceptance in microsoft/apm
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.
full on the green release-train tip.recheck on the release PR's exact SHA,
right before the human tags.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).
scripts/ output, never asserted from memory.--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.scripts/world.py: isolated
HOME and APM_HOME, local git remotes and local marketplaces, no
credentials, no real network writes.scripts/brief_lint.py before it
is sent. Some model families refuse security-worded briefs.references/rubric.md). Never fix code, commit, push, comment on or
push to pull requests, or tag. Security findings route privately.run.json before every spawn and after every return. Do not
rely on recall of earlier turns.| Input | Meaning |
|---|---|
--sha SHA or --pr N | the exact candidate; a PR resolves to its current head SHA |
--mode full|recheck | full hunts; recheck re-verifies open findings only |
--slots 2 | concurrent workers (hard maximum 2 unless the operator raises it) |
--catalog PATH | operator-supplied journey catalogue; default is tests/lifecycle/journeys/index.yaml |
--journeys J01,E01 | restrict to these journey ids (default: risk-ranked full set) |
--findings PATH | prior 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.
git rev-parse <sha>, or
gh pr view <N> --json headRefOid. Record it in run.json.<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.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.python3 scripts/load_gate.py.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.
git log --oneline <tag>..<sha>
the changelog.d/ fragments, and the [Unreleased] block of CHANGELOG.md..apm/architecture/owners/) and owners
to journeys and lenses with references/lenses.md.run.json. In recheck mode the queue is the
open findings from --findings instead.Read references/walker-brief.md and references/lenses.md now.
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.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>.
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>.
Read references/rubric.md now.
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.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.python3 scripts/findings.py coverage --csv coverage.csv.python3 scripts/findings.py gate-row --ledger findings.json --sha <sha>.REPORT.md from assets/report-template.md.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>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.
All are non-interactive, print JSON on stdout and diagnostics on
stderr, and support --help.
| Script | Use |
|---|---|
scripts/load_gate.py | host load check before each spawn (exit 75 = wait) |
scripts/world.py | create 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.py | run one step in a world; stdout, stderr and exit code saved separately; line lint; hints and docs links extracted |
scripts/journeys.py | load the program catalogue through one schema check; refuses when unavailable |
scripts/findings.py | ledger: 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.py | neutral-wording check for every brief |
REPORT.md with the release-gate row, findings, coverage and gaps.findings.json, coverage.csv, run.json.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.microsoft/apm
641743f
gitgit rev-parseghgh prgh pr viewapmgit diffpython3python3 scripts/journeys.pypython3 scripts/load_gate.pygit logpython3 scripts/findings.pypython3 scripts/findings.py addpython3 scripts/findings.py recheckpython3 scripts/findings.py verifypython3 scripts/findings.py setpython3 scripts/findings.py coveragepython3 scripts/findings.py gate-rowAtlasCanonical home
since Nov 25, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.