refactor(workflow-generator): multi-file DIP + Role Factory + esbuild bundle #4
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/3-workflow-generator-refactor"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
- Split 500-line monolith into roles/{planner,coder,tester,committer}/ - Each role: index.ts (build function) + prompt.ts (pure function) - Use createCursorRole/createLlmRole/createHermesRole factories - DIP: env vars read in index.ts, injected via build.ts - esbuild bundle to dist/index.js (24kb) - Moderator logic preserved: planner→coder→tester→committer with retries Fixes xiaoju/nerve-workspace#3Pull request closed