[PR #8532] [MERGED] fix(mari): keep her words between steps in a finished turn #8657

Closed
opened 2026-11-07 16:46:17 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8532
Author: @ylli-selmani
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @ylli-selmani

Base: staging ← Head: fix/mari-keep-between-words


📝 Commits (2)

  • 0edbcd9 fix(mari): keep her words between steps in a finished turn
  • 0c18153 fix(mari): keep captions small and drop the speaker prefix

📊 Changes

4 files changed (+71 additions, -23 deletions)

View changed files

📝 packages/client/src/components/chat/mari/MariWorkTimeline.tsx (+10 -2)
📝 packages/client/src/lib/mari-work-timeline.ts (+15 -12)
📝 packages/client/src/styles/mari.css (+7 -1)
📝 scripts/regressions/command-center.regression.ts (+39 -8)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch or a same-repository hotfix/* branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #8531

Why this change

  • Slice 70 hid Mari's words between tool rounds once she answered, treating them as live status. Many models write real content there, even questions. The final message can then say "still waiting on your answer" about a question nobody can read.
  • Nothing was lost: the trace saves every round. This only changes what the finished turn shows.

What changed

  • groupRunPhases: the Slice 70 filter is gone. A finished turn keeps her words in their phases, and the intro words stay above the first step.
  • Captions: a phase used to keep only the first round's words. Every round now joins the caption, while she runs too.
  • Answer: only the last round stands as the answer. Earlier words after the final step join the last phase's caption, so they aren't full-size next to the answer.
  • Rendering: captions go through CompactMarkdown, since these words can hold markdown.
  • Tests: the Slice 70 assertions in command-center.regression.ts now pin the new behaviour.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Commands run by the agent: client eslint and prettier, client tsc --noEmit, tsc -p scripts/regressions/tsconfig.client-lanes.json, and node ./scripts/run-regressions.mjs --filter command-center. A local CodeRabbit round found nothing.

Manual verification notes

  • To do: run a multi-step turn, then check the words appear in the folded work above the answer. Check an old turn too, since it replays from its saved trace.

Known limit: phases with one step, or more than three, stay folded by default, so words in them take a click to read. Captions are still the small italic style.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/8532 **Author:** [@ylli-selmani](https://github.com/ylli-selmani) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@ylli-selmani](https://github.com/ylli-selmani) **Base:** `staging` ← **Head:** `fix/mari-keep-between-words` --- ### 📝 Commits (2) - [`0edbcd9`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0edbcd905d92c48b4bc48b6475a255f1a861621a) fix(mari): keep her words between steps in a finished turn - [`0c18153`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0c18153bfbc420b15cc9de91130b362a969dbc09) fix(mari): keep captions small and drop the speaker prefix ### 📊 Changes **4 files changed** (+71 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `packages/client/src/components/chat/mari/MariWorkTimeline.tsx` (+10 -2) 📝 `packages/client/src/lib/mari-work-timeline.ts` (+15 -12) 📝 `packages/client/src/styles/mari.css` (+7 -1) 📝 `scripts/regressions/command-center.regression.ts` (+39 -8) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch or a same-repository `hotfix/*` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- See CONTRIBUTING.md § Branches. --> ## Linked issue Closes #8531 ## Why this change - Slice 70 hid Mari's words between tool rounds once she answered, treating them as live status. Many models write real content there, even questions. The final message can then say "still waiting on your answer" about a question nobody can read. - Nothing was lost: the trace saves every round. This only changes what the finished turn shows. ## What changed - **`groupRunPhases`:** the Slice 70 filter is gone. A finished turn keeps her words in their phases, and the intro words stay above the first step. - **Captions:** a phase used to keep only the first round's words. Every round now joins the caption, while she runs too. - **Answer:** only the last round stands as the answer. Earlier words after the final step join the last phase's caption, so they aren't full-size next to the answer. - **Rendering:** captions go through `CompactMarkdown`, since these words can hold markdown. - **Tests:** the Slice 70 assertions in `command-center.regression.ts` now pin the new behaviour. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` Commands run by the agent: client `eslint` and `prettier`, client `tsc --noEmit`, `tsc -p scripts/regressions/tsconfig.client-lanes.json`, and `node ./scripts/run-regressions.mjs --filter command-center`. A local CodeRabbit round found nothing. ### Manual verification notes - To do: run a multi-step turn, then check the words appear in the folded work above the answer. Check an old turn too, since it replays from its saved trace. Known limit: phases with one step, or more than three, stay folded by default, so words in them take a click to read. Captions are still the small italic style. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:46:17 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#8657
No description provided.