feat: add loop status transcript inspector

This commit is contained in:
Affaan Mustafa
2026-04-30 05:27:53 -04:00
committed by Affaan Mustafa
parent 2fd8dfc7e1
commit b8452dc108
7 changed files with 853 additions and 0 deletions

View File

@@ -6,6 +6,18 @@ description: Inspect active loop state, progress, failure signals, and recommend
Inspect active loop state, progress, and failure signals.
This slash command can only run after the current session dequeues it. If you
need to inspect a wedged or sibling session, run the packaged CLI from another
terminal:
```bash
npx --package ecc-universal ecc loop-status --json
```
The CLI scans local Claude transcript JSONL files under
`~/.claude/projects/**` and reports stale `ScheduleWakeup` calls or `Bash`
tool calls that have no matching `tool_result`.
## Usage
`/loop-status [--watch]`
@@ -18,6 +30,15 @@ Inspect active loop state, progress, and failure signals.
- estimated time/cost drift
- recommended intervention (continue/pause/stop)
## Cross-Session CLI
- `ecc loop-status --json` emits machine-readable status for recent local
Claude transcripts.
- `ecc loop-status --transcript <session.jsonl>` inspects one transcript
directly.
- `ecc loop-status --bash-timeout-seconds 1800` adjusts the stale Bash
threshold.
## Watch Mode
When `--watch` is present, refresh status periodically and surface state changes.