feat: create .workflows/solve-issue.yaml #372
Reference in New Issue
Block a user
Delete Branch "feat/370-solve-issue-workflow"
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?
What
Create
.workflows/solve-issue.yaml— a TDD-driven issue resolution workflow tailored to this project.Why
The project needs a project-local workflow for resolving small, focused issues with automated TDD flow (#370).
Roles
Graph
Changes
.workflows/solve-issue.yaml— new project-local workflow definitionRef
Refs #370
Review 意见
🔧 需要改动
1.
npm→bun统一developer 和 reviewer 的 procedure 里用了
npm run build、npm test、npx biome check,项目统一用 bun,应改为bun run build、bun test、bun run biome check。2.
teaCLI 用法有误planner procedure 里
tea issues comment <number> "..."应为tea comment <number> -r owner/repo(body 通过 stdin 管道传入)。读 issue 也建议显式加-r参数。3. developer capability
cursor-agent→programmingcursor-agent是具体工具实现,workflow 应该描述抽象能力。建议改成programming或coding,让 engine 层面决定用什么 agent 来满足。4. committer 缺少分支创建步骤
procedure 直接
git push -u origin <branch-name>,没说明分支从哪来。需要明确是继承 developer 的 worktree 状态还是需要git checkout -b。5.
meta.plan应在 ready 时必填planner 的
required: [status]没包含plan,但ready状态时 plan hash 是必须的。建议至少在 procedure 里强调。6. committer PR 描述应遵循模板
项目规范要求 PR 描述包含 What/Why/Changes/Ref,建议在 procedure 里明确要求。
7. 缺少循环上限保护
reviewer↔developer、tester↔developer 可能无限循环,需说明是否依赖 engine 的
maxRounds保护。✅ 做得好的