PAR-261
Adopt HiberniaModule bootstrap + 1.2.0 quick wins (treasury)
Migrate treasury's hand-rolled DI bootstrap (TreasuryModule + CommanderModule + EventsModule + manual ConfigurationLoader + listener loop, Treasury.java:53-155) to HiberniaModule.forPlugin(...). This activates the 1.2.0 DefaultsReconciler (on-upgrade config/messages key merge — the real operational gap). Preserve the ~25 domain-service bindings + conditional Vault/LuckPerms in a kept module. Switch listener registration to ListenerManager.
Quick wins (same push): EconomyConfiguration.startingBalance double→BigDecimal (drop BigDecimal.valueOf at LedgerServiceImpl:116,328, EcoCommand:187 — also closes audit ADT-54/H3 money-as-double); replace the 14 hand-written help routes (TreasuryCommand:87-133, GovCommand:68-102) with HelpGenerator over routeIndex(); add a guard comment on ConfigReloadService:74-75 (keep the in-place processor reload; do NOT switch to ConfigurationLoader.reload() or injected singletons go stale).
Deferred (separate follow-up): KeyedException localization of the service layer.
Resources
- commit58d3f2f Adopt HiberniaModule bootstrap and 1.2.0 quick wins in treasury (PAR-261)ParadauxIO/hibernia-economy
Comments
No comments yet.
Activity
- tesks changed status to Status → Pending Release
- ParadauxIO linked a commit — Commit 58d3f2f — Adopt HiberniaModule bootstrap and 1.2.0 quick wins in treasury (PAR-261)
- tesks created the issue