feat(workflow): add preparer role (#28) #29

Closed
xiaoju wants to merge 0 commits from feat/28-preparer-role into main
Owner

What

Add a preparer role as the first step in the solve-issue workflow.

Why

Currently the planner/coder must figure out where the code lives on their own. A dedicated preparer role handles all repo setup upfront.

Changes

  • packages/workflow-role-preparer/ — new package with PreparerMeta type, Zod schema, system/extract prompts
  • packages/workflow-template-solve-issue/src/roles.ts — added preparer to SolveIssueMeta
  • packages/workflow-template-solve-issue/src/moderator.ts — first step is now preparer → planner
  • packages/workflow-template-solve-issue/src/index.ts — re-exports preparer types
  • Tests updated for new flow (129 pass, 0 fail)

Fixes #28

## What Add a `preparer` role as the first step in the solve-issue workflow. ## Why Currently the planner/coder must figure out where the code lives on their own. A dedicated preparer role handles all repo setup upfront. ## Changes - **packages/workflow-role-preparer/** — new package with PreparerMeta type, Zod schema, system/extract prompts - **packages/workflow-template-solve-issue/src/roles.ts** — added preparer to SolveIssueMeta - **packages/workflow-template-solve-issue/src/moderator.ts** — first step is now preparer → planner - **packages/workflow-template-solve-issue/src/index.ts** — re-exports preparer types - Tests updated for new flow (129 pass, 0 fail) Fixes #28
xiaoju added 1 commit 2026-05-07 10:13:24 +00:00
- New package: @uncaged/workflow-role-preparer with PreparerMeta type,
  schema, system prompt, and extract prompt
- Preparer locates/clones repo, detects toolchain and conventions
- Moderator updated: preparer → planner → coder → reviewer → committer
- solve-issue template re-exports preparer types
- Tests updated for new flow (129 pass, 0 fail)

Fixes #28
xiaoju added 1 commit 2026-05-07 10:15:14 +00:00
xiaoju closed this pull request 2026-05-07 10:18:13 +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: uncaged/workflow#29