Repository navigation
Description
The workflow
When a Claude Code thread runs the Agent tool as a background task (the local_subagent/backgroundTask path, distinct from the inline delegation tree that Explore-style subagents use), I want to click through from the collapsed one-line summary in the thread timeline into that subagent's full transcript, the same way the delegation work-kind already lets you drill into a subagent's child rows.
What happens today
The subagent's full transcript exists on disk as a real JSONL file and bb already threads a pointer to it most of the way through the pipeline:
packages/domain/src/provider-event.tsdefinesoutputFileon the background task schema.plugins/provider-claude-code/src/task-translation.tspopulates it from the Claude Code SDK'smessage.output_file.packages/provider-bridge-protocol/src/assembler/delta-assembler.ts(around line 757) carriesoutputFilethrough intact.
It then gets dropped. packages/thread-view/src/background-task-projection.ts copies every other field (summary, status, taskStatus, usage, error, etc.) in both applyBackgroundTaskItem and the initial EventProjectionWorkflowMessage construction, but never copies item.outputFile. It never reaches the TimelineRow/UI layer, so WorkflowWorkRowBody.tsx (around lines 22-28) renders only plain, non-interactive summary text when there's no workflow snapshot.
Verified against 9375a5495464c16fd9c3d03176add0a1dfca5172 on main by spawning a real subagent, then dumping bb thread log --self --format json --all and cross-referencing the emitted outputFile path against background-task-projection.ts and WorkflowWorkRowBody.tsx.
What I would expect
The timeline row for a completed Claude Code background subagent should be clickable (or expandable), opening the subagent's full transcript, the JSONL at outputFile parsed into the same childRows shape the delegation work-kind already renders, or opened as a file pane the way bb thread open <path> opens other files.
Context and alternatives
Precedent already exists in this codebase for the target UX: TimelineDetailScroll in apps/app/src/components/thread/timeline/ThreadTimelineRows.tsx (around lines 1376-1417) already renders a real nested TimelineRowsList for delegation work rows. This issue is scoped to the backgroundTask/outputFile path specifically; the other bb providers (Codex, Pi, ACP) don't use this concept at all, they resolve subagents straight to delegation rows.
Today, the only way to see this data is to grep the raw event log for outputFile and cat the JSONL by hand.
AGENT GENERATED
Activity
SawyerHood commentedon Aug 24, 2026
---Auto-Generated---
Reproduction & root-cause report: https://get-bb.github.io/reports/issues/2314.html
The report is self-contained: copy-paste repro steps with the test or script inline, expected vs actual output, screenshots where the bug is visual, and code permalinks at the base commit. It was independently re-executed by a second agent (see its Verification section).
HugoVizcainoSantana commentedon Oct 20, 2026
Confirmed still applicable on
mainat9e5c8a9:background-task-projection.tsstill does not copyoutputFile.One data point that may change the priority: for Claude Code background agents, the
delegationrow already gets the subagent's steps inchildRows(includeNestedRows=true). On a real run that was 56 commands, the reasoning and the final message, which matches the tool calls in the transcript. So the in-app view is mostly there, and the problem is reaching it (#2315).outputFilewould still help as a "full transcript" link, since the nested rows are a projection and not the raw transcript. I'd suggest doing it together with #2315 rather than on its own.Related broader proposal: #5864.