mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #992] [CLOSED] fix(long-term-memory): enforce source review at commit #1229
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#1229
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/992
Author: @SirAdoni
Created: 9/20/2026
Status: ❌ Closed
Base:
staging← Head:contrib/a11-memory-review-boundary📝 Commits (1)
2fbf4f0fix(long-term-memory): enforce provenance review at commit📊 Changes
14 files changed (+262 additions, -91 deletions)
View changed files
➕
artifacts/long-term-memory-1.3.7.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/notes.json(+6 -0)📝
catalog/v2/catalog.json(+8 -8)📝
catalog/v2/notes.json(+6 -0)📝
catalog/v3/catalog.json(+8 -8)📝
catalog/v3/notes.json(+6 -0)📝
packages/long-term-memory/CHANGELOG.md(+4 -0)📝
packages/long-term-memory/client.js(+24 -24)📝
packages/long-term-memory/manifest.json(+5 -5)📝
packages/long-term-memory/server.mjs(+33 -33)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/source-processing.ts(+8 -4)📝
scripts/build-feature-packages.mjs(+1 -1)➕
tests/ltm-review-provenance.regression.ts(+145 -0)📄 Description
Linked issue
Closes #990
Why this change
Character, lorebook and chat-summary extraction produces proposed memory, not automatically approved facts. A stale preparation flag must not let a source-backed draft bypass review when low-risk auto-apply is requested.
What changed
Deterministic preparation can still report no review requirement, but commit enforces the source provenance boundary. This is deliberate: all three valid persisted source provenance kinds require review, including deterministic extraction from those sources. Existing Game Mode memory architecture is not newly introduced by this PR.
Validation
Passed npm check (zero errors, existing warnings), package type checks, focused provenance regression, catalog lanes, locales, release notes, manifest/catalog validation, archive integrity, deterministic rebuild, privacy review and git diff --check.
The regression exercises each provenance kind and a real deterministic mutation whose preparation flag is false; commit must mark the draft review-required and leave the mutation unapplied even with applyLowRisk enabled. Provider output is simulated. Model quality and live Engine installation remain manual checks.
Rebuilt from package-owned source; no installed or candidate runtime bundle was copied. Archive size: 1352723 bytes. SHA-256:
e66c0246529c49fd52cea9217269d3487876eb4a0e2264e762d90e1f6ec43b64.node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Documentation impact
Package changelog and generated release notes included. No Engine or translated documentation changes.
UI evidence (if applicable)
No UI changes. Tests use synthetic notes. Private campaign data, local paths, credentials, prompt logs and screenshots are excluded.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.