Trusted root: assemblies-only dir, env cleared on every path, string checks first, escaped logs
Review (Heimdall): dev scripts keep slots and live-slots under artifacts/dev-reload/assemblies and pass that as the root, not the whole dev root; --client-trusted-root refuses an empty or missing value and the environment variable is cleared on every path; the UNC/fully-qualified string rule runs before File.Exists on a pointer target; control characters are escaped in every logged path. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
7ec7a0f909
commit
45b0b38a2e
5 changed files with 165 additions and 23 deletions
|
|
@ -20,7 +20,7 @@ $liveProjectPath = (Resolve-Path $liveProjectPath).Path
|
|||
$liveAssemblyName = [System.IO.Path]::GetFileNameWithoutExtension($liveProjectPath)
|
||||
$clientSourceRoot = Split-Path $liveProjectPath
|
||||
$watchLogPath = Join-Path $repoRoot "artifacts\dev-reload\watch.log"
|
||||
$liveSlotRoot = Join-Path $repoRoot "artifacts\dev-reload\live-slots"
|
||||
$liveSlotRoot = Join-Path $repoRoot "artifacts\dev-reload\assemblies\live-slots"
|
||||
$liveReloadPointerPath = Join-Path $repoRoot "artifacts\dev-reload\live-current.txt"
|
||||
$shaderPath = Join-Path $repoRoot "src\Aquarium.Engine\Render\Shaders\Aquarium.hlsl"
|
||||
$engineShaderRoot = Join-Path $repoRoot "src\Aquarium.Engine\Render\Shaders"
|
||||
|
|
|
|||
Loading…
Reference in a new issue