- workflow-logic: settle in-flight agents to "error" when terminalizing
a run whose session died, so a stopped chip never sits above pulsing
"running" agents; drop the dead hasStartedActivity field (snapshot-only
runs render intentionally after history trims)
- ChatView: gate workflow liveness on derivePhase so interrupted
sessions also terminalize runs, matching disconnected-session UX
- WorkflowPanel: fetch the transcript once more when a run leaves
"running" so lines appended after the last poll tick are not lost
- mobile: suppress workflow-owned task.progress/task.completed rows in
the work log, mirroring desktop (mobile has no workflow card yet)
Co-Authored-By: Claude Fable 5 <[email protected]>
Surface Claude Agent SDK workflow runs (the Workflow orchestration tool)
end to end in the desktop app:
- Contracts: WorkflowProgressEntry schemas, run handles, workflow
inspection RPCs, thread.task.stop command + task-stop-requested event
- ClaudeAdapter: normalize the SDK's undocumented workflow_progress
snapshot (size-capped, tolerant), forward workflow identity on task
events, emit task.workflowMeta from Workflow tool results, stopTask
- Ingestion: upsert workflow snapshots under a stable per-task activity
id so projections and reconnect payloads stay one row per run
- WorkflowInspectionService: path-validated, size-capped reads of the
run's script, journal, and per-agent transcripts (realpath containment
under ~/.claude/projects)
- Web: WorkflowRunCard inline in the chat timeline, a workflow right-
panel surface with Run/Script/Logs tabs, cursor-paged transcript
polling, stop + resume affordances; remote runs link to their cloud
session
Co-Authored-By: Claude Fable 5 <[email protected]>