Skip to content

/cs-run-forensics

Slash Command Source

Answer $ARGUMENTS from the recording, not from memory.

S=${CLAUDE_PLUGIN_ROOT}/skills/agent-run-forensics/scripts
python3 $S/trace_finder.py --since 7d                     # add --touched PATH or --grep TEXT; skip for this session
python3 $S/trace_timeline.py --trace <path> --files
python3 $S/trace_timeline.py --trace <path> --grep <TEXT> # or --errors, --file PATH
python3 $S/trace_timeline.py --trace <path> --why <STEP>

If the finder exits 2, say the run is not recorded here and stop.

Report

  1. The run: session id, harness, time, source path.
  2. The answer, from recorded steps only, each with its step number.
  3. The likely cause, labelled inferred, with its rule.
  4. What the trace cannot answer.