Canvas: click a step of a watched run to see what it did (agent summary, tool calls, logs, changes) #427
Notifications
Due Date
No due date set.
Reference: sam/archie#427
Reference in new issue
Block a user
Purpose
An operator watching a run on the canvas can see that a step failed or is slow, but not why. Clicking a step that has run must show what actually happened inside it, so the canvas is where a run is diagnosed, not just observed.
Today
RunAgentChildrecords each agent run under the stage step, with tokens and summary),tool_callevents (data: tool, failed),agent_finishevents (summary, usage),changes_captured, and the per-stage log (GET /api/tasks/{id}/logs?attempt=&stage=, stage is a narrowing filter; seeinternal/webui/api_tasks_logs.go).ui/src/tasks/) already renders much of this per task; reuse its components and readers rather than writing new ones.Build
Context every agent needs
ui/src/workflows/WorkflowsPage.vue,WorkflowEditor.vue) is archie-core's main operator surface: a Vue Flow canvas (WorkflowCanvas.vue, nodes inStepNode.vue, layout inworkflow-graph.ts) that both edits a workflow definition and watches its runs. Edits are edits to the YAML document (workflow-edit.ts), so the canvas and the YAML tab never disagree. ReadWORKFLOWS.md(repo root) for the workflow language.useWorkflowRuns(workflow-runs.ts):GET /api/tasksfiltered by workflow, andGET /api/tasks/{id}/attemptsfor its recorded steps (stage rows: name, status ok|failed|interrupted|running, duration_ms, error). A step is recorded under itsid, else its type. Live refresh isuseLiveResource("tasks", ...)over the SSE stream.StepEditor.vue,WorkflowSettings.vue) are the pattern for details and editing. Do not add a permanent side panel./api/**withpage.route) and look at screenshots at 1920x947 before calling it done.ui/distwith the change,task checkgates the commit, tests only for the seams AGENTS.md lists.Acceptance criteria
task checkpasses; screenshots reviewed at 1920x947.Close reason
Implemented canvas Run/Definition step inspector with persisted agent summaries and tokens, step-attributed tool calls, branch grouping, captures and live stage logs. Full task check passed on committed tree; Chrome at 1920x947 verified fixture-based run details, live updates, scope, failed steps, branches, and delayed run switching. No live deployment exercised.
Imported from beads
archie-core-t19m.5· GitHub #1405 · type feature · priority P1 · created 2026-10-05 · closed 2026-10-05