/tandem:start-phasefrom tandem
Open a phase — the opener counterpart to close-phase. Use when the user asks to start a phase, open a phase, begin a phase, kick off a phase / batch / chat, or cut the phase branch before an execute-batch run. Resolves an explicit phase target, gates the entry state (clean working tree + currently on main + every phase story DoR-ready), then cuts the phase branch off main and records the open on the board.
Ships in tandem. 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.
None: SKILL.md is the whole skill.
Operate as PM hat. start-phase is the opener counterpart to close-phase: where
close-phase is the per-phase Definition-of-Done gate that wraps a finished phase up and merges it
to main, start-phase is its mirror at the front — it opens a phase safely before an
execution-strategist chat / execute-batch run begins. The two skills share one phase-branch
convention (40-Decisions/, ADR-0045): start-phase cuts phase/<phase-id> off main,
close-phase later merges that same branch back to main.
It runs in a fixed order, each step gated on the one before it:
main + every phase story DoR-ready, or
abort and list the specific gap.phase/<phase-id> off main per the convention; surface the
checkout command (never force, no gh assumed).MONITOR.md + ACTIVE.md and regenerate the dashboard.Gate-then-act. Step 1 only reads; Step 2 is a hard gate; once it passes, Steps 3–4 act. If the entry gate fails,
start-phasestops and reports the failing item — it never branches from a dirty tree, off the wrong base, or for a phase whose stories aren't ready. This mirrorsclose-phase's done-gate discipline, inverted for entry: the abort-and-list path is the load-bearing behaviour.
Take an explicit phase / chat / epic target from the user — never infer which phase to
open from ambient state (mirrors close-phase Step 1). Accepted targets:
CHAT-01) from an EXECUTION-STRATEGY-*.json
sidecar — resolve to the stories[] listed under that chat / phase;EPIC-NN (or a single FEAT-NN.M) — resolve the set of stories belonging to that
epic / feature by globbing 32-Stories/EPIC-NN/....Resolve the set of stories in the target, then echo the resolved list (each id +
status) back to the user so the scope is explicit and reviewable before anything is created. If
the target is ambiguous, missing, or zero-story, stop and ask for a concrete
phase / chat / epic — do not guess which stories are in scope. A target that resolves to no
stories is treated as a missing target: abort rather than open an empty phase.
Before creating anything, verify all three entry conditions. This is a hard gate:
git status --porcelain is empty (no uncommitted changes); a phase
must not be opened on top of unrelated dirty edits.main — the phase branch is cut from main (ADR-0045), so the entry branch
must be main (git branch --show-current → main). Opening from another branch would give
the phase branch the wrong base.status: ready in its frontmatter
(the kit's Definition-of-Ready gate). A not-started / un-refined story must go through
/tandem:refine-backlog first.If all three pass → proceed (Step 3, branch creation). If any fails → abort and list the
specific gap — name exactly which item failed (the dirty paths, the current branch if not
main, or each not-ready story id + its status) so the operator knows precisely what to fix.
start-phase never opens a phase from a dirty tree, off a non-main base, or with stories that
aren't ready; a half-opened phase is worse than an un-opened one.
main (surface the command — never force)Once the entry gate passes, create the phase branch per the shared convention (40-Decisions/,
ADR-0045): name phase/<phase-id>, cut from main.
Branch off main. The phase branch is created from main (the entry gate already
confirmed you're on main), giving it the clean base close-phase will later merge back.
<phase-id> is the explicit target's id (e.g. phase/chat-01, phase/epic-10), lowercased,
exactly per the convention ADR-0045.
Surface a copy-pasteable command — never force, no gh assumed. start-phase surfaces
the branch-create command for the operator rather than force-creating it:
git switch -c phase/<phase-id> main # equivalently: git checkout -b phase/<phase-id> main
The command is never a force operation — start-phase never force-creates or clobbers a
branch (no --force, no -B reset), and it assumes no gh CLI (a plain git command /
link is surfaced, not a host API call). This mirrors close-phase Step 7 — surface the command,
never force — inverted for branch creation. If a phase/<phase-id> branch already exists, stop
and surface that rather than overwrite it.
With the phase branch created, record that the phase is now open so the live board reflects it
the moment it opens — the front-end mirror of close-phase Step 5 (which records the close):
42-Monitor/MONITOR.md: note the phase's stories are now in-flight,
plus a one-line revision-history entry dated today recording that the phase opened.12-Active/ACTIVE.md (the live WIP index
of in-progress items), per the kit's "when you change a status" rule — the moment the phase
opens, its stories appear on the board.npm run pm:dash so 42-Monitor/DASHBOARD.html reflects the
opened phase. The MONITOR/ACTIVE edits and the dashboard regen happen in the same step (the kit's
atomic status-change rule).Once a phase is open, each chat can run in a manually-opened fresh session, or the operator
may authorise an autonomous subagent-per-chat run — a PM-hat orchestrator dispatching each
execute-batch as its own fresh-context subagent, one chat at a time. Equivalence: a
subagent's fresh context == a manually-opened fresh session, satisfying one-hat-per-session.
See SOP §18 ("Subagent-per-batch — autonomous phase runs") for the full contract.
close-phase.git switch -c … main command and never forces,
assuming no gh — per the shared phase-branch convention (ADR-0045) and the project root
CLAUDE.md git rules (branch first; no force without authorisation).MONITOR.md +
ACTIVE.md edits and the npm run pm:dash regen happen together when the phase opens.Next: /tandem:execute-batch
With the phase open and the branch cut, pull the phase's first chat:
/tandem:execute-batch <chat-id> (the batched fork of the canonical chain —
see the chain record in core).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub data-ai-xyz/tandem --plugin tandem32 skills in this plugin
/autopilotDrive the whole plan end-to-end unattended by chaining start-phase, each chat's execute-batch (subagent-per-batch), and close-phase across one or more phases — with checkpoint/resume, fail-halt guardrails, model tiering, and a usage-governor seam; use when the operator invokes /tandem:autopilot or asks to run the plan autonomously, hands-free, or unattended./close-out-storyClose out a STORY through the Definition of Done gate. Use when the testplan is fully PASS, when the user asks to close a story, to finish a story, to mark a story done, or to run the DoD check. Runs the DoD checklist, flips status to done, updates MONITOR, regenerates the dashboard./close-phaseClose out a whole phase after an execution-strategist chat / execute-batch run finishes — gate on every phase story being done, compile a phase retrospective, capture follow-ups, update the board, then run a gated merge to main. Use when the user asks to close a phase, wrap up a phase, run a phase retro, or wants to wrap up and integrate a finished chat/phase whose stories are already done.