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

@ -32,7 +32,7 @@ namespace GameCult.Geometry
public string DomainId { get; set; } = string.Empty;
[Key(1)]
[CultIndex]
[CultRole]
public string RootKey { get; set; } = string.Empty;
[Key(2)]
@ -164,7 +164,7 @@ namespace GameCult.Geometry
public CultRecordRef<CultGeometryDomainDocument> DomainKey { get; set; }
[Key(2)]
[CultIndex]
[CultRole]
public string WorkerGroup { get; set; } = string.Empty;
[Key(3)]
@ -326,7 +326,7 @@ namespace GameCult.Geometry
public CultRecordRef<CultGeometrySelectedCutManifest> CutKey { get; set; }
[Key(2)]
[CultIndex]
[CultRole]
public string SelectedCutId { get; set; } = string.Empty;
[Key(3)]