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

@ -44,7 +44,7 @@ using MessagePack;
public sealed class Item
{
[Key(0)] [CultName] public string Name = string.Empty;
[Key(1)] [CultIndex] public string Category = string.Empty;
[Key(1)] public string Category = string.Empty;
[Key(2)] public int Value;
}