File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4060,6 +4060,13 @@ cd "$PROJECT_DIR" || exit 1
40604060
40614061# Inherit daemon's env vars critical to dispatch :
40624062export PROJECT_DIR="$PROJECT_DIR "
4063+ # REPO_ROOT = the operator's REAL checkout. MUST be baked in: dispatch's per-story
4064+ # worktree-base derivation is \$ {REPO_ROOT:-\$ PROJECT_DIR}/.. — and PROJECT_DIR above is the
4065+ # daemon HOME (post home-flip). Without REPO_ROOT the fallback nests worktrees under the home
4066+ # (.gaai-worktrees/<repo>/.gaai-worktrees/__daemon-home/<sid>-workspace). Bake the daemon's
4067+ # (correct) REPO_ROOT so the wrapper derives the canonical non-nested base.
4068+ export REPO_ROOT="$REPO_ROOT "
4069+ export GAAI_REPO_ROOT="$REPO_ROOT "
40634070export BACKLOG_FILE="$BACKLOG "
40644071export SCHEDULER="$SCHEDULER "
40654072export LOCK_DIR="$LOCK_DIR "
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010## [ Unreleased]
1111
1212### Changed
13+ - fix: bake REPO_ROOT into the generated delivery wrapper (worktree nesting)
1314- fix: forward REPO_ROOT/DAEMON_HOME to the per-story delivery wrapper
1415- fix: instruct QA to read the ENTIRE decision incl. amendment/reword blocks
1516- fix: anchor operator state + worktree base to the real checkout, not the home
You can’t perform that action at this time.
0 commit comments