Skip to content

Claude Workflow task_progress events are captured but omitted from console output #8908

Closed

Description

@jctanner

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_progress events, 33 with workflow_progress snapshots. 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:

  1. ClaudeRuntime.Run captures stdout with io.TeeReader before calling the parser. This explains why the raw event survives in the artifact.
  2. parseClaudeStream handles only init and api_retry under system. task_progress is silently skipped; its description, usage, and workflow_progress are not normalized.
  3. 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_progress into 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

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.

An open-issue/PR search on 2026-10-29 found no direct duplicate for task_progress / workflow_progress or the corresponding console symptoms.

Activity

  1. fullsend-ai-triage commented on Oct 29, 2026

    @fullsend-ai-triage

    🤖 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

  2. added
    component/runner
    priority/medium
    ready-to-code
    on Oct 29, 2026
  3. fullsend-ai-triage commented on Oct 29, 2026

    @fullsend-ai-triage

    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_fallback and api_retry system 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; keep task_progress usage out of token/cost accounting.

    Proposed test case:

    Parser: reduced fixture -> events for agent 'read input' (done) and 'strategy-create' (start, phase Create).
    Parser: repeated identical snapshot -> no duplicate; state change -> one event.
    Parser: unknown/malformed workflow_progress entries -> no panic, known entries still emitted.
    Parser: task_progress usage does not produce a token/cost event.
    Renderer: transitions render; control chars and secrets sanitized; non-Workflow output unchanged.
    

    Next steps:

    • /fs-code — agent creates a PR to implement this issue
    • /fs-code <your instruction> — agent implements with your specific guidance
    Previous run

    Triage confirms the diagnosis against the current checkout: the Claude stream parser only handles init, model_fallback and api_retry system 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 keep task_progress usage 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:

    Parser: reduced fixture -> normalized events for agent 'read input' (done) and 'strategy-create' (start, phase Create).
    Parser: repeated identical snapshot -> no duplicate event; state change -> one event.
    Parser: unknown workflow_progress entry type / malformed fields -> no panic, known entries still emitted.
    Parser: task_progress usage does not produce TokensEvent.
    Renderer: transitions render; control chars and secrets are sanitized; non-Workflow output unchanged.
    

    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 guidance
  4. jctanner commented on Oct 29, 2026

    @jctanner
    ContributorAuthor

    /fs-triage updated description to make a connection to #8225

  5. fullsend-ai-coder commented on Oct 29, 2026

    @fullsend-ai-coder
    Contributor

    🤖 Code · ⚠️ Cancelled · Started 3:47 PM UTC · Ended 3:53 PM UTC

    Commit: 46cbad9 · View workflow run →

  6. fullsend-ai-triage commented on Oct 29, 2026

    @fullsend-ai-triage

    🤖 Triage · ⚠️ Cancelled · Ended 3:48 PM UTC

    Commit: 46cbad9 · View workflow run →

  7. fullsend-ai-triage commented on Oct 29, 2026

    @fullsend-ai-triage

    🤖 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

  8. added
    ready-to-code
    and removed
    ready-to-code
    on Oct 29, 2026
  9. fullsend-ai-coder commented on Oct 29, 2026

    @fullsend-ai-coder
    Contributor

    🤖 Code · ⚠️ Cancelled · Started 3:54 PM UTC · Ended 4:02 PM UTC

    Commit: 46cbad9 · View workflow run →

  10. 38 remaining items

  11. added 15 commits that reference this issue on Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugcomponent/runnerpriority/mediumready-to-code

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions