release
Skill1 starsChanged 3 months agoMITView on GitHub
The release lifecycle operator surface (/foundry:release, release-manager). Shape a release (release.yaml manifest + dependency graph), drive its backlog→planned→active→completed state machine, and CLOSE it through the evidence-derived closure gate (refused on assertion; re-derived per atom from authorized (recompute-match) + merged-on-main, fail-closed). Trigger to create/inspect a release, advance its state, or close it. Complements /foundry:authorize-release (gate-in) and release-wave/mode-autonomous (wave).
196 other projects use a version of this.
Adopted by
Most recently taken up by
- zxcvbn-ts/zxcvbntheir own version, first seen Nov 9, 2026
- TechbeeAT/jtxBoardtheir own version, first seen Nov 9, 2026
- ddnexus/pagytheir own version, first seen Nov 9, 2026
- zerx-lab/FluxDowntheir own version, first seen Nov 9, 2026
- orioledb/orioledbtheir own version, first seen Nov 9, 2026
- AmruthPillai/Reactive-Resumetheir own version, first seen Nov 8, 2026
Used with
Projects with it also use create-agent-adapter, changelog-style and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
MicrosoftSkillcreate-agent-adapter
Technical guide for creating a new Paperclip agent adapter. Use when building a new adapter package, adding support for a new AI coding tool (e.g. a new CLI agent, API-based agent, or custom process), or when modifying the adapter system. Covers the required interfaces, module structure, registration points, and conventions derived from the existing claude-local and codex-local adapters.
Also in 5 projects that use this
GrinvSkillchangelog-style
Turn a commit range into CHANGELOG.md entries following common-changelog style. Use when finishing a PR or cutting a release, to write/fix the [Unreleased] section's entries — moving [Unreleased] under a new dated version heading is a separate, automated step (see the release skill / scripts/sync-version.ts), not this skill's job.
Also in 4 projects that use this
GrinvSkilldocs-consistency-check
Check README/manifest.json/server.json/CHANGELOG.md/AGENTS.md and docs/*.md for drift against the actual registered tools and source. Use after adding, renaming, or removing a tool, or as part of a live-audit pass.
Also in 4 projects that use this
Microsoft AzureSkillcomponent-release
Prepares a verifiable Agent Landing Zone UI release. Use for release branches, VERSION, changelog entries, tags, release notes, and compatibility evidence; never publish without explicit human approval.
Also in 4 projects that use this
Microsoft AzureSkilldocumentation-consistency
Keeps AI Landing Zone contributor, user, and operator documentation aligned with shipped Bicep behavior. Use for parameters, defaults, outputs, topology, deployment flow, operations, or releases.
Also in 8 projects that use this
rivet-devSkilllaunch-graphics
Generate agentOS marketing/launch graphics (launch & social heroes, code-snippet cards) from the committed generators in docs-internal/graphics. Use when asked to make, update, or render an agentOS launch image, social image, "agentOS Apps" graphic, or technical code-snippet image.
Also in 3 projects that use this
- +3 more from Grinv
Other versions196 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 196
- paperclipai/paperclip★ 112ksame name
- modelcontextprotocol/servers★ 92ksame name
- remotion-dev/remotion★ 72ksame name
- traefik/traefik★ 65ksame name
- usememos/memos★ 64ksame name
- tw93/Pake★ 63ksame name
- AmruthPillai/Reactive-Resume★ 45ksame name
- amruthpillai/reactive-resume★ 45ksame name
- reactive-resume/reactive-resume★ 45ksame name
- Yeachan-Heo/oh-my-claude-sisyphus★ 41ksame name
186 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository71 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- amendSkill
- auditSkill
- authorize-releaseSkill
- authorizeSkill
- certify-localSkill
- certify-stagingSkill
- coherence-checkSkill
- command-deckSkill
- contextSkill
- cut-releaseSkill
- dashboards-as-codeSkill
- data-tier-cutoverSkill
- decommission-gateSkill
- deploy-statusSkill
- dispatchSkill
- doctorSkill
- drift-sweepSkill
- env-hygieneSkill
- extract-specSkill
- fleetSkill
- grounding-conformanceSkill
- id-applySkill
- id-architectSkill
- id-baselineSkill
- id-discoverSkill
- id-documentSkill
- id-driftSkill
- id-impactSkill
- id-implementSkill
- id-importSkill
- id-planSkill
- id-promoteSkill
- id-reviewSkill
- id-rollbackSkill
- id-simulateSkill
- id-syncSkill
- id-testSkill
- id-validateSkill
- id-verifySkill
- indexSkill
- infra-sandboxed-applySkill
- initSkill
- intakeSkill
- learn-captureSkill
- learn-distillSkill
- merge-when-greenSkill
- mode-autonomousSkill
- mode-interactiveSkill
- modeSkill
- post-upgradeSkill
- relockSkill
- report-citation-graphSkill
- reposSkill
- research-captureSkill
- research-firstSkill
- revertSkill
- sd-debugSkill
- sd-discoverSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 186 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 87
Compute the wave plan: Run the deterministic, pure planner over the manifest:
- Very specific: line 166
Before cutting a release (the local claude plugin tag --push / marketplace re-pin), run the release acceptance-gate over the to-be-released …
“Common” is measured: kept by at least 6 in 10 of the 186 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/foundry:release
The release shaping (RA) + closure (RD) surface over scripts/foundry_release.py. A release is foundry's
default operating unit (atoms are driven as a release; a single feature is a release of N=1). Foundry ships
the middle — RB gate-in (/foundry:authorize-release) + RC the wave (release-wave /
/foundry:mode-autonomous); release-manager adds the ends: shaping + an evidence-derived closure gate.
This skill never re-implements the schema/loader/state-machine/closure — it drives foundry_release.py.
Closure is re-derived, never asserted. active → completed is refused on operator assertion / no
--force: it re-derives a per-atom CLOSED verdict from the SAME evidence a landed PR requires
(authorized recompute-match + merged-on-main — which subsumes the full per-atom floor, since nothing
reaches main without clearing the merge floor's checks) and closes only if EVERY
atom is CLOSED (else fail-closed naming
the unclosed atoms). This is the gate-enforcement-point principle — it holds for the trusted operator (it
prevents an honest "I think it's done" mistake from closing a release that isn't).
When to trigger
- "shape a release", "/foundry:release shape
<id>", "release status", "plan/activate/close the release".
Verbs
The manifest lives at $CLAUDE_PROJECT_DIR/.foundry/releases/<id>/release.yaml (per-project operator state).
Manifest shape (release-loader-vocabulary): top-level requires id/description/state/atoms;
optional free-text programme fields program, version, target_repo, target_version,
depends_on_release, value, subtraction, lane, gate_before_authorize, supersedes_atoms,
exit are accepted and never read by the state machine — an unknown top-level field outside this set
is still refused by name. Each atom is EITHER factory-lane (spec_ref + contract_ref, the
frozen spec+contract pair) OR charter-lane (charter_ref — a committed charter file, no frozen
contract; authorized iff the file exists under the project dir AND is committed, git log -1 --
<charter_ref> non-empty); an atom carrying neither shape is refused by name. Optional atom fields
kind (free text), lane (charter|factory), security (bool), paths, journeys are accepted
on either shape. state: proposed reads as a synonym of planned (written manifests are never
rewritten; the forward-only transition table is unchanged).
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/foundry_release.py" ... # (driven via the loader API)shape <id>— scaffold arelease.yamltemplate if none exists (the operator then authors the atom set +depends_ongraph), else load + validate + show the existing manifest. Fail-closed on a malformed manifest (missing field, badstate, empty atoms, duplicate atom id, danglingdepends_on, or a dependency cycle). Shows the topological atom order.status <id>— show the release state + per-atom evidence (authorized/merged-on-main) so the operator sees exactly what closure would re-derive.plan <id>—backlog → planned: re-derives that the graph is acyclic + every atom's spec + contract exist.activate <id>—planned → active: re-derives that every atom is AUTHORIZED (the frozenauthorized:block's hashes recompute-match), fail-closed otherwise. Hand off to/foundry:authorize-release(gate-in) →/foundry:mode-autonomous(wave) for the atoms.close <id>—active → completed: the evidence-derived closure gate (above). No assertion path.run-state <id> [--summary] [--strict]— a per-atom, machine-derived run ledger (advisory; replaces hand-carried run-notes). Emits one YAML object per manifest atom —{id, state, authorized, superseded, dispatched, pr, merged_on_main, walk_verdict, runnable, blocked_reason, probe_error}— every field re-derived at call time from the SAME primitivesclosealready uses (authorization recompute-match, merged-on-main contract-sha history match), plus supersession-as-state, the process-spawn dispatch-claim surface, and the dependency-gatedrunnableflag.stateis exactly one of{superseded, merged, dispatched, unauthorized, runnable, blocked, UNKNOWN}— an unresolvable derivation input (missing target repo, unreadable contract, a git failure) reportsUNKNOWNwith the failing probe inprobe_error, dominating every other bucket.--summaryemits a compact <=2KB YAML digest (release pointer + all seven per-state counts + the next runnable atoms in manifest-DAG order);--strictexits non-zero if any atom isUNKNOWN. Read-only over the floor — it never writes specs/contracts/authorization/ provenance/the manifest, and it never gates anything itself (the closure gate andactivate/closeabove are untouched consumers of the same primitives).accept <id> --operator <op> --verdict {accepted|rejected} [--note "…"]— append a one-line PRACTICE acceptance record{date, operator, verdict, note}to the manifest's optionalacceptance:list (the v0.25.0 certification realignment — see the Certification tail section below). A PRACTICE record, never a gate: it does not participate inclose/derive_closure/any floor primitive above. Idempotent per(operator, date, verdict); refuses an unknown release and a non-terminal verdict (the closed 2-value enumaccepted/rejected).
Illegal transitions (skip a state / go backward) are fail-closed.
Wave planning + the native Task graph
The manifest (release.yaml) is the one planning surface (CONSTITUTION.md §10) — every other
view of a release's plan (the wave grouping, the operator-visible Task graph) is a generated
view REGENERATED from it, never a second source of truth. Drive it in three steps, after
activate (every atom AUTHORIZED):
- Compute the wave plan. Run the deterministic, pure planner over the manifest:
Emitspython3 "${CLAUDE_PLUGIN_ROOT}/scripts/foundry-wave-plan.py" \ "$CLAUDE_PROJECT_DIR/.foundry/releases/<id>/release.yaml"{release_id, waves: [[atom-id, ...], ...], atoms: {<id>: {wave, spec_ref, contract_ref, depends_on, paths, journeys}}}— atoms grouped by dependency closure and declared-path overlap (a same-wave sibling whosepathsoverlap is pushed to a later wave; seeskills/intake/SKILL.md's Journeys section for wherepaths/journeyscome from on the manifest atom).--checkvalidates without emitting (a pre-flight in CI or before dispatch). A dependency cycle is a hard error naming the cycle — fix the manifest, re-run; there is no partial/best-effort plan. Materialize the native Task graph FROM the wave plan. For each atom in the plan's
atomsmap,TaskCreateone task:blockedBy= the atom's OWN Task ids for each name in itsdepends_on(the wave plan's DAG edges, carried over verbatim — never re-derived by hand), andmetadata = {spec: atom.spec_ref, wave: atom.wave, journeys: atom.journeys}. The harness renders the graph;TaskUpdatetransitions ARE the run state — there is no separate hand-carried ledger to keep in sync (the machine-derivedrun-stateverb above already covers the authorization/merge evidence view; the Task graph covers the in-flight dispatch view). Because the manifest is the durable source, re-running step 1 and re-materializing the graph is always safe — a stale/abandoned Task graph is never a second ground truth to reconcile, it is thrown away and regenerated.Gated on
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS(task-tool-instruction-fix, AC-TTI-3): the nativeTaskCreate/TaskUpdate/TaskListtools this step names exist only in a session with that flag set to1. Without it, skip this step — the manifest IS the queue: work directly fromplan.atoms(the wave plan's own output) and the release'sstate.yaml, with no native Task graph to materialize or keep in sync.- Dispatch via
release-wave.js, wave-barriered.release-wave.js's impl/verify prompts need each wave element to be an atom SPEC PATH (the same shape its original flat-array arg always required —"Implement the AUTHORIZED atom ${atom} against its frozen acceptance-contract.yaml"only makes sense given a path). The wave plan'swavesare atom IDS, not paths — map every id throughplan.atoms[id].spec_refbefore passing them asargs; do NOT passplan.wavesstraight through (a bare id is not a valid dispatch target andrelease-wave.jsnow REJECTS it fail-closed — see below):const argWaves = plan.waves.map(wave => wave.map(id => plan.atoms[id].spec_ref)) Workflow({ scriptPath: "workflows/release-wave.js", args: { waves: argWaves } })release-wave.jsnow accepts this explicit wave-list shape (an array of arrays of atom spec paths) alongside its original flat atom-spec-path-array shape: every atom in wave N completes (implement → self-gate → verify) before wave N+1 is dispatched — the ONE property a flat fan-out never had (a later wave's worker can never race a same-path earlier-wave worker still landing its PR). Within a wave, atoms still fan out via the same nativepipeline()fan-out the flat shape always used — no new fan-out mechanism, just a sequential barrier between wave-scopedpipeline()calls.release-wave.jsvalidates every wave element fail-closed (a path-shaped string —^[A-Za-z0-9._/-]+$, no..segment, contains/, ends.md) and REJECTS (logs the offending element, drops it from that wave's dispatch) anything that isn't — a bare atom id, an injected shell fragment, or any other non-path string is refused, never silently dispatched. A flat array (nowaveskey) still runs exactly as before (unchanged, byte-for-byte) for a caller that has no wave plan to hand.
Certification tail — certify-local → operator acceptance → certify-staging
Once every atom in the release is merged (close re-derives CLOSED), drive the factory-mode tail
CONSTITUTION.md §V names in full: "…build → integrate → certify locally → operator acceptance
→ staging." Three steps, thin procedure + templates over native primitives — no verdict engine,
no evidence ledger this section re-invents:
/foundry:certify-local <id>(skills/certify-local/SKILL.md) — deploy the release ONCE locally via the active stack profile's boot recipe, run the FULL tagged journey suite (plainnpx playwright test --grepover every atom'sjourneys[]) against that one instance, get per-atom pass/fail with the runner's own output as evidence. Refuses (never a vacuous pass) naming the missing prerequisite when there is no journey suite or no boot recipe./foundry:release accept <id> --operator <op> --verdict accepted --note "…"— once the operator has run their OWN test pass (the constitution's "operator sign-off is the terminal gate" principle — context/constitution-template.md §I.5, "Delivery sign-off — operator-held, the terminal step" — the certify-local evidence feeds this judgement, it does not substitute for it) and is satisfied, record it: a one-line PRACTICE acceptance note appended to the manifest (see theacceptverb above). Never a gate — nothing above re-checks it, nothing downstream requires it to exist./foundry:certify-staging <id>(skills/certify-staging/SKILL.md) — emit the staging certification checklist (context/staging-checklist-template.md), observe deploy state via the kept/foundry:deploy-statussurface, and STOP. Promotion beyond staging stays CD-owned and operator-gated — this tail never triggers it.
Pre-cut acceptance gate (HARD-STOP)
Before cutting a release (the local claude plugin tag --push / marketplace re-pin), run the release
acceptance-gate over the to-be-released artifact and refuse to cut on a fail verdict — a pre-cut
HARD-STOP, the binding enforcement that sits between "cut" and "all clients update" (the CI release-acceptance
job is the earlier advisory signal). The gate validates the artifact the way a fresh client receives it, using
the tool's OWN first-party validators (NOT a re-implementation):
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/foundry-release-acceptance.py" --tree <release-checkout>It runs claude plugin validate --strict + claude plugin tag --dry-run (manifest + marketplace +
plugin↔marketplace version agreement + strict skill-frontmatter), asserts every hooks.json script is
executable (os.X_OK; it does NOT execute the hooks — they are fail-closed, side-effecting gates), and
requires the candidate tree's own /foundry:doctor to be DOCTOR-GREEN. A non-pass verdict ⇒ do not cut;
fix the surfaced defect first. (Recent releases shipped broken to all clients precisely because nothing
validated the artifact with the tool's own validators before the cut.)
Gate-wiring pin & manifest — RETIRED (historical note)
The version-bound wiring pin (.foundry/wiring-hash.pin), the wiring manifest
(.claude-plugin/wiring-manifest.json), foundry-wiring-hash.py, its drop-in doctor check, and
the sibling auto-heal were all retired — none of that machinery ships,
and the current thin doctor carries no wiring check. There is NO wiring step at cut time anymore:
the cut ordering is simply land the wave → bump plugin.json + marketplace.json (version +
source.ref) → tag → re-pin source.sha to the tag commit (see skills/cut-release/SKILL.md).
This heading is kept as a tombstone so older references land on the honest disposition instead of
a dangling anchor.
Closure. The cross-file reconcile that skills/cut-release/SKILL.md and skills/init/SKILL.md
once pointed at this tombstone for is now complete: both surfaces carry a settled, conformant
disclosure of their own naming this same retirement, and no surface in the release family defers to
a follow-up any longer.
Inputs / Outputs
- In: a
release.yamlmanifest under$CLAUDE_PROJECT_DIR/.foundry/releases/<id>/; per-atom evidence (each atom'sacceptance-contract.yamlauthorization + its merged-on-main status — the marker reachable on its target repo'smain, resolved from the contract'starget_repovia.claude/foundry-project.json). - Out: a validated, state-advanced manifest; the closure verdict (CLOSED per atom, or the fail-closed reason).
Anti-patterns
- Asserting closure / forcing
completed— there is none; closure is re-derived from evidence, fail-closed. - A release "authorize-once" shortcut — per-atom authorization + per-atom merge re-check is invariant
(the
/foundry:authorize-releaseprecedent);activatere-derives each atom's authorization. - Re-implementing the loader/state-machine in the skill — always drive
foundry_release.py. - Declaring a floor gate in the manifest — there is no floor-gate field; the floor is core-owned and re-derives per atom regardless of the release.
- On a harness denial of a release-state or closure command, see
docs/harness-denial-fallback.mdand STOP: hand back the exact denied invocation; never retry it or route around it.
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
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.

