mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1738] [MERGED] Clean up stale test-only exports #5249
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#5249
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/1738
Author: @Xelvanis
Created: 5/31/2026
Status: ✅ Merged
Merged: 5/31/2026
Merged by: @Xelvanis
Base:
refactor← Head:chore/clean-test-only-exports📝 Commits (1)
7001427Wire game segment edits into generation📊 Changes
5 files changed (+578 additions, -6 deletions)
View changed files
📝
src/engine/generation/agent-runner.ts(+12 -2)📝
src/engine/generation/prompt-assembly.ts(+9 -3)➕
src/engine/modes/game/state/segment-edits.ts(+540 -0)📝
src/engine/shared/scoring/skill-check-format.ts(+14 -0)📝
src/features/modes/shared/chat-ui/components/ChatMessage.tsx(+3 -1)📄 Description
Linked issue
None.
Why this change
What changed
segmentEdit:*/segmentDelete:*metadata before game history reaches prompt assembly and game agent context.Refactor impact
Primary owner:
Engine generation, game mode state helpers, catalog/runtime/shared export cleanup.
Impact areas reviewed:
Boundary notes:
src/engine/modes/game; chat and roleplay history are unchanged because the overlay only runs forchat.mode === "game".Pressure points touched:
src/engine/generation/prompt-assembly.tssrc/engine/generation/agent-runner.tsGameSurface,ModeSurface, shared API, or Rust command registration changes.Validation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
Commands run locally after the final diff and after deleting the extra new test file:
pnpm checkpnpm testpnpm buildpnpm lintpnpm perf:sizegit diff --checkpnpm buildstill reports the existing CSSfileproperty warning and chunk-size warnings.pnpm lintpasses with the existing three warnings inChatSettingsDrawer.tsxandsprite-display-modes.ts.No browser/Tauri manual QA was run; this is engine prompt/context shaping plus export cleanup, with no visible UI change.
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs changes made; this does not alter contributor workflow, public commands, or visible UI copy.
UI evidence
None. No visible UI change.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.