Skill v1.0.1
Automated scan100/100+4 new
version: "1.0.1" name: fo-status-viewer description: "First-officer status query/mutate/display surface — the status command flag docs, --set field docs, canonical captain-facing invocations, the Captain-Facing State Display rendering, and the GitHub-issue-filing approval gate. Invoke at the first ad-hoc status question, --set mutation, --next-id/--resolve lookup, or issue filing." user-invocable: false
First Officer Status Viewer
Status Viewer
The ${SPACEDOCK_BIN:-spacedock} status launcher owns path resolution and mutation guards; skill instructions stay declarative and never reference a plugin-private script path.
Invoke it as:
${SPACEDOCK_BIN:-spacedock} status --workflow-dir {workflow_dir} [--page N|--limit N|--next-id|--next|--archived|--where ...|--boot|--validate|--resolve REF]
--boot— startup roll-up (mods, ID style, next-ID candidate, orphans, PR state, dispatchables). Incompatible with--next,--next-id,--archived,--where.--validate— run before trusting manually edited workflow state.--resolve REF— deterministic lookup by slug, exact stored ID, or sd-b32 address prefix;--rootrejects unqualified cross-workflow ambiguity rather than guessing.--next-id— preview the next-id candidate forsequentialandsd-b32(n/a forslug). Forsd-b32, pass--id-seed "{slug-or-title}"and optionally--id-actor "{actor-or-agent}"so creation context enters the candidate. To file a new entity, do NOT pair--next-idwith a hand-written file — usespacedock newunder the eagerly loaded«write.classify»contract, which mints the id and atomically writes the stamped entity in one call.--next-idis candidate-preview only.--where <field>=<value>— THE entity query. One clause per flag; repeat
the flag to AND clauses (--where sprint=X --where 'sprint-readiness!=defer'). Two clauses in one string is an error, not an AND. field!= means non-empty, field= means empty. Unknown field names are a loud error listing the known fields. Known fields are this workflow's frontmatter keys plus the canonical set: id slug status title score source worktree pr started completed verdict mod-block archived issue. Never find/grep the state dir — query it.
--next— dispatchable entities.
The --set flag updates entity frontmatter fields:
--set {slug} field=valuesets a field--set {slug} field=clears a field--set {slug} startedorcompletedauto-fills a UTC ISO 8601 timestamp (skipped if already set)
Captain-Facing State Display
The commissioned README directs the captain to dispatch the FO to inspect workflow state. Invoke status for captain-facing display on questions like:
- "what's the workflow state?" / "show me the workflow" / "what's going on?"
- "what's dispatchable?" / "what's ready?" / "what's next?"
- "what's archived?" / "show me the done entities"
- any ad-hoc question a
statusview answers (a single entity, entities in a stage, PR-pending).
Canonical invocations (all start with ${SPACEDOCK_BIN:-spacedock} status --workflow-dir {workflow_dir}):
- Overview: no extra flags shows the first 25 rows, sorted by later stage first then score descending; use
--page Nfor more or--limit 0for the full table. - Dispatchables:
--next. - Archived-inclusive view:
--archivedreturns active plus archived, not
archived-only. A full-sprint answer incl. done is one query: --where sprint=X --archived --fields slug,status,verdict,archived.
- Single-entity:
--resolve {ref}then--where slug={resolved-slug}.
Output rendering guidance. Forward status stdout verbatim inside a fenced code block, with a one-line preface naming the request ("Workflow overview:", "Dispatchable entities:", "Archived entities:"). On empty results, render a literal note ("No dispatchable entities right now.") instead of an empty fence. Do not paraphrase rows, omit columns, invent fields, summarize counts, or editorialize.
Issue Filing
Do not file GitHub issues without explicit human approval.