Skip to content

fix: remove unreachable plan-move block that assumed code/ subdirectory#153

Merged
ben-rogerson merged 3 commits into
mainfrom
fix/engine-plan-move-assumes-code-subdir
May 10, 2026
Merged

fix: remove unreachable plan-move block that assumed code/ subdirectory#153
ben-rogerson merged 3 commits into
mainfrom
fix/engine-plan-move-assumes-code-subdir

Conversation

@ben-rogerson
Copy link
Copy Markdown
Owner

Summary

The executeWorkflow function had a per-step block that attempted to move plan files from plans/ to project/code/plans/ once a code subdirectory appeared. The coding template explicitly tells code-writer not to create code/ (code lives at project root), making this block unreachable. Removing it simplifies the function and clarifies intent.

Test plan

  • pnpm typecheck
  • pnpm lint
  • pnpm test

The executeWorkflow function had a per-step block that attempted to move plan files from `plans/` to `project/code/plans/` once a code subdirectory appeared. The coding template explicitly tells code-writer not to create code/ (code lives at project root), making this block unreachable. Removing it simplifies the function and clarifies intent.
@ben-rogerson ben-rogerson enabled auto-merge (squash) May 10, 2026 00:49
@ben-rogerson ben-rogerson merged commit 5c8616e into main May 10, 2026
1 check passed
@ben-rogerson ben-rogerson deleted the fix/engine-plan-move-assumes-code-subdir branch May 10, 2026 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant