CultCache: [CultIndex] is unique at commit and load; grouping and selection declarations become [CultRole]

RefuseIndexSharing in Resolve judges every admission; _indexes holds one key per value; cacheless writes and moved-file writes of unique-indexed types are refused.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Libby 2026-11-11 00:49:52 +00:00
commit 46a40e774b
19 changed files with 460 additions and 245 deletions

View file

@ -581,7 +581,7 @@ namespace GameCult.Networking.Tests
return instance;
}
// A plain data member "Owner" with no [CultIndex] (its role falls back to its bare name)
// A plain data member "Owner" with no [CultRole] (its role falls back to its bare name)
// and a reference member whose alias is explicitly "Owner" - the exact shape Soul probed.
var ownerMember = MakeMember(typeof(GuardProbeShape).GetField(nameof(GuardProbeShape.Owner))!,
typeof(string), 0, indexAlias: null, isReference: false, targetType: null);