File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -195,18 +195,15 @@ related_decs: []
195195IMPL_STORY_EOF
196196 printf ' ## Implementation Sequence\nStep 1.\n' \
197197 > " $_wt /.gaai/project/contexts/artefacts/plans/${_impl_id} .execution-plan.md"
198+ # git-init each worktree so handle_commit_phase can run git operations
199+ git -C " $_wt " init -q
200+ git -C " $_wt " config user.email " test@example.com"
201+ git -C " $_wt " config user.name " Test"
202+ git -C " $_wt " commit --allow-empty -m " init" --quiet
203+ git -C " $_wt " checkout -B " story/${_impl_id} " -q
198204done
199205unset _impl_id _wt
200206
201- # git init dispatch-worktree so handle_commit_phase can run in T7c
202- _dispatch_wt=" $DISPATCH_FIXTURE_DIR /E134S01-workspace"
203- git -C " $_dispatch_wt " init -q
204- git -C " $_dispatch_wt " config user.email " test@example.com"
205- git -C " $_dispatch_wt " config user.name " Test"
206- git -C " $_dispatch_wt " commit --allow-empty -m " init" --quiet
207- git -C " $_dispatch_wt " checkout -B " story/dispatch-test" -q
208- unset _dispatch_wt
209-
210207# ── node shim: redirects nested-claude-spawn.js to impl-spawn-stub.mjs ──────
211208# This exercises the real runImpl() routing via _setSpawnFn (AC6.a requirement).
212209DISPATCH_REAL_NODE=" $( command -v node) "
You can’t perform that action at this time.
0 commit comments