Use reactive catalog inputs without fallback snapshots

This commit is contained in:
Meta Vens 2026-06-28 11:52:11 +01:00
commit 72e2041071
2 changed files with 17 additions and 14 deletions

View file

@ -10820,8 +10820,6 @@ static void RequireAetheriaRuntimeVerseClientContract(string root)
"starbridgeScenarioDocument.Reactive()",
"starbridgeSessionDocument.Reactive()",
"latestFrameDocument.Reactive()",
"BootstrapRuntimeCatalogSnapshot(),",
"BootstrapLoadoutTemplatesDocument())",
"projectionInputs.RequireFrame()",
"projectionInputs.Catalog",
"projectionInputs.LoadoutTemplates.Templates",
@ -10874,6 +10872,15 @@ static void RequireAetheriaRuntimeVerseClientContract(string root)
"Aetheria runtime Verse client projected documents still bootstrap through one-shot latest-frame reads instead of the managed reactive projection inputs.");
}
if (client.Contains("_fallbackCatalog", StringComparison.Ordinal) ||
client.Contains("_fallbackLoadoutTemplates", StringComparison.Ordinal) ||
client.Contains("fallbackCatalog", StringComparison.Ordinal) ||
client.Contains("fallbackLoadoutTemplates", StringComparison.Ordinal))
{
throw new InvalidOperationException(
"Aetheria runtime Verse client projections must use managed reactive catalog/loadout documents directly instead of carrying manual fallback snapshots.");
}
var requiredClientStateSymbols = new[]
{
"public Func<string, string> CreateEveSurfaceStateRefResolver()",