native-ui: confirm the subagent row honors ANSI, and that spinner verbs and tips apply through --settings #242

Closed
opened 2026-08-07 03:50:41 +00:00 by coilyco-ops · 0 comments
Member

Two inferences left standing by #236, #237, and #241. Neither blocks anything shipped, and both need a session that drives a real turn, which is why they were not closed out with the rest.

1. Does the agent panel honor ANSI inside content?

statusline --subagent paints the role color and the personality emblems into the row content string. Claude Code passes that through Ink. The session status line already carries ANSI the same way and renders correctly, so the row almost certainly does too, but that is reasoning by analogy and not an observation.

If Ink escapes rather than interprets it, the panel shows literal \x1b[38;2;... sequences and the row becomes noise. The fix would be to drop the paint and keep the emblems, which already carry identity without color.

Check: a session with subagentStatusLine wired and at least one live subagent.

2. Do spinnerVerbs and spinnerTipsOverride actually apply through --settings?

#241 verified theme selection through the flagSettings tier by capturing rendered color. The verbs and tips ride the same tier and the same validated schema, so they are expected to apply, but a fresh screen renders no spinner and the pty capture showed none.

Check: launch with a role fragment, drive one turn, and confirm the spinner shows a role verb from harness-default-verbs.txt's complement and that a tip from spinnerTipsOverride appears.

Why this is worth doing at all

Both surfaces fail quietly if wrong. A silently-escaped ANSI string or a silently-ignored verb list looks like a cosmetic nit rather than a broken contract, so nobody would report it as a bug.

Done when

Both are observed rather than inferred, recorded here, and the notes on #237 and #241 are corrected if either turns out to be wrong.

Two inferences left standing by #236, #237, and #241. Neither blocks anything shipped, and both need a session that drives a real turn, which is why they were not closed out with the rest. ## 1. Does the agent panel honor ANSI inside `content`? `statusline --subagent` paints the role color and the personality emblems into the row `content` string. Claude Code passes that through Ink. The session status line already carries ANSI the same way and renders correctly, so the row almost certainly does too, but that is reasoning by analogy and not an observation. If Ink escapes rather than interprets it, the panel shows literal `\x1b[38;2;...` sequences and the row becomes noise. The fix would be to drop the paint and keep the emblems, which already carry identity without color. Check: a session with `subagentStatusLine` wired and at least one live subagent. ## 2. Do `spinnerVerbs` and `spinnerTipsOverride` actually apply through `--settings`? #241 verified theme selection through the `flagSettings` tier by capturing rendered color. The verbs and tips ride the same tier and the same validated schema, so they are expected to apply, but a fresh screen renders no spinner and the pty capture showed none. Check: launch with a role fragment, drive one turn, and confirm the spinner shows a role verb from `harness-default-verbs.txt`'s complement and that a tip from `spinnerTipsOverride` appears. ## Why this is worth doing at all Both surfaces fail quietly if wrong. A silently-escaped ANSI string or a silently-ignored verb list looks like a cosmetic nit rather than a broken contract, so nobody would report it as a bug. ## Done when Both are observed rather than inferred, recorded here, and the notes on #237 and #241 are corrected if either turns out to be wrong.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
coilyco-flight-deck/agent-compose#242
No description provided.