list_runs
Retrieve filtered run records from the squad journal, including optional aggregate metrics such as outcomes, health, and trend sparklines.
Instructions
Read tool for .squad/runs.jsonl. Folds the two-phase (in_flight, terminal) row pair by id, applies filters (since / limit / agent / verdict / mode / invocation / work_type), and returns either the folded list (aggregate=false, default) or a precomputed aggregate bundle (outcomes + health + trend sparkline buckets) when aggregate=true. Missing-journal returns an empty result, not an error. Read-only — never writes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_root | Yes | ||
| since | No | ||
| limit | No | ||
| agent | No | ||
| verdict | No | ||
| mode | No | ||
| invocation | No | ||
| work_type | No | ||
| aggregate | No | ||
| trend_days | No |