/continuous-improvement:release-trainfrom continuous-improvement
Orchestrates a stacked multi-PR release train: plans single-concern branches, opens PRs in dependency order, monitors CI, auto-rebases on conflicts, and merges when green and approved.
Ships in continuous-improvement. Installing the plugin adds it to Claude Code.
Long-running autonomous orchestrator for stacked-PR rollouts. Driven by the user's session report (1,218 messages, 178 sessions): the audit-then-execute pattern landed at fully_achieved when sessions opened with a stacked-PR plan; sessions that started as big-bang multi-file edits landed at partially_achieved.
This command formalizes the pattern. It does NOT bypass branch protection, force-push, or merge unreviewed PRs.
Before invoking this command:
RELEASE_PLAN.md (or docs/plans/YYYY-MM-DD-<slug>.md) exists in the repo with a per-PR table, dependency graph, worktree-per-PR, and out-of-scope list. Per the Stacked-PR Plan Precondition in the unified /superpowers dispatcher.main) is clean and up to date with origin/main.origin/main.If any precondition fails, this command halts and reports what is missing rather than improvising.
For each PR in the plan, in dependency order:
git worktree add -b <branch> ../<branch> origin/main (or off the previous PR's branch when the dependency requires it).superpowers:test-driven-development: failing test, watch it fail, write minimal code, watch it pass, commit.superpowers:verification-before-completion before claiming done. Smallest check that proves correctness.superpowers:subagent-driven-development. Critical findings block progress.gh pr create --base <base-of-this-PR> --head <branch> with single-concern description that cites the plan doc.superpowers:receiving-code-review to walk reviewer comments. Critical findings produce a fix commit; non-critical are logged on the PR.deploy-receipt to verify deployed SHA matches merge SHA + healthcheck 200 before reporting the PR as done.Logs every state transition to release-train.log in the repo root.
Halt and surface to the operator if any of these occur:
CRITICAL reviewer finding cannot be auto-resolved.When halted, write a state file to release-train.halt.md describing exactly which PR halted, why, and what the operator needs to decide before resuming.
Re-invoke /release-train after the halt is resolved. The orchestrator reads release-train.log and release-train.halt.md to skip already-merged PRs and resume from the halt point.
This command activates the unified /superpowers dispatcher and routes through:
superpowers:writing-plans (or its inline fallback) to validate the plansuperpowers:using-git-worktrees for isolation per PRsuperpowers:test-driven-development for implementationsuperpowers:subagent-driven-development for two-stage reviewsuperpowers:finishing-a-development-branch for merge decisionsdeploy-receipt (CI-bundled) for production verificationproceed-with-the-recommendation orchestrator to walk the plan's PR list--admin, --force, or --no-verify./release-train docs/plans/2026-05-07-unified-five-plugin-dispatcher.md
Reads the plan, opens worktrees in dependency order, ships each PR through the full discipline, halts only at policy gates.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub naimkatiman/continuous-improvement --plugin continuous-improvement30 commands in this plugin
/auditAudit a window of recent commits for real defects, confirm each finding before fixing, verify every surface a fix touches, then report confirmed/dismissed/no-op with evidence. Enforces Law 4 (Verify Before Reporting)./be-ambitiousWork a task at the goal behind it. Climb to the outcome, use the method the best in the field would use, bring in other fields, fix a numeric target and an outside judge first, then do the work. Guidance for Law 2 (Plan Is Sacred)./companion-preferenceInspect companion-preference hook telemetry — counts by CI skill, action breakdown, and companion-installed%./continuous-improvementReflect on the current session, analyze observations for patterns, and show instinct status. Runs on-demand to save tokens./dashboardVisual dashboard showing instinct health, observation stats, and learning progress/disciplineQuick reference card for the 7 Laws of AI Agent DisciplineOther plugins' commands for the same job