ddflow_view
Read the work queue, history, and reports, then render board, progress, health, or metrics views—or print one view for agents to inspect.
Instructions
Read the queue, history and reports. Set action; required arguments in brackets: queue, board, progress, loops, status, render, list(kind), history, cadence, pins(document), lanes, metrics, health, docs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | One item, with its per-attempt detail. | |
| op | No | queue: add|run|status (default)|remove. | |
| all | No | kind=bug|lesson: include fixed/invalid/superseded. | |
| out | No | Directory for the generated views (default: docs/ddflow). | |
| ran | No | Record that this cadence just ran. | |
| run | No | Correct per mode. | |
| tag | No | Only this tag. | |
| top | No | How many free stretches to return (default 10). | |
| diff | No | check: a git base; report only the extracted surface added since it. | |
| item | No | The item to look back on; with view=retro. | |
| kind | No | Comma-separated event kinds or families: 'gate', 'lease.acquired', 'decision,bug'. | |
| lane | No | Lane name (or a unique part); with view=brief. | |
| mode | No | search: ranked|exact|regex. | |
| note | No | What the pass did, recorded with it. | |
| only | No | regenerate: just this pin. | |
| show | No | Print ONE view instead of writing files: lessons, lessons-summary, research, or board. This is what the ddflow:// resources are served from. | |
| tail | No | Last N entries, oldest first (overrides limit). | |
| verb | No | check (default). | |
| view | No | summary (default), forecast, retro, skips or lanes. | |
| check | No | regenerate: list stale pins only. | |
| limit | No | Rows returned, most effort first (default 25; 0 = all). | |
| owner | No | Only this agent's rows. | |
| phase | No | Limit to one phase (and, for forecast, its critical path). | |
| query | No | kind=search: text to find. | |
| since | No | Only what happened since: a duration back from now (7d, 12h) or a date YYYY-MM-DD. | |
| state | No | Only this state. | |
| tests | No | Comma-separated test dirs (default: tests,test). | |
| action | Yes | What to do; see the tool description for each action's arguments. | |
| offset | No | Skip this many rows (paging; a cut list says `next`). | |
| source | No | search: comma-separated search sources (default all). | |
| install | No | regenerate: install merge driver + hook. | |
| sources | No | search: comma-separated record kinds. | |
| timeout | No | run: ci seconds. | |
| as_agent | No | Subagent name, this call only. | |
| by_agent | No | Only this agent's events. | |
| document | No | Instruction file path; or `regenerate`. | |
| group_by | No | Group the outcome rates by gate (default), reviewer, agent, kind or phase. | |
| max_batch | No | run: max entries. | |
| min_needle | No | Shortest string literal that counts as a pin (default 12). | |
| unit_tests | No | Also run unit_tests. | |
| after_merge | No | regenerate: the post-merge hook entry. |