[PR #3523] [MERGED] Add per-agent manual controls for tracker agents #5977

Closed
opened 2026-10-23 04:05:50 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3523
Author: @kaldigo
Created: 7/12/2026
Status: ✅ Merged
Merged: 7/12/2026
Merged by: @SpicyMarinara

Base: staging ← Head: codex/per-agent-manual-toggle


📝 Commits (5)

  • 0e87fed Add per-agent manual tracker toggles
  • 973c2a0 Merge branch 'staging' into codex/per-agent-manual-toggle
  • 166877e Merge remote-tracking branch 'origin/staging' into codex/per-agent-manual-toggle
  • 24b6123 Polish manual tracker scheduling
  • a346cbf Merge remote-tracking branch 'origin/staging' into codex/per-agent-manual-toggle

📊 Changes

7 files changed (+141 additions, -11 deletions)

View changed files

📝 CHANGELOG.md (+1 -0)
📝 docs/roleplay/hud-and-trackers.md (+1 -1)
📝 packages/client/src/components/chat/ChatArea.tsx (+23 -4)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+4 -2)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+92 -0)
📝 packages/server/src/routes/generate.routes.ts (+8 -4)
📝 packages/shared/src/types/chat.ts (+12 -0)

📄 Description

Linked issue

Closes #3522

Why this change

Users may want to manage tracker state manually without disabling unrelated agent-driven features.

For example, a roleplay setup might need manual control over world state or character tracker updates, while still allowing expressions, backgrounds, music, or other helper agents to run automatically. The existing controls do not make that separation clear enough.

What changed

  • Added per-agent manual settings for tracker-related agents.
  • Kept the existing enabled/disabled agent controls intact.
  • Updated roleplay generation flow so manually controlled tracker agents do not run automatically.
  • Preserved manual re-run behavior so users can still trigger those agents intentionally.
  • Added UI controls in chat settings for configuring per-agent manual behavior.

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

Manual verification notes

  • Ran the client and server locally.
  • Opened the roleplay chat settings.
  • Verified tracker-related agents expose manual controls separately from enabled/disabled controls.
  • Verified the app loads with the new settings UI available.
  • Took screenshots for UI review.
  • Ran pnpm check.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

UI evidence (if applicable)

Per Agent Manual Tracker 1 Per Agent Manual Tracker 2

🔄 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/3523 **Author:** [@kaldigo](https://github.com/kaldigo) **Created:** 7/12/2026 **Status:** ✅ Merged **Merged:** 7/12/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/per-agent-manual-toggle` --- ### 📝 Commits (5) - [`0e87fed`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0e87fed344302e7c61560814a08c2b59f3ad078b) Add per-agent manual tracker toggles - [`973c2a0`](https://github.com/Pasta-Devs/Marinara-Engine/commit/973c2a0f3869d9bc95f5d19ecef412d8b362db90) Merge branch 'staging' into codex/per-agent-manual-toggle - [`166877e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/166877e17aee34cd93c823e248ff9642f1579761) Merge remote-tracking branch 'origin/staging' into codex/per-agent-manual-toggle - [`24b6123`](https://github.com/Pasta-Devs/Marinara-Engine/commit/24b61232dd5c3e658b073becc387177660227524) Polish manual tracker scheduling - [`a346cbf`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a346cbfa298e7414ed7adfc358e84a2f9fe6658f) Merge remote-tracking branch 'origin/staging' into codex/per-agent-manual-toggle ### 📊 Changes **7 files changed** (+141 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+1 -0) 📝 `docs/roleplay/hud-and-trackers.md` (+1 -1) 📝 `packages/client/src/components/chat/ChatArea.tsx` (+23 -4) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+4 -2) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+92 -0) 📝 `packages/server/src/routes/generate.routes.ts` (+8 -4) 📝 `packages/shared/src/types/chat.ts` (+12 -0) </details> ### 📄 Description ## Linked issue Closes #3522 ## Why this change Users may want to manage tracker state manually without disabling unrelated agent-driven features. For example, a roleplay setup might need manual control over world state or character tracker updates, while still allowing expressions, backgrounds, music, or other helper agents to run automatically. The existing controls do not make that separation clear enough. ## What changed - Added per-agent manual settings for tracker-related agents. - Kept the existing enabled/disabled agent controls intact. - Updated roleplay generation flow so manually controlled tracker agents do not run automatically. - Preserved manual re-run behavior so users can still trigger those agents intentionally. - Added UI controls in chat settings for configuring per-agent manual behavior. ## Validation - [x] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [x] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [x] Above manual verification completed (describe below) - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Ran the client and server locally. - Opened the roleplay chat settings. - Verified tracker-related agents expose manual controls separately from enabled/disabled controls. - Verified the app loads with the new settings UI available. - Took screenshots for UI review. - Ran `pnpm check`. ## Docs and release impact - [x] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) ## UI evidence (if applicable) <img width="571" height="423" alt="Per Agent Manual Tracker 1" src="https://github.com/user-attachments/assets/0f735a9a-267d-47c4-b80a-e58ca9274e32" /> <img width="591" height="432" alt="Per Agent Manual Tracker 2" src="https://github.com/user-attachments/assets/430fe631-f36b-495f-a132-8abcbfad0e37" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:05:50 +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#5977
No description provided.