acdream/tests/AcDream.App.Tests/Diagnostics
Erik c51b07ef95 test(gates): sequence the two-client remote-shadow gate with harness signals
Imported from the codex worktree's uncommitted work
(C:/Users/erikn/.codex/worktrees/bd98/acdream on
codex/atmospheric-rendering-campaign), on top of its 8b7b601b.

The remote-player shadow gate ran two clients on fixed sleeps, so the
observer could move before the primary had taken its 'before' screenshot,
or the primary could take its 'after' shot before the observer had moved.
Now the harness publishes named signal files into each client's artifact
directory and the routes block on them:

- IRetailUiAutomationRuntime.TryIsAutomationSignalPublished, implemented
  by WorldLifecycleAutomationController over <artifactDir>/signals/
  <name>.signal (names validated by AutomationArtifactName, so no path
  escape).
- 'wait signal <name> [timeoutMs]' in RetailUiAutomationScriptRunner.
- run-connected-render-pack-remote-player-gate.ps1 publishes
  'primary-before' to the observer after the primary's before-shot
  completes, then 'observer-moved' to the primary after the observer's
  remote-observer-moved checkpoint.
- Both routes teleport with an explicit heading and wait 12 s to settle.

Build green; the three touched App test classes pass 58/58 including the
two new signal tests.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-22 17:44:13 +02:00
..
AtmosphericPerformanceMatrixContractTests.cs feat(render): implement Campaign AR and terrain fidelity 2026-08-22 13:13:29 +02:00
AtmosphericPreviewLauncherContractTests.cs feat(render): implement Campaign AR and terrain fidelity 2026-08-22 13:13:29 +02:00
ConnectedRenderPackGateContractTests.cs test(gates): sequence the two-client remote-shadow gate with harness signals 2026-08-22 17:44:13 +02:00
ConnectedWorldSoakRouteContractTests.cs fix(gates): initialize connected soak artifacts before isolation 2026-08-22 13:34:36 +02:00
RuntimeDiagnosticCommandControllerTests.cs refactor(app): complete session startup composition 2026-07-22 18:49:31 +02:00
WorldLifecycleAutomationControllerTests.cs test(gates): sequence the two-client remote-shadow gate with harness signals 2026-08-22 17:44:13 +02:00