/wf-status — contract overview
GATE = node ~/Workspace/pi-ext/wf/wf-gate.mjs
- Run
GATE status --jsonfrom the repo root (human table: without --json). States are derived live: ready / blocked (after) / cycle / launching (claim before worktree begin) / running / duplicate / pr-open / done. - Present the table in Czech and add recommended actions:
done→ offer to archive:mv <adresář kontraktu> <specs dir>/_archive/(each contract is a directory~/Workspace/specs/<project>/<name>/holding contract.md and its artifacts, outside any repo — no commits or PRs involved; derive the directory from thefilepath in the status JSON).pr-openwith unresolved threads → offer dispatching the worktree session via wf-run's resolve-comments action.blocked→ name unmet prerequisites;cycle→ require contract repair.launching→ never retry create; wait for claim transition or expiry.duplicate→ list every worktree and require reconciliation to one canonical.runningwith an old last commit → flag as possibly stalled; offer resume via wf-run. A running implementation can be inspected via/subagents.readyspecs → mention wf-run to launch them.
- Take no action without the user's approval. This skill reads; it mutates only the approved archive commits.