Skill v1.0.0
currentLLM-judged scan90/100version: "1.0.0" name: run-batch description: Use when running the commissioned docs/ship batch workflow end to end — dispatching a batch's dev tasks into Conductor cloud, watching them to a prepared validation gate, verifying the integrated head, gating UAT, and closing the batch once every worker's debrief is pushed. Triggers on "ship a batch", "run the batch workflow", "docs/ship first officer".
kc-ship-flow run-batch
This is the ship batch playbook layered on top of Spacedock's own first-officer skill, not a replacement for it — Spacedock's first-officer drives the docs/ship entity's stage machine; this skill is what a Captain or first officer runs to advance one commissioned batch through it.
Ship is a wrapper over kc-dev-flow and Spacedock (design: docs/dev/.spacedock-state/ship-cloud-dispatch-and-watch/design/2026-09-10-ship-flow-cloud-wrapper-design.md on branch spacedock-state/dev): anything dev flow or Spacedock already does per task is not repeated here. docs/ship/README.md's ## Local Profile table is this skill's declared input before resolving or dispatching a batch, not the full README as a policy bundle. local-profile-check.py below verifies the table's required rows; nothing checks what else this skill reads.
Refuse before dispatch
Run:
python3 kc-ship-flow/scripts/local-profile-check.py docs/ship/README.md
A non-zero exit names the missing row on stderr. Do not dispatch a batch while this refuses — most commonly the Runtime row, which selects local subagent or Conductor cloud dispatch for the stage that follows.
Run the stage chain
Advance one commissioned docs/ship batch entity through its five stages in order:
dispatched—kc-ship-flow/scripts/dispatch.sh <sprint> [--dry-run]creates one Conductor
workspace per docs/dev task whose sprint matches and whose sprint-readiness is ready, each carrying a fixed first-officer boot message, guarded by a claim fence (<state-dir>/_ship_fence/<sprint>.json) so a re-run skips an already-dispatched slug.
watching—kc-ship-flow/scripts/watch.sh <sprint> [--once]polls the state branch for a
prepared validation gate first, falling back to the transcript tail (conductor sql, never session message --after) only when a task's session is idle, reporting a usage-limit banner (quota) or a trailing question (question). Route a stuck worker's question per the Local Profile table before it dispatches next.
verified— `kc-ship-flow/scripts/e2e-gate.py --root <code checkout> --flows docs/ship/flows
<targets> runs the e2e flow check at the Local Profile's Integrated head (--root and --flows are always required; --flows is the Local Profile table's "E2E flows" row value). The exact target arguments are a separate task's to fix. Verification also confirms each task's brief-named consumer:` (a path or symbol) exists at the candidate; a consumer that no longer exists at the candidate is a verification failure, not merely a note for the Captain.
uat(gate) —kc-ship-flow/scripts/uat-doc.pywrites the UAT document from the batch record;
the Captain records the gate decision per task and merges. Acceptance, review, and merge are dev flow's and Spacedock's own — this skill never opens, reviews, or merges a PR itself.
closed— each cloud worker runs its ownspacedock debriefafter its PR merges and pushes it
path-scoped under _debriefs/; the batch closes once every task shows a merged PR and a pushed debrief (or the Captain records captain_stopped for the rest).