deliver · git:20261119.b6aac43 · 2026-11-19 · sha256 f034a98dd0139625
deliver git:20261119.b6aac43A
Immutable. This exact content never changes and is served at /api/v1/blob/f034a98dd0139625.
No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_sobxtf7i6yowd6il/f034a98dd0139625eac664f786140764cd84b4d7f85affff5c14710109def887.json
Then /plugin install deliver@markdownregistry-sobxtf7i6yowd6il in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.
--- name: deliver description: Deliver a change of this repository (commit, gate, review, push, pull request). Use before any git push or pull request, and whenever the user asks to ship, deliver, push or open a pull request. --- # Deliver a change A change is judged before it is pushed: its tests, then mutation testing of the lines it touches. This is enforced, not requested. Git's pre-push hook refuses a commit whose tree has no passed verdict of the gate, and the `PreToolUse` hook of `.claude/settings.json` refuses what goes around it. This skill is the way through. What the gate runs is in `delivery-gate.json` and `scripts/gate/profiles/` (checks, production code, what a sandboxed operation may reach, what the guard refuses). Change those files, not this skill, when the gate changes. CONTRIBUTING.md, "The delivery gate", says what each layer holds against and what it does not. ## Steps 1. **Commit** the work on its branch, in a worktree under `.claude/worktrees/` (conventional commit, files staged one by one). The gate judges the committed tree and refuses anything else, an untracked file included. 2. **Run the gate**: `pnpm gate`. The gate that judges is the one of the base revision (`origin/main`), taken out of git: `git fetch` first if the base moved. It checks the commit out into a directory of its own and runs each operation there, in its own sandbox, after a canary proved the sandbox holds; your worktree is not written. - The gate says the sandbox does not hold: stop. There is no unsandboxed run. - A check fails: fix the cause, commit, run again. - A mutant is undetected: write the test that kills it. Only when no test can tell the mutant from the original, mark it on the line above: `// Stryker disable next-line <Mutator>: equivalent: <the invariant that makes it so>`. Never weaken or delete a test to pass. - Passed and recorded: the verdict is for this tree. Any later commit is another tree and needs its own run. 3. **Check what the gate does not play.** Rule 8 of the CI contract (`docs/agent-guidance.md`) still applies: compare the `unit` and `regression` commands of `ci.json` with the checks of `delivery-gate.json`, and run on the committed tree whatever the gate does not list. 4. **Push and open the draft.** Follow [CI contract rule 10](../../../docs/agent-guidance.md#ci-contract-for-agents-and-routines) for when to fetch, push a batch and open the draft (`gh pr create --draft`). If the pre-push hook is not installed, run `pnpm gate:install` (it needs `origin/main` fetched, with the gate on it). Put the rule 8 counts and the gate's mutation line (`N mutant(s) on the changed lines, all detected`) in the pull request body. 5. **Review in fresh contexts.** Start one subagent per reviewer of `.claude/agents/` (code quality, test coverage, security, performance, documentation accuracy), all in one message, each given the files of the change and what it is meant to guarantee, and nothing of this conversation. Ask each to defeat the change, not to confirm it. Fix what they find, then go back to step 1. Follow rule 10 before marking the draft ready (`gh pr ready`). For a pull request already ready, do this review before the push in step 4. ## When a push is refused The message names the ref, the tree and the reason: no verdict, a verdict that is not a passed one for this tree, or a verdict written by another gate than the one of the base revision (the gate changed on the base since, or the commit brought its own). Run step 2. Do not pass `--no-verify`, change `core.hooksPath`, force the push, merge by hand, edit `.claude/settings.json`, push through the API, or write a verdict file by hand: a verdict is evidence only because the gate wrote it.