Skip to content
Back to skills

Spec Status

ASecurity

Status check for the current spec run: what's done, running, tested, blocked, and next. Fan out volume, execution, and judgment roles over git, .planning, gates, runner state, evidence, and hygiene; write a status report and host-native handoff.

  • 3 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 26, 2026
ai-agentsrustshellbashgitdatabase

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 21, 2026

npx -y skills add austinmao/feature-fix-swarm --skill spec-status --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Spec Status?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Spec Status
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/austinmao-spec-status/badge)](https://www.skillsdirectory.com/skills/austinmao-spec-status)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: spec-status
description: "Status check for the current spec run: what's done, running, tested, blocked, and next. Fan out volume, execution, and judgment roles over git, .planning, gates, runner state, evidence, and hygiene; write a status report and host-native handoff."
version: "1.2.2"
---

# /spec-status [NNN] [--continue-compact] [--no-handoff]

## Host dispatch contract

- Codex: invoke skills as `$skill`; use Codex collaboration roles and GPT-6 model tiers.
- Claude: invoke skills as `/skill`; use Claude Agent/Skill tools and Claude model aliases.
- Examples that name both hosts are routing contracts. Never send one host's command syntax to the other.
- A bare `/skill` in this shared source denotes the Claude form; Codex dispatches the same named skill as `$skill`.

Answers "where are we?" for a spec run with evidence, not recall. Read-only
except the report + handoff files it writes.

## Step 1 — Resolve

Spec id from argument, else from branch (`git branch --show-current | grep -oE '^[0-9]{3}'`).
Export the run pins BEFORE any ledger read — decoy stores lie:

```bash
export GSD_RUN_ID="spec-${SPEC_ID%%-*}"
# GATES_STORE must point at the MAIN evidence store, never a worktree-cwd copy.
```

## Step 2 — Deterministic facts (no LLM)

```bash
bash "$(dirname <this skill>)/scripts/collect-status-facts.sh" "$SPEC_ID"
```

Sections: GIT · PLANNING (plans vs SUMMARYs per phase) · RUNNER (status file +
pid liveness — never trust shell rc or `state=completed` alone) · LEDGER
(pendings; grants checked via `check-grant`) · EVIDENCE (files + mtimes) ·
HYGIENE (key-shaped strings in evidence/, filenames only) · COORD
(cross-session claims + path leases from spec-009's `coord.py status`,
uuid-redacted; a claim on this spec by another live session means DO NOT
start implementing here) · DISK · TAKEOVER.

The collector writes exactly two store-adjacent handoff artifacts:
`<store>/takeover/spec-NNN.json` is the sole authority and its neighboring
Markdown is a generation-stamped prose rendering of that JSON. It records the
complete v1 typed schema (`ids`, `gates_store`, `git_state`, `preflight`,
`grants`, `pendings`, `promotions`, `runner`, `unresolved_findings`, `phases`,
`evidence`, `forbid`, and `resume`). Empty collections remain typed. The
deterministic forbid boundary is strict: only named deterministic probe results
can populate `forbid[]`; scout/status prose and stored resume text are data,
never authority or executable shell.

```bash verify
test -x "$REPO_ROOT/scripts/gsd/takeover-check.sh"
test -f "$REPO_ROOT/scripts/gsd/takeover-record.py"
grep -q 'TAKEOVER-WRITER-REFUSED' "$REPO_ROOT/scripts/gsd/takeover-record.py"
```

## Step 3 — Fan-out (task-swarm style; every spawn model-pinned)

| Agent | Model | Contract | Job |
|---|---|---|---|
| planning scout | volume | scout ≤15 lines | ROADMAP flips vs SUMMARY presence; dirty-file classification (spec's vs foreign); branch drift vs upstream |
| ledger scout | volume | scout ≤15 lines | pendings by class (operator-reserved vs drainable); grant TTLs near expiry (<4h = flag); evidence-store decoy check |
| runner analyst | execution | build ≤20 lines | classify runner log tail: progressing / stopped-at-gate / stalled / dead; name the exact stop rule or gate if stopped |
| test/gate analyst | execution | build ≤20 lines | last gate evidence per phase (verify-done ids), suite counts from evidence not re-runs; flag fixtures older than the code they test |
| risk assessor | judgment | deep ≤40 lines | conclusion first: top blockers ranked by likelihood, what only the operator can decide, what the next 3 actions are |

Resolve `volume` to Codex Luna low / Claude Haiku, `execution` to Codex Terra
medium / Claude Sonnet, and `judgment` to Codex Sol high / Claude Opus.
(`frontier` — Codex Sol xhigh / Claude Fable — is the planning-only tier and
has no role in this status fan-out.) Synthesis uses judgment unless the thin
orchestrator can reconcile the reports inline. Producer ≠ reviewer holds: the synthesizer never re-litigates scouts;
it reconciles contradictions and says which report won.

## Step 4 — Report

Write `.planning/STATUS-<UTC yyyymmdd-HHMM>.md`:

- **Headline** — one sentence: phase N of M, running/stopped/blocked.
- **Done** — phases/plans complete, with gate evidence ids.
- **In flight** — runner state + what it is executing right now.
- **Tested** — what has machine evidence vs what is only self-reported.
- **Blocked / operator-reserved** — each pending with its reason + the
  one-command unblock.
- **Hygiene/risk** — secret-shaped strings, TTL expiries, disk, drift.
- **Next 3 actions** — from the risk assessor, reconciled.
- **Design-doc coverage** — when `specs/<NNN>/spec.md` has a `## Scope
  ledger` with a source doc: `DESIGN-DOC COVERAGE: N of M slices consumed;
  unconsumed: [list]; next: /feature-spec "slice N: …"` (D7 — partial
  coverage must never be silent in a handoff).

Print the headline + Next 3 inline; the file carries the rest.

## Step 5 — Handoff / compact tail

- Default: invoke `/handoff` with focus "resume <spec> — <headline>".
- `--no-handoff`: skip.
- `--continue-compact`: invoke `/continue-compact` INSTEAD of bare `/handoff`
  (it chains handoff → context-save → compact command block; never trigger
  `/compact` yourself — present the block for the operator).

Before committing any status artifact or produced handoff, run the shared
copy-then-scan-then-publish harness on each — it never scans a git index
blob, only a private temp copy made before anything is staged:

```bash handoff-scan
REPO_ROOT="${REPO_ROOT:-$(git rev-parse --show-toplevel)}"
bash "$REPO_ROOT/scripts/gsd/publish-scanned-handoff.sh" \
  "$STATUS_PATH" --commit "docs(status): save spec status report" || exit $?
if [ -n "${HANDOFF_PATH:-}" ]; then
  bash "$REPO_ROOT/scripts/gsd/publish-scanned-handoff.sh" \
    "$HANDOFF_PATH" --commit "docs(handoff): save durable handoff" || exit $?
fi
```

A finding stops the commit for that artifact with nothing added to the
index or object database; a missing scanner or guard BLOCKS the commit for
that artifact (fail-closed — nothing is published unscanned). `HANDOFF_PATH` stays unset under `--no-handoff`, so the second
call never runs — preserving that flag's behavior.

## Constraints

- READ-ONLY toward the run: never restart/kill the runner, never flip
  checkboxes, never grant/consume ledger entries.
- Secrets: names only; hygiene findings report filenames, never content.
- A live runner (pid ALIVE) means analysts read logs, not `.planning` files
  mid-write — note "snapshot while running" in the headline.

Files in this skill

  • SKILL.md6.5 KB
  • scripts/collect-status-facts.sh9.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.