Repository navigation
Description
Problem
When a Claude dynamic Workflow runs under fullsend run, the live console can show only repeated Agent running (...) heartbeats while useful phase and agent progress is already arriving from Claude Code. Fullsend preserves those events in the raw output.jsonl artifact but silently omits them from the human-facing output.
This makes it difficult to tell which phase or agent is active, whether work is advancing, or whether the run deserves investigation. This report concerns rendering existing structured Workflow progress, not adding full nested tool stdout/stderr streaming.
Observed environment and evidence
- Fullsend v0.47.1 (
c68903c0373e2216af03f5412642d4aa4019057f). - Claude Code 2.1.296, Opus 4.6, headless Workflow execution through Fullsend/OpenShell in GitLab CI.
- Successful single-ticket strategy run on 2026-10-27: pipeline 2996306877, job 17518703899. These GitLab links are private; the reduced fixture below does not require access to them.
- The captured Claude stream contains 135
system/task_progressevents, 33 withworkflow_progresssnapshots. Descriptions advance through Read, Create, Refine, Push, Score, Review, and Result. Agent records show actual start/done transitions, tool counts, and durations. - Phase-title inventories also contain predeclared metadata. Actual advancement is established by the changing descriptions and agent states, rather than by the existence of declared phase names alone.
The archive counts and parser diagnosis were independently checked in a read-only Claude review. No additional live Workflow run was needed to diagnose this.
How to reproduce
Without inference
Feed this reduced NDJSON event through parseClaudeStream in an internal/runtime test, collecting its onEvent callbacks. This is a sanitized reduction of the captured event shape; identifiers are illustrative.
{"type":"system","subtype":"task_progress","task_id":"workflow-example","description":"Create: strategy-create","usage":{"total_tokens":14434,"tool_uses":2,"duration_ms":7262},"workflow_progress":[{"type":"workflow_phase","index":2,"title":"Create"},{"type":"workflow_agent","index":1,"label":"read input","phaseIndex":1,"phaseTitle":"Read","state":"done","tokens":14434,"toolCalls":2,"durationMs":7194},{"type":"workflow_agent","index":2,"label":"strategy-create","phaseIndex":2,"phaseTitle":"Create","state":"start"}]}On v0.47.1, the event matches the outer system case but no inner subtype case, so it produces no callback. There is consequently nothing for either the default renderer or a custom OnEvent handler to display. A fixture test can establish this without a provider request, sandbox, or Jira instance.
End to end
Run a supported Claude Workflow through fullsend run, with phase declarations/phase() calls and labeled agents. Compare the live console with the retained raw Claude stream. In the observed integration, system/task_progress records contain phase/agent advancement while the console continues printing the generic heartbeat. The Workflow can complete successfully despite the display gap.
Expected behavior
Fullsend should normalize and display meaningful Workflow progress already emitted by Claude: task identity, phase/agent label, state transitions, and available tool/progress context. Repeated snapshots should be deduplicated or throttled, and displayed text should follow existing sanitization/redaction rules.
A heartbeat should not be the only visible activity while richer progress events are arriving. Progress must remain distinct from verified business completion.
Cause
The exact-release source shows where the events are lost:
ClaudeRuntime.Runcaptures stdout withio.TeeReaderbefore calling the parser. This explains why the raw event survives in the artifact.parseClaudeStreamhandles onlyinitandapi_retryundersystem.task_progressis silently skipped; itsdescription,usage, andworkflow_progressare not normalized.- The runtime event types and console renderer have no Workflow task/progress representation.
Claude is therefore emitting useful structured progress and Fullsend is receiving it. This is an adapter/display gap, rather than evidence that Claude Workflows cannot report phase progress. The diagnosis is pinned to the release above; it does not claim every newer release has been tested.
Scope and acceptance
- Normalize
system/task_progressinto renderable runtime events, with enough task/agent identity to distinguish concurrent work. - Consider related lifecycle events (
task_started,task_updated,task_notification) so the display can represent starts and terminal outcomes consistently. - Render actual agent/phase advancement without presenting the complete predeclared phase list as if every phase has executed.
- Add model-free parser and renderer regressions using the reduced fixture, successive state changes, repeated snapshots, and safely redacted text.
- Preserve raw-stream capture, existing non-Workflow output, forward compatibility for unknown event shapes, and existing token/cost accounting; progress snapshots must not double-count aggregate metrics.
Full nested tool inputs/results, command stdout/stderr, and a Workflow dashboard are outside this report. Rendering task progress alone will not supply those diagnostics.
Related work
Runtime Workflow support ADR and implementation
- docs(adr): make runtime workflows harness resources #8225 (ADR 0130, runtime workflows as harness resources) explicitly follows the review of the custom script-entrypoint proposal docs(adr): add ADR for custom entrypoints #7947, which it records as the rejected alternative. It proposes keeping Workflow execution on the agent-led path so the runner retains hooks, metrics, transcripts, and validation.
- feat: fetch, lock and deliver runtime workflows #8226 implements fetching, locking, scanning, and delivering the Workflow definition.
- feat: start runtime workflows from the runner #8228 implements starting the named Claude Workflow from the runner.
This bug is related to the operational visibility of that execution path: delivering and launching a Workflow does not ensure the runner displays the structured phase/agent progress Claude emits. Neither delivery nor launch support substitutes for normalizing and rendering system/task_progress events.
The bug is already observed in the released v0.47.1 integration, where the agent launches the Workflow. It is not attributed to those unmerged PRs, and the parser/display fix need not depend on ADR 0130 or its implementation landing. A Workflow launched directly by the runner should receive the same progress-display coverage.
- feat(runner): detect stalled agent runs via event inactivity #6595 addresses inactivity/stall detection after misleading agent-running heartbeats. Its description explicitly excludes changing the heartbeat, and the inspected patch does not render Workflow task/phase events. Detecting liveness and displaying progress are separate concerns.
- fix(#6806): capture num_turns from incomplete Claude streams #7687 recovers turn counts from incomplete Claude streams; it does not address Workflow phase display.
An open-issue/PR search on 2026-10-29 found no direct duplicate for task_progress / workflow_progress or the corresponding console symptoms.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
fullsend-ai-triage commentedon Oct 29, 2026
🤖 Finished Triage · ✅ Success · Started 3:42 PM UTC · Completed 3:45 PM UTC
Commit:
46cbad9· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.16
fullsend-ai-triage commentedon Oct 29, 2026
Re-triage after your update linking this to ADR 0130 (#8225): the earlier findings still hold and nothing has been dropped. The parser only decodes the
init,model_fallbackandapi_retrysystem subtypes in the current checkout, and the event model and renderer have no Workflow progress representation.Related work, not blockers: #8225, #8226 and #8228 cover delivering and launching Workflows. As you note, this display gap exists independently of them, so the fix can proceed now and will also cover a runner-launched Workflow. #6595 (stall detection) and #7687 (turn-count recovery) are separate concerns. No open PR currently addresses this issue.
Suggested approach: add a normalized Workflow progress event; decode
task_progress(and optionally the other task lifecycle subtypes); track per-task and per-agent state so only real transitions or changed descriptions are shown, not the declared phase list; sanitize displayed text; keeptask_progressusage out of token/cost accounting.Proposed test case:
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancePrevious run
Triage confirms the diagnosis against the current checkout: the Claude stream parser only handles
init,model_fallbackandapi_retrysystem subtypes, and the runtime event model and console renderer have no representation for Workflow task progress. The heartbeat is produced separately in the CLI run loop, so it is unaffected by this change.Suggested approach (details in the structured summary): add a normalized Workflow progress event, decode
task_progress(plus optionally the other task lifecycle subtypes) in the parser, track per-task/per-agent state so only real transitions and changed descriptions are rendered (not the declared phase list), sanitize all displayed text, and keeptask_progressusage out of token/cost accounting.Related work: #6595 (stall detection) is a separate liveness concern and does not render Workflow progress; #7687 is unrelated to phase display. No open PR currently addresses this issue.
Proposed test case:
Labels: Runtime event parsing and console rendering belong to the runner component; this is an observability gap with no run failure, so medium priority.
Next steps:
/fs-code— agent creates a PR to implement this issue/fs-code <your instruction>— agent implements with your specific guidancejctanner commentedon Oct 29, 2026
/fs-triage updated description to make a connection to #8225
fullsend-ai-coder commentedon Oct 29, 2026
🤖 Code ·⚠️ Cancelled · Started 3:47 PM UTC · Ended 3:53 PM UTC
Commit:
46cbad9· View workflow run →fullsend-ai-triage commentedon Oct 29, 2026
🤖 Triage ·⚠️ Cancelled · Ended 3:48 PM UTC
Commit:
46cbad9· View workflow run →fullsend-ai-triage commentedon Oct 29, 2026
🤖 Finished Triage · ✅ Success · Started 3:50 PM UTC · Completed 3:52 PM UTC
Commit:
46cbad9· View workflow run →Runtime: claude · Model: sonnet → claude-sonnet-5-5 · Effort: high · Cost: $0.19
fullsend-ai-coder commentedon Oct 29, 2026
🤖 Code ·⚠️ Cancelled · Started 3:54 PM UTC · Ended 4:02 PM UTC
Commit:
46cbad9· View workflow run →38 remaining items
fix(#8908): preserve sparse progress metadata
fix(#8908): keep Workflow agent rows stable by index
fix(#8908): derive Workflow agent status from producer metadata
fix(#8908): preserve sparse agent state and bound cache allocations
fix(#8908): redact secrets reconstructed by progress cleanup
fix(#8908): reject progress from superseded task runs
fix(#8908): retain workflow controls and sparse task metadata
fix(#8908): sanitize Unicode progress in a dedicated reconciler
fix(#8908): keep status history when updating an existing key at capa…
fix(#8908): redact normalized runtime secrets in the fallback pass
fix(#8908): address review findings on progress redaction and naming
docs(#8908): qualify hook-event rendering against the launch configur…
fix(#8908): mask overlapping credentials longest-first and settle too…
fix(#8908): merge literal match spans and mask the joined row with th…
fix(#8908): mask the assembled task row against split credentials