dev-reload: trusted root is the dev root, so dev-watch live-slots reloads load

dev-watch writes the reload pointer under artifacts/dev-reload/live-slots, a
sibling of slots; a slot-directory root refused every watch reload and the
reopen path. Test: a sibling directory loads inside an explicit root, not under
the default root, and an outside assembly is still refused.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Aqua 2026-11-07 10:47:56 +00:00
commit e0fc49b720
2 changed files with 18 additions and 1 deletions

View file

@ -196,7 +196,7 @@ function Start-AquariumProcess {
"--shader-source", (Join-Path $SlotPath "Render\Shaders\D3D12HeightField.hlsl"),
"--client-assembly", $LiveAssemblyPath,
"--client-reload-pointer", $liveReloadPointerPath,
"--client-trusted-root", $slotRoot
"--client-trusted-root", $devRoot
)
if ($RunHeadless) {
$arguments += "--headless"