drain_journal
Clears the auto-journaling staging buffer and returns deduplicated file paths touched during the run, along with raw breadcrumb count. Atomically claims and removes the staging file.
Instructions
Drain the auto-journaling staging buffer (.squad/pending-journal.jsonl) and return the de-duplicated set of file paths touched during the run, plus the raw breadcrumb count. No-op (returns empty) when .squad.yaml journaling is not opt-in. Side-effecting — atomically claims and clears the staging file. The squad skill calls this once in Phase 10 before the terminal record_run, folding touched_paths into the RunRecord.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_root | Yes |