From c64ee03a94f9b41cb5a509316b8ea273d623781d Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 28 Jun 2026 01:20:50 +0100 Subject: [PATCH] Align verifier with Verse client projection split --- Aetheria.State.Verify/Program.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Aetheria.State.Verify/Program.cs b/Aetheria.State.Verify/Program.cs index 9e59822d6..7af722c3f 100644 --- a/Aetheria.State.Verify/Program.cs +++ b/Aetheria.State.Verify/Program.cs @@ -14383,6 +14383,10 @@ static void RequireInventoryLoadoutRestoreRequestAuthority(string root) var client = File.Exists(clientPath) ? File.ReadAllText(clientPath) : throw new InvalidOperationException("Cannot verify loadout restore authority; AetheriaClient.cs is missing."); + var verseClientPath = Path.Combine(root, "Packages", "org.gamecult.aetheria.state", "Runtime", "AetheriaRuntimeVerseClient.cs"); + var verseClient = File.Exists(verseClientPath) + ? File.ReadAllText(verseClientPath) + : throw new InvalidOperationException("Cannot verify loadout restore authority; AetheriaRuntimeVerseClient.cs is missing."); var requiredSymbols = new[] { @@ -14530,7 +14534,7 @@ static void RequireInventoryLoadoutRestoreRequestAuthority(string root) !rtsProjection.Contains("AetheriaRuntimeDaemonTradeItemQueries.TryProjectLoadoutTemplatePrice(", StringComparison.Ordinal) || !rtsProjection.Contains("credits >= price", StringComparison.Ordinal) || !client.Contains("GetLoadoutTemplatesAsync()", StringComparison.Ordinal) || - !client.Contains("ProjectStationRefit(frame, loadoutTemplates, catalog)", StringComparison.Ordinal)) + !verseClient.Contains("ProjectStationRefit(frame, loadoutTemplates, catalog)", StringComparison.Ordinal)) { throw new InvalidOperationException( "StationRefitAsync must publish typed loadout restore options with shared runtime pricing and daemon-target identity.");