Skip to content

Commit bd599db

Browse files
authored
Merge pull request #583 from Fr-e-d/contrib/sync-1782349811
sync: update 2 file(s) in core/
2 parents 223e718 + 5d6a91a commit bd599db

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.gaai/core/scripts/delivery-daemon.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4060,6 +4060,13 @@ cd "$PROJECT_DIR" || exit 1
40604060
40614061
# Inherit daemon's env vars critical to dispatch :
40624062
export 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"
40634070
export BACKLOG_FILE="$BACKLOG"
40644071
export SCHEDULER="$SCHEDULER"
40654072
export LOCK_DIR="$LOCK_DIR"

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)