Keep BaseLib at the boundary and add config/API bridges #68

Merged
nelsong6 merged 13 commits from codex/baselib-boundary-config-interop into main 2026-04-24 08:50:48 -07:00
nelsong6 commented 2026-04-24 08:50:41 -07:00 (Migrated from github.com)

Summary

  • pin the loader-side BaseLib and analyzer versions
  • remove BaseLib from the hot-reloaded Core project
  • add a BaseLib-backed mod config and loader runtime-options bridge
  • route the old deck-view prefs shim through the loader boundary
  • add a small public API registry for other mods to query runtime state/data
  • document the new loader/Core boundary in architecture docs

Validation

  • dotnet build CardUtilityStats.csproj -c Debug /p:SkipModsDeploy=true ✅
  • dotnet build Core/CardUtilityStats.Core.csproj -c Debug /p:SkipModsDeploy=true fails on the same preexisting RunTracker.cs ICombatState -> CombatState? mismatch seen on main
  • dotnet test Tests/CardUtilityStats.Core.Tests/CardUtilityStats.Core.Tests.csproj -c Debug fails on the same preexisting baseline errors from main

Notes

  • BaseLib stays in the stable loader boundary for config/UI and future interop.
  • The hot-reloaded Core now consumes runtime options through a small reflection bridge instead of a direct BaseLib dependency.
  • The new API registry is provider-side only; sibling mods can call it directly or via optional interop later.
## Summary - pin the loader-side BaseLib and analyzer versions - remove BaseLib from the hot-reloaded Core project - add a BaseLib-backed mod config and loader runtime-options bridge - route the old deck-view prefs shim through the loader boundary - add a small public API registry for other mods to query runtime state/data - document the new loader/Core boundary in architecture docs ## Validation - `dotnet build CardUtilityStats.csproj -c Debug /p:SkipModsDeploy=true` ✅ - `dotnet build Core/CardUtilityStats.Core.csproj -c Debug /p:SkipModsDeploy=true` fails on the same preexisting `RunTracker.cs` `ICombatState` -> `CombatState?` mismatch seen on `main` - `dotnet test Tests/CardUtilityStats.Core.Tests/CardUtilityStats.Core.Tests.csproj -c Debug` fails on the same preexisting baseline errors from `main` ## Notes - BaseLib stays in the stable loader boundary for config/UI and future interop. - The hot-reloaded Core now consumes runtime options through a small reflection bridge instead of a direct BaseLib dependency. - The new API registry is provider-side only; sibling mods can call it directly or via optional interop later.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
romaine-life/spirelens!68
No description provided.