From 677a442ed8985ac9f143002385c67e850122ae31 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 13 Jun 2026 10:56:31 +0100 Subject: [PATCH] Demote legacy catalog boot helper --- .voidbot/state/aetheria.cc | Bin 24807 -> 24755 bytes Assets/Scripts/Gameplay/ActionGameManager.cs | 2 +- docs/aetheria-perfect-machine-map.md | 26 +++++++++---------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.voidbot/state/aetheria.cc b/.voidbot/state/aetheria.cc index dade458d4ef899c2123de05981949a48aec4865b..520ee7436e773fbc6507c338ebec25549b461a2d 100644 GIT binary patch delta 949 zcmZ8g!AlfT7;jy%)q_?jfk}Pjssy`Bn!Bk{xOI@Ff-*Jm5WSuGcJ{%W_og>*)gd9U zj$PtGmyQ*7v4lC+L4)pHg`i`%BI*z5&CHIhU51$--|zeVzTY?BkNr%zpV{5+I$oZe zE|YW-W0iL95L?P6LP|!r?p)9?%7@_XLyJ|zBgayLLMgXo@ zGwlqcrqI1jIB`%GfD6D4Q^g5`WlmK97Gcb=IHGOptCpfd|IH6Cm0+ofMot(7Q$~Hm zT|bm3+y=o}01d`Vl^!17S z&{d#3ama!zVB!J6Y-3XqCY;2F0!MHxqz` zKm}fu_3q?g?Xa^iTGCLs$)^y>aWMiIyVc5FP{sSR}X??eT~ zx@d8m$RPZ5v%fc&mg=wB;r89kl;gYUTi#27;*+TiSDT(!Bfl>(O{ARM{> Mxi>*77pGSL0hl0BhyVZp delta 1044 zcmZ9LL2DC16vs_d+7v-i+9Jj3v$TjJ|0MqGlkWcnIW6&J(Kwmo$qzew&!Q5X;8%o_;QVU zus}H3XhEF{s)%7yfUMO3pMb{{bq#P@CvFQ|VhERYP?UI7IqzIfnEx|#wDZ3!g*Ga5 zjZ_+hT*r4VWos15hWblHkUCYsgzh)^KbEjt%R}u+Ai@KURiwIXLi{qq_e%-&fdtM1 zHMde7w}nxy>nk^t3iD8271W3ux1^I-g7_3_j8pBv5@BL#kctqs0+%9I7Z9zf zwqNJZ4Krb6#~EkSP@yr&-md*N5BB}|SUXO=zptv4ChcVo)m4e6i%c|8gi|3rq@WGs z939b;uThQWDjC)riOC&zQ&(ZVf$~6w!Z6h8Ngri`tUg4CG)_RN7GQ;TQX+8xI2O{* z$F$F~A8>|)iq-yFrW*#_(132pkbB^h<^eMyRt+^JeIQ_30kY7Yv6i87DPWhx^A6u$ zs^*E?#Mca~QJ)Ia#ReFvDX+(FhZPL0~_{803IvXQ&Lj1iddM2^X!eHwY@PrRT_+f=||bzNE#WpfA3w0PR{V- zcC>usM7nf^(&}47>iYMQiB~Jb(UbDOO!VUJv4PIc7D{#}JCYtsQ+ZtAAL+K1ri;n8 h%50zg^dRU23s;ihoyybxBz>t6eXr~dbZ?8R{{hA%c^?1( diff --git a/Assets/Scripts/Gameplay/ActionGameManager.cs b/Assets/Scripts/Gameplay/ActionGameManager.cs index e2824acb4..960f73366 100644 --- a/Assets/Scripts/Gameplay/ActionGameManager.cs +++ b/Assets/Scripts/Gameplay/ActionGameManager.cs @@ -37,7 +37,7 @@ public class ActionGameManager : MonoBehaviour public static string AetheriaStateFilePath => LegacyCatalogBoundary.GetStateFilePath(GameDataDirectory); public static string LegacyAetherDatabasePath => LegacyCatalogBoundary.GetLegacyCatalogPath(GameDataDirectory); - public static ILegacyCatalogReader LegacyCatalog => LegacyCatalogBoundary.GetCatalog(GameDataDirectory); + private static ILegacyCatalogReader LegacyCatalog => LegacyCatalogBoundary.GetCatalog(GameDataDirectory); private static PlayerSettings _playerSettings; public static PlayerSettings PlayerSettings diff --git a/docs/aetheria-perfect-machine-map.md b/docs/aetheria-perfect-machine-map.md index 3b2333ff1..912e086df 100644 --- a/docs/aetheria-perfect-machine-map.md +++ b/docs/aetheria-perfect-machine-map.md @@ -79,9 +79,9 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted. that only needs a domain lookup. - `Galaxy` generation no longer accepts `ILegacyCatalogReader`. Sector and tutorial generation receive `ItemManager` and use the same narrow catalog - lookup port for factions and name files. `ActionGameManager.LegacyCatalog` - now feeds only `ItemManager` boot; menu/generation paths no longer receive - the legacy reader directly. + lookup port for factions and name files. `ActionGameManager.LegacyCatalog` is + now a private boot helper that feeds only `ItemManager`; menu/generation paths + no longer receive the legacy reader directly. - `DatabaseLink.Value` can resolve legacy links only after `LegacyCatalogBoundary` binds the pull-only catalog cache. Legacy catalog construction no longer grabs global `DatabaseLinkBase` authority. @@ -184,16 +184,16 @@ legacy catalog cache, and legacy UI paths should be migration-only or deleted. ## Current Authority Map - Owner: `Aetheria.State` owns the new typed state spine for durable state. - `ActionGameManager.LegacyCatalog` is the only Unity runtime access point for - old MessagePack catalog reads, and `LegacyCatalogBoundary` is the only named - owner for opening the old catalog and binding legacy `DatabaseLink` - resolution until catalog migration lands. Runtime code receives narrow - `ItemManager` catalog methods where gameplay only needs lookups. `ItemManager` - still receives `ILegacyCatalogReader` until typed runtime catalog boot - replaces it; `Galaxy` has been moved off the legacy reader and now consumes - `ItemManager`. `Aetheria.State.Unity` owns a read-only typed catalog facade - for future Unity consumers; it does not write state or own simulation. The - legacy cache no longer has a public mutation surface. + `LegacyCatalogBoundary` is the only named owner for opening the old catalog + and binding legacy `DatabaseLink` resolution until catalog migration lands. + `ActionGameManager` has a private boot helper that calls it only to construct + `ItemManager`. Runtime code receives narrow `ItemManager` catalog methods + where gameplay only needs lookups. `ItemManager` still receives + `ILegacyCatalogReader` until typed runtime catalog boot replaces it; `Galaxy` + has been moved off the legacy reader and now consumes `ItemManager`. + `Aetheria.State.Unity` owns a read-only typed catalog facade for future Unity + consumers; it does not write state or own simulation. The legacy cache no + longer has a public mutation surface. - Inputs: Unity gameplay code, legacy catalog files, typed state documents, and CultMesh server state. - Outputs: `Aetheria.State` emits `.cc` state and CultMesh documents. Legacy