/ruvnet-brain:release-prooffrom ruvnet-brain
Enforces a fail-closed release process requiring clean immutable lineage, zero release blockers, exact-SHA CI success, nonzero QE results, packed-artifact host tests, and post-publication byte verification before any release action.
Ships in ruvnet-brain. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Treat release as a two-seal transaction. Never publish from a source checkout merely because its
tests pass. Never turn UNKNOWN, SKIP, todo, 0 tests, dirty state, or an agent report into
green.
release-blocker. Unlabeled backlog is not release authority; a local fix does not clear a labeled blocker..github/workflows/release-candidate-preflight.yml on release/**. Require its exact-SHA,
source-bound package and aggregate before that unchanged SHA reaches main.brainVersion/releaseTag, and both installed host versions to identify one exact generation.ruvnet-brain RVF store and require narrow,
broad, and concurrent cited candidate searches to complete within 80% of their deadline.
For fresh public stabilization verification, stabilization-public-deadline-v1 requires the
first cited search in every host mode and the Brain probe within the enforced 30-second
deadline. The 24-second headroom target remains a performance follow-up, not promotion authority.
Receipts without this named policy retain the legacy 80% rule; failed runs are not relabeled.npm publish or gh release create locally.published-surface-probe green.Generate the candidate receipt in .github/workflows/release-candidate-preflight.yml; do not
hand-author it. Push the exact candidate commit to release/<version> to run the long CI,
integration, UX, and stranger lanes once. Require the successful exact-SHA artifact
release-candidate-<SHA> before promotion.
Then open a PR from that release/** branch to main. The release-branch canonical-qa and
integration consumers verify the producer receipt and report the required checks on the exact
candidate SHA. Wait for both required checks to pass on that SHA. Do not use the GitHub PR merge
button: merge, squash, and rebase all create a different commit identity and invalidate the sealed
artifact. Promote only with an ordinary non-force fast-forward push after confirming current main
is an ancestor of the candidate:
git fetch origin main
git merge-base --is-ancestor origin/main "$CANDIDATE_SHA"
git push origin "$CANDIDATE_SHA:refs/heads/main"
test "$(git ls-remote origin refs/heads/main | cut -f1)" = "$CANDIDATE_SHA"
If the normal push is rejected, stop and repair branch-policy or required-check configuration; never force-push, use an admin bypass, or substitute a merge-created SHA. Any source change requires a new candidate preflight and artifact. The PR is review context; its merge button is not the promotion mechanism.
Dispatch .github/workflows/protected-release.yml only after the fast-forward. It is the sole
publication controller: it proves current origin/main is the preflight SHA, selects the artifact
by its deterministic name rather than a caller-supplied run ID, revalidates every receipt,
payload/source binding, and digest, then signs and publishes once. The same protected run downloads
the public bytes, executes the three-OS by three-host-mode matrix, and appends install-verified.
It does not rerun the long preflight lanes. Conditional architecture/retrieval-oracle reviews are
candidate inputs only when the governed surfaces changed; they do not authorize publication.
Validate it from the repository with:
node scripts/release-proof.mjs --candidate release-evidence/candidate-receipt.json
From an installed Claude plugin, run:
node "$CLAUDE_PLUGIN_ROOT/skills/release-proof/scripts/release-proof.mjs" \
--candidate release-evidence/candidate-receipt.json
Exit 0 is the only candidate seal. Read every failure code; repair the system, regenerate evidence, and rerun. Do not edit the receipt to remove a failure.
After the protected publisher completes, validate both receipts:
node scripts/release-proof.mjs \
--candidate release-evidence/candidate-receipt.json \
--publication release-evidence/publication-receipt.json
Only exit 0 permits “shipped,” “deployed,” “green,” or “ready.” If publication occurred but this
seal fails, say PUBLICATION DEGRADED, preserve the previous known-good release, and repair or
roll back through the release workflow.
npm run release:proof -- --status --quick is a live local/main diagnostic only. It deliberately
does not evaluate the release vector and therefore reports INCOMPLETE when that is its only
missing evidence. It is never a candidate receipt or publication authority. Use the exact candidate
receipt and workflow artifacts for release decisions.
scripts/release.mjs --publish is intentionally unusable from a local shell or another workflow.
Its invocation guard requires GitHub Actions workflow protected-release, the candidate receipt,
and matching SHA/digest/version bindings before any push, tag, release, or npm action. The workflow
then runs scripts/publication-receipt.mjs after channel verification. That producer independently
downloads the sealed package from npm and the GitHub Release, requires both copies to match the
candidate bytes and identity, installs the npm copy into virgin Claude and Codex homes, proves the
installed self-RVF/readiness/search deadline, and runs published-surface-probe on the candidate
SHA. It refuses to overwrite an existing receipt. The workflow uploads both append-only receipts
only after the two-receipt validator exits 0; missing evidence is red, never inferred.
For each issue:
Read references/receipt-contract.md for receipt fields and failure semantics. Store the protocol and final release receipt in Ruflo/AgentDB only after the publication seal passes.
NOT READY.SEALED, NOT SHIPPED.PUBLISHED, NOT VERIFIED.PUBLICATION DEGRADED.SHIPPED AND VERIFIED.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub stuinfla/ruvnet-brain --plugin ruvnet-brain10 skills in this plugin
/brain-buildThe autonomous build contract, out of the box — "/brain-build <what you want>" activates the disciplined hands-off build power users used to hand-write a standing prompt for. Use when the user says "/brain-build", "brain build", "build this autonomously", "build this hands-off", "loop until it's done", "don't ask me, just build it", or asks for an unattended/self-grading build. Phase-gated per rUv's SPARC, self-verified and self-graded /100 against a per-phase rubric (below 95 → fix and regrade, max 5 iterations), cost-tier routed with printed receipts, crash-resumable via checkpoints, questions batched into one list — the user writes the goal, not the contract./brain-consoleOpen the RuvNet Brain Console (RNBC) for "/rnbc", "/rnb", "/rvbc", "/rvcb", "/brain-console", or "/ruvnet-brain:configure". Use when the user asks to open, configure, inspect, or view the Brain Console. It opens the live local page in the background; the page is read-only until the user clicks a clearly explained, reversible action./brain-promptMetaprompting assistant — "/brain-prompt <rough idea>" turns a rough ask into "the right prompt": a complete, tuned master prompt with SPARC phases, per-phase rubrics, standing rules, and cost guardrails, ready to paste or run. Use when the user says "/brain-prompt", "brain prompt", "write me the right prompt for this", "turn this idea into a proper prompt", "metaprompt this", "what should I actually ask for", or hands over a vague one-liner they want expanded into a disciplined build brief. Ends by offering to execute the produced prompt with /brain-build semantics.Other plugins' skills for the same job