[GH-ISSUE #3165] [Feature]: Agent Suite — view and edit stored agent data in the active chat (manual + AI-assisted) #1698

Closed
opened 2026-10-21 05:41:49 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @kolacheee on GitHub (Jul 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3165

Originally assigned to: @kolacheee on GitHub.

What problem does this solve?

In earlier Marinara versions, agents and their prompts had fewer guards and were buggier. Legacy chats can carry agents with garbled stored data — corrupted memory values, mangled tracker state, broken custom-agent outputs — that silently pollutes every subsequent prompt and degrades the roleplay experience with no obvious cause.

Today that stored data is only editable in scattered places, if at all:

  • Narrative Director memory: only the Secret Plot panel (arc fields only)
  • Tracker state: only field-by-field in the tracker HUD
  • Custom-agent outputs: buried in the Roleplay HUD actions popover
  • Generic agent memory (any other agent): not editable anywhere

There is no single place to see what the agents in a chat have accumulated, and no assisted way to repair a large garbled blob without hand-editing JSON.

Proposed solution

An Agent Suite window opened from the Agents section of the Chat Settings drawer:

  • Lists the agents active in the current chat; selecting one shows everything it has stored in this chat as editable blocks — stored memory (any agent), the agent's tracker-data slice (tracker agents), and recent outputs (custom agents).
  • Manual editing with explicit per-block Save/Reset, draft dirty-tracking, and JSON validation.
  • AI-assisted editing: select a chunk of text (or none for the whole block), type an instruction, optionally attach grounding context (the chat's character cards and active-lorebook entries), pick a connection, and the rewrite lands in the draft for review — nothing persists without an explicit Save.

Alternatives considered

  • Extending each existing surface separately (tracker HUD, Secret Plot panel, run editor): leaves generic agent memory uncovered and keeps repair knowledge scattered across three UIs.
  • A raw JSON/database editor: maximum power, but hostile to non-technical users and easy to corrupt data with; the Suite keeps validation and server-side contracts in the loop.
  • Automatic cleanup agent: an agent that repairs other agents' data unprompted felt too risky for exactly the chats this targets — the user should review every change.

Additional context

Feature was discussed with and approved by the lead dev prior to implementation.

Implementation is in progress in #3160 (owner: @kolacheee), targeting staging.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @kolacheee on GitHub (Jul 3, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3165 Originally assigned to: @kolacheee on GitHub. ## What problem does this solve? In earlier Marinara versions, agents and their prompts had fewer guards and were buggier. Legacy chats can carry agents with garbled stored data — corrupted memory values, mangled tracker state, broken custom-agent outputs — that silently pollutes every subsequent prompt and degrades the roleplay experience with no obvious cause. Today that stored data is only editable in scattered places, if at all: - Narrative Director memory: only the Secret Plot panel (arc fields only) - Tracker state: only field-by-field in the tracker HUD - Custom-agent outputs: buried in the Roleplay HUD actions popover - Generic agent memory (any other agent): **not editable anywhere** There is no single place to see what the agents in a chat have accumulated, and no assisted way to repair a large garbled blob without hand-editing JSON. ## Proposed solution An **Agent Suite** window opened from the Agents section of the Chat Settings drawer: - Lists the agents active in the current chat; selecting one shows everything it has stored in this chat as editable blocks — stored memory (any agent), the agent's tracker-data slice (tracker agents), and recent outputs (custom agents). - Manual editing with explicit per-block Save/Reset, draft dirty-tracking, and JSON validation. - **AI-assisted editing**: select a chunk of text (or none for the whole block), type an instruction, optionally attach grounding context (the chat's character cards and active-lorebook entries), pick a connection, and the rewrite lands in the draft for review — nothing persists without an explicit Save. ## Alternatives considered - **Extending each existing surface separately** (tracker HUD, Secret Plot panel, run editor): leaves generic agent memory uncovered and keeps repair knowledge scattered across three UIs. - **A raw JSON/database editor**: maximum power, but hostile to non-technical users and easy to corrupt data with; the Suite keeps validation and server-side contracts in the loop. - **Automatic cleanup agent**: an agent that repairs other agents' data unprompted felt too risky for exactly the chats this targets — the user should review every change. ## Additional context Feature was discussed with and approved by the lead dev prior to implementation. Implementation is in progress in #3160 (owner: @kolacheee), targeting `staging`. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:41:49 +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#1698
No description provided.