Repository navigation
Description
Summary
While a chat turn is running in Workspace, the live execution card (ent#525, #2549) changes shape a couple of seconds into the turn. It first renders Working 0s with only the title. When the Work feed's read of this turn lands (~2.2 s), a sentence " doesn't report steps." appears and the card grows by 22 px (132 → 154). The activity line ("Thinking" / "Writing a reply") arrives later still. To the person watching it reads as: it started working → a "steps" line pops in → then the steps/activity show up. It is small, but it happens on every chat turn longer than the first feed read.
Journey Impact: extends the Workspace chat journey: a person sends a message and watches the agent work. The card is the only feedback during that wait, and it jumps.
Reproduction (measured, local stack, dev @ c45e5651d frontend)
Playwright sampled the card every 30–40 ms after pressing Enter. The turn was made to last ~9 s by delaying the agent's CLI start. 5 of 5 long turns show the same sequence:
12ms h=132 step=[] steps=[] (Working 0s, title, Open in Work)
2210ms h=154 step=[] steps=["cornelius doesn't report steps."] (+ Stop)
7230ms h=154 step=["Thinking"] steps=["cornelius doesn't report steps."]
8617ms h=154 step=["Writing a reply"] …
8974ms terminal card
A turn that fails in under a second (no model credential) usually ends before the feed read lands, so the jump does not show. In 1 of those runs, the whole card also unmounted for ~60 ms (at 419 ms, between "doesn't report steps." appearing and "Writing a reply"). That was seen once and has not been reproduced since, so it is recorded here as unconfirmed.
Cause (from the code)
PortalConversation.vueliveCardItem: until the feed has this turn's row, the card gets a synthetic item withsteps: undefined(renders nothing, by design: "not read yet").- When the feed row lands,
stepsbecomes{state: 'none'}for a plain chat turn.stepsLine()(portalWork.js:170) then returnskind: 'none'→PortalWorkCard.vue:75renders the "doesn't report steps."<p>with a barev-if. No space is reserved for it, unlike the activity row directly above it (h-4, reserved for the card's whole live life, fix(agent-runtime): kill npx MCP orphans outside claude pgid that hold stdout pipe open (#618) #620). - Stop is gated on
canCancelTurn(PortalConversation.vue:1024,sending && activeExecutionId), not on the item'scan_stop: it appears when the send's 202 returns the execution id. It adds no height (it joins the row with "Open in Work" and shifts that button sideways). It usually lands within ~100 ms and coincided with the sentence only on some runs. (Corrected 2026-09-22: the first version of this issue attributed it to the synthetic item'scan_stop: false.)
Acceptance criteria
- A live chat-turn card does not change height between the first paint and the terminal state, except for content that is genuinely new work (stages of a pipeline, delegated children).
- The decision on the "doesn't report steps." sentence for a plain single-agent chat turn is explicit. Either it is suppressed there (the chat card already shows the activity line, and the sentence adds nothing a person can act on), or its row is reserved from the first paint. It stays in the Work tab either way.
- Stop does not pop in late if it is going to be offered (reserve its slot, or render it disabled until the id is known).
- A regression test pins the card's live-phase shape across the
steps: undefined→ feed-row transition. - Checked by a human in the browser, both themes (design-system contract, principle 29).
Notes
- Introduced with the live card in feat(workspace): the live execution card in chat + the Work tab history (abilityai/trinity-enterprise#525) #2549. The steps sentence is correct in the Work tab, where the card is a report, not a progress indicator.
- Out of scope: the activity line's own motion (fix(agent-runtime): kill npx MCP orphans outside claude pgid that hold stdout pipe open (#618) #620 queue), which behaves as designed.
Activity
AndriiPasternak31 commentedon Sep 22, 2026
/claim
github-actions commentedon Sep 22, 2026
Claimed by @AndriiPasternak31. Label
status-in-progressadded.Next steps:
feature/2964-<short-slug>Fixes #2964fix(workspace): the reserved steps row never widens the chat card (#2964
fix(workspace): the chat card's pre-read title matches the feed's (#2964
docs(workspace-work): the chat card's width and pre-read title (#2964)
ci(frontend-build): run the title-mirror twin when its fixture changes (
fix(workspace): name the masking gap in previewTitle honestly (#2964)
fix(workspace): the live chat card keeps one shape across the feed re…
fix(workspace): remove "<agent> doesn't report steps" entirely (#3001)
fix(workspace): remove "<agent> doesn't report steps" from the Work c…