Use when the user runs `/ship`, asks to "merge and deploy", "ship this branch", or "push to production". Pre-checks the workspace and todo queue, confirms with the user, merges the current branch's PR on GitHub, runs the deploy steps from CLAUDE.md's `## Deploy` section, and reports the outcome.
Ships in workflows. 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.
Draft the deployment plan; deploy only when a developer instructs it. /ship's default outcome is a Release Note whose ## Deployment Plan says, per deployment target, what is waiting to deploy and the verification that would be required — and a merged pull request. It does not start a deployment. The developer reads the drafted plan and instructs the deploy; that instructed deployment runs the target's procedure, confirms it, and records the method and the observed result back into the same note.
Standing rules, none optional:
story/scripts/release-boundary.sh checks that the committed range is readable and
nonempty. Partial missions, loose tickets and multiple missions are permitted. Keep remaining
work open; readiness is established by branch checks, safety and the target's confirmation,
never by closing planning records. Publishing a version does not imply production activation./ship deploys on its own, and no unattended caller can reach the deploy step at all (§0). Merging is not an instruction to deploy; neither is merge_policy: auto.main is mandatory, and reconciling with main is standard ship behavior — never an optional "your call". A branch behind main either reverts merged work or silently no-ops the release (a deploy-on-merge release is idempotent, so a colliding version ships nothing). A mechanical conflict — the version/lockstep manifests or regenerated outputs/ — is reconciled as routine; only a genuinely ambiguous content conflict halts for a human.main's and not an already-published tag; re-bump past a collision as part of reconciliation.fail) and nothing is promoted; the unpromoted state is the rollback.Where the production evidence now lives (the invariant this role change moved, 2026-08-13, resolving the fork ticket 20260813123903-make-ship-draft-the-plan-instead-of-deploying carried). /ship §5 used to deploy and confirm pre-merge and gate the merge on that confirmation, so an unconfirmable change never reached main. With /ship no longer deploying, §5's merge is no longer gated on an executed production confirmation — and the evidence is not dropped, it is relocated to the release/* QA window (§6), which already runs the target's ## Confirmation against the window's tip and which the repository already documents as where quality is gated rather than at merge time. What still gates §5's merge: the branch-safety scan (2b, secret non-overridable), the mandatory catch-up, and the §1-4 requirement that a confirmation method exist. main is the continuously-merged development branch; production is release/*.
This skill is the worktree-independent ship essence: it operates on the current branch's PR. The /ship command resolves which claim to ship; drive owns the claim lifecycle around it.
Works on any Agent-Skills-compatible agent; where a step uses the agent's selection prompt, use the agent's native multiple-choice prompt. The confirmations are mandatory for an interactive caller; a caller that cannot prompt takes §0's routing instead of asking. Prefix each prompt's question body with [<project label>] (run bash gather/scripts/project-label.sh once and reuse its project value); leave the header as the decision label.
/ship is called two ways: by a developer in a session, and by the unified /drive run for a PR-unit whose effective merge policy is auto (drive §6) — a caller that cannot prompt at all. This is a routing table over the existing seams, not a second flow: every step runs exactly as written, and at each the agent's selection prompt the unattended answer is the conservative one — stop, or hand the unit back to the PR path, never proceed on an assumption:
| Interactive seam | Unattended caller |
|---|---|
| §3 Workspace Guard, dirty tree | Demote to PR. Uncommitted work in the claim worktree is a finding, not a thing to ignore-and-proceed. |
| §4 Ticket Guard | Unchanged — already informational and non-blocking. |
| §1-3 the deploy instruction | Never deploy. Draft the plan and report it. There is no seam here an unattended caller can pass: a deployment needs a developer's instruction, and merge_policy: auto is authorization to merge, never to deploy. (Until 2026-08-13 this row read "Proceed", because /ship deployed pre-merge and auto carried that authorization; the role change removed the step, not just the prompt.) |
| §1-4 no confirmation method | Demote to PR. The accepted-risk bypass is a developer's conscious choice; an agent taking it is what "never the default" forbids. The gate is about the plan being checkable, so it still applies with nothing being deployed. |
Step 2 catch-up, content conflict | Demote to PR. (A mechanical conflict is routine reconciliation — unchanged.) |
Step 2b scan, overridable: true (size/leak) | Demote to PR. An override is a human ruling. |
Step 2b scan, overridable: false (secret) | Hard stop, exactly as interactively — non-overridable is non-overridable, and demoting it would launder a credential-bearing branch into "routine review". |
| Step 3 drafting phase, degraded read | Report and skip the plan; do not half-write it. draft-deploy-plan.sh reports its reason and leaves the note untouched; the unit still routes on the gates above. |
| The instructed-deploy path (steps D1-D3) | Unreachable. An unattended caller has no instruction, so it never enters. A confirmation that ran and failed is a hard stop for whoever did instruct it. |
| Step 7 release publish, no CI to defer to | Skip and report release_pending. Publishing is an outward action nobody authorized in this run. |
Demote to PR means: stop before the merge, leave the PR open and the branch pushed, and report the unit as demoted with the gate that caused it. auto means no approval is needed; it never means no gate applies — the tiers are identical, only the override path (which requires a human) is unavailable. /ship remains independently usable on a hand-driven branch with every prompt intact.
Teardown belongs to the caller, not here. After a successful merge, the unified run removes the claim worktree and branch (drive §6). /ship may itself be running inside that worktree, and a merge that cleans up its own working directory cannot report its result. A worktree kept for a further batch is reset with bash branching/scripts/reset-mission-worktree.sh <slug>.
Ship learns how to deploy and how to confirm success from, in order of precedence: .workaholic/deployments/*.md (the structured contract — a ## Procedure plus an executable ## Confirmation, read via read-deployments.sh), then CLAUDE.md's ## Deploy / ## Verify sections (via find-claude-md.sh). The confirmation method is mandatory: ship will not complete a deployment it cannot confirm, and will not draft a plan that names no verification. File formats and the two deploy models (deploy-from-branch / deploy-on-merge) are in reference/flow.md and .workaholic/deployments/README.md.
There is no confirm-before-deploy prompt, because there is no deploy step to confirm. Step 3 drafts the plan and reports it; the deploy path (steps D1-D3) runs only when the caller's invocation carries the developer's instruction to deploy a named target — an instruction the developer gives after reading the drafted plan. /ship still has exactly one behaviour: the instruction is not a subcommand and never the first word of an argument. Before executing an instructed procedure, display it and confirm via the agent's selection prompt; declined ⇒ deployment skipped, plan unchanged.
Runs pre-merge, and survives the drafting change unchanged: a plan whose verification line reads "none declared" is exactly the aspirational plan this mission exists to prevent. A method exists when read-deployments.sh returns has_confirmation: true or CLAUDE.md has a non-empty ## Verify section. If none: HALT — do not deploy, do not merge, do not silently skip — and ask the user (the agent's selection prompt, command level) how to establish one: provide a verification path or transient credentials (never persisted anywhere), inspect production to derive and record a .workaholic/deployments/ entry, author one and re-run, abort, or — deliberately — the accepted-risk bypass: merge without production confirmation, recorded into the story/PR before the merge (Ship Flow step 5's bypass path). The bypass is offered only for cannot-confirm cases (no method exists, or a declared method cannot execute in this environment); a confirmation that ran and failed is never bypassable. A docs-only project still states its trivial confirmation ("the merge is the deployment; confirm the commit is on main") rather than leaving it absent.
Full contracts — arguments, JSON envelopes, refusal reasons, and each rule's measured rationale — are reference/scripts.md. All run as bash ship/scripts/<name>.sh:
| Script | One-line contract |
|---|---|
pre-check.sh "<branch>" | PR number, URL, merge status for the branch |
catchup-main.sh "<base>" | Fetch + merge origin/<base> into the work branch; resolves append-only .workaholic/ conflicts itself; classes the rest mechanical/content; merge_failed means the merge never started |
read-deployments.sh [--slugs | --slug <s>] | .workaholic/deployments/ contracts; has_confirmation drives §1-4. The single-target modes exist so a composing script never re-parses a target record |
read-release-notes.sh [--latest-for <slug> [--exclude <p>]] | The one parser for release-note frontmatter; reports a target join as declared or the weaker recency |
read-deploy-state.sh [--rows | --base-rev] [--exclude-note <p>] [<base>] | The plan consolidation: per target, its contract, its latest note, and the unreleased range with a named since_reason and attribution. Pure read |
draft-deploy-plan.sh <note-path> [<base>] | Writes/refreshes the note's ## Deployment Plan; idempotent (changed: false on an unchanged base), and writes nothing on a degraded read |
find-claude-md.sh | Locates ./CLAUDE.md |
check-confirmation-capability.sh "<method>" | Can this environment run the method? Advisory only |
check-todo.sh | Owned/unowned queued tickets; drives the §4 note only |
record-evidence.sh "<branch>" "<target>" "<method>" "<result>" "<status>" ["<note-path>"] | Appends ## Deployment Evidence to the story and, given a note, the matching append-only ## Deployment Verification block; pass/fail/not_run/bypassed; refuses possible_secret before writing either |
commit-release-note.sh "<branch>" | Commits + pushes the release note; a failed push is a pre-merge hard stop (release_note_not_on_remote) |
merge-pr.sh "<pr-number>" [<base>] | Merges; exit status reflects the merge only; read commit_hash_source/on_base before tagging |
publish-release.sh "<branch>" "<commit>" "<tag>" "<notes-file>" | GitHub Release; defers to CI (ci_publishes); idempotent |
extract-deferred-concerns.sh "<branch>" "<pr>" "<url>" [<base>] | Persists the story's Concerns into the feedback stream, append-only by concern_id, behind a [Record] pull request; report extracted, pushed, destination, publication.merged / merge_reason. The contract is positional and validated: <pr> is a bare number and no positional may begin with -, refused bad_pr_number / flag_in_positional with nothing written (2026-09-19) |
Run bash branching/scripts/check-workspace.sh. On clean: true, proceed silently. Else display the summary and ask via the agent's selection prompt: "Ignore and proceed" (the unrelated changes remain) or "Stop" (end the workflow immediately).
Run bash ship/scripts/check-todo.sh. On clean: false, print one non-blocking note — "Note: N ticket(s) still queued in .workaholic/tickets/todo/ (not blocking this ship): <filenames>" — and proceed anyway. Never prompt, never block, never move tickets: queued tickets are future work, unrelated to this branch's PR; shippability is gated by §3 and the deployment-confirmation gate, not the queue.
Ship the current branch's PR. The flow's outcome is a drafted plan and a merged PR; it deploys nothing. Full per-step detail — JSON fields, failure branches, evidence and bypass invocations: reference/flow.md.
story/scripts/release-boundary.sh; when it is not
eligible, report not_release_boundary:<reason> and stop without writing. Then run
pre-check.sh: no PR ⇒ "run /story first", stop; already merged ⇒ warn, proceed to the
drafting phase only. Capture pr_number/url.main (catchup-main.sh, mandatory) and apply the version-collision guard. mechanical ⇒ reconcile yourself as routine, no prompt; content ⇒ halt for the user; merge_failed ⇒ fix the working tree and re-run. Never present reconciliation as optional.
2b. Branch-safety scan gate (pre-merge, blocks like §1-4): release-scan's scan-branch-safety.sh | gate-decision.sh. overridable: false (secret) ⇒ non-overridable hard stop, no bypass ever; overridable: true (size/leak) ⇒ fix and re-run, or the developer overrides with the accepted risk recorded via record-evidence.sh … "bypassed". decision: "refuse" ⇒ no reading was made (2026-09-18, ticket 20260918150931): stop, name the reason, and re-run the scan correctly — it is neither a secret nor an override, so never hunt a credential on it and never record it as "bypassed". Its counts are null, never 0.write-release-note, passing the PR url) and run draft-deploy-plan.sh <note-path> over it. Report the plan — per target, what is waiting and the verification required. A degraded read (ok: false) is reported and skipped, never half-written. Run the capability check (check-confirmation-capability.sh) for each target's method and report an incapable environment: the plan says the check would run there.commit-release-note.sh — a failed push is a pre-merge hard stop — then update the PR body (story/scripts/create-or-update.sh) so reviewers see the plan before the merge.merge-pr.sh. On failure, inform and stop. Read commit_hash_source before using commit_hash; the post-merge base checkout is best-effort and never load-bearing (checked_out is a reported field, not a gate). The merge is not a deployment and grants no authorization to start one.publish-release.sh — defers to a CI release workflow; refuses to tag on on_base: false or commit_hash_source: "branch_head".extract-deferred-concerns.sh, passing the base explicitly. The arguments are positional and are validated before anything is written (2026-09-19, ticket 20260919151600): <pr-number> must be a bare run of digits and no positional may begin with -, so a flag written where a positional goes is refused flag_in_positional and a #-prefixed or non-numeric number bad_pr_number — each naming the value it received, with no record, no branch and no publish tree. Measured: a shifted vector stamped --base into a permanent squash subject and into an append-only record's origin_pr. Report a refusal by its word and correct the call; this step is post-merge and best-effort, so a refusal costs the run a named error rather than a merge or a deployment. The records travel behind a [Record] pull request (publish-tree-pr.sh, WORKAHOLIC_AUTO_MERGE=1), never as a direct commit to the base (2026-09-11). Report extracted, pushed (the publication branch is on origin; best-effort by design, so read it), destination, and publication — merged says whether the base has the records and merge_reason names why a pull request was left open (a record not yet merged is invisible to /story's judge and /specificate until it lands).destination, and checked_out/checkout_reason when the base was not checked out.Runs only on a developer's instruction naming a target, and never in the same breath as the flow above — the plan is read first, then the deploy is asked for. An unattended caller never reaches this path (§0).
## Procedure / ## Deploy, confirm (§1-3), and execute.## Confirmation / ## Verify and capture the observed result. A failing result is a failed deployment — record it and promote nothing.record-evidence.sh "<branch>" "<target>" "<method>" "<result>" "<status>" "<note-path>" with the honest status — pass, fail, not_run (the environment cannot execute the declared method), or bypassed. It writes the story's ## Deployment Evidence and the note's append-only ## Deployment Verification from one call, so the plan and its answer sit in the same document.A merge is not a deployment, and a deployment that failed is not a completion (2026-09-09,
mission report-a-native-tick-from-reconciled-evidence-not-from-a-worker-s-word). This is stated
here rather than added as a gate, because the four statuses above already carry it — what was
missing was the sentence saying they may never be collapsed. Measured: a schema migration
failed on the existing rows in a production rebuild, and the run reported a healthy completion,
because the pull request had merged and the local checks had passed.
fail and not_run stay visible wherever the ship's outcome is reported, and neither is
ever rendered as pass or omitted. A failed deployed migration remains a failed deployment
even where the pull request merged, the local suite was green and the queue drained.not_run is not a soft pass. The environment could not execute the declared method, so
nothing about the target was established — the reading's absence, never its success./implement's and /infinite-development's completion claims are reconciled against
merges, claims and the queue (loops/scripts/reconcile-completion.sh) and say nothing about a
deployment for exactly this reason.plugins/workaholic/rules/general.md, A tightened constraint over
persisted data is verified against legacy rows, whose delivery half this is).release/* staging tierA separate, explicitly-invoked phase over the base. Never a step of §5, and /drive neither cuts nor confirms a release branch — if it were per-unit, every auto unit would open a release window. §5 lands one unit on the base; promotion takes the units already landed there to production. Mechanics, record schemas, and refusal envelopes: reference/release-tier.md.
branching/scripts/cut-release-branch.sh — mints and pushes release/YYYYMMDD-HHMMSS, carries no commits of its own, never checked out; a refusal means no window exists), hold it open for QA, run the target's ## Confirmation against its tip, then deploy/tag from the confirmed tip (publish-release.sh, still deferring to CI).confirm-release.sh … "fail") and cut a fresh branch for the next attempt; never re-point, force-push, or reuse one..workaholic/releases/<release-branch>.md, written on the base by record-release-cut.sh at the cut and confirm-release.sh at each attempt — derived from git, never hand-authored, with since_reason naming how the carried range was chosen./prepare-release, and the repository-scoped [Prepare Release] routine that runs it hourly. It reads; it never writes — no file, no commit, no branch, no pull request, no merge, no deployment — and it is a separate command rather than a mode of /ship, because /ship has exactly one behaviour and merging is part of it. A network read is permitted and, since 2026-08-18, required: report-deploy-status.sh freshens the refs its own boundary depends on before reading them (below). The refusal has always been about writes, and it is unchanged — a git fetch touches refs/remotes/* and refs/tags/* and nothing else, leaving the working tree, the index and every project file untouched.
bash ship/scripts/report-deploy-status.sh [base]
Per target: unreleased_count and the since boundary with its since_reason, has_confirmation, the latest note that joined it and how (declared/recency/none), and needs[] — confirmation_method (the target declares none, so §1-4 halts on it), release (commits are waiting), note (no note has ever joined this target). Report each target and the needs; actionable: false on every target is the quiet state and is reported as such. A refusal (base_unresolvable, not_a_git_repo) is reported with its reason and ends the run — never half-reported as a clean status.
The per-target mapping rides the same read (2026-08-17). report-deploy-status.sh splices read-deployments.sh --mapping under mapping: per target its environment, deploy_model, paths and confirmation_method, each marked declared or defaulted/undeclared, plus named gaps[] — no_targets, environment_undeclared, path_attribution_undeclared, unmatched_component. read-deployments.sh stays the single parser of that frontmatter, and the mapping is not hashed into the digest: reformatting a record is not news. For an undeclared target the reader prints a blank scaffold (--scaffold <slug>, stdout only) and stops — deriving the mapping means reporting what a human declared, never synthesising a record from the tree's shape, because the next /ship gates on that record (.workaholic/deployments/README.md, The target ↔ environment mapping).
The digest is what makes an idle tick silent. It hashes the substantive per-target state and deliberately not the base sha, so a base that merely advanced is not news. The consumer posts it as the deploy:<digest> token and finds its own previous post by it (notify, One thread per feedback item — the same stateless lookup, no stored state anywhere): token found ⇒ post nothing.
Measured over the nine hours after the refs fix above landed (23:11 JST, 2026-08-18): nine 📦 posts in nine consecutive hours, counts 10, 12, 14, 16, 18, 22, 30, 2, 2 — and one request behind all nine, "cut a release for marketplace". Not one hour was silent. The refs fix cured the accuracy half and left the rate untouched, which closes the escape hatch the ticket left open ("if the fix alone brought the rate down, the rest may be unnecessary"). The cause is structural: unreleased_count is in the digest's input, and on an active day a commit lands on the base every hour, so the digest — which prevents a repeat — never fires against an hourly restatement of the same request.
day_token is the bound: <Asia/Tokyo day>:<hash of the per-target needs sets>, posted beside the digest as deploy-day:<day_token> and searched with it. Both gates are required, still AND'd with actionable || doubtful. It keys on what the tick is asking for, not how much of it there is, so an unchanged ask is said once a day while a new kind of ask — a target that starts needing a confirmation method, a target that appears — moves the token and is said the same hour. A doubtful target redacts its needs to the literal doubtful, for the same reason the digest redacts its count.unreleased_count out of it is the obvious fix, but the digest's derivation had been settled hours earlier the same day (the doubtful redaction), and re-cutting a dedup key a day later is exactly the churn this bound exists to stop. A second key costs one more exact-string search and leaves the first one's reasoning intact.run-note-cadence.sh) and matches [Standup]'s stated rule that a daily post is a standing claim on attention. The container runs UTC while the workspace is Asia/Tokyo, so the zone is named; WORKAHOLIC_DEPLOY_POST_TZ overrides it, and a container with no tzdata reports tz: UTC rather than claiming a zone it did not get. Like every floor here it is derived — from the clock and from Slack's own record — and stores no cursor.needs rather than on the clock alone. Rejected with it: a threshold on the change in the count (the ask is no more urgent at 20 than at 10, so any constant would be arbitrary), and leaving it hourly.The boundary is derived from the newest reachable release tag, and until now the reader took whatever refs its container happened to hold. Measured in a live [Prepare Release] container: no tags at all and an origin/main five days stale, so one unchanged repository reported 2721 commits (full_history), then 2950 (full_history), then the true 4 (latest_tag:v1.0.185) as refs were fetched — with a different deploy:<digest> each time, which is the worse half: the dedup key moved with the refs, so the silence rule that exists to keep an unchanged repository quiet could post repeatedly.
report-deploy-status.sh, the one entry the hourly tick reaches. It is a bounded best-effort git fetch --tags origin in the shape catch's window scan established here — WORKAHOLIC_DEPLOY_FETCH_TIMEOUT (default 20) caps it, 0 opts out for a container behind a filtering proxy or with no network, and it is never fatal. read-deploy-state.sh stays a pure local read and gains no network I/O; draft-deploy-plan.sh and draft-release-note.sh reach it from a ship or from CI, whose checkout is defined rather than inherited.refs is fresh (it ran and succeeded), stale (it failed, timed out, or there is no remote) or skipped (opted out), with refs_reason naming the cause (ok / no_remote / fetch_failed / opt_out).doubtful: true on a target whose since_reason is full_history or unresolvable and whose refs are not fresh — exactly the boundaries stale refs collapse to, and rendered plainly they are indistinguishable from a repository that genuinely has no prior release, which is how 2721 read as an ordinary number. A latest_tag: boundary under stale refs is not marked: it is a real count between two real commits that may merely lag. doubtful also rides the top level and is repository-wide, because one set of refs sits behind every target's number.refs is folded in, so a doubtful read can never dedup against a trusted one; and a doubtful target's count and since are redacted out of the digest's input, because those are the values the consumer suppresses — hashing a suppressed number would put the defect straight back, keying two containers with different stale refs differently for one real state. The base sha stays excluded, and its reasoning is intact: the base sha says what the repository contains (advancing is not news), refs says whether the reader could see it, and those are different claims.actionable or doubtful, still AND'd with the digest search, and the line names the degradation instead of a number (notify, the repository tick's one line).A target's note lives in two places — a GitHub draft release and, once released,
.workaholic/release-notes/ — and the ask is that the two be always identical. They are,
because neither store is the source of truth: the derivation is. draft-release-note.sh
rendering the base state is the authority, and both stores are projections of it. One renderer,
one input, so wherever both copies exist they are byte-identical by construction rather than by
copying.
What ## Key Changes carries, per merge in the range (2026-08-18, issue #496). One line per
merge — no cap and no selection, because a silently shortened list reads as "nothing else
happened". The line prefers the branch story's Overview sentence (the written record of why);
where no story joined the merge it falls back to the merge commit's body, which is that pull
request's own title. The fallback is the common case, not the rare one: a /specificate pull request
auto-merges without ever running /story, so it structurally never has a story. It is the body
and never the subject — the subject reads Merge pull request #N from qmu/work-…, which names
the number and the branch and summarises nothing, which is what the old placeholder already did.
Both sources are local git data, so the rule adds no network read and leaves --enrich off by
default. Only a merge carrying neither a story nor a body falls through to naming itself.
And a story-less merge keeps its substance (2026-08-18, issue #512). The title rung was an
improvement over the placeholder, and a title is still one clamped line where a story is a
paragraph of why — on the majority path: measured over v1.0.170..main, 38 of 68 merges
(56%) carry no story, because a /specificate pull request auto-merges without ever running
/report. The substance is already on the base, and the merge's own diff against its first parent
names where: resolve-merge-substance.sh reads the feedback record it published (Asked for: —
labelled that way because a record states what somebody asked for, which is not always what the
merge did), the mission it planned, and the count of tickets it queued. The detail renders as
sub-bullets on the same row, so nothing is dropped, reordered or capped, a merge that published
no artifact renders exactly as before, and a story-bearing merge is never asked at all. Local git
plus base-tree reads only: --enrich stays off and the same base state renders the same detail.
Neither the feedback: nor the mission: relation is parsed there — it discovers paths from a
diff and reads a title: field, so each relation keeps its one reader.
Where the story's sentence ends (2026-08-18, ticket 20260818131500). A period followed by
whitespace or the end of the line — so a period inside check-version-bump.sh is not one. The
rule was "up to the first period", which cut inside such a filename and left an unclosed
backtick, corrupting the markdown of everything after that line in the rendered release; 32 of
this repository's 199 stories rendered that way. The cheaper whitespace rule was measured against
the whole corpus before the backtick-aware alternative: it fixes all 32 and mis-splits no
abbreviation in any of them, so the more general rule was not needed. Both sources are then cut to
160 characters by one shared clamp, which never returns an odd number of backticks — a span it
cut open is closed before the ellipsis.
The renderer derives the facts; a plan arranges them (2026-08-18, issue #512). The report was that a deterministic renderer ships where planning judgment was asked for: one clamped line per merge, in merge order, with nothing deciding what ships together, in what order, or at what risk. The answer is a seam, not a rewrite — draft-release-note.sh --plan <path|-> renders an agent-authored arrangement over the facts it already derives, and with no plan its output is byte-identical to what it produced before the seam existed (proved by diffing both renders of the same base). The idempotency contract is superseded in place rather than deleted: the same base state plus the same plan renders byte-identical output — determinism was never the defect, the absence of judgment was, and a re-render that diffs for no reason is a property the ask never wanted to lose. What a plan may carry, what it may never do (invent a change, drop a merge, move a fact), where it may live, and how a plan written for an older base renders as stale rather than as current: reference/release-plan.md. A plan that cannot be applied — unreadable, malformed, written for another target, no python3 — is not applied: the derived list renders and the reason rides the JSON under plan, because a note that looks planned and was not is worse than one that reads as a list. This ticket delivered the seam and its document; it authors no plan and runs no agent.
bash ship/scripts/sync-release-note.sh [--target <slug>] [--dry-run] [base]
missing from the … copy, present only in the … copy — an edit made outside the renderer, content differs from the derived note) before anything is written, never silently repaired and
never silently kept.gh release — REST-backed and explicitly sanctioned (rules/shell.md);
gh pr/gh issue/gh repo stay refused. The .workaholic copy is written at release time by
commit-release-note.sh from the same renderer, so it is identical the moment it exists.published_release. .github/workflows/release.yml publishes v<version> on a version bump,
so the GitHub side has a second writer this sync must not fight: the draft's tag is
draft/<slug>, which cannot collide with a v* tag, and a release found not to be a draft is
left alone whatever its tag.changed: false.Why not the alternatives: .workaholic authoritative is refused on the measured number —
paths: is declared on 0 of 1 targets here, so a note commit is 100 % self-counted and a daily
writer is +365 commits/year on main, each invalidating the next, which is the treadmill the
table below refuses. "Both authoritative for different sections" makes which side is wrong
unanswerable, which is the very confusion the ask exists to remove.
20260814064854-add-the-hourly-release-note-repo-routine, resolved 2026-08-14)The ask was "run /ship once per hour to update the release notes". A ## Deployment Plan is a branch's prospective section, drafted inside that unit's own pull request at §5 step 3. Every unit-less writer for it was measured and refused:
| Writer design | Why it was refused |
|---|---|
Refresh a merged note on main | Self-referential. The plan's datum is the base sha, and for any target declaring no paths: — the default attribution: whole_range, and what this repository's own marketplace record does — the refresh's own commit increments unreleased_count. Each refresh invalidates itself, so an hourly writer is a commit treadmill: precisely what draft-deploy-plan.sh keeps a clock out of its section to prevent. |
| Push the refresh into each open PR's branch | Those branches are not this routine's to write. A work-* branch under a live claim is pushed by archive.sh and heartbeat.sh on the driving session's own schedule, so an hourly third writer races the claim protocol and the developer for nothing. |
Run /ship itself, hourly | /ship merges. An unattended hourly sweep with a loose scope merges pull requests nobody expected, and a unit-less sweep mode is a second behaviour on a command that has one. |
So the tick does the strongest thing a machine may honestly do to a document whose forward-looking half is a human's decision to act on: it checks it and says what it found. The precedent is this repository's own story/scripts/area-freshness.sh — it reports, it never writes — adopted 2026-08-13 for the same class of problem.
The three records were separately correct and never joined: the plan in the target's draft, the window under .workaholic/releases/ (written at the cut by record-release-cut.sh, at each attempt by confirm-release.sh), and the per-target attempt appended to .workaholic/release-notes/<slug>.md by record-evidence.sh. A reader opening a target's draft saw the plan and nothing that came after it.
The join is a derivation, not a copy: read-release-history.sh reads those records where their own writers keep them, and draft-release-note.sh renders them into the note it already renders — ## Deployment Plan, then ## Releases, then ## Deployment Verification, in that order. No third store, which is the whole constraint: two stores exist by decision and the derivation is the truth, so a third would drift inside a week. Append-only survives untouched because the projection never writes: record-evidence.sh remains the one writer of an attempt and confirm-release.sh of a confirmation, and a published release is still never overwritten.
Two things it refuses to blur. A window is repository-wide — a release/* branch carries the whole batch — so the note says so rather than letting a batch confirmation read as "this target was checked"; the per-target evidence is the section below it. And fail, not_run and bypassed render exactly as loudly as pass: a continuity feature that showed only successes would make an unverified release look verified, which is the failure the verification section exists to prevent. An empty stage says so in words ("No release has been cut yet"), never by an absent section.
20260818202056-run-the-release-planning-judgment-and-reach-ci, ruled 2026-08-18)(a) — in CI, beside the writer. The seam above renders a plan; this is where the plan is authored. The three candidates were weighed against the refusals in this section rather than against effort:
| Seam | Ruling |
|---|---|
(b) the agent plans on the [Prepare Release] tick and commits the plan for CI to read | Refused. That is the class refused twice here — an hourly unattended writer on main — and it contradicts the command's own contract ("it writes nothing, anywhere") in three documents. A plan file is not a release, but it is a commit, and for a target declaring no paths: the commit storing it increments the very count the plan is about. |
| (c) the plan is authored per unit at ship/report time and accumulates | Refused, on two counts. It is not continuous re-arrangement — a repository whose units are all review would refresh it rarely — and it has nowhere to put the result: a per-unit plan must be committed for a later CI run to read it, which is (b) in a different costume. It would also stitch per-unit judgments together rather than produce one view of the whole release. |
(a) the agent runs in the Release Note Draft workflow | Chosen. That job already holds contents: write and a defined checkout, so the judgment and the write happen in one place and nothing crosses between them. It answers the three refusals by name: it commits nothing to main, writes no open pull request's branch, and never runs /ship. |
Its cost is a credential, and the cost is paid visibly. An agent invocation in CI needs a key, which is the operator's act. So plan-release.sh is gated: WORKAHOLIC_PLANNER_CMD (default claude -p) must be reachable, the workflow's planner steps are skipped when ANTHROPIC_API_KEY is unset, and every way a plan fails to arrive is named — no_planner, planner_failed, invalid_plan, empty_range, no_renderer. The fallback is visible on the note's face (Open Decision 2, ruled the same day): passing --plan is the expectation, so a plan that did not apply renders a line saying the merges below are derived rather than arranged. A render that expected no plan stays silent. Nobody has to read the JSON to tell a broken planner from a deliberate list.
How often it actually refreshes, stated plainly because the ask says continuously: exactly when the cadence would write — at most once per Asia/Tokyo day, plus whenever the release stage advances. The workflow asks the cadence what is due (list-due-targets.sh over a --dry-run) before it spends anything, so an idle base spends no agent budget. The planner command is pluggable, which is also what makes the whole chain provable with no key and no network: sh scripts/e2e/loop-drill.sh verify-planner, plus the hermetic fixtures.
/prepare-release is untouched by all of it. It calls the cadence without --write, makes no gh call, and authors no plan — the judgment lives with the permission, and neither is in the tick.
Row 1 was answered on 2026-08-17; rows 2 and 3 stand. The refusal above is against committing a regenerated document to main, and it was measured, not asserted: paths: is declared on 0 of 1 targets here, so a note commit is 100 % self-counted. The answer is not a better writer but a home that is not a commit — the per-target GitHub draft release (The two copies, and which one is authoritative, above). A draft that never enters git cannot increment the count it reports, so the self-reference goes to zero rather than being compensated for. Rows 2 and 3 are untouched by it: no open pull request's branch is ever written, and /ship is never run on a tick. The sentence this section used to carry — "the release notes are not updated by any tick" — is no longer true and has been removed rather than left to rot; what remains deliberately undelivered is that .workaholic/release-notes/ is still written only at ship and release time, never by a tick.
bash ship/scripts/run-note-cadence.sh [--write] [--target <slug>] [--dry-run] [--force] [base]
--write is passed by exactly one caller — the Release Note Draft GitHub Actions workflow — and never by a routine. Without it the cadence makes no gh call at all and reports writer: "ci" with every target due: false, reason: writer_is_ci. /prepare-release calls it without the flag, which is what makes the command the pure reader it has always declared itself to be: the 2026-08-17 design bolted a GitHub-draft writer onto a command whose own contract says it writes nothing, and this removes the contradiction rather than restating it.
The reason is measured. A Claude Code Web session — every routine-fired container — cannot write a release by any transport:
| Attempt | Result |
|---|---|
gh release view / create / edit | 403, GraphQL is not served to the session |
POST repos/{owner}/{repo}/releases | 403 Creating, editing, or deleting releases is not permitted for this session type |
The second refusal is the load-bearing one: it is not the GraphQL restriction gather/scripts/gh-rest.sh exists to route around, so REST is not a way out and there is no transport left. A tick that kept trying would fail every hour forever and report degraded for a condition that is permanent and expected, which drains that word of its meaning. GitHub Actions holds contents: write and is already this repository's release writer (.github/workflows/release.yml, and publish-release.sh already "defers to CI when a release workflow exists"), so the capability moves to where it exists rather than being simulated where it does not. Nothing about §7's three refusals changes: CI commits nothing to main, writes no open pull request's branch, and never runs /ship.
CI also fixes the input, not only the permission. The renderer's boundary is the latest release tag, and a container's clone carries whatever refs it happened to get. Measured 2026-08-18: one routine container had no tags at all and an origin/main five days stale, which collapses the boundary to full_history — the same repository state reported 9, then 191, then the true 8 unreleased commits as refs were fetched, and the deploy:<digest> moved with each. The workflow checks out with fetch-depth: 0 and tags, so the rendered draft's input is defined rather than inherited. The reading half was left open here and closed the same day (§7, The refs the count came from): report-deploy-status.sh now freshens the base branch and tags itself, bounded and best-effort, and reports refs/doubtful when it could not — so the hourly line's count and digest no longer depend on what the clone happened to arrive with. The two fixes are deliberately separate: CI defines its checkout because it can, and the tick freshens and reports because a container cannot be defined from inside it.
One routine, one job — the generation left it on 2026-08-18. This paragraph used to read "One routine, both jobs", and the ruling it recorded (2026-08-17) was that the generation rides the hourly [Prepare Release] tick. That is no longer true and is corrected rather than left to rot. The tick never had the capability the ruling assumed: it kept the reporting job, and the generation moved to CI (above). The three shapes the original ticket weighed are untouched by the move and still ruled out for their own reasons — folding it into [Implement] by the scope reasoning of issue #451 (a developer-scoped routine would give N developers N repository-scoped generators), and a second repository-scoped routine because its only gain over riding an existing seam is a cron field while its cost is a second setup step for every consuming repository. The workflow is neither: it is not a routine at all, so it costs no consuming repository a setup step. The 2026-08-17 objection that a daily writer "loses the hourly something needs your hand signal" is still answered the same way — the tick reports hourly as before, unchanged by which process writes the draft.
Asia/Tokyo day, read off the authoritative store's own updatedAt. There is no cursor to go stale and a fresh clone behaves identically. The timezone is stated because the container runs UTC while the workspace is Asia/Tokyo, and "daily" without one is ambiguous by a day boundary. It now bounds a workflow rather than a tick, and the derivation is what makes that move free: the floor lives in the state, not in whoever calls it, so a push-triggered workflow that fires ten times a day still writes at most once.draft (no record), staging (a record with status: staging), confirmed — never stored.idle: true, wrote: 0). The sync makes no API call at all when the bodies already match.sh scripts/e2e/loop-drill.sh verify-cadence proves the render, its idempotency, its clock-freedom and the stage derivation, and calls no network. It exercises the --write-less path, which is the one every routine takes.branching/scripts/adopt-worktree.sh (opens in a new tab)branching/scripts/allocate-worktree-port.sh (opens in a new tab)branching/scripts/catch-up-operator-publication.sh (opens in a new tab)branching/scripts/check-version-bump.sh (opens in a new tab)branching/scripts/check-workspace.sh (opens in a new tab)branching/scripts/check-worktrees.sh (opens in a new tab)branching/scripts/check.sh (opens in a new tab)branching/scripts/classify-residue.sh (opens in a new tab)branching/scripts/cleanup-mission-worktree.sh (opens in a new tab)branching/scripts/cleanup-worktree.sh (opens in a new tab)branching/scripts/clear-proved-residue.sh (opens in a new tab)branching/scripts/close-publish-tree.sh (opens in a new tab)branching/scripts/content-reached-base.sh (opens in a new tab)branching/scripts/create-mission-worktree.sh (opens in a new tab)branching/scripts/create.sh (opens in a new tab)branching/scripts/cut-release-branch.sh (opens in a new tab)branching/scripts/detect-context.sh (opens in a new tab)branching/scripts/eject-worktree.sh (opens in a new tab)branching/scripts/ensure-worktree.sh (opens in a new tab)branching/scripts/lib/base-ref-gate.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/workflows:shipfrom workflows
npx claudepluginhub qmu/workaholic --plugin workflows8 skills in this plugin
/catchUse when the user runs `/catch`, asks to "catch me up", "what has everyone been working on", "summarize the last two weeks", or "show a by-developer development report". Scans the recent commit/ticket/story trail, fans out one collector per active developer to summarize their work, then synthesizes the overall development direction, the active missions (progress plus merged and unmerged in-flight work), and stands ready for follow-up questions./create-ticketUse when the user runs `/ticket <description>` or asks to "write a ticket", "spec out a feature", or "draft an implementation plan". Discovers historical context, source code, and standards for the request, then writes an implementation ticket to `.workaholic/tickets/todo/` with frontmatter, key files, related history, implementation steps, and considerations./driveUse when the user runs `/drive` or `/implement`, asks to "implement the queued tickets", "work through the todo list", or "drive the backlog". Surveys the claimable missions and the unclaimed backlog, partitions them into PR-units, claims each unit on a pushed branch, implements it in the claim's own worktree, reports, and routes it by the unit's effective merge policy — identically in an interactive session and on the routine./missionUse when the user runs `/mission`, asks to "start a mission", "plan a batch of work", "show mission progress", or "what missions are in flight". A mission is an optional, epic-equivalent grouping — a bounded, information-rich batch of two or more tickets an agent fleet drives together, never a required parent of any ticket; this skill creates one, lists missions with computed progress, and defines the mission schema every workflow reads./review-sectionsGenerate the branch story's review content (a Motivation past-context paragraph, Outcome, Concerns, Successful Development Patterns) from archived tickets and deferred concern verdicts. Used by the report workflow when assembling a PR story./storyUse when the user runs `/story` (or the deprecated `/story`), asks to "write up this branch", "open the PR", "create the release note", or "assess release readiness". Reads archived tickets, judges previously-deferred concerns, generates a branch story file, creates or updates the GitHub PR, writes the release note, and reports whether the branch is safe to ship.