mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4997] [MERGED] Remove dead capability prompt-context assignments #6573
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#6573
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/4997
Author: @SpicyMarinara
Created: 8/14/2026
Status: ✅ Merged
Merged: 8/14/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/4996-capability-context-quality📝 Commits (1)
667d3abfix capability prompt-context assignments (#4996)📊 Changes
1 file changed (+2 additions, -6 deletions)
View changed files
📝
packages/server/src/routes/generate.routes.ts(+2 -6)📄 Description
Linked issue
Closes #4996
Why this change
GitHub native Code Quality identified an always-overwritten initial capability prompt-context value and an unused non-game assignment. The cleanup preserves the context-injection side effects and game capability-provider behavior while clearing both release-quality findings.
What changed
buildGmFormatReminderconsumes itsprovidesmap.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Automated proof on exact head
667d3aba6f48ada359b5a30bf0474937a68884ef:pnpm checkpassed (Impeccable context, localization, workspace lint/type checks, and production builds).pnpm --filter @marinara-engine/server lintpassed.pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/capability-package-lifecycle.regression.tspassed; its intentional failure-fixture logs were emitted as expected.await injectCapabilityContexts(...)calls, their arguments, call order, injected message mutation, roleplay-event collection, and the game.providesconsumer remain intact.No browser or container pass was run because this patch is a mechanical TypeScript scoping cleanup with no runtime branch, output, UI, or built artifact contract change.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedNo docs, localization, version, or changelog changes are needed because behavior and user-visible output are unchanged.
UI evidence (if applicable)
Not applicable; no UI changes.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.