mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1354] [MERGED] fix(relationship-tracker, memory-nag): read Roleplay whispers the way Engine agents do #1414
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1414
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-Agents/pull/1354
Author: @SpicyMarinara
Created: 10/13/2026
Status: ✅ Merged
Merged: 10/13/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/1309-whisper-agent-content📝 Commits (3)
6022059fix(relationship-tracker, memory-nag): read Roleplay whispers the way Engine agents do4bf364afix(relationship-tracker): keep scene presence on public messages186fd06Merge branch 'staging' into fix/1309-whisper-agent-content📊 Changes
19 files changed (+235 additions, -57 deletions)
View changed files
📝
.github/workflows/pull-request-checks.yml(+3 -0)➕
artifacts/memory-nag-1.2.0.zip(+0 -0)➕
artifacts/relationship-tracker-0.7.0.zip(+0 -0)📝
catalog/catalog.json(+14 -14)📝
catalog/notes.json(+12 -0)📝
catalog/v2/catalog.json(+14 -14)📝
catalog/v2/notes.json(+12 -0)📝
catalog/v3/catalog.json(+14 -14)📝
catalog/v3/notes.json(+12 -0)📝
packages/memory-nag/CHANGELOG.md(+4 -0)📝
packages/memory-nag/manifest.json(+3 -3)📝
packages/memory-nag/server.mjs(+1 -1)📝
packages/memory-nag/src/engine/packages/server/src/services/memory-nag/scanner.ts(+6 -2)📝
packages/relationship-tracker/CHANGELOG.md(+5 -0)📝
packages/relationship-tracker/history.mjs(+3 -3)📝
packages/relationship-tracker/manifest.json(+5 -5)📝
packages/relationship-tracker/state.mjs(+7 -0)📝
scripts/build-feature-packages.mjs(+1 -1)➕
tests/roleplay-whispers.regression.ts(+119 -0)📄 Description
Linked issue
Closes #1309
Why this change
message.content, so they never saw whispers. Every agent the Engine runs reads them since Pasta-Devs/Marinara-Engine#7437, and the maintainer decided the packages that write lasting knowledge should read them too.agentContenttopersistence.listMessagesrecords: the message as Engine agents read it, with each whisper marked[Private whisper to <name>: …], a whisper-only message as its whispers, documents asDocument: <title>text, and no leftover private notes. It is present in Roleplay outside hosted multiplayer rooms and absent elsewhere and on older Engines.What changed
agentContent ?? content. This is feature detection with no version gate, so older Engines and other modes read public content exactly as before. WhereagentContentis present it wins, even when it is shorter thancontent, because it leaves private notes out.contentis empty, so a whisper-only message is now read as its whispers.agentMessageTexthelper instate.mjsis used by the Update from History transcript and the evidence text that checks its pairs. Automatic tracking already reads the Engine's agent context, so it is unchanged.contenton purpose. It decides which relationship lines go into the main prompt for character responders, and those never get whisper text. Reading whispers there would let a whisper naming two characters add their relationship to a non-recipient's prompt.AgentReadableMessage) inscanner.ts. Recall already reads the Engine's agent context.tests/roleplay-whispers.regression.tscovers both packages for a whispered message, a whisper-only message, an older-Engine record without the field, andagentContentwinning overcontent. It also pins that a name in a whisper does not add that character to the scene. It fails on unchanged staging for each package independently and runs in PR checks.packages/memory-nag/{manifest.json,server.mjs},packages/relationship-tracker/manifest.json,artifacts/memory-nag-1.2.0.zip,artifacts/relationship-tracker-0.7.0.zip,catalog/{,v2/,v3/}{catalog,notes}.json.Package and security impact
relationship-tracker,memory-nagchat-read.MARINARA_ENGINE_ROOTat Enginef492413b7(staging, 2026-10-01). There, an unchanged rebuild of 1.1.3 is byte-identical to the published artifact. The rebuiltclient.jsis unchanged, andserver.mjsdiffers only in the transcript line. The Relationship Tracker builder only re-hashes committed payloads, and an unchanged rebuild of 0.6.4 is also byte-identical.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
The agent ran these locally (the boxes above are left for a human):
npm run check: passednode scripts/test-catalog-lanes.mjs,node scripts/validate-package-locales.mjs,node scripts/validate-catalog.mjs,node scripts/tests/catalog-release-notes.regression.mjs,git diff --check: passednpx tsx tests/roleplay-whispers.regression.ts(new),tests/memory-nag-range.regression.ts,tests/memory-nag-selection.regression.ts,node tests/memory-nag-settings-ui.regression.mjs: passednode scripts/typecheck-packages.mjs memory-nag: passedStill to verify by hand on an Engine staging checkout that includes Marinara-Engine#7488:
[Private whisper to <name>: …]and that the whisper-only message is not blank.Documentation impact
No README describes which message text is read, so no documentation changes were made. The package CHANGELOGs describe the change.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.