mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4307] [MERGED] fix: trim card names, scope agent context, and render Markdown #6328
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#6328
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/4307
Author: @SpicyMarinara
Created: 7/30/2026
Status: ✅ Merged
Merged: 7/30/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/4303-4306-issue-sweep📝 Commits (4)
0822934chore: start open issue sweep5b45beafix: address July 30 issue sweep7dc15cffix: address CodeRabbit review95fcccafix: tighten agent context boundaries📊 Changes
20 files changed (+1016 additions, -191 deletions)
View changed files
📝
CHANGELOG.md(+4 -0)📝
e2e/core-flows.e2e.ts(+41 -0)📝
packages/client/src/components/agents/AgentEditor.tsx(+103 -0)📝
packages/client/src/components/characters/CharacterEditor.tsx(+21 -15)📝
packages/client/src/components/characters/CharacterLibraryView.tsx(+12 -12)📝
packages/client/src/components/lorebooks/LorebookEntryRow.tsx(+98 -32)📝
packages/client/src/components/lorebooks/LorebookFormFields.tsx(+5 -5)📝
packages/client/src/components/personas/PersonaEditor.tsx(+6 -8)📝
packages/client/src/components/ui/MacroTextarea.tsx(+90 -28)📝
packages/client/src/localization/locales/en.json(+21 -0)📝
packages/server/src/routes/generate.routes.ts(+8 -2)📝
packages/server/src/routes/generate/retry-agents-route.ts(+14 -0)📝
packages/server/src/services/agents/agent-executor.ts(+119 -30)📝
packages/server/src/services/generation/agent-resolution.ts(+2 -0)📝
packages/server/src/services/storage/characters.storage.ts(+19 -8)📝
packages/shared/src/schemas/character.schema.ts(+1 -1)📝
packages/shared/src/types/agent.ts(+43 -0)📝
scripts/regressions/open-issues.regression.ts(+85 -3)📝
scripts/regressions/prompt.regression.ts(+222 -45)📝
scripts/regressions/regeneration-context.regression.ts(+102 -2)📄 Description
Linked issues
Closes #4303
Closes #4304
Closes #4305
Closes #4306
Why this change
The latest issue sweep found four user-visible gaps: pasted Character names retain accidental edge whitespace, edited chat text needs durable Memory Recall protection, custom agents receive context they do not need, and card/lorebook fields have no rendered Markdown view. Each correction stays within the existing subsystem without introducing a parallel framework.
What changes
Validation
Automated evidence run locally:
Manual verification needed
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.