Add typed state artifact verifier

This commit is contained in:
Meta Vens 2026-06-13 07:54:30 +01:00
commit 856f61e071
53 changed files with 8505 additions and 0 deletions

View file

@ -120,6 +120,8 @@ The state spine lives in `Aetheria.State`. It defines CultCache documents, CultN
Use `Aetheria.State.Import` to quarantine the checked-in legacy catalog files and map stable MessagePack payload fields into typed CultCache state. The importer records path, size, and SHA-256 provenance for `GameData/AetherDB.msgpack` and `GameData/NameFile/*.msgpack`, then emits typed item, faction, and name-file records for the fields that have earned migration authority.
Use `Aetheria.State.Verify` after import to prove the materialized `.cc` file is internally coherent: migration-ledger counts must match actual typed catalog records, and legacy-ID lookups must resolve through `Aetheria.State` rather than importer-local key strings.
#### Editing Items
Item editing should target typed CultCache documents and CultMesh/Eve surfaces. The old Unity database inspector has been removed from authority; if it returns, it should be a lowering over the state spine, not a separate store.