File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4155,6 +4155,13 @@ WRAPPER_EOF
41554155 [[ -n " ${GAAI_IMPL_MODEL_FALLBACK:- } " ]] && tmux_env_args+=(-e " GAAI_IMPL_MODEL_FALLBACK=${GAAI_IMPL_MODEL_FALLBACK} " )
41564156 [[ -n " ${GAAI_AUTO_MERGE_POLICY:- } " ]] && tmux_env_args+=(-e " GAAI_AUTO_MERGE_POLICY=${GAAI_AUTO_MERGE_POLICY} " )
41574157 [[ -n " ${GAAI_AUTO_MERGE_ADMIN_FALLBACK:- } " ]] && tmux_env_args+=(-e " GAAI_AUTO_MERGE_ADMIN_FALLBACK=${GAAI_AUTO_MERGE_ADMIN_FALLBACK} " )
4158+ # The delivery wrapper runs in its OWN tmux session and creates the per-story worktree.
4159+ # It MUST inherit the operator's real checkout + the daemon home, or its worktree-base
4160+ # derivation falls back to PROJECT_DIR (= the home when the daemon binary runs from the
4161+ # home worktree) and nests the worktrees under the home. Forward both.
4162+ [[ -n " ${GAAI_REPO_ROOT:- } " ]] && tmux_env_args+=(-e " GAAI_REPO_ROOT=${GAAI_REPO_ROOT} " )
4163+ [[ -n " ${GAAI_DAEMON_HOME:- } " ]] && tmux_env_args+=(-e " GAAI_DAEMON_HOME=${GAAI_DAEMON_HOME} " )
4164+ [[ -n " ${GAAI_WORKTREES_BASE:- } " ]] && tmux_env_args+=(-e " GAAI_WORKTREES_BASE=${GAAI_WORKTREES_BASE} " )
41584165
41594166 # ── Cross-cycle qa-report env setup ────────────────────────────────
41604167 local _cc_3p_wt_path
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: forward REPO_ROOT/DAEMON_HOME to the per-story delivery wrapper
1314- fix: instruct QA to read the ENTIRE decision incl. amendment/reword blocks
1415- fix: anchor operator state + worktree base to the real checkout, not the home
1516- fix: operator state (logs/locks) + worktree base anchor to REPO_ROOT, not the home
You can’t perform that action at this time.
0 commit comments