mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4862] [MERGED] refactor: simplify internal utility ownership #6522
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#6522
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/4862
Author: @Xelvanis
Created: 8/10/2026
Status: ✅ Merged
Merged: 8/10/2026
Merged by: @SpicyMarinara
Base:
staging← Head:chore/internal-simplification-batch📝 Commits (6)
07c1713refactor: inline tool registry generationfe3db94refactor: centralize card prompt text normalization3d09c64refactor: remove duplicate terrain exportf785b9erefactor: remove inline thinking re-export047e7a5test: tolerate formatted retry batch call4736805Merge branch 'staging' into chore/internal-simplification-batch📊 Changes
18 files changed (+37 additions, -89 deletions)
View changed files
📝
packages/server/src/routes/chats.routes.ts(+1 -5)📝
packages/server/src/routes/encounter.routes.ts(+2 -5)📝
packages/server/src/routes/game.routes.ts(+1 -1)📝
packages/server/src/routes/generate.routes.ts(+2 -2)📝
packages/server/src/routes/generate/dry-run-route.ts(+1 -5)📝
packages/server/src/routes/generate/retry-agents-route.ts(+1 -5)📝
packages/server/src/routes/lorebooks.routes.ts(+1 -5)📝
packages/server/src/routes/prompts.routes.ts(+1 -5)📝
packages/server/src/services/generation/character-prompt-context.ts(+1 -1)📝
packages/server/src/services/generation/game-gm-prompt-runtime.ts(+1 -1)📝
packages/server/src/services/generation/generation-text-utils.ts(+0 -5)➖
packages/server/src/services/llm/inline-thinking.ts(+0 -2)➕
packages/server/src/services/prompt/card-text.ts(+5 -0)📝
packages/server/src/services/prompt/marker-expander.ts(+1 -5)📝
packages/server/src/services/turn-games/turn-game-bot-runner.service.ts(+1 -2)📝
packages/shared/scripts/generate-feature-registries.mjs(+17 -38)📝
packages/shared/src/features/tactical-combat/index.ts(+0 -1)📝
scripts/regressions/prompt.regression.ts(+1 -1)📄 Description
Linked issue
Closes #4861
Why this change
What changed
cardPromptTextimplementations under one neutral prompt-layer owner.TERRAIN_DATAre-export.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAdditional regression proof:
pnpm regression:prompt— passed, including prompt attachments and context fitting.pnpm regression:spatial— passed both spatial regression scripts.git diff --check origin/staging..HEAD— passed.Manual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Not applicable; no UI changes.
Summary by CodeRabbit
Refactor
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.