Skip to content

fix(tui): surface subagent_log payloads and status - #47

Merged
jkyberneees merged 1 commit into
mainfrom
fix/subagent-log-payload
Aug 30, 2026
Merged

jkyberneees merged 1 commit into
mainfrom
fix/subagent-log-payload

Conversation

@jkyberneees

Copy link
Copy Markdown
Contributor

M1 of the sub-agents UI plan (TEMP_BODEK_SUBAGENTS_UI_IMPROVEMENTS_PLAN.md).

The serve relay delivers sub-agent log payloads in the data field and the child log status in status; the handler read detail, which serve never sends on this frame, so live runs rendered bare event names.

  • read data first (detail stays a legacy fallback), surface status, cap the segment like other one-line previews
  • wire-accurate RED-first tests; strengthened the nesting test to assert the payload, not just the tool name (the weak assertion is why the bug survived)

Gates: make fmt / vet / lint (0 issues) / go test -race -count=1 ./... all green.

The relay delivers sub-agent log payloads in the data field and the
child log status in status; the handler read detail, which serve never
sends on this frame, so live runs rendered bare event names. Read data
first (detail stays a legacy fallback), surface status, and cap the
segment like every other one-line preview.
@jkyberneees
jkyberneees merged commit 8cefa19 into main Aug 30, 2026
7 checks passed
@jkyberneees
jkyberneees deleted the fix/subagent-log-payload branch August 30, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant