diff --git a/Aetheria.State.Verify/Program.cs b/Aetheria.State.Verify/Program.cs index 5bf2c0c9a..7d8660ce3 100644 --- a/Aetheria.State.Verify/Program.cs +++ b/Aetheria.State.Verify/Program.cs @@ -16310,6 +16310,22 @@ static void RequireUnityDoesNotCallSharedSimulationTicks(string root) string.Join(", ", sharedRuntimeAuthorityHits)); } + var staleRuntimeSpecificTestAuthoritySources = new Dictionary + { + ["Assets/Scripts/Tests/DaemonRuntimeDocumentTests.cs"] = daemonRuntimeDocumentTests + } + .Where(pair => + pair.Value.Contains("daemon-rts", StringComparison.Ordinal) || + pair.Value.Contains("rts-commander", StringComparison.Ordinal)) + .Select(pair => pair.Key) + .ToArray(); + if (staleRuntimeSpecificTestAuthoritySources.Length > 0) + { + throw new InvalidOperationException( + "Aetheria daemon tests must assert daemon-owned simulation vocabulary, not stale RTS owner kinds: " + + string.Join(", ", staleRuntimeSpecificTestAuthoritySources)); + } + var staleRuntimeSpecificAssetSources = new Dictionary { ["Aetheria.Rts.Web/Electron/aetheria-rts-local-documents.ts"] = rtsLocalDocuments, diff --git a/Assets/Scripts/Tests/DaemonRuntimeDocumentTests.cs b/Assets/Scripts/Tests/DaemonRuntimeDocumentTests.cs index e6c04447f..103fc8247 100644 --- a/Assets/Scripts/Tests/DaemonRuntimeDocumentTests.cs +++ b/Assets/Scripts/Tests/DaemonRuntimeDocumentTests.cs @@ -1936,7 +1936,7 @@ public class DaemonRuntimeDocumentTests Assert.IsTrue(zone.Projectiles.All(projectile => projectile.Active)); Assert.IsTrue(zone.Projectiles.Any(projectile => projectile.SourceEntityIndex == 0 && projectile.TargetEntityIndex == 1)); Assert.IsTrue(zone.Entities.All(entity => entity.WeaponStates.Any(weapon => - weapon.OwnerKind == "daemon-rts" && + weapon.OwnerKind == "daemon-simulation" && weapon.BehaviorKind == "ProjectileWeapon"))); var frame = AetheriaRuntimeDaemonFrameDocument.Create(