From 31620653e4f034833086ff690270537bb382938e Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 13 Sep 2026 23:22:58 +0200 Subject: [PATCH] Require MessagePackObject on documents and keep reflection type names Deleting the generator exposed that its codec was the only writer for documents without [MessagePackObject], and that it named nested member types with a dot where reflection uses a plus. Operator decisions: the registry requires [MessagePackObject] on every [CultDocument], and nested type names keep the reflection form once a store scan shows no persisted record uses the dot form. Co-Authored-By: Claude Opus 5 --- docs/cultcache-migration-cut.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/cultcache-migration-cut.md b/docs/cultcache-migration-cut.md index 5f375f9ee..7e43c6746 100644 --- a/docs/cultcache-migration-cut.md +++ b/docs/cultcache-migration-cut.md @@ -820,7 +820,14 @@ rejection rule; payloads go through `MessagePackSerializer` with target ever appears, MessagePack's own AOT generator is the answer, not a second copy of the rules. The generator member-discovery and sweep work below is superseded; the rules it settled now live in the registry alone. -Follow-ups: Delvehold drops its two analyzer references when it re-pins +The first deletion attempt showed the fallback claim was incomplete: the +generated codec was the only writer for `[CultDocument]` types without +`[MessagePackObject]` (MessagePack's resolver refuses them), and the generator +named nested member types `Outer.Inner` where reflection uses `Outer+Inner`. +Operator decisions: every `[CultDocument]` must carry `[MessagePackObject]` +(the registry rejects one without it), and nested member type names keep +reflection's `+` form, after a scan confirms no persisted store holds the dot +form. Follow-ups: Delvehold drops its two analyzer references when it re-pins CultLib; EveUnity's `GenericWorldCaptureTests.cs:65` (both projects) moves off the deleted `Deserialize` when it re-pins.