Repository navigation
Remove dead capability prompt-context assignments - #4997
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe generation route removes the outer ChangesCapability context cleanup
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This change removes unused capability-context assignments without changing context injection or user-visible behavior. No actionable merge-blocking risk remains beyond normal checks and review. Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
52b761f to
667d3ab
Compare
Important
Contributions target
staging. OnlySpicyMarinaramay promote this repository staging branch or a same-repositoryhotfix/*branch tomain.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