You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by as...@apache.org on 2026/09/21 16:11:42 UTC

(maka) branch main updated: refactor(ui): one status row per turn, facts-only footer (#5559)

This is an automated email from the ASF dual-hosted git repository.

Astro-Han pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/maka.git


The following commit(s) were added to refs/heads/main by this push:
     new 2afc791b46 refactor(ui): one status row per turn, facts-only footer (#5559)
2afc791b46 is described below

commit 2afc791b46e19711fa3357345518d39c34c7d0f1
Author: AstroHan <le...@outlook.com>
AuthorDate: Tue Sep 22 00:11:37 2026 +0800

    refactor(ui): one status row per turn, facts-only footer (#5559)
    
    Consolidate the transcript's turn lifecycle into a single top status row: running copy in place, the outcome and duration in the same row after settlement, and execution details folded beneath it. Footer metadata and actions stay visible with facts only. Also drops dead transcript projections, copy keys, preview CSS, and the duplicate pre-Turn disclosure cue.
    
    Generated-by: Devin
---
 apps/desktop/renderer-architecture.json            |   2 +-
 .../src/main/__tests__/streaming-handoff.test.ts   |   9 +-
 .../src/renderer/app-shell-turn-view-model.ts      |   2 +-
 apps/desktop/src/renderer/turn-footer-actions.ts   |   4 +-
 apps/desktop/stories/app-shell.stories.tsx         |   2 +-
 .../__tests__/chat-turn-answer-identity.test.tsx   |  84 ++--
 packages/ui/src/__tests__/materialize.test.ts      |  18 +-
 packages/ui/src/__tests__/timeline-fold.test.ts    |   2 +-
 .../ui/src/__tests__/transcript-projection.test.ts |  12 +-
 .../ui/src/__tests__/turn-running-spinner.test.tsx |  49 +-
 packages/ui/src/chat-display-helpers.ts            |  24 +-
 packages/ui/src/chat-turn.tsx                      | 495 ++++++++++-----------
 packages/ui/src/chat-view.tsx                      | 107 +++--
 packages/ui/src/conversation-copy.ts               |  33 +-
 packages/ui/src/materialize.ts                     |  86 +---
 packages/ui/src/primitives/chat.tsx                |  90 +---
 packages/ui/src/styles.css                         | 182 +-------
 packages/ui/stories/turn-elapsed-clock.stories.tsx |  26 +-
 scripts/perf/frontend.spec.ts                      |   4 +-
 19 files changed, 441 insertions(+), 790 deletions(-)

diff --git a/apps/desktop/renderer-architecture.json b/apps/desktop/renderer-architecture.json
index f8b5140b20..1ad28e4726 100644
--- a/apps/desktop/renderer-architecture.json
+++ b/apps/desktop/renderer-architecture.json
@@ -678,7 +678,7 @@
           "react": 1
         },
         "importSpecifiers": 10,
-        "nonTriviaTokens": 1245
+        "nonTriviaTokens": 1243
       },
       "src/renderer/app-shell.tsx": {
         "importDeclarations": 62,
diff --git a/apps/desktop/src/main/__tests__/streaming-handoff.test.ts b/apps/desktop/src/main/__tests__/streaming-handoff.test.ts
index 67391480ec..80b83fe44e 100644
--- a/apps/desktop/src/main/__tests__/streaming-handoff.test.ts
+++ b/apps/desktop/src/main/__tests__/streaming-handoff.test.ts
@@ -88,7 +88,7 @@ function renderLiveTurn(liveTurn: LiveTurnProjection): Promise<string> {
 }
 
 describe('single live-turn handoff', () => {
-  it('keeps activity in the process row before the session or Turn arrives', async () => {
+  it('keeps activity in the top status row before the session or Turn arrives', async () => {
     const session: NonNullable<Parameters<typeof ChatView>[0]['activeSession']> = {
       id: 'session-1', name: 'pending', status: 'running' as const, backend: 'ai-sdk',
       labels: [], isFlagged: false, isArchived: false, hasUnread: false,
@@ -107,8 +107,11 @@ describe('single live-turn handoff', () => {
         onNew() {},
       } satisfies Parameters<typeof ChatView>[0]));
       const { document } = parseHTML(markup);
-      const status = document.querySelector('.maka-processing-summary [role="status"]');
-      assert.ok(status, 'activity must occupy the process row');
+      const status = document.querySelector(
+        '.maka-assistant-answer .maka-turn-statusbar [role="status"]',
+      );
+      assert.ok(status, 'activity must occupy the top status row');
+      assert.equal(document.querySelector('.maka-processing-block'), null);
       assert.equal(document.querySelector('.maka-turn-footer'), null);
       assert.equal(document.querySelector('.maka-assistant-answer [role="toolbar"]'), null);
     }
diff --git a/apps/desktop/src/renderer/app-shell-turn-view-model.ts b/apps/desktop/src/renderer/app-shell-turn-view-model.ts
index 4fddc04625..41d323ce4c 100644
--- a/apps/desktop/src/renderer/app-shell-turn-view-model.ts
+++ b/apps/desktop/src/renderer/app-shell-turn-view-model.ts
@@ -62,7 +62,7 @@ interface TurnPresentationEntry {
   failedExecutionStateLabel?: string;
 }
 
-const PENDING_ACTION_IDS = ['branch', 'copy'] as const;
+const PENDING_ACTION_IDS = ['branch'] as const;
 
 function isSandboxOnlyToolFailure(turn: TurnViewModel): boolean {
   const erroredTools = turn.tools.filter((tool) => tool.status === 'errored');
diff --git a/apps/desktop/src/renderer/turn-footer-actions.ts b/apps/desktop/src/renderer/turn-footer-actions.ts
index 2e505f3e75..7a2b231672 100644
--- a/apps/desktop/src/renderer/turn-footer-actions.ts
+++ b/apps/desktop/src/renderer/turn-footer-actions.ts
@@ -66,6 +66,8 @@ export interface TurnFooterAction {
    * Chinese; never exposes the raw TurnStatus enum identifier.
    */
   tooltip?: string;
+  /** Busy from click until the action settles — UI renders the spinner. */
+  pending?: boolean;
 }
 
 export interface TurnFooterContext {
@@ -104,7 +106,7 @@ export function deriveTurnFooterActions(input: TurnFooterContext): TurnFooterAct
   const PENDING_TOOLTIP = copyText.pending;
 
   const branch: TurnFooterAction = isPending('branch')
-    ? { id: 'branch', label: actionLabel.branch, enabled: false, tooltip: PENDING_TOOLTIP }
+    ? { id: 'branch', label: actionLabel.branch, enabled: false, tooltip: PENDING_TOOLTIP, pending: true }
     : {
         id: 'branch',
         label: actionLabel.branch,
diff --git a/apps/desktop/stories/app-shell.stories.tsx b/apps/desktop/stories/app-shell.stories.tsx
index de3e479a3b..8a31e20511 100644
--- a/apps/desktop/stories/app-shell.stories.tsx
+++ b/apps/desktop/stories/app-shell.stories.tsx
@@ -648,7 +648,7 @@ export const RunningStatusDuringToolRun: Story = {
     const activity = process.querySelector('.maka-processing-summary .maka-turn-processing')!;
     await expect(activity).toHaveTextContent('正在琢磨…');
     await expect(canvasElement.querySelectorAll('.maka-turn-processing')).toHaveLength(1);
-    await expect(canvasElement.querySelector('.maka-turn-footer-meta .maka-turn-processing')).toBeNull();
+    await expect(canvasElement.querySelector('.maka-turn-footer .maka-turn-processing')).toBeNull();
     // Live work is not a disclosure action. Even pointer activation cannot
     // hide it; the tool keeps ownership of its visible spinner.
     const summary = process.querySelector('summary')!;
diff --git a/packages/ui/src/__tests__/chat-turn-answer-identity.test.tsx b/packages/ui/src/__tests__/chat-turn-answer-identity.test.tsx
index 734460553a..e64e0535ed 100644
--- a/packages/ui/src/__tests__/chat-turn-answer-identity.test.tsx
+++ b/packages/ui/src/__tests__/chat-turn-answer-identity.test.tsx
@@ -119,32 +119,32 @@ test('message accessibility labels preserve literal ICU syntax', async () => {
   assert.equal(container.querySelector('article')?.getAttribute('aria-label'), label);
 });
 
-test('renders an aborted turn outcome as an inline system status notice', async () => {
+test('renders an aborted turn outcome in the turn status row', async () => {
   const { container, root } = domRoot();
   await renderTurn(root, {
     ...turnWith([{ ...ANSWER, live: false }]),
     status: 'aborted',
-    abortSource: 'renderer.stop_button',
   });
 
-  const outcome = container.querySelector('.astryx-chat-system-message[role="status"]');
-  assert.ok(outcome, 'the aborted outcome is announced through the Chat status-notice primitive');
-  assert.equal(outcome.getAttribute('data-variant'), 'default');
-  assert.equal(outcome.textContent, 'Interrupted \u00b7 Stop button');
+  const statusbar = container.querySelector('.maka-turn-statusbar');
+  assert.ok(statusbar, 'the aborted outcome is announced in the turn status row');
+  assert.equal(statusbar.getAttribute('data-turn-status'), 'aborted');
+  assert.equal(statusbar.textContent, 'Stopped');
 });
 
-test('places the aborted turn outcome after its timeline content', async () => {
+test('places the turn status row at the top of the assistant content', async () => {
   const { container, root } = domRoot();
   await renderTurn(root, {
     ...turnWith([{ ...ANSWER, live: false }]),
     status: 'aborted',
   });
 
+  const content = container.querySelector('.maka-assistant-answer-content');
+  const statusbar = container.querySelector('.maka-turn-statusbar');
   const answer = container.querySelector('.maka-chat-message-bubble-assistant');
-  const assistantMessage = container.querySelector('.maka-assistant-answer');
-  const outcome = container.querySelector('.astryx-chat-system-message[role="status"]');
-  assert.ok(answer && assistantMessage && outcome);
-  assert.equal(assistantMessage.nextElementSibling?.isSameNode(outcome), true);
+  assert.ok(content && statusbar && answer);
+  // No work log: the standalone status row leads the assistant content.
+  assert.equal(content.firstElementChild?.isSameNode(statusbar), true);
 });
 
 /**
@@ -503,10 +503,10 @@ test('rotates working phrases on the elapsed clock without announcing each phras
     <LocaleProvider locale="en"><TurnView turn={next} liveStreaming={{ runningStatus: true }} /></LocaleProvider>,
   ));
   await render(turn);
-  // The running cue now lives on the turn's status line at the BOTTOM of the
-  // turn; scope the query to it rather than "the first role=status", which other
+  // The running cue lives on the turn's status row at the TOP of the turn;
+  // scope the query to it rather than "the first role=status", which other
   // surfaces also use.
-  const status = container.querySelector('.maka-turn-footer-meta [role="status"]')!;
+  const status = container.querySelector('.maka-turn-statusbar [role="status"]')!;
   assert.match(status.textContent, /Pondering/);
   assert.equal(status.getAttribute('aria-label'), 'Working…');
   await act(() => context.mock.timers.tick(20_000));
@@ -705,22 +705,23 @@ const COMPLETED_TOOL: TurnTimelineItem = {
 
 test('collapses the whole completed process and leaves the final answer outside', async () => {
   const { container, root } = domRoot();
-  // A real start (not the placeholder 0): the settled line states the finish
-  // time, which needs a timestamp the transcript could actually have carried.
+  // A real start (not the placeholder 0): the footer states the finish time,
+  // which needs a timestamp the transcript could actually have carried.
   const turn = { ...turnWith([PROCESS_TEXT, COMPLETED_TOOL, { ...ANSWER, live: false }]), status: 'completed' as const, durationMs: 213_000, startedAt: Date.UTC(2026, 8, 19, 9, 0) };
   await renderTurn(root, turn);
   const process = container.querySelector('details.maka-processing-sequence');
   const summary = process?.querySelector('summary');
   assert.ok(process && summary);
   assert.equal(process.hasAttribute('open'), false);
-  assert.equal(summary.textContent?.trim(), 'Worked for 3m 33s');
-  const settledLine =
-    container.querySelector('.maka-turn-footer-meta .maka-turn-status-line')?.textContent ?? '';
-  assert.match(settledLine, /^Done · /);
-  // The finish time is what makes a transcript reviewable after the fact: the
-  // message's relative stamp says how long ago, not when. Local formatting, so
-  // the assertion pins its presence rather than a clock string.
-  assert.match(settledLine, / · [^·]+\d{1,2}:\d{2}/);
+  // The disclosure's summary IS the turn's status row: outcome + duration.
+  assert.equal(summary.textContent?.trim(), 'Done · Worked for 3m 33s');
+  assert.equal(
+    summary.querySelector('.maka-turn-statusbar')?.getAttribute('data-turn-status'),
+    'completed',
+  );
+  // The finish time lives in the footer as a semantic timestamp — the fact
+  // that makes a transcript reviewable after the fact.
+  assert.ok(container.querySelector('.maka-turn-footer time'));
   assert.match(process.textContent ?? '', /Checking the login state/);
   assert.doesNotMatch(process.textContent ?? '', /the answer/);
   const answer = container.querySelectorAll('.maka-chat-message-bubble-assistant')[1];
@@ -738,7 +739,7 @@ test('moves the live clock into the process and settles it to recorded duration
   context.mock.timers.enable({ apis: ['Date', 'setInterval'], now: startedAt + 12_000 });
   const { container, root } = domRoot();
   await renderTurn(root, { ...turnWith([ANSWER]), startedAt }, { runningStatus: true });
-  assert.equal(container.querySelector('.maka-turn-footer-meta .maka-turn-elapsed')?.textContent, '12s');
+  assert.equal(container.querySelector('.maka-turn-statusbar .maka-turn-elapsed')?.textContent, '12s');
   const timeline = [PROCESS_TEXT, COMPLETED_TOOL, ANSWER];
   await renderTurn(root, { ...turnWith(timeline), startedAt }, { runningStatus: true });
   const process = container.querySelector('details.maka-processing-sequence');
@@ -747,7 +748,7 @@ test('moves the live clock into the process and settles it to recorded duration
   assert.equal(process.hasAttribute('open'), true);
   assert.equal(summary.querySelector('.maka-turn-elapsed')?.textContent, '12s');
   assert.equal(container.querySelectorAll('.maka-turn-elapsed').length, 1);
-  assert.equal(container.querySelector('.maka-turn-footer-meta .maka-turn-processing'), null);
+  assert.equal(container.querySelector('.maka-turn-footer .maka-turn-processing'), null);
   await act(() => context.mock.timers.tick(5_000));
   assert.equal(summary.querySelector('.maka-turn-elapsed')?.textContent, '17s');
   const answer = container.querySelectorAll('.maka-chat-message-bubble-assistant')[1];
@@ -756,12 +757,11 @@ test('moves the live clock into the process and settles it to recorded duration
     startedAt, status: 'completed', durationMs: 21_000,
   });
   assert.equal(process.hasAttribute('open'), false);
-  assert.equal(summary.textContent, 'Worked for 21s');
+  assert.equal(summary.textContent, 'Done · Worked for 21s');
   assert.equal(container.querySelector('.maka-turn-processing'), null);
-  assert.doesNotMatch(container.querySelector('.maka-turn-footer-meta')?.textContent ?? '', /Worked for/);
-  assert.match(container.querySelector('.maka-turn-status-line')?.textContent ?? '', /Done · .*\d{1,2}:\d{2}/);
+  assert.doesNotMatch(container.querySelector('.maka-turn-footer')?.textContent ?? '', /Worked for/);
   await act(() => context.mock.timers.tick(5_000));
-  assert.equal(summary.textContent, 'Worked for 21s');
+  assert.equal(summary.textContent, 'Done · Worked for 21s');
   assert.equal(container.querySelectorAll('.maka-chat-message-bubble-assistant')[1]?.isSameNode(answer!), true);
 });
 
@@ -792,7 +792,7 @@ test('copy uses the visible final reply after completion and disclosure toggles'
 
 test('keeps running work expanded and allows manual disclosure after settlement', async () => {
   const { container, root } = domRoot();
-  await renderTurn(root, turnWith([PROCESS_TEXT, COMPLETED_TOOL]));
+  await renderTurn(root, turnWith([PROCESS_TEXT, COMPLETED_TOOL]), { runningStatus: true });
   const process = container.querySelector('details.maka-processing-sequence');
   const summary = process?.querySelector('summary');
   assert.ok(process && summary);
@@ -800,7 +800,7 @@ test('keeps running work expanded and allows manual disclosure after settlement'
   assert.equal(summary.getAttribute('aria-disabled'), 'true');
   assert.equal(summary.getAttribute('tabindex'), '-1');
   await click(); // pointer activation cannot hide live work
-  await renderTurn(root, turnWith([PROCESS_TEXT, COMPLETED_TOOL, ANSWER]));
+  await renderTurn(root, turnWith([PROCESS_TEXT, COMPLETED_TOOL, ANSWER]), { runningStatus: true });
   assert.equal(process.hasAttribute('open'), true);
   await renderTurn(root, { ...turnWith([PROCESS_TEXT, COMPLETED_TOOL, { ...ANSWER, live: false }]), status: 'completed' });
   assert.equal(process.hasAttribute('open'), false);
@@ -813,7 +813,7 @@ test('keeps running work expanded and allows manual disclosure after settlement'
 
 test('keeps failed-tool details folded with duration while turn recovery stays outside', async () => {
   const { container, root } = domRoot();
-  await renderTurn(root, turnWith([PROCESS_TEXT, RUNNING_TOOL]));
+  await renderTurn(root, turnWith([PROCESS_TEXT, RUNNING_TOOL]), { runningStatus: true });
   const process = container.querySelector('details.maka-processing-sequence');
   const summary = process?.querySelector('summary');
   assert.ok(process && summary);
@@ -825,8 +825,11 @@ test('keeps failed-tool details folded with duration while turn recovery stays o
   /></LocaleProvider>));
   // A failed tool is an ordinary row: no label, no reveal.
   assert.doesNotMatch(summary.textContent ?? '', /Needs attention/);
-  assert.equal(summary.textContent, 'Worked for 2s');
-  assert.equal(container.querySelector('.maka-turn-status-line')?.textContent, 'Failed');
+  assert.equal(summary.textContent, 'Failed · Worked for 2s');
+  assert.equal(
+    container.querySelector('.maka-turn-statusbar')?.getAttribute('data-turn-status'),
+    'failed',
+  );
   assert.equal(process.hasAttribute('open'), false);
   assert.doesNotMatch(process.textContent ?? '', /Continue this turn/);
   assert.match(container.textContent ?? '', /Continue this turn/);
@@ -835,20 +838,19 @@ test('keeps failed-tool details folded with duration while turn recovery stays o
   assert.equal(container.querySelectorAll('.maka-processing-summary').length, 1);
 });
 
-test('uses a generic process label when no duration is recorded, and localizes the settled duration', async () => {
+test('states the outcome without a duration when none is recorded, and localizes it when there is one', async () => {
   const { container, root } = domRoot();
   const turn = { ...turnWith([PROCESS_TEXT, COMPLETED_TOOL, { ...ANSWER, live: false }]), status: 'completed' as const };
   await renderTurn(root, turn);
-  assert.equal(container.querySelector('.maka-processing-summary')?.textContent?.trim(), 'Execution process');
-  // No recorded duration: the status line still states that the turn is done,
-  // rather than inventing a duration or a finish time it does not have.
+  // No recorded duration: the status row still states that the turn is done,
+  // rather than inventing a duration it does not have.
   assert.equal(
-    container.querySelector('.maka-turn-footer-meta .maka-turn-status-line')?.textContent,
+    container.querySelector('.maka-processing-summary')?.textContent?.trim(),
     'Done',
   );
   await act(() => root.render(<LocaleProvider locale="zh-CN"><TurnView turn={{ ...turn, durationMs: 213_000 }} /></LocaleProvider>));
   assert.match(
     container.querySelector('.maka-processing-summary')?.textContent ?? '',
-    /^用时 3 分 33 秒$/,
+    /^已完成 · 用时 3 分 33 秒$/,
   );
 });
diff --git a/packages/ui/src/__tests__/materialize.test.ts b/packages/ui/src/__tests__/materialize.test.ts
index fc3728cfd8..ca35c9d60b 100644
--- a/packages/ui/src/__tests__/materialize.test.ts
+++ b/packages/ui/src/__tests__/materialize.test.ts
@@ -22,7 +22,6 @@ import { describe, test } from "node:test";
 import { decodeCanonicalMessage, type StoredMessage } from '@maka/core/session';
 import { foldTimeline } from '../timeline-fold.js';
 import {
-  materializeChat,
   materializeTools,
   materializeTurns,
   overlayLiveTurn,
@@ -226,7 +225,7 @@ describe("steering timeline", () => {
   });
 });
 
-describe("materializeChat message metadata", () => {
+describe("materializeTurns message metadata", () => {
   test("renders neutral provider dropping guidance for new and legacy records", () => {
     const base = {
       type: "system_note" as const,
@@ -236,8 +235,8 @@ describe("materializeChat message metadata", () => {
       kind: "context_provider_dropping" as const,
       data: { inputTokens: 98_247, priorInputTokens: 124_832 },
     };
-    const current = materializeChat([base], "en")[0]?.text;
-    const legacy = materializeChat([{ ...base, data: undefined }], "en")[0]?.text;
+    const current = materializeTurns([base], "en")[0]?.notes[0]?.text;
+    const legacy = materializeTurns([{ ...base, data: undefined }], "en")[0]?.notes[0]?.text;
     assert.match(current ?? "", /may have been truncated or rewritten/);
     assert.match(legacy ?? "", /may have been truncated or rewritten/);
     assert.doesNotMatch(current ?? "", /Declare a context window|compact first/);
@@ -255,13 +254,9 @@ describe("materializeChat message metadata", () => {
     ];
 
     assert.equal(
-      materializeChat(messages, "en")[0]?.text,
+      materializeTurns(messages, "en")[0]?.notes[0]?.text,
       "Earlier context compacted.",
     );
-    assert.equal(
-      materializeChat(messages, "zh-CN")[0]?.text,
-      "已压缩较早的上下文。",
-    );
     assert.equal(
       materializeTurns(messages, "zh-CN")[0]?.notes[0]?.text,
       "已压缩较早的上下文。",
@@ -279,7 +274,6 @@ describe("materializeChat message metadata", () => {
         inlineReferences: [],
       },
     ];
-    assert.deepEqual(materializeChat(messages, "en")[0]?.inlineReferences, []);
     assert.deepEqual(materializeTurns(messages, "en")[0]?.user?.inlineReferences, []);
   });
 
@@ -295,10 +289,6 @@ describe("materializeChat message metadata", () => {
       },
     ];
 
-    assert.deepEqual(materializeChat(messages, "en")[0]?.hostOrigin, {
-      kind: "goal",
-      goalId: "goal-1",
-    });
     assert.deepEqual(materializeTurns(messages, "en")[0]?.user?.hostOrigin, {
       kind: "goal",
       goalId: "goal-1",
diff --git a/packages/ui/src/__tests__/timeline-fold.test.ts b/packages/ui/src/__tests__/timeline-fold.test.ts
index 1008bdfd03..5ac069f3f2 100644
--- a/packages/ui/src/__tests__/timeline-fold.test.ts
+++ b/packages/ui/src/__tests__/timeline-fold.test.ts
@@ -45,7 +45,7 @@ test('display and copy share reply identity across process, steering and interru
     const projection = foldTimeline(timeline);
     assert.equal(projection.finalReply, expected, 'preserves the source message identity');
     if (expected) assert.ok(projection.entries.includes(expected));
-    const turn = { timeline, assistant: { text: 'obsolete aggregate' } } as TurnViewModel;
+    const turn = { timeline } as TurnViewModel;
     assert.equal(finalAssistantReplyText(turn), expected?.kind === 'text' ? expected.text : '');
   }
 });
diff --git a/packages/ui/src/__tests__/transcript-projection.test.ts b/packages/ui/src/__tests__/transcript-projection.test.ts
index ebf92fe0ad..bf8b9a196a 100644
--- a/packages/ui/src/__tests__/transcript-projection.test.ts
+++ b/packages/ui/src/__tests__/transcript-projection.test.ts
@@ -217,7 +217,10 @@ describe('incremental transcript projection', () => {
     assert.strictEqual(settled[0], live[0], 'the handoff is not a whole-transcript event');
     assert.strictEqual(settled[1], live[1]);
     assert.notStrictEqual(settled[2], live[2], 'the turn genuinely changed, so its reference must move');
-    assert.equal(settled[2]?.assistant?.text, 'half an answer');
+    assert.equal(
+      settled[2]?.timeline.some((item) => item.kind === 'text' && item.text === 'half an answer'),
+      true,
+    );
     assert.equal(
       settled[2]?.timeline.some((item) => item.kind === 'text' && item.live === true),
       false,
@@ -335,7 +338,10 @@ describe('incremental transcript projection', () => {
       ],
     });
     assert.notStrictEqual(other[0], first[0], 'a turn from the previous session must not be retained');
-    assert.equal(other[1]?.assistant?.text, 'a different answer');
+    assert.equal(
+      other[1]?.timeline.some((item) => item.kind === 'text' && item.text === 'a different answer'),
+      true,
+    );
 
     // Nothing of session-1 survived: re-projecting it rebuilds every turn.
     const back = projection.project({ locale: 'en', sessionId: SESSION, messages: history() });
@@ -495,7 +501,7 @@ describe('turn identity moves across structural change classes', () => {
       refresh: [...base.slice(0, 2), { type: 'turn_state', id: 's1', turnId: 'turn-1', ts: 5, status: 'failed', errorClass: 'rate_limit', failureMessage: 'Quota exceeded (status=429, requestId=req-4502)' }],
     },
     {
-      field: 'assistant',
+      field: 'timeline',
       refresh: [
         base[0]!,
         { type: 'assistant', id: 'a1', turnId: 'turn-1', ts: 4, text: 'a longer answer', modelId: 'model-1' },
diff --git a/packages/ui/src/__tests__/turn-running-spinner.test.tsx b/packages/ui/src/__tests__/turn-running-spinner.test.tsx
index b5cea2979c..9e3588a25f 100644
--- a/packages/ui/src/__tests__/turn-running-spinner.test.tsx
+++ b/packages/ui/src/__tests__/turn-running-spinner.test.tsx
@@ -48,7 +48,7 @@ function statusHasSpinner(toolStatuses: readonly ('running' | 'completed')[]): b
   const { document } = parseHTML(markup);
   assert.equal(document.querySelectorAll('.maka-turn-processing').length, 1);
   assert.ok(document.querySelector('.maka-processing-summary .maka-turn-processing'));
-  assert.equal(document.querySelector('.maka-turn-footer-meta .maka-turn-processing'), null);
+  assert.equal(document.querySelector('.maka-turn-footer .maka-turn-processing'), null);
   assert.doesNotMatch(markup, /Waiting for model output/);
   return document.querySelector('.maka-turn-processing .astryx-spinner') !== null;
 }
@@ -99,8 +99,13 @@ test('user input and provider retry suppress playful process activity', () => {
       </LocaleProvider>,
     );
     const { document } = parseHTML(markup);
+    // The playful cue is suppressed either way; the status row states what is
+    // actually happening instead — a wait for retry, or an idle in-progress.
     assert.equal(document.querySelector('.maka-turn-processing'), null);
-    assert.equal(document.querySelector('.maka-processing-summary')?.textContent, 'Execution process');
+    assert.equal(
+      document.querySelector('.maka-processing-summary')?.textContent,
+      runningStatus ? 'Waiting to retry (1/3)' : 'Working…',
+    );
     assert.equal(document.querySelectorAll('.maka-turn-provider-retry').length, runningStatus ? 1 : 0);
   }
 });
@@ -124,17 +129,22 @@ test('only the latest assistant segment owns live activity after a user instruct
   assert.equal(summaries[0]?.textContent, 'Execution process');
   assert.equal(summaries[1]?.textContent, 'Pondering…');
   assert.equal(document.querySelectorAll('.maka-turn-processing').length, 1);
-  assert.equal(document.querySelector('.maka-turn-footer-meta .maka-turn-processing'), null);
+  assert.equal(document.querySelector('.maka-turn-footer .maka-turn-processing'), null);
   const settled = parseHTML(renderToStaticMarkup(
     <LocaleProvider locale="en"><TurnView turn={{ ...turn, status: 'completed', durationMs: 213_000 }} /></LocaleProvider>,
   )).document;
   const settledSummaries = settled.querySelectorAll('.maka-processing-summary');
   assert.equal(settledSummaries[0]?.textContent, 'Execution process');
-  assert.equal(settledSummaries[1]?.textContent, 'Worked for 3m 33s');
-  assert.equal(settled.querySelector('.maka-turn-status-line')?.textContent, 'Done');
+  // The turn's last disclosure carries the status row as its summary: the
+  // outcome word and the duration in one place.
+  assert.equal(settledSummaries[1]?.textContent, 'Done · Worked for 3m 33s');
+  assert.equal(
+    settled.querySelector('.maka-turn-statusbar')?.getAttribute('data-turn-status'),
+    'completed',
+  );
 });
 
-test('keeps elapsed and model metadata in the footer for a reply without process entries', () => {
+test('shows the outcome in the status row and model facts in the footer for a reply without process entries', () => {
   const turn: TurnViewModel = {
     turnId: 'turn-1', status: 'completed', modelId: 'fixture-model', tools: [], notes: [], startedAt: 1,
     durationMs: 213_000,
@@ -145,21 +155,20 @@ test('keeps elapsed and model metadata in the footer for a reply without process
       <TurnView turn={turn} footerActions={[{ id: 'copy', label: 'Copy', enabled: true }]} />
     </LocaleProvider>,
   ));
-  // The duration lives on the status line at the BOTTOM of the turn, where a
-  // growing answer cannot push it out of view. The top summary states only what
-  // the disclosure holds.
-  assert.equal(document.querySelector('.maka-processing-summary')?.textContent?.trim(), 'Execution process');
-  const statusLine = document.querySelector('.maka-turn-status-line')?.textContent ?? '';
+  // No work log: the status row stands alone at the top of the answer rather
+  // than heading an empty disclosure.
+  assert.equal(document.querySelector('.maka-processing-sequence'), null);
+  const statusbar = document.querySelector('.maka-turn-statusbar');
+  assert.ok(statusbar);
+  assert.equal(statusbar.getAttribute('data-turn-status'), 'completed');
   // Localized duration (the same wording the copy owns), not the compact
   // `3m 33s` the live counter uses.
-  assert.match(statusLine, /Done · Worked for 3m 33s/);
+  assert.equal(statusbar.textContent, 'Done · Worked for 3m 33s');
+  // The footer keeps only the reference facts: the model name, no state.
+  const footer = document.querySelector('.maka-turn-footer');
+  assert.match(footer?.textContent ?? '', /fixture-model/);
+  assert.doesNotMatch(footer?.textContent ?? '', /Done|Worked for/);
   // This turn carries only the placeholder start (the fixture's `startedAt: 1`),
-  // so no finish time is printed rather than dating it to 1970.
-  assert.doesNotMatch(statusLine, /1970/);
-  // The footer's meta row carries the turn's state AND the model facts on one
-  // line, rather than the state taking a line of its own.
-  assert.equal(
-    document.querySelector('.maka-turn-footer-meta')?.textContent,
-    'Done · Worked for 3m 33s · fixture-model',
-  );
+  // so no finish time is rendered rather than dating it to 1970.
+  assert.equal(footer?.querySelector('time'), null);
 });
diff --git a/packages/ui/src/chat-display-helpers.ts b/packages/ui/src/chat-display-helpers.ts
index fe3b64255d..73735e59a2 100644
--- a/packages/ui/src/chat-display-helpers.ts
+++ b/packages/ui/src/chat-display-helpers.ts
@@ -19,8 +19,7 @@
 
 /**
  * Small pure helpers backing the chat surface (TurnView,
- * RelativeTime, AssistantAnswerBubble, etc.) —
- * time formatters, turn duration + abort marker copy.
+ * RelativeTime, AssistantAnswerBubble, etc.) — time formatters.
  *
  * PR-UI-LIB-EXTRACT-4 (round 5/10) introduced this module with a
  * deliberate ESM circular import on `./components.js` for
@@ -28,11 +27,11 @@
  * cycle by lifting locale helpers into a new `locale-helpers`
  * leaf module; this file now depends on that leaf instead.
  *
- * Why this seam: duration formatting has ms→s→m bucket rules, and
- * the abort-marker label is i18n-able copy. Each rule was
- * previously buried between TurnView's 200-line JSX block and
- * the answer bubble's rendering lifecycle; the bundle now
- * sits as short pure functions easy to unit-test in isolation.
+ * Why this seam: duration formatting has ms→s→m bucket rules.
+ * Each rule was previously buried between TurnView's 200-line
+ * JSX block and the answer bubble's rendering lifecycle; the
+ * bundle now sits as short pure functions easy to unit-test in
+ * isolation.
  *
  * PR-CHAT-CHROME-FOLLOWUP-0: `messageRoleLabel` / `avatarInitial`
  * were removed — the chat surface dropped per-message avatars and
@@ -40,9 +39,6 @@
  * sites.
  */
 
-import type { UiLocale } from '@maka/core/ui-locale';
-import { getConversationCopy } from './conversation-copy.js';
-
 /* `formatAbsoluteTimestamp` used to live here as a second copy of the same
    `Intl` options `@maka/core/relative-time` already owned, and it built a
    formatter per call — the sidebar renders one per row for the row tooltip and
@@ -75,11 +71,3 @@ export function formatTurnDuration(ms: number): string {
   if (totalSeconds < 60) return `${totalSeconds}s`;
   return `${Math.floor(totalSeconds / 60)}m ${totalSeconds % 60}s`;
 }
-
-export function turnAbortStatusLabel(abortSource: string | undefined, locale: UiLocale): string {
-  const copy = getConversationCopy(locale).messages;
-  switch (abortSource) {
-    case 'renderer.stop_button': return copy.abortedByStop;
-    default: return copy.aborted;
-  }
-}
diff --git a/packages/ui/src/chat-turn.tsx b/packages/ui/src/chat-turn.tsx
index 97ba24413b..357922f3e8 100644
--- a/packages/ui/src/chat-turn.tsx
+++ b/packages/ui/src/chat-turn.tsx
@@ -18,10 +18,10 @@
  */
 
 import { Fragment, memo, useEffect, useMemo, useRef, useState, type ComponentPropsWithoutRef, type ReactNode } from 'react';
-import { ICON_SIZE, Ban, ChevronRight, GitBranch, Pencil, RefreshCcw, Timer } from './icons.js';
+import { ICON_SIZE, ChevronRight, GitBranch, Pencil, RefreshCcw, Timer } from './icons.js';
 import { useClipboardCopyFeedback } from './clipboard-feedback.js';
 import { Markdown } from './markdown.js';
-import { formatTurnDuration, turnAbortStatusLabel } from './chat-display-helpers.js';
+import { formatTurnDuration } from './chat-display-helpers.js';
 import { formatAbsoluteTimestamp } from '@maka/core/relative-time';
 import { isTimeDrivenMotionEnabled } from './streaming-presentation.js';
 import { computerRunningLabel } from './tool-activity/computer-action-label.js';
@@ -177,8 +177,7 @@ const UserMessageBody = memo(function UserMessageBody(props: {
     : copyText.editMessage;
   // Time and delivery status ride in the footer slot beside the actions rather
   // than in Astryx's `timestamp` slot: that slot draws a `·` before the footer,
-  // and a separator between always-visible text and hover-revealed buttons
-  // reads as a stray mark at rest.
+  // and a separator between the stamp and the first action reads as a stray mark.
   const timeOrDelivery = props.delivery?.deliveryStatus ? (
     <span className="maka-message-delivery" role="status" title={props.delivery.deliveryDetail}>
       {props.delivery.deliveryStatus}
@@ -200,10 +199,15 @@ const UserMessageBody = memo(function UserMessageBody(props: {
           {props.delivery?.deliveryActions?.map((action) => (
             <UiButton key={action.label} label={action.label} variant="ghost" size="sm" onClick={action.onClick} />
           ))}
-          <MessageCopyButton
-            messageId={props.messageId}
+          <CopyButton
+            copyKey="message"
             text={props.text}
-            ts={props.ts}
+            label={copyText.copy}
+            ariaLabel={copyText.messageActionAriaLabel(
+              copyText.copy,
+              accessibleActionContext(props.text, props.ts, locale),
+            )}
+            dataMessageId={props.messageId}
           />
           {props.onEditUserMessage ? (
             <UiIconButton
@@ -332,45 +336,47 @@ function accessibleActionContext(text: string, ts: number | undefined, locale: U
     .join(' · ');
 }
 
-function MessageCopyButton(props: {
-  messageId: string;
+/**
+ * The transcript's one copy button: IconButton + clipboard feedback, shared by
+ * the user-message copy and the turn footer's answer copy so the icon swap,
+ * tooltip phases and loading state stay identical everywhere.
+ */
+function CopyButton(props: {
+  /** Feedback namespace — 'message' and 'answer' track their phases apart. */
+  copyKey: string;
   text: string;
-  ts?: number;
+  /** Resting tooltip; the phase labels take over while feedback shows. */
+  label: string;
+  /** Resolved accessible name (caller adds the message/answer context). */
+  ariaLabel: string;
+  disabled?: boolean;
+  dataAction?: string;
+  dataMessageId?: string;
 }) {
-  const locale = useUiLocale();
-  const copyText = getConversationCopy(locale).messages;
+  const copyText = getConversationCopy(useUiLocale()).messages;
   const copyFeedback = useClipboardCopyFeedback(1400, { redact: false });
-  const copyPhase = copyFeedback.phaseFor('message');
-  const copyPending = copyPhase === 'pending';
-  const copied = copyPhase === 'copied';
-
-  async function copy() {
-    await copyFeedback.copy('message', props.text);
-  }
-
-  const baseLabel = copyText.copy;
-  const actionLabel = copyPhase === 'pending'
-    ? copyText.copying
+  const copyPhase = copyFeedback.phaseFor(props.copyKey);
+  const tooltip = copyPhase === 'pending'
+    ? `${copyText.copying}…`
     : copyPhase === 'copied'
       ? copyText.copied
       : copyPhase === 'failed'
         ? copyText.copyFailed
-        : baseLabel;
+        : props.label;
   return (
     <UiIconButton
-      label={copyText.messageActionAriaLabel(
-        baseLabel,
-        accessibleActionContext(props.text, props.ts, locale),
-      )}
-      data-message-id={props.messageId}
-      tooltip={actionLabel}
-      icon={<Icon icon={copied ? 'check' : 'copy'} size="sm" />}
+      label={props.ariaLabel}
+      tooltip={tooltip}
+      icon={<Icon icon={copyPhase === 'copied' ? 'check' : 'copy'} size="sm" />}
       variant="ghost"
       size="sm"
       className={markerVariants({ variant: 'footer-action' })}
-      isLoading={copyPending}
+      isDisabled={props.disabled}
+      isLoading={copyPhase === 'pending'}
+      data-action={props.dataAction}
+      data-message-id={props.dataMessageId}
       data-copy-feedback={copyPhase ?? undefined}
-      onClick={() => void copy()}
+      onClick={() => void copyFeedback.copy(props.copyKey, props.text)}
     />
   );
 }
@@ -459,9 +465,10 @@ export const TurnView = memo(function TurnView(props: {
   liveStreaming?: {
     onStreamingSettled?: (messageId?: string) => void;
     /**
-     * Whether to show activity for the live turn. The current process summary
-     * owns it when present; the footer is the fallback before a process exists.
-     * False while waiting for user input, whose prompt owns the next action.
+     * Whether to show activity for the live turn. The turn's status row owns
+     * it — as the process disclosure's summary when a work log exists, or a
+     * standalone row at the top of the answer. False while waiting for user
+     * input, whose prompt owns the next action.
      */
     runningStatus?: boolean;
     providerRetry?: LiveProviderRetry;
@@ -475,7 +482,6 @@ export const TurnView = memo(function TurnView(props: {
 }) {
   const locale = useUiLocale();
   const copy = getConversationCopy(locale).messages;
-  const hasTurnFooterContribution = useMakaClientSlotOccupied('conversation.turn.footer');
   const { turn } = props;
   // Derive disclosure entries and reply identity together, only when this
   // turn's timeline changes. Rendering and copy share the original reply item.
@@ -514,7 +520,6 @@ export const TurnView = memo(function TurnView(props: {
       className="maka-turn"
       data-maka-contract="markdown-flow"
       data-turn-id={turn.turnId}
-      data-live-streaming={props.liveStreaming ? 'true' : undefined}
       data-search-highlight={props.searchHighlighted ? 'true' : undefined}
       tabIndex={props.searchHighlighted ? -1 : undefined}
     >
@@ -678,9 +683,34 @@ export const TurnView = memo(function TurnView(props: {
         const activityProcessIndex = ownsTurnChrome
           ? segment.items.findLastIndex((item) => item.kind === 'processing')
           : -1;
-        // Every Turn owns this row, empty or not, so the cue never moves and
-        // settlement does not shift the transcript.
-        const liveWorkOwnsDisclosure = ownsTurnChrome && activityProcessIndex === -1;
+        // The turn's one status row: on a turn with a work log it is the last
+        // disclosure's summary (opening it reveals the process underneath);
+        // without one it stands alone at the top of the answer. Either way the
+        // row never moves — the running cue becomes the outcome in place.
+        const statusBarStatus = props.liveStreaming ? 'running' : turn.status;
+        // A recorded 'running' turn with no live stream is a stale leftover
+        // (the app died mid-turn): claiming progress would be a lie, so the
+        // row is skipped entirely — same as the state showing nothing before.
+        const hasLiveStatus = statusBarStatus !== 'running' || !!props.liveStreaming;
+        const statusRowProps = {
+          status: statusBarStatus,
+          running: props.liveStreaming?.runningStatus === true,
+          providerRetry: props.liveStreaming?.providerRetry,
+          startedAt: turn.startedAt > MIN_PLAUSIBLE_TURN_TS ? turn.startedAt : undefined,
+          durationMs: turn.durationMs,
+          activityLabel:
+            props.liveStreaming?.runningStatus && !props.liveStreaming.providerRetry
+              ? runningToolLabel
+              : undefined,
+        };
+        const footerActions = props.liveStreaming ? [] : props.footerActions ?? [];
+        const footerMeta = turnMetaSummary(turn);
+        const finishedAt =
+          turn.status !== 'running' &&
+          turn.durationMs !== undefined &&
+          turn.startedAt > MIN_PLAUSIBLE_TURN_TS
+            ? turn.startedAt + turn.durationMs
+            : undefined;
         // Disjoint namespaces: a steering id is any string, so a bare
         // sentinel could collide with a real one.
         const assistantKey =
@@ -692,7 +722,6 @@ export const TurnView = memo(function TurnView(props: {
             <LocalizedChatMessage
               accessibleLabel={`${copy.assistantAriaLabel} · ${answerContext}`}
               sender="assistant"
-              data-turn-status={turn.status}
               className="maka-chat-message maka-assistant-answer"
             >
             <div className="maka-assistant-answer-content">
@@ -703,17 +732,8 @@ export const TurnView = memo(function TurnView(props: {
                 and Astryx tool group in the order the model produced them.
                 Intermediate text, reasoning and tools share a disclosure;
                 the final reply and inserted user instructions stay outside. */}
-              {liveWorkOwnsDisclosure && (
-                // An empty work log for a Turn that IS rendered: the cue lives
-                // on the footer row, so passing `activity` here would show it
-                // twice. This disclosure only holds the turn's process entries,
-                // and it has none yet.
-                <ProcessingBlock
-                  key="processing-status"
-                  activityObserved={props.activityObserved}
-                  entries={[]}
-                  running={!!props.liveStreaming || turn.status === 'running'}
-                />
+              {ownsTurnChrome && activityProcessIndex === -1 && hasLiveStatus && (
+                <TurnStatusBar {...statusRowProps} />
               )}
               {segment.items.map((item, index) =>
                 item.kind === 'processing' ? (
@@ -721,12 +741,10 @@ export const TurnView = memo(function TurnView(props: {
                     key={`processing-${item.id}`}
                     activityObserved={props.activityObserved}
                     entries={item.children}
-                    running={!!props.liveStreaming || turn.status === 'running'}
-                    durationMs={index === activityProcessIndex ? turn.durationMs : undefined}
-                    activity={
-                      index === activityProcessIndex && props.activityObserved !== false &&
-                      props.liveStreaming?.runningStatus && !props.liveStreaming.providerRetry
-                        ? { startedAt: turn.startedAt || undefined, label: runningToolLabel }
+                    running={!!props.liveStreaming}
+                    statusRow={
+                      index === activityProcessIndex && hasLiveStatus
+                        ? statusRowProps
                         : undefined
                     }
                     onStreamingSettled={props.liveStreaming?.onStreamingSettled}
@@ -744,6 +762,9 @@ export const TurnView = memo(function TurnView(props: {
                   />
                 ),
               )}
+              {ownsTurnChrome && props.liveStreaming?.providerRetry && (
+                <ModelProviderRetryIndicator retry={props.liveStreaming.providerRetry} />
+              )}
               {/* A failed turn's banner states the OUTCOME of the turn, so it
                   belongs after the work it is the outcome of. `description`
                   carries the parked-resume diagnostic when there
@@ -802,41 +823,13 @@ export const TurnView = memo(function TurnView(props: {
                 ))}
               </Marker>
             )}
-            {ownsTurnChrome ? (
+            {ownsTurnChrome && (
               <TurnFooter
                 turnId={turn.turnId}
-                actions={props.liveStreaming ? [] : props.footerActions ?? []}
-                meta={
-                  // The turn's state and the model facts share this row: one line
-                  // reads as the turn's footer, two read as a stray paragraph
-                  // between the answer and the model name. The state leads.
-                  <TurnFooterMeta
-                    status={
-                      <TurnStatusLine
-                        // The live STREAM decides whether work is happening: a turn
-                        // record can still say `running` while nothing is arriving
-                        // (a retry is scheduled, input is awaited), and announcing
-                        // activity then is a claim the reader watches fail.
-                        status={props.liveStreaming ? 'running' : turn.status}
-                        running={props.liveStreaming?.runningStatus === true}
-                        providerRetry={props.liveStreaming?.providerRetry !== undefined}
-                        startedAt={turn.startedAt}
-                        durationMs={turn.durationMs}
-                        elapsedInProcess={activityProcessIndex !== -1}
-                        activityLabel={
-                          props.liveStreaming?.runningStatus && !props.liveStreaming.providerRetry
-                            ? runningToolLabel
-                            : undefined
-                        }
-                      />
-                    }
-                    model={turnMetaSummary(turn)}
-                  />
-                }
+                actions={footerActions}
+                meta={footerMeta}
+                finishedAt={finishedAt}
                 live={!!props.liveStreaming}
-                activity={props.liveStreaming?.providerRetry ? (
-                  <ModelProviderRetryIndicator retry={props.liveStreaming.providerRetry} />
-                ) : undefined}
                 context={answerContext}
                 onAction={
                   props.onFooterAction
@@ -845,16 +838,8 @@ export const TurnView = memo(function TurnView(props: {
                 }
                 assistantText={finalReply?.text ?? ''}
               />
-            ) : null}
-            </LocalizedChatMessage>
-            {/* An abort is a short, settled status change rather than sender
-                content or a recovery error. Keep Astryx's system notice as a
-                sibling of the assistant message, after the work it closes. */}
-            {ownsTurnChrome && turn.status === 'aborted' && (
-              <ChatSystemMessage icon={<Ban size={ICON_SIZE.meta} aria-hidden="true" />}>
-                {turnAbortStatusLabel(turn.abortSource, locale)}
-              </ChatSystemMessage>
             )}
+            </LocalizedChatMessage>
           </Fragment>
         );
       })}
@@ -912,6 +897,8 @@ export interface TurnFooterActionMeta {
   label: string;
   enabled: boolean;
   tooltip?: string;
+  /** Busy from click until the action settles — renders the spinner. */
+  pending?: boolean;
 }
 /**
  * Lineage badge rendered on a turn, either pointing to its origin
@@ -954,185 +941,162 @@ export interface TurnPresentation {
 export type TurnPresentationDeriver = (turns: readonly TurnViewModel[]) => TurnPresentation;
 
 /**
- * The turn's state, rendered as part of the turn's footer row.
- *
- * It shares that row rather than taking a line of its own: a second line between
- * the answer and the model name read as a stray paragraph, and the row it joins
- * is the one place guaranteed to be under the answer when the turn ends — a
- * growing reply cannot push it out of view the way the process disclosure at the
- * top is pushed. Running keeps the working cue (phrase + ticking clock) the
- * disclosure used to host; settled states the duration and the wall-clock time
- * the turn finished, which is what makes a transcript reviewable later — the
- * message's relative stamp says how long ago, not when.
+ * Below this, a `startedAt` is a placeholder rather than a time (the projection
+ * yields 0 for a turn whose messages carried no timestamp). 2001-09-09 in millis:
+ * comfortably after every real timestamp, comfortably before any clock a
+ * transcript could predate.
+ */
+const MIN_PLAUSIBLE_TURN_TS = 1_000_000_000_000;
+
+/**
+ * The turn's one status: the running cue while work is in flight, the settled
+ * outcome (word + duration) once the turn ends. Rendered inside the status row
+ * — as a process disclosure's summary when the turn has a work log, as a
+ * standalone row at the top of the answer otherwise — and nowhere else.
  */
-function TurnStatusLine(props: {
+export interface TurnStatusRowProps {
   status: TurnViewModel['status'];
-  startedAt: number;
+  startedAt?: number;
   durationMs?: number;
-  elapsedInProcess?: boolean;
-  /** A concrete activity (e.g. driving an app) outranks the playful phrase. */
-  activityLabel?: string;
   /** Work is actually arriving. Only consulted for the running arm. */
   running?: boolean;
-  /** A scheduled retry is waiting, not working. */
-  providerRetry?: boolean;
-}): ReactNode {
+  /** A scheduled/running provider retry replaces the working cue. */
+  providerRetry?: LiveProviderRetry;
+  /** A concrete activity (e.g. driving an app) outranks the playful phrase. */
+  activityLabel?: string;
+}
+
+function TurnStatusRow(props: TurnStatusRowProps): ReactNode {
   const locale = useUiLocale();
   const copy = getConversationCopy(locale).messages;
 
   if (props.status === 'running') {
-    // A retry is not progress: nothing is produced while the client waits, and
-    // the retry indicator already says what is happening. A live turn whose
-    // stream is not running has nothing to announce either.
-    if (props.elapsedInProcess || props.providerRetry || props.running === false) return null;
-    return <TurnRunningStatus startedAt={props.startedAt || undefined} activityLabel={props.activityLabel} />;
+    const retry = props.providerRetry?.event;
+    if (retry) {
+      // The banner below the row owns the countdown and the reason; the row
+      // states the wait without a per-second tick.
+      return (
+        <span className="maka-turn-statusbar-text">
+          {retry.phase === 'scheduled'
+            ? copy.providerRetryWaiting(retry.attempt, retry.maxAttempts)
+            : copy.providerRetryStarted(retry.attempt, retry.maxAttempts)}
+        </span>
+      );
+    }
+    // Live but nothing arriving (a prompt owns the next action): an honest
+    // in-progress label, not a clock billing time the turn is not burning.
+    if (props.running === false) {
+      return <span className="maka-turn-statusbar-text">{copy.processing}</span>;
+    }
+    return <TurnRunningStatus startedAt={props.startedAt} activityLabel={props.activityLabel} />;
   }
 
   // Localized duration, not the compact `3m 33s` the live counter uses: this
   // reads as prose in the transcript, and a Chinese UI must not show English units.
-  const elapsed = props.durationMs === undefined || props.elapsedInProcess
+  const elapsed = props.durationMs === undefined
     ? undefined
     : copy.processDuration(
         Math.floor(props.durationMs / 60_000),
         Math.floor(props.durationMs / 1_000) % 60,
       );
-  // `startedAt + durationMs` is the same arithmetic the projection used to
-  // derive the duration, so the two cannot disagree. A placeholder start (the
-  // projection yields 0 for a turn whose messages carried none) would date the
-  // turn to 1970, so an implausibly early value suppresses the time instead.
-  const finishedAt =
-    props.durationMs !== undefined && props.startedAt > MIN_PLAUSIBLE_TURN_TS
-      ? formatAbsoluteTimestamp(props.startedAt + props.durationMs, locale)
-      : undefined;
-
   const label =
     props.status === 'completed'
-      ? finishedAt !== undefined
-        ? copy.turnStatusCompleted(elapsed, finishedAt)
-        : elapsed !== undefined
-          ? copy.turnStatusCompletedAloneWithDuration(elapsed)
-          : copy.turnStatusCompletedAlone
+      ? copy.turnStatusCompleted(elapsed)
       : props.status === 'aborted'
-        ? props.durationMs === undefined
-          ? undefined
-          : copy.turnStatusAborted(elapsed)
-        : props.durationMs === undefined
-          ? undefined
-          : copy.turnStatusFailed(elapsed);
-  if (label === undefined) return null;
-  return <span className="maka-turn-status-line" data-turn-status={props.status}>{label}</span>;
+        ? copy.turnStatusAborted(elapsed)
+        : copy.turnStatusFailed(elapsed);
+  return <span className="maka-turn-statusbar-text">{label}</span>;
 }
 
-/**
- * Below this, a `startedAt` is a placeholder rather than a time (the projection
- * yields 0 for a turn whose messages carried no timestamp). 2001-09-09 in millis:
- * comfortably after every real timestamp, comfortably before any clock a
- * transcript could predate.
- */
-const MIN_PLAUSIBLE_TURN_TS = 1_000_000_000_000;
-
-/** The turn's state, then the quieter model/cost facts, in one row. */
-function TurnFooterMeta(props: { status: ReactNode; model?: string }): ReactNode {
-  if (props.status === null && props.model === undefined) return undefined;
+/** Standalone status row for a turn with no process disclosure to carry it —
+ *  and for the pre-turn cue before the transcript contains the turn. */
+export function TurnStatusBar(props: TurnStatusRowProps) {
   return (
-    <>
-      {props.status}
-      {props.status !== null && props.model !== undefined ? <span className="maka-turn-footer-meta-separator"> · </span> : null}
-      {props.model !== undefined ? <span className="maka-turn-footer-meta-model">{props.model}</span> : null}
-    </>
+    <div className="maka-turn-statusbar" data-turn-status={props.status}>
+      <TurnStatusRow {...props} />
+    </div>
   );
 }
 
-export function TurnFooter(props: {
+function TurnFooter(props: {
   turnId?: string;
   actions: ReadonlyArray<TurnFooterActionMeta>;
-  /**
-   * The turn's one-line meta, beside the actions. A node rather than a string so
-   * the turn's state can share this row with the model name: two lines where one
-   * will do reads as a stray paragraph between the answer and the footer.
-   */
-  meta?: ReactNode;
+  /** Model · cost facts, before the actions. */
+  meta?: string;
+  /** Wall-clock finish time, rendered as a semantic Timestamp. */
+  finishedAt?: number;
   live?: boolean;
-  activity?: ReactNode;
   context: string;
   onAction?: (actionId: TurnFooterActionMeta['id']) => void;
   /** Assistant text used by the inline copy action. */
   assistantText?: string;
 }) {
   const copy = getConversationCopy(useUiLocale()).messages;
-  const copyFeedback = useClipboardCopyFeedback(1400, { redact: false });
-  const copyPhase = copyFeedback.phaseFor('answer');
-
-  async function handleClick(action: TurnFooterActionMeta) {
-    if (action.id === 'copy') {
-      await copyFeedback.copy('answer', props.assistantText ?? '');
-      return;
-    }
-    props.onAction?.(action.id);
-  }
+  const hasSlotContent = useMakaClientSlotOccupied('conversation.turn.footer');
+  const hasFooterContent =
+    props.meta !== undefined || props.actions.length > 0 || hasSlotContent;
+  const isToolbar = !props.live && (props.actions.length > 0 || hasSlotContent);
   return (
     <ChatMessageMetadata
       className={markerVariants({ variant: 'footer' })}
-      data-live-streaming={props.live ? 'true' : undefined}
-      role={props.live ? undefined : 'toolbar'}
-      aria-label={props.live ? undefined : copy.answerActionsAriaLabel(props.context)}
+      role={isToolbar ? 'toolbar' : undefined}
+      aria-label={isToolbar ? copy.answerActionsAriaLabel(props.context) : undefined}
+      timestamp={
+        props.finishedAt !== undefined
+          ? <Timestamp value={props.finishedAt} format="auto" isLive />
+          : undefined
+      }
       footer={
+        hasFooterContent ? (
         <>
-          {props.activity ?? <>
-            {props.meta ? <span className="maka-turn-footer-meta">{props.meta}</span> : null}
-            {props.actions.map((action) => {
-              const isCopyAction = action.id === 'copy';
-              const copyFeedbackLabel = copyPhase === 'pending'
-                ? `${copy.copying}…`
-                : copyPhase === 'copied'
-                  ? copy.copied
-                  : copyPhase === 'failed'
-                    ? copy.copyFailed
-                    : action.label;
-              const tooltipText = isCopyAction
-                ? (copyPhase ? copyFeedbackLabel : (action.tooltip ?? action.label))
-                : (action.tooltip ?? action.label);
-              const icon = isCopyAction && copyPhase === 'copied'
-                ? <Icon icon="check" size="sm" />
-                : STATUS_FOOTER_ICON[action.id];
-              return (
-                <UiIconButton
-                  key={action.id}
-                  label={copy.answerActionAriaLabel(
-                    action.label,
-                    props.context,
-                  )}
-                  tooltip={tooltipText}
-                  icon={icon}
-                  variant="ghost"
-                  size="sm"
-                  className={markerVariants({ variant: 'footer-action' })}
-                  data-action={action.id}
-                  data-copy-feedback={isCopyAction && copyPhase ? copyPhase : undefined}
-                  isDisabled={!action.enabled}
-                  isLoading={
-                    isCopyAction ? copyPhase === 'pending' : action.tooltip === copy.processing
-                  }
-                  onClick={() => void handleClick(action)}
-                />
-              );
-            })}
-          </>}
-          <MakaClientSlotOutlet
-            name="conversation.turn.footer"
-            owner={{
-              turnId: props.turnId,
-              live: props.live === true,
-              assistantText: props.assistantText,
-            }}
-          />
+          {props.meta !== undefined ? (
+            <span className="maka-turn-footer-meta-model">{props.meta}</span>
+          ) : null}
+          {props.actions.map((action) =>
+            action.id === 'copy' ? (
+              <CopyButton
+                key="copy"
+                copyKey="answer"
+                text={props.assistantText ?? ''}
+                label={action.tooltip ?? action.label}
+                ariaLabel={copy.answerActionAriaLabel(action.label, props.context)}
+                disabled={!action.enabled}
+                dataAction="copy"
+              />
+            ) : (
+              <UiIconButton
+                key={action.id}
+                label={copy.answerActionAriaLabel(action.label, props.context)}
+                tooltip={action.tooltip ?? action.label}
+                icon={STATUS_FOOTER_ICON[action.id]}
+                variant="ghost"
+                size="sm"
+                className={markerVariants({ variant: 'footer-action' })}
+                data-action={action.id}
+                isDisabled={!action.enabled}
+                isLoading={action.pending === true}
+                onClick={() => props.onAction?.(action.id)}
+              />
+            ),
+          )}
+          {hasSlotContent ? (
+            <MakaClientSlotOutlet
+              name="conversation.turn.footer"
+              owner={{
+                turnId: props.turnId,
+                live: props.live === true,
+                assistantText: props.assistantText,
+              }}
+            />
+          ) : null}
         </>
+        ) : undefined
       }
     />
   );
 }
 
-/** "model · cost" for a settled turn; the elapsed lives in the process row. */
+/** "model · cost" facts for the footer; the turn's state lives in the status row. */
 function turnMetaSummary(turn: TurnViewModel): string | undefined {
   const parts: string[] = [];
   if (turn.modelId) parts.push(turn.modelId);
@@ -1149,10 +1113,10 @@ const ELAPSED_TICK_MS = 1_000;
 const WORKING_PHRASE_INTERVAL_MS = 20_000;
 
 /**
- * One live activity cue, inside the current process summary or, before any
- * process exists, in the footer. Working phrases express liveness, not stages
- * or completed progress. Concrete activity labels take precedence. Rotation
- * shares the elapsed clock and never changes the accessible status name.
+ * One live activity cue, inside the turn's status row. Working phrases
+ * express liveness, not stages or completed progress. Concrete activity
+ * labels take precedence. Rotation shares the elapsed clock and never
+ * changes the accessible status name.
  *
  * `startedAt` is the turn's own first-message timestamp, so the clock measures
  * the wait the user actually experienced — from pressing send, not from
@@ -1254,14 +1218,6 @@ export function ModelProviderRetryIndicator(props: { retry: LiveProviderRetry })
       ? 0
       : // nowMs undefined (SSR / first paint) reads as zero elapsed.
         providerRetryDisplaySeconds(retry, (nowMs ?? receivedAtMs) - receivedAtMs);
-  const titleText =
-    retry.phase === 'scheduled'
-      ? copy.providerRetryScheduled(
-          displaySeconds,
-          retry.attempt,
-          retry.maxAttempts,
-        )
-      : copy.providerRetryStarted(retry.attempt, retry.maxAttempts);
   // The banner is a role="status" live region: a title that changes every
   // second would be announced every second — for hours during a quota wait.
   // The ticking text is aria-hidden; the region exposes a stable label that
@@ -1280,14 +1236,22 @@ export function ModelProviderRetryIndicator(props: { retry: LiveProviderRetry })
             'aria-label': `${copy.providerRetryReason[retry.reason]} · ${copy.providerRetryWaiting(retry.attempt, retry.maxAttempts)}`,
           }
         : {})}
-      title={scheduledA11y ? <span aria-hidden="true">{titleText}</span> : titleText}
-      description={
+      title={
         scheduledA11y ? (
-          <span aria-hidden="true">{copy.providerRetryReason[retry.reason]}</span>
+          <span aria-hidden="true">
+            {copy.providerRetryScheduled(displaySeconds, retry.attempt, retry.maxAttempts)}
+          </span>
         ) : (
+          // The status row already owns the attempt count; the banner carries
+          // the diagnostic.
           copy.providerRetryReason[retry.reason]
         )
       }
+      description={
+        scheduledA11y ? (
+          <span aria-hidden="true">{copy.providerRetryReason[retry.reason]}</span>
+        ) : undefined
+      }
     />
   );
 }
@@ -1455,18 +1419,21 @@ const TurnTimelineEntry = memo(function TurnTimelineEntry(props: {
 });
 
 /**
- * The turn's whole execution process (reasoning, intermediate commentary, tool
- * activity) as one in-flow disclosure: a titled header row and, when open, the
- * full body laid out in the transcript's own scroll path. The container's
- * border is the frame, so a collapsed box keeps its outline and shows only the
- * title row.
+ * The turn's execution process (reasoning, intermediate commentary, tool
+ * activity) under one disclosure. Live work stays expanded; a settled turn
+ * collapses and the reader's open/closed choice survives appended events.
+ *
+ * The LAST disclosure in a turn also carries the turn's status row as its
+ * summary (`statusRow`), so the turn's state lives in one place whether or
+ * not the turn has a work log. Earlier disclosures — and any in a turn that
+ * owns no chrome — keep the plain process label.
  */
-export const ProcessingBlock = memo(function ProcessingBlock(props: {
+const ProcessingBlock = memo(function ProcessingBlock(props: {
   activityObserved?: boolean;
   entries: FoldedTimelineChild[];
   running: boolean;
-  durationMs?: number;
-  activity?: { startedAt?: number; label?: string };
+  /** The turn's status row, rendered as this disclosure's summary. */
+  statusRow?: TurnStatusRowProps;
   onStreamingSettled?: (messageId?: string) => void;
   onOpenLinkedSession?(sessionId: string): void;
   initialLiveContent?: ReadonlyMap<string, string>;
@@ -1477,17 +1444,10 @@ export const ProcessingBlock = memo(function ProcessingBlock(props: {
   // A failed tool is an ordinary row: no label and no reveal of its own.
   const [manualOpen, setManualOpen] = useState<boolean | null>(null);
   const open = props.running || manualOpen === true;
-  const seconds = !props.running && props.durationMs !== undefined && Number.isFinite(props.durationMs)
-    ? Math.floor(Math.max(0, props.durationMs) / 1000)
-    : undefined;
-  const label = seconds === undefined
-    ? copy.processDetails
-    : copy.processDuration(Math.floor(seconds / 60), seconds % 60);
   return (
     <details
       className="maka-processing-sequence"
       data-maka-transcript-boundary=""
-      data-running={props.running ? 'true' : 'false'}
       open={open}
     >
       <summary
@@ -1500,13 +1460,12 @@ export const ProcessingBlock = memo(function ProcessingBlock(props: {
           if (!props.running) setManualOpen(!open);
         }}
       >
-        {props.activity ? (
-          <TurnRunningStatus
-            startedAt={props.activity.startedAt}
-            activityLabel={props.activity.label}
-          />
+        {props.statusRow ? (
+          <span className="maka-turn-statusbar" data-turn-status={props.statusRow.status}>
+            <TurnStatusRow {...props.statusRow} />
+          </span>
         ) : (
-          <span>{label}</span>
+          <span>{copy.processDetails}</span>
         )}
         {!props.running && <ChevronRight size={ICON_SIZE.meta} aria-hidden="true" />}
       </summary>
diff --git a/packages/ui/src/chat-view.tsx b/packages/ui/src/chat-view.tsx
index fc28dcf1aa..7c617f2378 100644
--- a/packages/ui/src/chat-view.tsx
+++ b/packages/ui/src/chat-view.tsx
@@ -43,25 +43,24 @@ import {
 } from './prompt-anchor-rail.js';
 import { useMessageSelectionQuote } from './use-message-selection-quote.js';
 import type { ProviderType } from '@maka/core/llm-connections';
-import type { SessionSummary, StoredMessage } from '@maka/core/session';
+import { isUserVisibleSessionSystemNote, type SessionSummary, type StoredMessage } from '@maka/core/session';
 import type {
   AttachmentRef,
   InlineReference,
   QuoteRef,
   ShellRunUpdate,
 } from '@maka/core/events';
-import { Button, ButtonGroup, ChatMessageList, EmptyState, HStack, Spinner, Text } from '@astryxdesign/core';
+import { Button, ButtonGroup, ChatMessageList, EmptyState, HStack, Spinner } from '@astryxdesign/core';
 import { useChatLayoutContext } from '@astryxdesign/core/Chat';
 import { useLayer } from '@astryxdesign/core/Layer';
-import { finalAssistantReplyText, materializeChat } from './materialize.js';
+import { finalAssistantReplyText } from './materialize.js';
 import { selectTailTransientMessages } from './transient-placement.js';
 import { useTranscriptProjection } from './use-transcript-projection.js';
-import type { LiveTurnProjection } from './live-turn-projection.js';
+import type { LiveProviderRetry, LiveTurnProjection } from './live-turn-projection.js';
 import {
   ModelProviderRetryIndicator,
   LocalizedChatMessage,
-  ProcessingBlock,
-  TurnFooter,
+  TurnStatusBar,
   TurnView,
   TransientUserMessage,
   type TurnFooterActionMeta,
@@ -352,14 +351,12 @@ export function ChatView(props: {
   const locale = useUiLocale();
   const conversationCopy = getConversationCopy(locale);
   const copy = conversationCopy.chat;
-  // chat survives for the empty-state path; the main message log is driven by
-  // `turns` (per @kenji UI-04 turn-grouping projection).
-  const drainingMessageIdsKey = JSON.stringify(
-    props.liveTurns?.flatMap((turn) => turn.steps.flatMap((step) => step.text ? [step.stepId] : [])) ?? [],
-  );
+  const drainingStepIdsKey = (props.liveTurns ?? [])
+    .flatMap((turn) => turn.steps.flatMap((step) => (step.text ? [step.stepId] : [])))
+    .join('\u0000');
   const drainingMessageIds = useMemo(
-    () => new Set<string>(JSON.parse(drainingMessageIdsKey) as string[]),
-    [drainingMessageIdsKey],
+    () => new Set<string>(drainingStepIdsKey ? drainingStepIdsKey.split('\u0000') : []),
+    [drainingStepIdsKey],
   );
   const visibleMessages = useMemo(
     () => drainingMessageIds.size > 0
@@ -367,7 +364,16 @@ export function ChatView(props: {
       : props.messages,
     [drainingMessageIds, props.messages],
   );
-  const chat = useMemo(() => materializeChat(visibleMessages, locale), [visibleMessages, locale]);
+  // Whether anything would render in the log — the empty-state gate, answered
+  // by a scan rather than materializing every row.
+  const hasVisibleChatContent = useMemo(
+    () => visibleMessages.some(
+      (message) => message.type === 'user'
+        || message.type === 'assistant'
+        || (message.type === 'system_note' && isUserVisibleSessionSystemNote(message.kind)),
+    ),
+    [visibleMessages],
+  );
   const transientMessages = (props.transientMessages ?? []).filter((message) => !message.pendingSteering && message.transientPlacement !== 'next_turn');
   // The projection owns the derived turns, so a turn nothing said anything
   // about keeps its object identity and its memoized TurnView skips — across
@@ -410,14 +416,18 @@ export function ChatView(props: {
   const isCompactionLive = props.activeTurn?.compacting === true;
   // overlayLiveTurn renders one "compacting" system row for a live compaction
   // Turn that has no assistant steps — including in a session with no settled
-  // chat messages yet. The empty-state decision (below) keys off `chat.length`,
-  // which does not see that overlaid row, so it must treat this as visible
-  // content or the row is hidden behind the empty hero.
+  // chat messages yet. The empty-state decision (below) keys off
+  // `hasVisibleChatContent`, which does not see that overlaid row, so it must
+  // treat this as visible content or the row is hidden behind the empty hero.
   const hasLiveCompactionRow = isCompactionLive && (activeContent?.steps.length ?? 0) === 0;
   const streamingActive = props.activeTurn !== undefined && !isCompactionLive;
   const tailTurnId = streamingActive ? props.activeTurn?.turnId : undefined;
   const runningStatus = streamingActive && !props.activeTurn?.awaitingInput;
   const hasRenderedLiveTurn = tailTurnId !== undefined && turns.some((turn) => turn.turnId === tailTurnId);
+  const preTurnRetry =
+    activeContent !== undefined && activeContent.turnId === tailTurnId
+      ? activeContent.providerRetry
+      : undefined;
   const boundaryOverlayTurnId = activeContent?.turnId
     ?? (streamingActive ? tailTurnId : undefined);
   const transformedUserTurnIds = useMemo(
@@ -681,12 +691,8 @@ export function ChatView(props: {
                   ))}
                 </section>
               )}
-              {/* The pre-Turn cue is the same summary row the process uses. */}
-              {runningStatus && (
-                <section className="maka-turn" data-live-streaming="true">
-                  <ProcessingBlock entries={[]} running activity={{}} />
-                </section>
-              )}
+              {/* The pre-Turn cue is the same status row the Turn will show. */}
+              {runningStatus && <PreTurnCue running />}
             </>
           ) : null}
         </ChatMessageList>
@@ -696,7 +702,7 @@ export function ChatView(props: {
   const hasVisibleConversationItem =
     conversationItemPlacement.byTurn.size > 0 || conversationItemPlacement.orphan !== undefined;
   const showEmptyState =
-    chat.length === 0
+    !hasVisibleChatContent
     && transientMessages.length === 0
     && !streamingActive
     && !hasVisibleConversationItem
@@ -800,7 +806,7 @@ export function ChatView(props: {
               {/* A transient is already the first visible conversation row.
                   Do not prepend the empty-chat Maka hero while that optimistic
                   message waits for durable transcript or live-turn identity. */}
-              {chat.length === 0
+              {!hasVisibleChatContent
                 && transientMessages.length === 0
                 && !streamingActive
                 ? emptyContent
@@ -899,29 +905,14 @@ export function ChatView(props: {
               )}
               {/* A send arm already names its Turn, but the transcript may not
                   contain it yet. Keep feedback below the pending prompt until
-                  that same TurnView can take over. */}
+                  that same TurnView can take over — and show it the way the
+                  TurnView will, so the handoff does not shift the row. */}
               {streamingActive && !hasRenderedLiveTurn && (
-                <section className="maka-turn" data-live-streaming="true">
-                  {activeContent && activeContent.turnId === tailTurnId && activeContent.providerRetry ? (
-                    <LocalizedChatMessage
-                      accessibleLabel={conversationCopy.messages.assistantAriaLabel}
-                      sender="assistant"
-                      className="maka-chat-message maka-assistant-answer"
-                    >
-                      <TurnFooter actions={[]} live context="" activity={
-                        <ModelProviderRetryIndicator retry={activeContent.providerRetry} />
-                      } />
-                    </LocalizedChatMessage>
-                  ) : runningStatus ? (
-                    // The waiting cue. This row stands in for the Turn until the
-                    // transcript contains it, and an empty disclosure has no
-                    // footer to host the cue — so the cue renders in the
-                    // disclosure here, and moves to the footer once the real
-                    // TurnView takes over. Passing `activity` is what selects
-                    // that form.
-                    <ProcessingBlock entries={[]} running activity={{}} />
-                  ) : null}
-                </section>
+                preTurnRetry ? (
+                  <PreTurnCue providerRetry={preTurnRetry} />
+                ) : runningStatus ? (
+                  <PreTurnCue running />
+                ) : null
               )}
               {conversationItemPlacement.orphan && (
                 <Fragment key={conversationItemPlacement.orphan.id}>
@@ -991,6 +982,28 @@ export function ChatView(props: {
 }
 
 /** Turns holding document focus or a selection endpoint; virtualization must not unmount them. */
+/**
+ * The cue shown before the transcript contains the Turn: the same status row
+ * the TurnView will render, so the handoff does not shift the row.
+ */
+function PreTurnCue(props: { running?: boolean; providerRetry?: LiveProviderRetry }) {
+  const copy = getConversationCopy(useUiLocale()).messages;
+  return (
+    <section className="maka-turn" data-live-streaming="true">
+      <LocalizedChatMessage
+        accessibleLabel={copy.assistantAriaLabel}
+        sender="assistant"
+        className="maka-chat-message maka-assistant-answer"
+      >
+        <div className="maka-assistant-answer-content">
+          <TurnStatusBar status="running" running={props.running} providerRetry={props.providerRetry} />
+          {props.providerRetry ? <ModelProviderRetryIndicator retry={props.providerRetry} /> : null}
+        </div>
+      </LocalizedChatMessage>
+    </section>
+  );
+}
+
 /**
  * virtua disables pointer events while its scroller moves, and a streaming
  * answer moves the pinned scroller every frame, which would leave every Turn
diff --git a/packages/ui/src/conversation-copy.ts b/packages/ui/src/conversation-copy.ts
index 016a6258cf..1aceae7a0c 100644
--- a/packages/ui/src/conversation-copy.ts
+++ b/packages/ui/src/conversation-copy.ts
@@ -107,10 +107,6 @@ export interface ConversationCopy {
     reorderQueuedEntry: string;
     stopLabel: string;
     stopping: string;
-    streaming: string;
-    processing: string;
-    continuing: string;
-    interruptHint: string;
     addContext: string;
     /** Noun label for the composer drawer's staged quotes/attachments — the
      *  collapsed badge, the drawer group's accessible name, and the collapse
@@ -268,14 +264,10 @@ export interface ConversationCopy {
     you: string;
     assistant: string;
     processing: string;
-    continuing: string;
     workingPhrases: readonly string[];
     processDetails: string;
     processDuration: (minutes: number, seconds: number) => string;
-    turnStatusRunning: (elapsed: string) => string;
-    turnStatusCompleted: (elapsed: string | undefined, at: string) => string;
-    turnStatusCompletedAlone: string;
-    turnStatusCompletedAloneWithDuration: (elapsed: string) => string;
+    turnStatusCompleted: (elapsed?: string) => string;
     turnStatusAborted: (elapsed?: string) => string;
     turnStatusFailed: (elapsed?: string) => string;
     providerRetryScheduled: (seconds: number, attempt: number, maxAttempts: number) => string;
@@ -323,8 +315,6 @@ export interface ConversationCopy {
     quoteExpandAriaLabel: string;
     quoteCollapseAriaLabel: string;
     removeQuoteAriaLabel: string;
-    aborted: string;
-    abortedByStop: string;
     systemNotes: {
       contextCompacting: string;
       contextCompactionUnobserved: string;
@@ -464,8 +454,7 @@ const CONVERSATION_COPY = {
       queueShortcuts: { apple: 'Cmd+Enter:转向(Steering)\nEnter:下一轮(Follow-up)\nShift+Enter:换行', other: 'Ctrl+Enter:转向(Steering)\nEnter:下一轮(Follow-up)\nShift+Enter:换行' },
       promoteQueuedEntry: '调整方向', editQueuedEntry: '编辑', saveQueuedEntry: '保存', cancelQueuedEntryEdit: '取消编辑', deleteQueuedEntry: '删除', reorderQueuedEntry: '拖动排序',
       stopLabel: '停止', stopping: '停止中…',
-      streaming: 'Maka 正在回答…', processing: 'Maka 正在处理…', continuing: 'Maka 继续中…',
-      interruptHint: '或点停止中断', addContext: '添加上下文', stagedContext: '附加内容',
+      addContext: '添加上下文', stagedContext: '附加内容',
       selectModel: '选择模型', dropToImport: '松开以导入文件内容', addingAttachment: '正在添加附件', addFileOrDirectory: '添加文件', referenceFolder: '引用文件夹',
       chooseSkill: '选择技能', noSkillsAvailable: '当前没有可用技能',
       setGoal: '设定 Goal…', goalAlreadySet: '当前会话已有进行中的 Goal',
@@ -525,10 +514,10 @@ const CONVERSATION_COPY = {
       chooseAriaLabel: (label, branch) => branch ? `选择项目:${label},当前分支 ${branch}` : `选择项目:${label}`,
     },
     messages: {
-      you: '你', assistant: 'Maka', processing: '正在处理…', continuing: '继续中…', workingPhrases: ['正在琢磨…', '正在推敲…', '正在盘算…', '正在钻研…', '正在忙活…', '正在梳理…', '正在打磨…', '正在鼓捣…', '正在酝酿…', '正在攻坚…', '正在权衡…', '正在拾掇…'], processDetails: '执行过程', processDuration: (minutes, seconds) => `用时 ${minutes > 0 ? `${minutes} 分 ` : ''}${seconds} 秒`, turnStatusRunning: (elapsed: string) => `进行中 · 已用 ${elapsed}`, turnStatusCompleted: (elapsed: string | undefined, at: string) => ['完成', elapsed, at].filter(Boolean).join(' [...]
+      you: '你', assistant: 'Maka', processing: '正在处理…', workingPhrases: ['正在琢磨…', '正在推敲…', '正在盘算…', '正在钻研…', '正在忙活…', '正在梳理…', '正在打磨…', '正在鼓捣…', '正在酝酿…', '正在攻坚…', '正在权衡…', '正在拾掇…'], processDetails: '执行过程', processDuration: (minutes, seconds) => `用时 ${minutes > 0 ? `${minutes} 分 ` : ''}${seconds} 秒`, turnStatusCompleted: (elapsed?: string) => ['已完成', elapsed].filter(Boolean).join(' · '), turnStatusAborted: (elapsed?: string) => ['已中止', elapsed].filter(Boolean).join(' · '), turnStatusFaile [...]
       editMessageDisabledDirectoryReferences: '包含文件夹引用的历史消息暂不支持编辑并重发',
       userAriaLabel: '你发送的消息', systemAriaLabel: '系统消息', assistantAriaLabel: 'Maka 的回答', answerActionsAriaLabel: (context) => `回答操作${context ? `:${context}` : ''}`, answerActionAriaLabel: (action, context) => `${action}回答${context ? `:${context}` : ''}`, messageActionAriaLabel: (action, context) => `${action}消息${context ? `:${context}` : ''}`, sourceAriaLabel: '本轮回答的来源', derivativesAriaLabel: '本轮回答的衍生', scheduledTaskTriggered: '定时任务触发', scheduledTaskTitle: (id) => `由定时任务触发 · ${id}`, legac [...]
-      thinkingTruncatedTitle: '部分 reasoning 已截断;显示的是最近的内容', outputTruncatedTitle: '助手输出已超过单次回合上限,超出部分未渲染。如需完整内容请重新生成或查看持久化的任务日志。', removeAttachmentAriaLabel: (name) => `移除 ${name}`, quoteLabel: '引用', sessionSnapshotLabel: (name) => `会话:${name}`, sessionSnapshotPending: '发送时截取快照', sessionSnapshotCaptured: (iso, truncated) => `快照时间 ${iso}${truncated ? ' · 内容已截断' : ''}`, quoteExpandAriaLabel: '展开引用全文', quoteCollapseAriaLabel: '收起引用', removeQuoteAriaLabel: '移除引用', aborted: '已中断', abortedBySt [...]
+      thinkingTruncatedTitle: '部分 reasoning 已截断;显示的是最近的内容', outputTruncatedTitle: '助手输出已超过单次回合上限,超出部分未渲染。如需完整内容请重新生成或查看持久化的任务日志。', removeAttachmentAriaLabel: (name) => `移除 ${name}`, quoteLabel: '引用', sessionSnapshotLabel: (name) => `会话:${name}`, sessionSnapshotPending: '发送时截取快照', sessionSnapshotCaptured: (iso, truncated) => `快照时间 ${iso}${truncated ? ' · 内容已截断' : ''}`, quoteExpandAriaLabel: '展开引用全文', quoteCollapseAriaLabel: '收起引用', removeQuoteAriaLabel: '移除引用',
       systemNotes: {
         contextCompacting: '正在压缩上下文…',
         contextCompactionUnobserved: '上下文压缩状态暂不可用',
@@ -591,8 +580,7 @@ const CONVERSATION_COPY = {
       queueShortcuts: { apple: 'Cmd+Enter:轉向(Steering)\nEnter:下一輪(Follow-up)\nShift+Enter:換行', other: 'Ctrl+Enter:轉向(Steering)\nEnter:下一輪(Follow-up)\nShift+Enter:換行' },
       promoteQueuedEntry: '調整方向', editQueuedEntry: '編輯', saveQueuedEntry: '儲存', cancelQueuedEntryEdit: '取消編輯', deleteQueuedEntry: '刪除', reorderQueuedEntry: '拖動排序',
       stopLabel: '停止', stopping: '停止中…',
-      streaming: 'Maka 正在回答…', processing: 'Maka 正在處理…', continuing: 'Maka 繼續中…',
-      interruptHint: '或點停止中斷', addContext: '新增上下文', stagedContext: '附加內容',
+      addContext: '新增上下文', stagedContext: '附加內容',
       selectModel: '選擇模型', dropToImport: '鬆開以匯入檔案內容', addingAttachment: '正在新增附件', addFileOrDirectory: '新增檔案或目錄', referenceFolder: '引用資料夾',
       chooseSkill: '選擇技能', noSkillsAvailable: '目前沒有可用技能',
       setGoal: '設定 Goal…', goalAlreadySet: '目前會話已有進行中的 Goal',
@@ -652,10 +640,10 @@ const CONVERSATION_COPY = {
       chooseAriaLabel: (label, branch) => branch ? `選擇專案:${label},目前分支 ${branch}` : `選擇專案:${label}`,
     },
     messages: {
-      you: '你', assistant: 'Maka', processing: '正在處理…', continuing: '繼續中…', workingPhrases: ['正在琢磨…', '正在推敲…', '正在盤算…', '正在鑽研…', '正在忙活…', '正在梳理…', '正在打磨…', '正在鼓搗…', '正在醞釀…', '正在攻堅…', '正在權衡…', '正在拾掇…'], processDetails: '執行過程', processDuration: (minutes, seconds) => `用時 ${minutes > 0 ? `${minutes} 分 ` : ''}${seconds} 秒`, turnStatusRunning: (elapsed: string) => `進行中 · 已用 ${elapsed}`, turnStatusCompleted: (elapsed: string | undefined, at: string) => ['完成', elapsed, at].filter(Boolean).join(' [...]
+      you: '你', assistant: 'Maka', processing: '正在處理…', workingPhrases: ['正在琢磨…', '正在推敲…', '正在盤算…', '正在鑽研…', '正在忙活…', '正在梳理…', '正在打磨…', '正在鼓搗…', '正在醞釀…', '正在攻堅…', '正在權衡…', '正在拾掇…'], processDetails: '執行過程', processDuration: (minutes, seconds) => `用時 ${minutes > 0 ? `${minutes} 分 ` : ''}${seconds} 秒`, turnStatusCompleted: (elapsed?: string) => ['已完成', elapsed].filter(Boolean).join(' · '), turnStatusAborted: (elapsed?: string) => ['已中止', elapsed].filter(Boolean).join(' · '), turnStatusFaile [...]
       editMessageDisabledDirectoryReferences: '包含資料夾引用的歷史訊息暫不支援編輯並重發',
       userAriaLabel: '你傳送的訊息', systemAriaLabel: '系統訊息', assistantAriaLabel: 'Maka 的回答', answerActionsAriaLabel: (context) => `回答操作${context ? `:${context}` : ''}`, answerActionAriaLabel: (action, context) => `${action}回答${context ? `:${context}` : ''}`, messageActionAriaLabel: (action, context) => `${action}訊息${context ? `:${context}` : ''}`, sourceAriaLabel: '本輪迴答的來源', derivativesAriaLabel: '本輪迴答的衍生', scheduledTaskTriggered: '定時任務觸發', scheduledTaskTitle: (id) => `由定時任務觸發 · ${id}`, legac [...]
-      thinkingTruncatedTitle: '部分 reasoning 已截斷;顯示的是最近的內容', outputTruncatedTitle: '助手輸出已超過單次回合上限,超出部分未渲染。如需完整內容請重新生成或檢視持久化的任務記錄。', removeAttachmentAriaLabel: (name) => `移除 ${name}`, quoteLabel: '引用', sessionSnapshotLabel: (name) => `作業階段:${name}`, sessionSnapshotPending: '傳送時擷取快照', sessionSnapshotCaptured: (iso, truncated) => `快照時間 ${iso}${truncated ? ' · 內容已截斷' : ''}`, quoteExpandAriaLabel: '展開引用全文', quoteCollapseAriaLabel: '收起引用', removeQuoteAriaLabel: '移除引用', aborted: '(已中斷)', aborted [...]
+      thinkingTruncatedTitle: '部分 reasoning 已截斷;顯示的是最近的內容', outputTruncatedTitle: '助手輸出已超過單次回合上限,超出部分未渲染。如需完整內容請重新生成或檢視持久化的任務記錄。', removeAttachmentAriaLabel: (name) => `移除 ${name}`, quoteLabel: '引用', sessionSnapshotLabel: (name) => `作業階段:${name}`, sessionSnapshotPending: '傳送時擷取快照', sessionSnapshotCaptured: (iso, truncated) => `快照時間 ${iso}${truncated ? ' · 內容已截斷' : ''}`, quoteExpandAriaLabel: '展開引用全文', quoteCollapseAriaLabel: '收起引用', removeQuoteAriaLabel: '移除引用',
       systemNotes: {
         contextCompacting: '正在壓縮上下文…',
         contextCompactionUnobserved: '上下文壓縮狀態暫不可用',
@@ -718,8 +706,7 @@ const CONVERSATION_COPY = {
       queueShortcuts: { apple: 'Cmd+Enter: Steering\nEnter: Follow-up\nShift+Enter: New line', other: 'Ctrl+Enter: Steering\nEnter: Follow-up\nShift+Enter: New line' },
       promoteQueuedEntry: 'Steer', editQueuedEntry: 'Edit', saveQueuedEntry: 'Save', cancelQueuedEntryEdit: 'Cancel editing', deleteQueuedEntry: 'Delete', reorderQueuedEntry: 'Drag to reorder',
       stopLabel: 'Stop', stopping: 'Stopping…',
-      streaming: 'Maka is responding…', processing: 'Maka is working…', continuing: 'Maka is continuing…',
-      interruptHint: 'or click Stop to interrupt', addContext: 'Add context', stagedContext: 'staged items',
+      addContext: 'Add context', stagedContext: 'staged items',
       selectModel: 'Choose model', dropToImport: 'Drop to import file contents', addingAttachment: 'Adding attachment', addFileOrDirectory: 'Add files', referenceFolder: 'Reference folder',
       chooseSkill: 'Choose skills', noSkillsAvailable: 'No skills available',
       setGoal: 'Set a goal…', goalAlreadySet: 'This session already has a goal in progress',
@@ -776,10 +763,10 @@ const CONVERSATION_COPY = {
       chooseAriaLabel: (label, branch) => branch ? `Choose project: ${label}, current branch ${branch}` : `Choose project: ${label}`,
     },
     messages: {
-      you: 'You', assistant: 'Maka', processing: 'Working…', continuing: 'Continuing…', workingPhrases: ['Pondering…', 'Tinkering…', 'Untangling…', 'Digging in…', 'Mulling…', 'Chewing on it…', 'Wrangling…', 'Piecing it together…'], processDetails: 'Execution process', processDuration: (minutes, seconds) => `Worked for ${minutes > 0 ? `${minutes}m ` : ''}${seconds}s`, turnStatusRunning: (elapsed: string) => `Running · ${elapsed} elapsed`, turnStatusCompleted: (elapsed: string | undefined, [...]
+      you: 'You', assistant: 'Maka', processing: 'Working…', workingPhrases: ['Pondering…', 'Tinkering…', 'Untangling…', 'Digging in…', 'Mulling…', 'Chewing on it…', 'Wrangling…', 'Piecing it together…'], processDetails: 'Execution process', processDuration: (minutes, seconds) => `Worked for ${minutes > 0 ? `${minutes}m ` : ''}${seconds}s`, turnStatusCompleted: (elapsed?: string) => ['Done', elapsed].filter(Boolean).join(' · '), turnStatusAborted: (elapsed?: string) => ['Stopped', elapse [...]
       editMessageDisabledDirectoryReferences: 'Edit & resend does not yet support messages with folder references',
       userAriaLabel: 'Your message', systemAriaLabel: 'System message', assistantAriaLabel: "Maka's response", answerActionsAriaLabel: (context) => `Response actions${context ? `: ${context}` : ''}`, answerActionAriaLabel: (action, context) => `${action} response${context ? `: ${context}` : ''}`, messageActionAriaLabel: (action, context) => `${action} message${context ? `: ${context}` : ''}`, sourceAriaLabel: 'Source of this response', derivativesAriaLabel: 'Responses derived from this o [...]
-      thinkingTruncatedTitle: 'Some reasoning was truncated; showing the most recent content', outputTruncatedTitle: 'The assistant output exceeded the per-turn limit. Regenerate it or inspect the persisted task log for the complete content.', removeAttachmentAriaLabel: (name) => `Remove ${name}`, quoteLabel: 'Quote', sessionSnapshotLabel: (name) => `Session: ${name}`, sessionSnapshotPending: 'snapshot captured when sent', sessionSnapshotCaptured: (iso, truncated) => `captured ${iso}${tr [...]
+      thinkingTruncatedTitle: 'Some reasoning was truncated; showing the most recent content', outputTruncatedTitle: 'The assistant output exceeded the per-turn limit. Regenerate it or inspect the persisted task log for the complete content.', removeAttachmentAriaLabel: (name) => `Remove ${name}`, quoteLabel: 'Quote', sessionSnapshotLabel: (name) => `Session: ${name}`, sessionSnapshotPending: 'snapshot captured when sent', sessionSnapshotCaptured: (iso, truncated) => `captured ${iso}${tr [...]
       systemNotes: {
         contextCompacting: 'Compacting context…',
         contextCompactionUnobserved: 'Context compaction status unavailable',
diff --git a/packages/ui/src/materialize.ts b/packages/ui/src/materialize.ts
index d428d7fce8..99cef874bc 100644
--- a/packages/ui/src/materialize.ts
+++ b/packages/ui/src/materialize.ts
@@ -189,54 +189,6 @@ function systemNoteLabel(kind: string, data: unknown, locale: UiLocale): string
   return kind;
 }
 
-export function materializeChat(
-  messages: readonly StoredMessage[],
-  locale: UiLocale,
-): ChatItem[] {
-  const items: ChatItem[] = [];
-  for (const message of messages) {
-    if (message.type === "user") {
-      items.push({
-        id: message.id,
-        role: "user",
-        text: message.displayText ?? message.text,
-        ts: message.ts,
-        ...(message.attachments && message.attachments.length > 0
-          ? { attachments: message.attachments }
-          : {}),
-        ...(message.quotes && message.quotes.length > 0
-          ? { quotes: message.quotes }
-          : {}),
-        ...(message.directoryReferences ? { directoryReferences: message.directoryReferences } : {}),
-        ...(message.inlineReferences !== undefined
-          ? { inlineReferences: message.inlineReferences }
-          : {}),
-        ...(message.origin ? { hostOrigin: message.origin } : {}),
-      });
-    }
-    if (message.type === "assistant")
-      items.push({
-        id: message.id,
-        role: "assistant",
-        text: message.text,
-        ts: message.ts,
-      });
-    if (
-      message.type === "system_note" &&
-      isUserVisibleSessionSystemNote(message.kind)
-    ) {
-      items.push({
-        id: message.id,
-        role: "system",
-        text: systemNoteLabel(message.kind, message.data, locale),
-        compactionState: message.kind === "context_compacted" ? "compacted" : message.kind === "context_compaction_failed_open" ? "failed" : undefined,
-        ts: message.ts,
-      });
-    }
-  }
-  return items;
-}
-
 export function materializeTools(
   messages: readonly StoredMessage[],
 ): ToolActivityItem[] {
@@ -348,9 +300,7 @@ function mergeLiveOverPersisted(
 /**
  * One entry on a turn's render timeline — interleaved thinking, answer, tool,
  * and mid-turn user messages in conversational order. This is the
- * rendering source of truth (see `TurnViewModel.timeline`); the aggregate
- * `assistant` field is a legacy aggregate; it does not identify the reply
- * used by rendering, copy or prompt rail previews.
+ * rendering source of truth (see `TurnViewModel.timeline`).
  *
  * - `thinking`: one reasoning block (a step's thinking; adjacent blocks are
  *   pre-merged with `\n\n`). Rendered as a collapsed "深度思考" disclosure.
@@ -411,19 +361,13 @@ export interface TurnViewModel {
    * Absent on hand-built view models, which are treated as non-evidence.
    */
   statusSource?: TurnRecord["statusSource"];
-  parentTurnId?: string;
   retriedFromTurnId?: string;
   regeneratedFromTurnId?: string;
-  branchOfTurnId?: string;
-  parentSessionId?: string;
-  abortedAt?: number;
-  abortSource?: string;
   errorClass?: string;
   failureMessage?: string;
   retry?: import('@maka/core/model-failure').ModelRetryDecision;
   user?: ChatItem;
   tools: ToolActivityItem[];
-  assistant?: ChatItem;
   /**
    * Interleaved thinking / answer / tool / steering sequence in production order — the
    * rendering source of truth for the turn body. Built from the per-step
@@ -772,23 +716,12 @@ export function materializeTurns(
         turnId,
         status: record?.status ?? "completed",
         statusSource: record?.statusSource ?? "inferred",
-        ...(record?.parentTurnId ? { parentTurnId: record.parentTurnId } : {}),
         ...(record?.retriedFromTurnId
           ? { retriedFromTurnId: record.retriedFromTurnId }
           : {}),
         ...(record?.regeneratedFromTurnId
           ? { regeneratedFromTurnId: record.regeneratedFromTurnId }
           : {}),
-        ...(record?.branchOfTurnId
-          ? { branchOfTurnId: record.branchOfTurnId }
-          : {}),
-        ...(record?.parentSessionId
-          ? { parentSessionId: record.parentSessionId }
-          : {}),
-        ...(record?.abortedAt !== undefined
-          ? { abortedAt: record.abortedAt }
-          : {}),
-        ...(record?.abortSource ? { abortSource: record.abortSource } : {}),
         ...(record?.failureMessage ? { failureMessage: record.failureMessage } : {}),
         ...(record?.errorClass ? { errorClass: record.errorClass } : {}),
         ...(record?.retry ? { retry: record.retry } : {}),
@@ -820,23 +753,6 @@ export function materializeTurns(
         turn.user = user;
       }
     } else if (message.type === "assistant") {
-      // A turn now holds one AssistantMessage per model step. Concatenate their
-      // text in step order for aggregate consumers; keep
-      // the first step's id as the stable anchor, and advance ts to the latest
-      // step so durationMs measures to the turn's final assistant message.
-      const priorText = turn.assistant?.text ?? "";
-      const mergedText =
-        message.text.length > 0
-          ? priorText.length > 0
-            ? `${priorText}\n\n${message.text}`
-            : message.text
-          : priorText;
-      turn.assistant = {
-        id: turn.assistant?.id ?? message.id,
-        role: "assistant",
-        text: mergedText,
-        ts: message.ts,
-      };
       turn.modelId = message.modelId;
       // Time-to-answer measured from the earliest message in this turn (usually
       // the user's send) to the turn's final assistant message ts. Tool runs are
diff --git a/packages/ui/src/primitives/chat.tsx b/packages/ui/src/primitives/chat.tsx
index a3ce8b5eaa..eacc856277 100644
--- a/packages/ui/src/primitives/chat.tsx
+++ b/packages/ui/src/primitives/chat.tsx
@@ -97,52 +97,10 @@ export function Marker({
 }
 
 /**
- * Tool-result preview surfaces (issue #332, PR4).
- *
- * Retires the bespoke `OverlayPreview` family shell CSS — the shared
- * height-bounded `.maka-overlay-preview` base + `.maka-overlay-close`, the
- * structured cards (`.maka-tool-diff*`, `.maka-tool-terminal*`,
- * `.maka-web-search-*`), and the separate `.maka-load-tool-*` result card —
- * represented by package-owned semantic classes in `styles.css`.
- *
- * Two structural notes:
- *   1. The chat structured cards carry BOTH the shared `overlay` base AND a kind
- *      part (the retired DOM had `class="maka-overlay-preview maka-tool-diff"`),
- *      applied as `cn(previewVariants({part:'overlay'}), previewVariants({part:'diff'}))`.
- *      The kind class follows the shared base and may refine it by normal CSS
- *      source order.
- *   2. Leaf rules authored as descendant selectors on bare tags (e.g.
- *      `.maka-web-search-preview > header strong`)
- *      remain descendants of the stable semantic container class.
- *
- * Unlike the other tables, `previewVariants` IS exported on the `@maka/ui` barrel
- * (`index.ts`): the file-diff `diff` / `diff-body` / `diff-line` parts have a
- * SECOND, cross-package consumer — `apps/desktop`'s `artifact-preview.tsx`, whose
- * non-chat diff pane shared the retired `.maka-tool-diff*` shell and co-migrates
- * here. That second consumer is exactly the condition the off-barrel convention
- * named for promotion, so the export is the rule, not an exception.
- *
- * Preview card shells use the shared shadow-ring recipe instead of hard visual
- * borders. Dividers inside the cards remain real borders because they separate
- * rows and headers.
+ * Tool-result preview surfaces (issue #332, PR4) — the semantic classes
+ * `DiffCodePreview` and the load-tool result card style through.
  */
 const PREVIEW_PART_CLASSES = {
-      // ── shared base ──────────────────────────────────────────────────────
-      // `.maka-overlay-preview` — the height-bounded mono container every
-      // overlay preview shares.
-      overlay:
-        "maka-overlay-preview",
-      // Overlay placement only; Button owns the dismiss action's proportions.
-      close: "maka-overlay-close",
-
-      // ── file diff (shared with apps/desktop artifact-preview) ─────────────
-      // `.maka-tool-diff` — the card shell. `[white-space:normal]` overrides the
-      // overlay base's pre-wrap on the chat consumer.
-      diff:
-        "maka-tool-diff",
-      // `.maka-tool-diff-paths` (+ its bare `code` children).
-      "diff-paths":
-        "maka-tool-diff-paths",
       // `.maka-tool-diff-body` — the scrolling mono `<pre>`.
       "diff-body":
         "maka-tool-diff-body",
@@ -150,50 +108,6 @@ const PREVIEW_PART_CLASSES = {
       "diff-line":
         "maka-tool-diff-line",
 
-      // ── terminal ──────────────────────────────────────────────────────────
-      // `.maka-tool-terminal` — same card shell as diff.
-      terminal:
-        "maka-tool-terminal",
-      // `.maka-tool-terminal-head`
-      "terminal-head":
-        "maka-tool-terminal-head",
-      // `.maka-tool-terminal-cwd`
-      "terminal-cwd": "maka-tool-terminal-cwd",
-      // `.maka-tool-terminal-cmd` — the ellipsized command line.
-      "terminal-cmd":
-        "maka-tool-terminal-cmd",
-      // `.maka-tool-terminal-exit` (+ the `[data-ok]` success/failure badge).
-      "terminal-exit":
-        "maka-tool-terminal-exit",
-      // `.maka-tool-terminal-empty`
-      "terminal-empty":
-        "maka-tool-terminal-empty",
-      // `.maka-tool-terminal-stream` (+ the `[data-stream]` stdout/stderr tone).
-      "terminal-stream":
-        "maka-tool-terminal-stream",
-      // `.maka-tool-terminal-truncated-note` (+ its `> span` min-width reset).
-      "terminal-truncated-note":
-        "maka-tool-terminal-truncated-note",
-      // `.maka-tool-terminal-copy` (UiButton) + the shared copy-state tints.
-      "terminal-copy":
-        "maka-tool-terminal-copy",
-
-      // ── web search ────────────────────────────────────────────────────────
-      // `.maka-web-search-preview` (+ its bare `> header` / list leaves; the
-      // container inherits the overlay base's mono font, never resetting it).
-      "web-search":
-        "maka-web-search-preview",
-      // `.maka-web-search-error` — the destructive container tint.
-      "web-search-error":
-        "maka-web-search-error",
-      // `.maka-web-search-error-message`
-      "web-search-error-message":
-        "maka-web-search-error-message",
-      // `.maka-web-search-error-repair`
-      "web-search-error-repair":
-        "maka-web-search-error-repair",
-
-      // ── load-tool result card (separate base; not an overlay) ─────────────
       // `.maka-load-tool-preview` (+ its `p` margin reset).
       "load-tool":
         "maka-load-tool-preview",
diff --git a/packages/ui/src/styles.css b/packages/ui/src/styles.css
index 1e273f7789..5ba20f3531 100644
--- a/packages/ui/src/styles.css
+++ b/packages/ui/src/styles.css
@@ -205,59 +205,30 @@
   font-size: 0.75rem;
 }
 
-/* Under both senders, the time and delivery status are content and stay put;
-   the actions and the turn meta are chrome and surface on hover or focus of
-   the message they belong to. A live footer shows its activity row outright.
-
-   A transparent action still takes clicks. `pointer-events: none` looks like
-   the fix and is not obviously safe: it makes the pointer fall through to the
-   ancestor whose `:hover` is what restores the button, so being clickable
-   again depends on the browser redoing hit-testing on a later mouse event. */
-.maka-turn-footer-action {
-  opacity: 0;
-  transition: opacity var(--duration-quick) var(--ease-out-strong);
-}
-.maka-chat-message:hover .maka-turn-footer-action,
-.maka-chat-message:focus-within .maka-turn-footer-action {
-  opacity: 1;
-}
-/*
-   The footer's meta row holds two facts of different weight, so it cannot fade
-   as one unit:
-     - the turn's STATE (running / done + when) is what the reader came for while
-       a reply grows, so it is always visible;
-     - the model name and cost are reference facts, quiet until asked for.
-   Fading the whole row hid the state behind a hover, which is the one thing the
-   row exists to show without one.
-*/
-.maka-turn-footer-meta-model {
-  opacity: 0;
-  transition: opacity var(--duration-quick) var(--ease-out-strong);
-}
-.maka-turn-footer-meta-separator {
-  opacity: 0;
-  transition: opacity var(--duration-quick) var(--ease-out-strong);
-}
-.maka-chat-message:hover .maka-turn-footer-meta-model,
-.maka-chat-message:focus-within .maka-turn-footer-meta-model,
-.maka-chat-message:hover .maka-turn-footer-meta-separator,
-.maka-chat-message:focus-within .maka-turn-footer-meta-separator {
-  opacity: 1;
-}
-/* The turn's state, inside the footer's meta row rather than on a line of its
-   own: one line reads as the turn's footer, two read as a stray paragraph
-   between the answer and the model name. Always visible — see the meta row's
-   rule above: a reader watching a long reply needs to know whether it is still
-   running, and after it settles, when it finished. */
-.maka-turn-status-line {
+/* The turn's one state row: the running cue while live, the outcome once
+   settled. It either heads the turn's last process disclosure (as the summary
+   content) or stands alone at the top of the answer; the hairline separates
+   the state from the work below it either way. */
+.maka-turn-statusbar {
+  display: flex;
+  align-items: center;
+  gap: 6px;
+  min-width: 0;
+  padding-block: var(--space-0-5);
+  border-bottom: 1px solid var(--border);
   color: var(--muted-foreground);
-  font: var(--maka-text-supporting);
+  font: var(--maka-text-body);
   font-variant-numeric: tabular-nums;
 }
-.maka-turn-status-line[data-turn-status='failed'] {
+.maka-turn-statusbar[data-turn-status='failed'] {
   color: var(--destructive);
 }
-.maka-turn-footer-meta-separator,
+/* Inside a summary the bar fills the row so its rule spans to the chevron. */
+.maka-processing-summary > .maka-turn-statusbar {
+  flex: 1;
+  padding-block: 0;
+}
+.maka-turn-statusbar-text { font-weight: var(--font-weight-medium); }
 .maka-turn-footer-meta-model {
   color: var(--muted-foreground);
 }
@@ -272,16 +243,9 @@
 .maka-subagent-session-label { width: 100%; min-width: 0; }
 .maka-subagent-session-summary { min-width: 0; flex: 1 1 auto; }
 .maka-subagent-session-end { color: var(--muted-foreground); }
-.maka-turn-processing,
-.maka-turn-status {
+.maka-turn-processing {
   font: var(--maka-text-body);
- display: flex; align-items: center; gap: 8px; padding-block: 2px; color: var(--muted-foreground); }
-/* The live status is the one thing in the turn that is about to happen rather
-   than something that already did, so it gets air the blocks above it do not
-   (they sit on the column's own 8px). Hugging the last tool card read as part
-   of that card. */
-.maka-turn-processing { margin-top: 8px; }
-.maka-turn-provider-retry { margin-top: 8px; }
+ display: flex; align-items: center; gap: 8px; color: var(--muted-foreground); }
 .maka-turn-indicator-text { display: inline-flex; min-width: 0; align-items: center; gap: 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
 .maka-turn-status-label { font-weight: var(--font-weight-medium); }
 .maka-turn-status-separator { color: var(--foreground-alpha-16); }
@@ -325,7 +289,6 @@
 .maka-processing-summary:hover { color: var(--foreground); }
 .maka-processing-summary:focus-visible { outline: var(--focus-ring-width) solid var(--focus-ring); outline-offset: calc(-1 * var(--focus-ring-width)); }
 .maka-processing-summary > svg { flex-shrink: 0; transition: transform var(--duration-fast) var(--ease-standard); }
-.maka-processing-summary .maka-turn-processing { margin: 0; }
 .maka-processing-summary[aria-disabled='true']:hover { color: var(--muted-foreground); }
 .maka-processing-sequence[open] > .maka-processing-summary > svg { transform: rotate(90deg); }
 .maka-processing-body {
@@ -911,21 +874,17 @@
 /* The failed state is stated by the label ink, so the edge stays --border —
    one status, one means (DESIGN.md §8). */
 .maka-sandbox-blocked-copy[data-copy-feedback="failed"] { color: var(--destructive); }
-.maka-turn-status-icon { flex: 0 0 auto; }
 
 .maka-turn-host-origin {
   font: var(--maka-text-supporting);
   display: inline-flex;
   width: fit-content;
   align-items: center;
-  margin-inline: 0;
-  border-radius: var(--radius-control);
-}
-
-.maka-turn-host-origin {
   align-self: flex-end;
   gap: var(--space-1);
+  margin-inline: 0;
   margin-bottom: var(--space-1);
+  border-radius: var(--radius-control);
   padding: var(--space-0-5) var(--space-1-5);
   background: var(--foreground-5);
   color: var(--muted-foreground);
@@ -995,41 +954,6 @@
   margin-top: var(--space-0-5);
 }
 
-.maka-turn-footer .maka-turn-processing,
-.maka-turn-footer .maka-turn-provider-retry { margin-top: 0; }
-
-.maka-overlay-preview {
-  font: var(--maka-text-supporting);
-  max-height: 180px;
-  margin: var(--space-1) 0 0;
-  overflow: auto;
-  font-variant-ligatures: none;
-  white-space: pre-wrap;
-  word-break: break-word;
-}
-.maka-overlay-close { justify-self: end; }
-.maka-tool-diff,
-.maka-tool-terminal {
-  display: grid;
-  gap: 0;
-  padding: 0;
-  border-radius: var(--radius-surface);
-  background: var(--background);
-  box-shadow: var(--ring-soft);
-  white-space: normal;
-}
-.maka-tool-diff-paths,
-.maka-tool-terminal-head {
-  font: var(--maka-text-supporting);
-  display: flex;
-  flex-wrap: wrap;
-  gap: var(--space-1-5);
-  padding: var(--space-1) var(--space-2);
-  border-bottom: 1px solid var(--border);
-  background: var(--foreground-2);
-}
-.maka-tool-terminal-head { align-items: center; font-variant-ligatures: none; }
-.maka-tool-diff-paths code { color: var(--muted-foreground); background: transparent; }
 .maka-tool-diff-body {
   font: var(--maka-text-supporting);
   max-height: 320px;
@@ -1101,66 +1025,6 @@
    the change is read against, and the marker column is the only part this rule
    still paints on its own. Meta and hunk rows are the ones that recede. */
 .maka-tool-diff-line[data-line="ctx"] { color: var(--foreground); }
-.maka-tool-terminal-cwd { color: var(--muted-foreground); background: transparent; }
-.maka-tool-terminal-cmd {
-  font: var(--maka-text-heading-5);
- min-width: 0; flex: 1 1 auto; overflow: hidden; background: transparent; color: var(--foreground); text-overflow: ellipsis; white-space: nowrap; }
-/* Pinned like every other pill in the scan, even though the whole
-   `.maka-tool-terminal-*` family is currently unreachable:
-   `previewVariants({part: 'terminal-*'})` has no call site — `TerminalPreview`
-   renders `maka-tool-output-stack` / `ShellOutputBody` / `ToolCodeBlock`
-   instead. Deleting the family is its own change. */
-.maka-tool-terminal-exit {
-  font: var(--maka-text-heading-5);
- height: var(--h-control-sm); display: inline-flex; align-items: center; white-space: nowrap; padding: 1px var(--space-1-5); border-radius: var(--radius-pill); background: var(--foreground-5); color: var(--muted-foreground); letter-spacing: var(--tracking-wide); }
-.maka-tool-terminal-exit[data-ok="true"] { background: var(--color-success-muted); color: var(--success); }
-.maka-tool-terminal-exit[data-ok="false"] { background: var(--color-error-muted); color: var(--destructive); }
-.maka-tool-terminal-empty {
-  font: var(--maka-text-supporting);
- margin: 0; padding: var(--space-2); color: var(--muted-foreground); font-style: italic; }
-.maka-tool-terminal-stream {
-  font: var(--maka-text-supporting);
- max-height: 180px; margin: 0; padding: var(--space-1-5) var(--space-2); overflow: auto; font-variant-ligatures: none; white-space: pre-wrap; word-break: break-word; }
-.maka-tool-terminal-stream[data-stream="stdout"] { color: var(--foreground); }
-.maka-tool-terminal-stream[data-stream="stderr"] { border-top: 1px solid var(--border); background: var(--color-error-muted); color: var(--destructive); }
-.maka-tool-terminal-truncated-note {
-  font: var(--maka-text-supporting);
- display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding: var(--space-1-5) var(--space-2); border-top: 1px solid var(--border); background: var(--color-warning-muted); color: var(--foreground); }
-.maka-tool-terminal-truncated-note > span { min-width: 0; }
-.maka-tool-terminal-copy { flex: 0 0 auto; }
-.maka-tool-terminal-copy[data-pending="true"] { cursor: progress; }
-.maka-tool-terminal-copy[data-copy-error="true"] { border-color: var(--color-error-muted); color: var(--destructive); }
-
-.maka-web-search-preview { display: grid; gap: var(--space-2); padding: var(--space-2-5) var(--space-3); border: 1px solid var(--foreground-10); border-radius: var(--radius-surface); background: var(--foreground-3); }
-.maka-web-search-preview > header { display: flex; flex-direction: column; gap: var(--space-0-5); padding-bottom: var(--space-1-5); border-bottom: 1px solid var(--foreground-10); }
-.maka-web-search-preview > header strong {
-  font: var(--maka-text-heading-4);
- color: var(--foreground); }
-.maka-web-search-preview > header small,
-.maka-web-search-preview li small {
-  font: var(--maka-text-supporting);
- color: var(--muted-foreground); letter-spacing: var(--tracking-wider); text-transform: uppercase; }
-.maka-web-search-preview ul { display: grid; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
-.maka-web-search-preview li { display: grid; gap: var(--space-0-5); padding-block: var(--space-2); border-top: 1px solid var(--foreground-5); }
-.maka-web-search-preview li:first-child { padding-top: 0; border-top: 0; }
-.maka-web-search-preview a {
-  font: var(--maka-text-heading-4);
- color: var(--foreground); text-decoration: none; }
-.maka-web-search-preview a:hover,
-.maka-web-search-preview a:focus-visible { text-decoration: underline; }
-.maka-web-search-preview li p {
-  font: var(--maka-text-supporting);
- margin: 0; color: var(--muted-foreground); white-space: pre-wrap; word-break: break-word; }
-/* The tinted status surface is Astryx's token; the edge around it is --border,
-   because the fill and the message ink already state the error (DESIGN.md §8).
-   Its copy sits on the tint, so it reads at primary ink (§3). */
-.maka-web-search-error { background: var(--color-error-muted); border-color: var(--border); }
-.maka-web-search-error-message,
-.maka-web-search-error-repair {
-  font: var(--maka-text-supporting);
- margin: 0; white-space: pre-wrap; word-break: break-word; }
-.maka-web-search-error-message { color: var(--destructive-text); }
-.maka-web-search-error-repair { color: var(--foreground); }
 
 .maka-load-tool-preview {
   display: grid;
diff --git a/packages/ui/stories/turn-elapsed-clock.stories.tsx b/packages/ui/stories/turn-elapsed-clock.stories.tsx
index ad57f4f2e4..6ea25f7e81 100644
--- a/packages/ui/stories/turn-elapsed-clock.stories.tsx
+++ b/packages/ui/stories/turn-elapsed-clock.stories.tsx
@@ -21,7 +21,7 @@ import { useState } from 'react';
 import type { Meta, StoryObj } from '@storybook/react-vite';
 import { expect, userEvent, waitFor, within } from 'storybook/test';
 import type { StoredMessage } from '@maka/core/session';
-import { ProcessingBlock, TurnView } from '../src/chat-turn.js';
+import { TurnView } from '../src/chat-turn.js';
 import { useUiLocale } from '../src/locale-context.js';
 import { applyLiveTurnEvent, armLiveTurn } from '../src/live-turn-projection.js';
 import { materializeTurns, overlayLiveTurn, type TurnViewModel } from '../src/materialize.js';
@@ -160,26 +160,22 @@ export const AdoptsTheRecordedStart: Story = {
   },
 };
 
-// The same Turn once it settles. The duration lives on the turn's footer row
-// with its finish time, NOT on the process disclosure: the disclosure scrolls
-// away as the answer grows, and the settled state is what a reader comes back
-// for. The zh number needs a space before its unit.
+// The same Turn once it settles. The outcome word and the duration stay in
+// the status row at the top of the answer — the same row that carried the
+// running cue — while the finish time drops to the footer as a semantic
+// timestamp. The zh number needs a space before its unit.
 export const SettledDuration: Story = {
   render: () => <SettledTurn />,
   play: async ({ canvasElement }) => {
-    const status = canvasElement.querySelector('.maka-turn-footer-meta .maka-turn-status-line');
-    await expect(status).toHaveTextContent('完成 · 用时 3 分 33 秒');
-    // The finish time is what makes the row worth reading later; the exact clock
-    // depends on the fixture's start, so assert its shape, not a literal.
-    await expect(status?.textContent ?? '').toMatch(/\d{1,2}:\d{2}/);
-    // The disclosure names itself and no longer restates the clock.
-    await expect(canvasElement.querySelector('.maka-processing-summary')).toHaveTextContent(
-      '执行过程',
-    );
+    const statusbar = canvasElement.querySelector('.maka-turn-statusbar');
+    await expect(statusbar).toHaveTextContent('已完成 · 用时 3 分 33 秒');
+    // The finish time lives in the footer as a semantic <time>; the exact
+    // reading depends on the fixture's start, so assert the element exists.
+    await expect(canvasElement.querySelector('.maka-turn-footer time')).not.toBeNull();
   },
 };
 
-/** A settled Turn, so its footer row — which owns the state — is mounted. */
+/** A settled Turn, so its status row states the outcome. */
 function SettledTurn() {
   const turn: TurnViewModel = {
     turnId: TURN_ID,
diff --git a/scripts/perf/frontend.spec.ts b/scripts/perf/frontend.spec.ts
index 7707d1dd60..091a1e1eb8 100644
--- a/scripts/perf/frontend.spec.ts
+++ b/scripts/perf/frontend.spec.ts
@@ -411,7 +411,9 @@ test('streaming input, background output and stop', {
       await expect(page.locator('.maka-bubble-streaming')).toContainText('Fake backend received');
       const stop = await measure('stop', async () => {
         await activate(page.getByRole('button', { name: /^(停止|Stop)$/ }));
-        await expect(page.getByRole('log')).toContainText('已中断');
+        await expect(page.locator('.maka-turn-statusbar[data-turn-status="aborted"]')).toHaveCount(
+          1,
+        );
         await expect(page.getByRole('button', { name: /^(停止|Stop)$/ })).toHaveCount(0);
       });
       row('stop', 'dom-settled-ms', [stop.ms]);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org