feat(render-diag): add ACDREAM_PROBE_PORTAL_CHURN flag for the bounded-propagation pin

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Erik 2026-06-08 12:49:17 +02:00
parent a3dadbf664
commit 687040ba52
2 changed files with 18 additions and 0 deletions

View file

@ -132,4 +132,11 @@ public sealed class RenderingDiagnosticsTests
// playerCellId == 0 (unresolved) → treat as outside (safe default: outdoor render).
Assert.False(RenderingDiagnostics.ShouldRenderIndoor(playerCellId: 0u, renderRootResolved: true));
}
[Fact]
public void ProbePortalChurn_DefaultsFalse_WhenEnvUnset()
{
// Env var is absent in the test host, so the flag must default false (inert probe).
Assert.False(AcDream.Core.Rendering.RenderingDiagnostics.ProbePortalChurnEnabled);
}
}