refactor(workflow-generator): multi-file DIP + Role Factory + esbuild bundle #4

Closed
xiaoju wants to merge 0 commits from feat/3-workflow-generator-refactor into master
Owner
No description provided.
xiaoju added 1 commit 2026-04-28 08:48:45 +00:00
- 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#3
xiaoju closed this pull request 2026-04-28 23:06:11 +00:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: xiaoju/nerve-workspace#4
No description provided.