| name | pdca-watch |
| classification | workflow |
| classification-reason | Live PDCA dashboard tied to bkit's state machine + token ledger |
| deprecation-risk | none |
| effort | low |
| description | Live PDCA dashboard ticking every 30s โ reads pdca-status.json + token-ledger.ndjson tail, renders fixed-width panel via CC /loop.
Triggers: pdca watch, live dashboard, watch progress
|
| argument-hint | [feature] |
| user-invocable | true |
| allowed-tools | ["Read","Glob"] |
| imports | [] |
| next-skill | null |
| pdca-phase | null |
| task-template | [Watch] {feature} |
PDCA Watch โ Live Tick Dashboard
v2.1.11 Sprint ฮฒ FR-ฮฒ4. Wraps lib/dashboard/watch.js over CC's
/loop (v2.1.71+). Read-only โ only consumes state files; never
writes. Falls back to a single render when /loop is unsupported
(E-ฮฒ4-01).
Arguments
| Argument | Description | Example |
|---|
| (none) | Auto-resolve active feature from pdca-status.primaryFeature | /pdca-watch |
<feature> | Watch a specific feature by name | /pdca-watch bkit-v2111-integrated-enhancement |
Behavior
Resolution
- If
<feature> is provided, use it verbatim.
- Else read
.bkit/state/pdca-status.json โ primaryFeature, then
activeFeatures[0] as fallback.
- If still no feature โ render
"No active PDCA feature. Start one with /pdca pm <feature>" and exit.
Tick (every 30s via /loop)
For each tick, lib/dashboard/watch.js#renderTick produces a panel with:
Watch <feature> โ tick N (HH:MM:SS)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Phase: <phase> Match: <%> Iter: <n / 5>
Tokens: <in> in / <out> out ยท samples <N>
Est cost: $<USD>
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Data sources:
- Phase / matchRate / iterationCount:
pdca-status.features[<feature>]
- Token totals: last 50 lines of
token-ledger.ndjson
- Cost: Sonnet-class flat estimate ($3/Mtok in, $15/Mtok out)
Termination
- Ctrl-C from user
- Feature
phase === 'completed' or phase === 'archived'
- After max 60 ticks (โ30 min) โ caller restarts if more time needed
CC /loop Support
| CC Version | Behavior |
|---|
| โฅ 2.1.71 | Native /loop 30s ticker |