Repository navigation
feat(skills): release-acceptance skill for pre-tag red-team and UX acceptance - #4144
Merged
Daniel Meppiel (danielmeppiel) merged 17 commits intoNov 20, 2026
Merged
Daniel Meppiel (danielmeppiel) merged 17 commits into
Daniel Meppiel (danielmeppiel) merged 17 commits into
Conversation
…X acceptance Discovery pass on the exact release candidate: walks the program journey catalogue (tests/lifecycle/journeys/index.yaml or --catalog), executes every printed hint, cross-family verification, one release-gate row, failing-before briefs for apm-lifecycle-tests, Atlas recall and draft write-back. Deterministic scripts with unit tests; cut-release links to it. Refs #4134 Co-authored-by: Copilot App <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Copilot App <[email protected]>
…-existing; policy stays on Steward review of #4144: pre-existing trust/integrity/credential findings block the cut and route privately to the security lead and coordinator; L4 and walker briefs keep policy on. Co-authored-by: Copilot App <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Copilot App <[email protected]>
…field names key_lines/forbidden_lines/kind/argv from tests/lifecycle/journeys/index.yaml (#4152) normalize to the same record as devx-journeys.json. Co-authored-by: Copilot App <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Copilot App <[email protected]>
world.py scrubs host git config, askpass and identity, maps a fake host to local bare repos, and puts the candidate apm first on PATH; capture.py extracts verb and wrapped hints, ignores help tables and help duplicates, resolves the docs root; findings.py dedupes one defect across journeys, adds verify and set, and reports PENDING-VERIFICATION; P0 accepts an in-tree build with no src diff. Co-authored-by: Copilot App <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Copilot App <[email protected]>
…TION and format scripts Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Copilot App <[email protected]>
…icates on logical lines Smoke regression from lane 992e7a0f: init Next Steps hints inside Rich panel rows were dropped; wrapped tails of distinct warnings were flagged as duplicates. Co-authored-by: Copilot App <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Copilot App <[email protected]>
… (RUF059) Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Copilot App <[email protected]>
Judge a wrap on the previous physical line and keep list items separate, so tails of distinct warnings wrapped after 'Supported keys:' are not flagged as duplicate lines. Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Copilot App <[email protected]>
…e tag Daniel decision 10:23 via the steward: no advisories; a security finding is never an N-1 known issue. Co-authored-by: Copilot App <[email protected]>
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
marked this pull request as ready for review
November 20, 2026 09:39
Daniel Meppiel (danielmeppiel)
requested a review
from Sergio Sisternes (sergio-sisternes-epam)
as a code owner
November 20, 2026 09:39
5 of 14 tasks
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Unresolved critical issues expose maintainer credentials, risk modifying real profiles, and allow release gates to report GO with stale or missing evidence.
10 open issues
Preserve the known-issue exception for promised fixes · New Bind acceptance evidence to the candidate SHA · New Reject missing ledgers for non-add commands · New Scrub supported maintainer credentials from the environment · New Override inherited profile roots with world-local paths · New Include the ledger path in the documented set command · New Decode partial timeout output before saving logs · New Use unique capture directories for repeated step runs · New Persist verifier observations and reproduction evidence · New Recompute journey counts after filtering by IDs · New
What changed in this PR
Adds the release-acceptance maintainer skill for pre-tag exploratory testing of APM release candidates. It complements the lifecycle regression suite by producing independently verified findings, failing-before test briefs, and a release-gate report.
Changes:
- Defines full and recheck workflows, worker briefs, severity rules, reporting, and Atlas handoff.
- Adds six helper scripts, unit coverage, and trigger/content evaluation scenarios.
- Deploys the skill, refreshes lockfile metadata, and makes cut-release consult its acceptance report.
| File | Description |
|---|---|
tests/unit/test_release_acceptance_scripts.py |
Tests capture, worlds, catalogues, ledger operations, and brief lint. |
apm.lock.yaml |
Updates lock format, deployment records, and hashes. |
.apm/skills/release-acceptance/SKILL.md |
Defines the acceptance workflow and operating rules. |
.apm/skills/release-acceptance/scripts/world.py |
Creates isolated execution environments. |
.apm/skills/release-acceptance/scripts/load_gate.py |
Checks host load before worker launches. |
.apm/skills/release-acceptance/scripts/journeys.py |
Loads and normalizes journey catalogues. |
.apm/skills/release-acceptance/scripts/findings.py |
Manages findings, coverage, verification, and gate rows. |
.apm/skills/release-acceptance/scripts/capture.py |
Captures command evidence and extracts hints. |
.apm/skills/release-acceptance/scripts/brief_lint.py |
Checks worker-brief vocabulary. |
.apm/skills/release-acceptance/references/walker-brief.md |
Templates journey-worker instructions. |
.apm/skills/release-acceptance/references/verifier-brief.md |
Templates independent verification. |
.apm/skills/release-acceptance/references/rubric.md |
Defines severity, release decisions, and routing. |
.apm/skills/release-acceptance/references/lenses.md |
Maps acceptance checks to journeys. |
.apm/skills/release-acceptance/references/atlas-protocol.md |
Defines lesson recall and draft handoff. |
.apm/skills/release-acceptance/evals/trigger-evals.json |
Adds skill-dispatch evaluation cases. |
.apm/skills/release-acceptance/evals/README.md |
Documents evaluation procedure and status. |
.apm/skills/release-acceptance/evals/content-evals.json |
Adds four workflow evaluation scenarios. |
.apm/skills/release-acceptance/assets/report-template.md |
Structures acceptance reports and evidence. |
.apm/skills/cut-release/SKILL.md |
Requires consulting a GO acceptance report. |
.agents/skills/release-acceptance/SKILL.md |
Deploys the acceptance workflow. |
.agents/skills/release-acceptance/scripts/world.py |
Deploys environment creation. |
.agents/skills/release-acceptance/scripts/load_gate.py |
Deploys host-load checks. |
.agents/skills/release-acceptance/scripts/journeys.py |
Deploys catalogue loading. |
.agents/skills/release-acceptance/scripts/findings.py |
Deploys ledger and gate operations. |
.agents/skills/release-acceptance/scripts/capture.py |
Deploys command capture and hint extraction. |
.agents/skills/release-acceptance/scripts/brief_lint.py |
Deploys brief vocabulary checks. |
.agents/skills/release-acceptance/references/walker-brief.md |
Deploys the journey-worker template. |
.agents/skills/release-acceptance/references/verifier-brief.md |
Deploys the verification template. |
.agents/skills/release-acceptance/references/rubric.md |
Deploys severity and routing rules. |
.agents/skills/release-acceptance/references/lenses.md |
Deploys journey-check mappings. |
.agents/skills/release-acceptance/references/atlas-protocol.md |
Deploys Atlas handoff guidance. |
.agents/skills/release-acceptance/evals/trigger-evals.json |
Deploys dispatch evaluation cases. |
.agents/skills/release-acceptance/evals/README.md |
Deploys evaluation guidance. |
.agents/skills/release-acceptance/evals/content-evals.json |
Deploys workflow evaluation scenarios. |
.agents/skills/release-acceptance/assets/report-template.md |
Deploys the acceptance report template. |
.agents/skills/cut-release/SKILL.md |
Deploys the acceptance-report prerequisite. |
Review effort: Balanced
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Copilot App <[email protected]>
- findings.py: bind the ledger to the findings SHA; gate-row returns PENDING-VERIFICATION with stale_sha when asked about another SHA; recheck must cover every open, verified, still-open or changed finding and refuses otherwise without moving the SHA; non-add commands exit 2 on a missing ledger; verify keeps the verifier's observed and repro and records the walker's originals in history. - world.py: scrub GITLAB_APM_PAT, ARTIFACTORY_APM_TOKEN and the GITHUB_APM_PAT_ prefix; pin CLAUDE_CONFIG_DIR, HERMES_HOME, XDG_DATA_HOME and XDG_CACHE_HOME to the world home; scrub cowork, cache, temp and marketplace path overrides. - capture.py: decode bytes from TimeoutExpired; unique <step>.<n> logs. - journeys.py: --ids recomputes counts through the same helper as load. - SKILL.md: keep the claims-to-fix exception for known issues; the set example passes --ledger. Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Copilot App <[email protected]>
Daniel Meppiel (danielmeppiel)
deleted the
danielmeppiel-release-acceptance-skill
branch
November 20, 2026 10:21
4 of 10 tasks
Takeshi Masukawa (takeaship)
pushed a commit
to takeaship/apm
that referenced
this pull request
Nov 20, 2026
…nterpreter Earlier tests on the same xdist worker leave module state that makes the in-process frozen global install refuse Codex admission on Windows units after the microsoft#4144 shard reshuffle. Each case now re-runs its own node id in a new interpreter so the scenario starts from a clean process. The polluter root cause follows separately. Co-authored-by: Copilot App <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Description
Adds the maintainer skill
release-acceptance. It runs exploratory red-team and UX acceptance on the exact release candidate before a tag. It is the discovery engine. The test-corpus program is the regression net. The skill feeds that program in two ways:apm-lifecycle-tests([FEATURE] Lifecycle test authoring skill (apm-lifecycle-tests) #4077, feat(skills): add apm-lifecycle-tests authoring skill #4127);What it does, phase by phase:
tests/lifecycle/journeys/index.yamlor an operator-supplied--catalog. It keeps no embedded copy and refuses with "catalogue unavailable" when neither exists.recheckmode re-verifies open findings on a moved head.This encodes the 0.37 red-team lessons, Atlas
lessons/2026-11-20-red-team-method.md:brief_lint.py.Contents:
.apm/skills/release-acceptance/:--help..agents/skills/release-acceptance/, the deployed copy, plusapm.lock.yamland the refreshed cut-release copy.tests/unit/test_release_acceptance_scripts.py: 26 tests covering line lint, hints, the catalogue loader, ledger dedupe, the gate row, recheck, coverage and brief lint.Issue and approved scope
Issue: Fixes #4134
Human scope-approval comment: the apm-scope:v1 record on #4134, amended in issuecomment-7034253724 to add tests/unit/test_release_acceptance_*.py and done-when (f).
Does this PR complete the issue, or what remains? Done-when (f), the real
recheckrun on the 0.37 release PR, happens after merge, by design of the record.Type of change
Testing
Evidence:
pytest tests/unit/test_release_acceptance_scripts.py -p no:xdist: 26 passed (local, at 5ad14dc).uvx [email protected] checkandruff format --check, run over the skill scripts and the new test: clean. CI ruff does not cover.apm/skills/**, so this was run explicitly.pytest tests/quality -p no:xdist: 205 passed, 1 failed. The failure istest_ci_topology::test_lifecycle_shards_collect_exact_required_union, a 60-second collection timeout under host load. It is unrelated to this change and is expected to pass in CI.Deploy:
uv run apm installrefused only.agents/skills/cut-release/*(no trustworthy local deployment baseline);uv run apm install --forcedeployed the copy and lock (5fc7fe8). Later redeploys used plainuv run apm installwith no--force: 27a805f (rubric/lenses/walker-brief) and 5ecf883 (merge of main ab6d005 + journeys.py index.yaml field names).uv run apm audit --ci: exit 0, all 11 checks passed each time..agents/skills/apm-lifecycle-tests/SKILL.mdand.github/agents/test-coverage-expert.agent.mdpresent after the merge.At be029ca (main 041eff6 merged in b8f16bb; all 10 copilot review threads folded in be029ca with 14 failing-before tests; redeployed with
uv run apm install --forcelimited to.agents/skills/release-acceptance/after a stale-baseline refusal, then a plainuv run apm installis clean):uv run --extra dev pytest tests/unit/test_release_acceptance_scripts.py -q: 51 passed.uvx [email protected] checkandformat --checkon.apm/skills/release-acceptance/scripts tests/unit/test_release_acceptance_scripts.py: All checks passed / 7 files already formatted.uv run --extra dev ruff check src/ tests/: All checks passed.uv run --extra dev ruff format --check src/ tests/: 2400 files already formatted.uv run apm audit --ci: exit 0. Earlier lane fixes: 95e5eb6 (gate test aligned with PENDING-VERIFICATION, ruff 0.15.12 format), 98e49df (RUF059), 2f707e1 (unwrap after a colon). Smoke on the dry-run repros in a world from world.py: J01.5 commits with rc 0 and no signature; J01.3 hints areapm plugin init,apm marketplace initand the docs root; J01.4 has no duplicate-line lint on wrapped warning tails.CI run 44705697333 "Build & Test Shard 2 (Linux)" (27a805f) failed on 2 tests, neither touched by this PR:
tests/unit/install/test_architecture_invariants.py::test_no_install_module_exceeds_loc_budget(phases/lockfile.py1017 > 1000; reproduces locally with src/ and tests/ identical to main ab6d005) andtests/unit/deps/test_git_reference_resolver.py::TestResolveCommitShaForRef::test_best_effort_rate_limit_falls_through_without_retry_wait(passes locally; CI-only).Dry run: mode full, J01 + J03, lenses L1 + L2, 1 slot, operator catalogue
/tmp/ra/catalog.json(verbatim J01/J03 subset). Candidate58f444589edaf3b8e3b82d599cda9c73316d82f7(merge-base with main at the time; no src/ diff),apm --version=0.37.0 (5fc7fe8). P4 verifier and Atlas I/O skipped in dry run; run output kept outside the repo.Findings: 12 (1 blocker, 8 should-fix, 3 nit), all unverified (P4 skipped); 11 also reproduce on v0.36.1. Coverage probed ratio 0.933 (23 pass, 19 fail, 3 not-covered). Gate row not approved (B10 pending).
Changelog
## [Unreleased]inCHANGELOG.mdSpec conformance (OpenAPM v0.1)