[GH-ISSUE #1309] Relationship Tracker and Memory Nag don't read Roleplay whispers #667

Closed
opened 2026-10-20 17:29:34 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @SpicyMarinara on GitHub (Oct 11, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1309

Originally assigned to: @SpicyMarinara on GitHub.

Problem

Relationship Tracker and Memory Nag build their Roleplay history from public message.content, so they never see whispers. Every agent the Engine runs reads them since Pasta-Devs/Marinara-Engine#7437. The maintainer decided all agents should, including those that write lasting knowledge.

Plan

Once Pasta-Devs/Marinara-Engine#7443 adds the agent view of a message to the capability API, both packages read that view where it exists and fall back to content on older Engines (feature-detect, no version gate). Whispers are marked private with their recipient. Hosted multiplayer rooms give no whispers.

Per the repo's rules: package versions go above every version the staging catalog has published, and a shared-contract change needs a package-owned override if the vendored shared copy is frozen.

Owner: @SpicyMarinara (Claude Code agent working on it)

Originally created by @SpicyMarinara on GitHub (Oct 11, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1309 Originally assigned to: @SpicyMarinara on GitHub. ## Problem Relationship Tracker and Memory Nag build their Roleplay history from public `message.content`, so they never see whispers. Every agent the Engine runs reads them since Pasta-Devs/Marinara-Engine#7437. The maintainer decided all agents should, including those that write lasting knowledge. ## Plan Once Pasta-Devs/Marinara-Engine#7443 adds the agent view of a message to the capability API, both packages read that view where it exists and fall back to `content` on older Engines (feature-detect, no version gate). Whispers are marked private with their recipient. Hosted multiplayer rooms give no whispers. Per the repo's rules: package versions go above every version the staging catalog has published, and a shared-contract change needs a package-owned override if the vendored shared copy is frozen. Owner: @SpicyMarinara (Claude Code agent working on it)
Author
Owner

@SpicyMarinara commented on GitHub (Oct 12, 2026):

Engine side is open in Pasta-Devs/Marinara-Engine#7488 (for Pasta-Devs/Marinara-Engine#7443). Records from persistence.listMessages(chatId) get an optional agentContent (capability API 1.71, soft seam): present on every message in Roleplay chats outside hosted multiplayer rooms, absent elsewhere and on older Engines. Packages can read message.agentContent ?? message.content. A whisper-only message has empty content but a non-empty agentContent, so don't drop empty-content messages before that fallback.

<!-- gh-comment-id:6130205308 --> @SpicyMarinara commented on GitHub (Oct 12, 2026): Engine side is open in Pasta-Devs/Marinara-Engine#7488 (for Pasta-Devs/Marinara-Engine#7443). Records from `persistence.listMessages(chatId)` get an optional `agentContent` (capability API 1.71, soft seam): present on every message in Roleplay chats outside hosted multiplayer rooms, absent elsewhere and on older Engines. Packages can read `message.agentContent ?? message.content`. A whisper-only message has empty `content` but a non-empty `agentContent`, so don't drop empty-`content` messages before that fallback.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 12, 2026):

Contract update from Pasta-Devs/Marinara-Engine#7488 (head 70f6a3180): agentContent now matches the generate route's agents exactly. A reply's documents (such as a letter) follow it as Document: <title> plus the text, and leftover private tags such as [notes: …] in a user turn are left out. Reading agentContent ?? content is unchanged. extra still holds every whisper in every mode, so don't build visible text from it.

<!-- gh-comment-id:6130821954 --> @SpicyMarinara commented on GitHub (Oct 12, 2026): Contract update from Pasta-Devs/Marinara-Engine#7488 (head 70f6a3180): `agentContent` now matches the generate route's agents exactly. A reply's documents (such as a letter) follow it as `Document: <title>` plus the text, and leftover private tags such as `[notes: …]` in a user turn are left out. Reading `agentContent ?? content` is unchanged. `extra` still holds every whisper in every mode, so don't build visible text from it.
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-Agents#667
No description provided.