Skip to content

Commit b33b3fd

Browse files
authored
Merge pull request #288 from Fr-e-d/contrib/sync-1777596705
sync: update 1 file(s) in core/
2 parents 38d713d + 7f7f27a commit b33b3fd

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

.gaai/core/scripts/tests/daemon-state-machine.test.sh

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -195,18 +195,15 @@ related_decs: []
195195
IMPL_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
198204
done
199205
unset _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).
212209
DISPATCH_REAL_NODE="$(command -v node)"

0 commit comments

Comments
 (0)