mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6769] [MERGED] feat(memory): show Jev recall and scene decisions in diagnostics #7323
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#7323
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-Engine/pull/6769
Author: @SpicyMarinara
Created: 9/27/2026
Status: ✅ Merged
Merged: 9/27/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/jev-memory-diagnostics📝 Commits (4)
9a787f1docs: track Jev memory diagnostics (#6768)a1f1bbefeat(memory): show saved Jev recall and scene decisions (#6768)267ba73Merge remote-tracking branch 'origin/staging' into codex/jev-memory-diagnostics9e43705fix(memory): keep diagnostic outcomes unique and compatible📊 Changes
15 files changed (+527 additions, -36 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
docs/agents/memory.md(+1 -1)📝
docs/chats/peek-prompt.md(+3 -1)📝
e2e/decision-peek-report.e2e.ts(+77 -13)📝
packages/client/src/components/chat/DecisionDebugPanel.tsx(+86 -9)📝
packages/client/src/localization/locales/en.json(+17 -0)📝
packages/server/src/routes/generate/dry-run-route.ts(+22 -0)📝
packages/server/src/services/advanced-memory-decisions.ts(+74 -9)📝
packages/server/src/services/advanced-memory.ts(+60 -1)📝
packages/server/src/services/decision/decision-default.ts(+4 -0)📝
packages/server/src/services/generation/advanced-memory-context.ts(+8 -1)📝
packages/shared/src/types/advanced-memory.ts(+25 -0)📝
packages/shared/src/types/decision-debug.ts(+6 -0)📝
scripts/regressions/advanced-memory-decisions.regression.ts(+44 -1)📝
scripts/regressions/advanced-memory-post-generation.regression.ts(+98 -0)📄 Description
Linked issue
Closes #6768
Why this change
Jev can choose Advanced Memory recalls and check scene endings while Decision diagnostics still reports no authored decision statements. Show this activity in the existing panel so users can inspect what Jev did without rerunning paid model calls.
What changed
Save compact recall scores with the generated reply and scene-end outcomes with the memory job. Decision diagnostics displays those saved reports even when the prompt has no authored decision statements. Opening or refreshing the panel makes no new model calls; prompt tests do not rerun memory decisions. Reports identify the model, time, selections and fallback, retain up to 128 distinct outcomes, and omit credentials and complete provider payloads.
Compatible swipes keep their original recall report. Automatic summary policy changes can invalidate prompt reuse without erasing past diagnostic evidence. Preserve the existing separate Jev scene-end request and summary-model ownership of summaries, now covered through the actual generation route.
Validation
pnpm checkpasses locallyCONTRIBUTING.mdValidation on
9e437054a(the same file content exercised locally):pnpm checkpassed: localization, formatting, types, lint and production build.pnpm regression:promptandpnpm smoke:uipassed (7 smoke cases).Manually verify the latest Jev recall and scene-end activity with your saved Decision connection after generating a reply. Model requests in regression proof use a loopback fixture, not a live hosted Jev account. Scores are diagnostics, not a guarantee of semantic recall quality.
Docs and release impact
Updated the changelog, canonical English UI catalog,
docs/agents/memory.mdanddocs/chats/peek-prompt.md. Translation follow-up #6770 covers every current documentation language and community UI packs. No version or storage-format migration.UI evidence
Screenshots from the focused desktop/mobile browser tests: Jev diagnostics UI proof. The panel uses the existing theme tokens and controls; all fixtures contain synthetic content.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.