Repository navigation
v2/main → main milestone release flow and release skill #4873
Copy link
Copy link
Closed
Labels
agent guidanceRules, skills, and quality gates for agentsRules, skills, and quality gates for agentsenhancementNew feature or requestNew feature or requestv2
Milestone
Description
Part of the agentic software factory tracker #4858, Wave 5. Proposed as S12 in docs/agent-guidance-inception.md (PR #4861) §9, from #4859.
Depends on
After #4472 (changesets + Release-triggered publishing), Part 6 (#4866, issue-create, which files the release issue), Part 11 (local:gate) and Part 12 (knowledge skills: the ledger uses client-smoke).
Scope
- A release issue per milestone (
Release vX.Y.Z), filed throughissue-create. Every preparation PR (onv2/main, where closing keywords don't fire) opens withCloses #N. The merge PR targetsmain, the default branch, whereCloses #Nwould auto-close the issue before the Release is published, so it uses a non-closing reference (Part of #N). Close the issue by hand once the Release is published. This keeps release PRs inside "every PR references an issue" after Part 15 removes the Dependabot exception. The bot-authored changesets "Version Packages" PR gets the reference added to its body after the bot opens it. If the action overwrites the body on each update,AGENTS.mdnames it as the one standing release-automation exception. - Preparation PRs, all on
v2/main, all merged before the merge PR opens:- the audit report (npm and
uv/pip), with any forced fixes as their own commits - the version bumps, which New release pipeline, Phase 2: semver via changesets (TS), GitHub-Release-triggered publishing #4472 makes two separate PRs: the changesets "Version Packages" PR for TS and the
prepare-releaseCalVer PR for Python. A milestone touching both ecosystems therefore has up to three preparation PRs.
- the audit report (npm and
- The merge PR: a pure
v2/main→mainmerge, whose tree hash matchesorigin/v2/main, with a release ledger artifact linked from it. The ledger recordslocal:gate,pack:verifyfor each package, each server-facing milestone issue exercised viaclient-smoke, and a targeted probe for each issue with no client surface (docs, skills, workflows). - A maintainer then publishes the GitHub Release.
- Split
release.ymlso build, install and verify run in jobs withoutid-token: write. Only the publish job holds it (inspector#2483). - Pin actions in every credentialed job before the first release through this flow, enforced by a ported
verify:action-pins. That coversrelease.yml's publish jobs, every job whose artifact a credentialed job downloads (the build/pack jobs the split introduces), andclaude.yml(id-token: write,ANTHROPIC_API_KEY). Wireverify:action-pinsinto the continuously run chain: rootvalidate's guards, the root-guards CI job, andlocal:gate. The Inspector's version importsSHA_REFfromdependency-refresh.mjs, which doesn't land until Part 15, so extract the SHA matcher intoscripts/lib/action-refs.mjshere. Add theAGENTS.mdSHA-pinning rule. - The
releaseskill is name-only (disable-model-invocation: true). - Rewrite
RELEASING.mdto describe the merged state.
Acceptance criteria
-
verify:action-pinspasses, and fails on a tag-pinned action in a credentialed job or in a job whose artifact a credentialed job downloads. Unrelated artifact uploads (e.g.python.yml's CIdistupload) stay out of scope, as in the Inspector's guard. - One milestone has been released end to end through the skill.
- The ledger is linked from the merge PR.
-
RELEASING.mddescribes the merged flow.
Branch
Targets v2/main. Closes #N won't auto-close an issue on a non-default branch, so close this one by hand on merge and move the card to Done.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
agent guidanceRules, skills, and quality gates for agentsRules, skills, and quality gates for agentsenhancementNew feature or requestNew feature or requestv2
Activity
[-]Agentic software factory Part 13: v2/main → main milestone release flow and release skill[/-][+]Agentic software factory Part 14: v2/main → main milestone release flow and release skill[/+]cliffhall commentedon Oct 4, 2026
Shipped in #4928, merged to
v2/mainon 2026-10-01. The leftover items only the first release through the new flow can complete are tracked in #4968.[-]Agentic software factory Part 14: v2/main → main milestone release flow and release skill[/-][+]v2/main → main milestone release flow and release skill[/+]