From f121cd8a065f4174adab69b8ccc056b0c41748b7 Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Tue, 11 Aug 2026 00:41:59 -0500 Subject: [PATCH] fix(update): run hermes update from the install root + unbreak fresh repro The posix orchestrator inherited the Desktop's cwd, and parts of the update pipeline resolve the tree they mutate from the working directory -- the sandboxed behind-repro caught it updating the DEVELOPER'S primary checkout (cwd at spawn time) while reporting success against the sandbox. cd "$INSTALL_ROOT" before running hermes update, matching the cwd:updateRoot contract of the deleted in-app path. Verified: rerun leaves the outside checkout untouched (reflog clean). repro.sh fresh used a --no-interactive flag install.sh doesn't have; non-TTY stdin (&1)"; CODE=$? diff --git a/scripts/desktop-update/repro.sh b/scripts/desktop-update/repro.sh index 1560d98191..114888f135 100755 --- a/scripts/desktop-update/repro.sh +++ b/scripts/desktop-update/repro.sh @@ -46,8 +46,10 @@ ensure_sandbox_install() { mkdir -p "$SANDBOX" # The literal user path: install.sh against a clone of THIS checkout, so # the repro reproduces what you're about to ship, not origin/main. + #