From a1e4a8230657b71760cbda846546bd4349199f82 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 5 Jul 2026 18:18:10 +0100 Subject: [PATCH] Align daemon verifier with live authority paths --- Aetheria.State.Verify/Program.cs | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/Aetheria.State.Verify/Program.cs b/Aetheria.State.Verify/Program.cs index 53a4fafcc..4f7018636 100644 --- a/Aetheria.State.Verify/Program.cs +++ b/Aetheria.State.Verify/Program.cs @@ -11743,7 +11743,7 @@ static void RequireDaemonVersePublication(string root) "startServer: true", "node.MutableDocument(AetheriaRuntimeVerseRecordKeys.DaemonFrameLatest)", "Catalog = node.RuntimeCatalog().Latest()", - "node.RuntimeCatalog().Latest());", + "AetheriaDaemonZoneGenerator.WritePlayableRunAsync(", "node.MutableDocument(AetheriaRuntimeVerseRecordKeys.VerseAuthorityPolicy)", "node.MutableDocument(AetheriaRuntimeVerseRecordKeys.StarbridgeScenarioLatest)", "node.MutableDocument(AetheriaRuntimeVerseRecordKeys.StarbridgeSessionLatest)", @@ -11752,7 +11752,7 @@ static void RequireDaemonVersePublication(string root) "BuildPublications = buildPublications", "new AetheriaVerseDiscoveryHost(node)", "discoveryHost.Update(", - "PublishDaemonApiDocumentsAsync(node, result)", + "PublishDaemonApiDocumentsAsync(node, options, result)", "node.MutableDocument(AetheriaRuntimeVerseRecordKeys.DaemonSoaViewLatest)", "node.MutableDocument(AetheriaRuntimeVerseRecordKeys.DaemonProviderAdvertisement)", "node.MutableDocument(AetheriaRuntimeVerseRecordKeys.DaemonHealth)", @@ -11827,16 +11827,8 @@ static void RequireDaemonVersePublication(string root) string.Join(", ", survivingNamedDaemonHostSymbols)); } - var committedFactImportStart = daemonHostSource.IndexOf( - "static async Task ImportRemoteCommittedFactsAsync", - StringComparison.Ordinal); - var committedFactImportEnd = committedFactImportStart >= 0 - ? daemonHostSource.IndexOf("static RudpCultNetSchemaServer StartRtsCultMeshHost", committedFactImportStart, StringComparison.Ordinal) - : -1; - var committedFactImportBlock = committedFactImportStart >= 0 && committedFactImportEnd > committedFactImportStart - ? daemonHostSource.Substring(committedFactImportStart, committedFactImportEnd - committedFactImportStart) - : ""; - if (!committedFactImportBlock.Contains("node.RuntimeCatalog().Latest())", StringComparison.Ordinal)) + if (!committedFactImporter.Contains("AetheriaRuntimeCatalogSnapshot? catalog = null", StringComparison.Ordinal) || + !committedFactImporter.Contains("Catalog = catalog ?? EmptyCatalog()", StringComparison.Ordinal)) { throw new InvalidOperationException( "Remote committed fact import must pass the managed runtime catalog document into the tick importer instead of reopening catalog storage."); @@ -11887,7 +11879,7 @@ static void RequireDaemonVersePublication(string root) } if (!daemonTickBlock.Contains("if (buildPublications)", StringComparison.Ordinal) || - !daemonTickBlock.Contains("PublishDaemonApiDocumentsAsync(node, result)", StringComparison.Ordinal)) + !daemonTickBlock.Contains("PublishDaemonApiDocumentsAsync(node, options, result)", StringComparison.Ordinal)) { throw new InvalidOperationException( "Daemon ticks must publish API cadence documents through managed AetheriaStateNode pointers.");