mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8577] [MERGED] feat(mari): a to-do list she keeps, pinned under her latest message #8685
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#8685
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/8577
Author: @ylli-selmani
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @ylli-selmani
Base:
staging← Head:feat/mari-todo📝 Commits (4)
bf5b1dffeat(mari): a todo tool for her own list of steps3545828feat(mari): pin her to-do list under her latest messagef771b42fix(mari): cap each to-do step at 200 characters87a9544fix(mari): tell her when to start and tick her to-do list📊 Changes
16 files changed (+951 additions, -13 deletions)
View changed files
📝
docs/home/professor-mari.md(+4 -0)📝
packages/client/src/components/chat/HomeProfessorMariChat.tsx(+19 -0)➕
packages/client/src/components/chat/mari/MariTodoList.tsx(+58 -0)📝
packages/client/src/components/chat/mari/MariTranscript.tsx(+4 -0)📝
packages/client/src/components/chat/mari/mari-tool-presentation.ts(+24 -0)📝
packages/client/src/components/chat/mari/use-mari-workspace-run.ts(+9 -0)📝
packages/client/src/localization/locales/en.json(+6 -0)📝
packages/client/src/stores/agent.store.ts(+10 -0)📝
packages/client/src/styles/mari.css(+73 -0)📝
packages/server/src/services/professor-mari/pi-runtime.ts(+83 -9)📝
packages/server/src/services/professor-mari/workspace-agent.service.ts(+73 -4)📝
packages/server/src/services/professor-mari/workspace-message-store.ts(+4 -0)📝
packages/shared/src/types/chat.ts(+2 -0)📝
packages/shared/src/types/professor-mari-workspace.ts(+65 -0)➕
scripts/regressions/professor-mari/mari-todo.regression.ts(+516 -0)📝
scripts/regressions/professor-mari/pi-runtime.regression.ts(+1 -0)📄 Description
Linked issue
Closes #8539
Part of #8533
Why this change
What changed
todotool on both runtimes. Each call replaces the whole list: at most 12 items, one in progress. On classic it is a JSON field besidesuggestions.todoalone carry on to the next round. Words plus chips or a question still end the turn. It never reaches the executor, so the claim audit and the failure counts don't see it.extra.mariTodos, only when the run called it, and carried across Send now checkpoints.todosstream event, andlatestRun.todosin the status, so a reloaded page sees it.docs/home/professor-mari.md.UI precedent: the frame copies
MariList/MariRowinmari-primitives.tsx(--mari-hairline,--mari-group-bg,--mari-card-radius,--mari-card-pad-inline). The header follows.mari-list__head, and the file layout followsMariQuestionCard.Things to know when reviewing
todoround counts towards the round limit. It costs a real model request, and not counting it would let a model loop on it past the safety limit.latestMariTodosin shared holds this rule, for both the prompt and the client.todoare still claim-audited on the mid-run budget, like a classicstop: falseframe.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-run, for the reviewer to weigh and not as ticked proof:
pnpm build,lint,format:check,localization:checkandimpeccable:checkpass, and server and client typecheck clean.pnpm checkas a whole was not run.maripass, 86 of 86, including the newmari-todo, and so dopi-runtimeandcomposer.todoon each round. The list appeared in the first round, and its count and ticks moved each round. A reload during a run brought it back. A Send now message kept it, and a new message after that reply changed it to "Plan from before your last message". That next run's request carried<your_todo_list>.defaulttheme, dark and light, and insillytaverndark. The light-mode views changed the theme attribute in the page rather than the setting.sillytavernlight was not viewed.Still to do by hand:
sillytavernselected in Settings, in light mode, that the list is readable.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)[docs-i18n]follow-up: #8578🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.