Skip to content

refactor(bridge-rimtalk): standardize onto Core Bridge Kit, cached reflection, and shared settings drawer - #22

Merged
mcocdaa merged 1 commit into
mainfrom
refactor/generic-separation-live-fixes
Nov 21, 2026
Merged

mcocdaa merged 1 commit into
mainfrom
refactor/generic-separation-live-fixes

Conversation

@mcocdaa

@mcocdaa mcocdaa commented Nov 21, 2026

Copy link
Copy Markdown
Collaborator

Symmetrically adopts RimMindAPI.Bridges (CreateDetector, CreateReflectionAccessor, CreateCoordinator), SettingsUIDrawer.DrawScrollableSettingsPage, and RimMindAPI.Text.TrOr. Verified with 6/6 tests.

…flection, and shared settings drawer

refactor(bridge): route reflection and coordinators through RimMindAPI

Replace direct HarmonyLib/ModsConfig usage in the RimTalk bridge with
RimMindAPI.Bridges factories (CreateDetector, CreateReflectionAccessor,
CreateCoordinator) and RimMindAPI.Ext/Text helpers, so the bridge no
longer depends on Core internals directly.

- ContextPullBridge and RimTalkApiShim now share a ReflectionAccessor
  for cached type/method/field lookups, warn-once behavior, and
  structural-failure tracking instead of ad-hoc static caches.
- RimTalkBridgeCoordinator owns a single cached coordinator and
  registers skip gates alongside modules symmetrically; adds
  Refresh and ResetForTesting.
- Settings tab uses SettingsUIDrawer.DrawScrollableSettingsPage and
  TrOr fallbacks; dirty-tracking snapshot helpers are replaced by
  ApplyDefaults.
- Mark BridgeModuleCoordinator obsolete in favor of the API factory.
- Extend test stubs with RimMindAPI.Bridges/Ext/Text and cover gate
  registration symmetry, reflection caching, and ApplyDefaults.
@mcocdaa
mcocdaa merged commit 58ef088 into main Nov 21, 2026
@mcocdaa
mcocdaa deleted the refactor/generic-separation-live-fixes branch November 21, 2026 10:43
@coderabbitai

coderabbitai Bot commented Nov 21, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant