Reject read-only legacy cache mutation

This commit is contained in:
Meta Vens 2026-06-13 07:04:19 +01:00
commit e18cede05e
2 changed files with 20 additions and 4 deletions

View file

@ -36,7 +36,9 @@ local CultCache, and legacy UI paths should be migration-only or deleted.
MessagePack backing stores may hydrate in-memory domain objects for the
current Unity runtime, but this path cannot push or delete legacy files. The
legacy backing-store abstraction is pull-only; its write and realtime
watcher APIs have been deleted.
watcher APIs have been deleted. Public `Add`, `AddAll`, and `Remove` calls
against the read-only cache are rejected; only backing-store pull hydration
can populate it.
- `DatabaseLink<T>.Value` can resolve legacy links only after
`LegacyCatalogBoundary` binds the read-only catalog cache. `CultCache`
construction no longer grabs global `DatabaseLinkBase` authority.