fix(gates): initialize connected soak artifacts before isolation

This commit is contained in:
Erik 2026-08-22 13:34:36 +02:00
parent 0b6c6557a8
commit 1f75ce0505
2 changed files with 4 additions and 1 deletions

View file

@ -418,6 +418,9 @@ public sealed class ConnectedWorldSoakRouteContractTests
AssertAppearsInOrder(
source,
"$artifactDir = \"$prefix.artifacts\"",
"$null = New-Item -ItemType Directory -Force -Path $artifactDir",
"$renderPackGate = New-ConnectedRenderPackGateState",
"Get-ChildItem Env: | Where-Object { $_.Name -like 'ACDREAM_*' }",
"Join-Path $artifactDir 'env-disclosure.json'",
"try {");

View file

@ -72,6 +72,7 @@ $markerLog = "$prefix.markers.log"
$sampleCsv = "$prefix.samples.csv"
$reportJson = "$prefix.report.json"
$artifactDir = "$prefix.artifacts"
$null = New-Item -ItemType Directory -Force -Path $artifactDir
$collisionShadowDir = Join-Path $artifactDir 'collision-shadow'
$checkpointTimeline = Join-Path $artifactDir 'world-lifecycle.checkpoints.jsonl'
$frameHistory = Join-Path $artifactDir 'frame-history.csv'
@ -776,7 +777,6 @@ $env:ACDREAM_COLLISION_SHADOW_DIR =
# ACDREAM_DUMP_MOVE_TRUTH because nothing else the script sets was
# recorded anywhere). Written into the automation artifact directory
# BEFORE launch so a failed/aborted run still leaves the disclosure behind.
$null = New-Item -ItemType Directory -Force -Path $artifactDir
$acdreamEnvVars = Get-ChildItem Env: | Where-Object { $_.Name -like 'ACDREAM_*' } |
Sort-Object Name |
ForEach-Object {