Dev release candidate
Skill acumen-ai-org/agent-skills/skills/dev-release-candidate
Builds a release candidate for the current repository, driven by a dev-process.json config file. Creates the release candidate branch from origin/main, computes the main↔production scope, runs the configured analysis and review tools in parallel (delegating heavy or skill-kind tools to isolated sub-agents), optionally generates changelog/release notes and an aggregated report viewer, and makes the release-candidate commit. It does not freeze main, notify, or push — it can describe those steps when asked. Use when preparing or refreshing a release candidate.From its SKILL.md
npx -y skills add acumen-ai-org/agent-skills --skill dev-release-candidateAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
10.9 KB, as published. Nobody here has run it
dev-release-candidate
A thin orchestrator. Every deterministic action is a script in the plugin's
scripts/ directory; the Skill itself only fans analysis out to sub-agents
(B1) and invokes a configured generator/aggregator skill (B2/B3).
This Skill performs: create the release candidate branch + scope (A), analysis/review (B1), changelog/notes (B2), aggregate reports (B3), the release-candidate commit (B4).
This Skill does not perform the merge freeze, stakeholder notification, or
the push to origin. Those are real steps in the wider process — when the user
asks for the full process, describe them from
Full process. Companion Skill:
dev-release-publish.
Config
Behavior is read from dev-process.json at the consuming repo root. The
field-by-field contract is
references/dev-process-config.md.
scripts/dev_process.py init writes a documented default dev-process.json
if the file is absent; it never auto-commits. The JSON Schema ships bundled
with the plugin; python3 scripts/dev_process.py schema prints it on demand.
Ensure the consuming repo gitignores reports.outputDir (default
.agents/release-reports) so report artifacts never get swept into a stray
git add -A.
Inputs
| Env | Default | Notes |
|---|---|---|
CLAUDE_PLUGIN_ROOT | plugin root | Locates scripts/. |
DEV_RELEASE_REPO | . | The consuming repository to operate on. |
DEV_RELEASE_CONFIG | $DEV_RELEASE_REPO/dev-process.json | Config path. |
S="$CLAUDE_PLUGIN_ROOT/scripts" below. All scripts share one exit-code
vocabulary (see Exit codes).
Procedure
- [ ] A. Create release candidate branch → release_candidate_branch.sh + scope.sh
- [ ] B1. Analysis + review → analysis_plan.py + (sub-agents | run_tool.sh) + analysis_gate.py + build-status.json
- [ ] B2. Changelog / notes → configured generator, else skip
- [ ] B3. Aggregate reports → overview → status → modules.py list → dev-report-build
- [ ] B4. Release candidate commit → release_candidate_commit.sh
A. Create the release candidate branch
Bootstrap/validate config, branch from latest origin/main, compute scope:
python3 "$S/dev_process.py" check || python3 "$S/dev_process.py" init
bash "$S/release_candidate_branch.sh"
bash "$S/scope.sh"
If init wrote a new dev-process.json, tell the operator to review and
commit it before a real release. The release
candidate branch is, in practice, just origin/main at branch time.
release_candidate_branch.sh exit 2 → uncommitted tracked changes or missing
origin/main. scope.sh writes scope.json/commits.txt/changed-files.txt;
a root fallback warning means the whole history is in scope — confirm that is
intended.
B1. Run analysis + review in parallel
Build the run plan, then fan out. This is the one irreducible agent step.
OUT="$DEV_RELEASE_REPO/$(python3 "$S/dev_process.py" emit | python3 -c 'import json,sys;print(json.load(sys.stdin)["reports"]["outputDir"])')"
python3 "$S/dev_process.py" emit | python3 "$S/analysis_plan.py" > "$OUT/_plan.jsonl"
Each line of _plan.jsonl is one entry:
{id,kind,run,heavy,blocking,advisory,timeoutSeconds,report,...}. Dispatch
all entries concurrently in a single batch:
kind:"command"and notheavy→ run directly:bash "$S/run_tool.sh" <id> "<run>" "<reports.outputDir>" <report> <timeoutSeconds>(it writesOUT/<report>andOUT/<id>.exit).kind:"skill"orheavy:true→ delegate to an isolated agent (the Agent tool,general-purpose). Resolverunfirst:python3 "$S/resolve_producer.py" "<run>". Exit0prints the internal producer directory (one of the eight first-partydev-analysis-*/dev-test-contractsproducers, bundled insidedev-report-framework) — the agent's task is thencdto that printed directory, then perform the workflow in itsPRODUCER.md, withargsand the scope range fromscope.json. Exit2meansrunis not a first-party producer (a consumer's own custom skill/agent) — the agent's task is the entry'srunverbatim, exactly as before. Either way, capture output verbatim toOUT/<report>and write the agent's success/failure as0/1toOUT/<id>.exit.
When every entry has an OUT/<id>.exit:
python3 "$S/analysis_gate.py" "$OUT/_plan.jsonl" "$OUT"
Exit 3 → a non-advisory blocking tool failed: stop, keep all report files,
surface OUT/_summary.md. Exit 0 → gate passed (an empty plan passes — a
zero-tool repo still produces a valid release candidate).
Then write build-status.json into the work dir $OUT (the parent that
holds the per-producer OUT/<id>.exit files — not the staging fragments
dir, which the validator globs for *.json). One row per producer entry,
schema dev-report-build-status/v1:
{ "schema": "dev-report-build-status/v1", "release": "<release-id>",
"generated_at": "<ISO-8601>",
"producers": [ { "skill": "<entry skill>", "fragment_id": "<entry report id>",
"status": "ok|failed|skipped", "exit_code": <int from OUT/<id>.exit>,
"message": "<the producer's trailing stderr / last captured line>" } ] }
Map each OUT/<id>.exit code: 0 → ok; the documented tool/Docker-missing
code 3 → skipped; any other non-zero → failed. message is the last
line you already captured for that producer in OUT/<report>. This file is
the input to the dev-report-status step below.
B2. Generate changelog & release notes
Read releaseNotes.generate. If run is set:
kind:"command"→bash "$S/run_tool.sh" release-notes "<run>" "<reports.outputDir>" release-notes.md <timeout>kind:"skill"→ invoke that skill (isolated agent); write its output toreleaseNotes.path/releaseNotes.changelogPath.
If run is null/empty: log B2 skipped — no releaseNotes.generate configured
and continue. A real no-op, not a failure.
B3. Aggregate reports
The report pipeline is fixed-order: every dev-analysis-*/dev-test-*
producer first (B1), then dev-report-overview, then dev-report-status
last, then dev-report-build. Run them in exactly that order — the overview
reads every producer fragment, and dev-report-status reports whether they
ran, so both must come after the producers and dev-report-status after the
overview.
-
Overview. Run the internal producer
${CLAUDE_PLUGIN_ROOT}/skills/dev-report-framework/producers/dev-report-overview—cdthere first (per the framework's invocation contract), then follow itsPRODUCER.mdagainst the staging fragments dir; it stagesoverview.fragment.json. -
Status. Run the internal producer
${CLAUDE_PLUGIN_ROOT}/skills/dev-report-framework/producers/dev-report-status(cdthere first, follow itsPRODUCER.md) with thebuild-status.jsonwritten in B1 and the same staging fragments dir; it stagesreport-status.fragment.json. Run it after the overview and before the build. -
Modules. Resolve the module set before building:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/modules.py" list \ --config "$DEV_RELEASE_REPO/dev-process.json" --repo "$DEV_RELEASE_REPO"It prints one module id per line. Pass them to
dev-report-buildverbatim as a comma-separated--moduleslist. Omitting--moduleswhendev-process.jsonmodulesis non-empty is a defect — the module filter would be missing from the report. -
Build. Run the configured
reports.aggregatecommand/skill (it should readreports.outputDir, writereports.viewerPath, and invokedev-report-buildwith the--moduleslist from step 3). Whenreports.designDocis set, the aggregate step must also forward it as--design <file>todev-report-build, mirroring how--modulesis passed; omitting--designwhendev-process.jsondesignDocis non-null is a defect — the report would render with the default theme instead of the configured one. Ifreports.aggregateis not configured, logB3 skipped — no reports.aggregate configuredand continue. A real no-op, not a failure.
B4. Create the release-candidate commit
bash "$S/release_candidate_commit.sh"
Commits the configured release notes / changelog. Report artifacts are not
committed here — dev-release-publish decides per persistInRepo what to keep
versus upload. "nothing to commit" is a clean exit 0.
Full process (when asked)
The skills automate only part of the release. When the user asks for the whole process, describe it; do not perform the external steps here.
| Step | Who |
|---|---|
| A create release candidate branch + scope | this Skill |
B0 freeze merges to main for the release window | external — your team's mechanism (a committed lock file + CI check, GitHub branch protection, or convention); exempt feedback PRs by an agreed label/branch |
| B1–B3 analysis, review, changelog, aggregate | this Skill |
| B4 release-candidate commit | this Skill |
| D notify stakeholders the candidate is ready | external — your team's channel/comms tooling |
| E collect feedback, then push the candidate to origin (force-push, overwriting the prior one) | external/manual — feedback lands as PRs to main exempt from the freeze; push the branch so dev-release-publish can verify it |
| F production release (tag + update production branch) | external — see dev-release-publish "Full process" |
G merge production back to main, lift the freeze | external/manual |
Outputs
- Local
release-candidatebranch with the release-candidate commit. reports.outputDir/:scope.json,commits.txt,changed-files.txt, per-tool reports,_plan.jsonl,_gate.json,_summary.md,build-status.json(the per-producer outcome roll-updev-report-statusconsumes — work dir, never the staging fragments dir).
Failure modes
- Config invalid → exit 2 with JSON-path errors; fix
dev-process.json. - Blocking analysis failure → gate exit 3; reports kept; fix the tool or
mark the entry
advisory:true. - Dirty tracked tree / no
origin/main→release_candidate_branch.shexit 2.
Exit codes
Shared across all scripts/: 0 ok · 1 usage · 2 precondition unmet ·
3 blocking failure · 4 remote operation failed.