Loading...
Loading...
Compare original and translation side by side
docs/todo/pending/docs/todo/pending/ogt-agent-spawn \
--task "implement-user-auth" \
--personality engineer \
--backend claudeogt-agent-spawn \
--task "implement-user-auth" \
--personality engineer \
--backend claudeogt-agent-spawn \
--task "fuzzy-search" \
--personality engineer \
--backend gemini \
--priority high \
--estimated-hours 4 \
--context "docs/todo/pending/fuzzy-search/context.md"ogt-agent-spawn \
--task "fuzzy-search" \
--personality engineer \
--backend gemini \
--priority high \
--estimated-hours 4 \
--context "docs/todo/pending/fuzzy-search/context.md"undefinedundefined
---
---flowchart TD
A["Spawn Agent"] --> B["Load Task<br/>docs/todo/pending/{task}/"]
B --> C["Set Personality<br/>Read personality briefing"]
C --> D["Select CLI Backend<br/>Claude/Gemini/OpenCode/Copilot"]
D --> E["Create .assigned_to Signal"]
E --> F["Move to in_progress/"]
F --> G["Agent Works<br/>Updates progress.md"]
G --> H{Task Complete?}
H -->|Blocked| I["Move to blocked/<br/>Add .blocked_reason"]
H -->|Done| J["Create implementation.md"]
I --> X["Return Status"]
J --> K["Update Task<br/>Add .ready_for_review"]
K --> L["Move to review/"]
L --> X
style A fill:#fef3c7
style F fill:#dbeafe
style L fill:#e0e7ff
style I fill:#fee2e2
style X fill:#e0e7ffflowchart TD
A["Spawn Agent"] --> B["Load Task<br/>docs/todo/pending/{task}/"]
B --> C["Set Personality<br/>Read personality briefing"]
C --> D["Select CLI Backend<br/>Claude/Gemini/OpenCode/Copilot"]
D --> E["Create .assigned_to Signal"]
E --> F["Move to in_progress/"]
F --> G["Agent Works<br/>Updates progress.md"]
G --> H{Task Complete?}
H -->|Blocked| I["Move to blocked/<br/>Add .blocked_reason"]
H -->|Done| J["Create implementation.md"]
I --> X["Return Status"]
J --> K["Update Task<br/>Add .ready_for_review"]
K --> L["Move to review/"]
L --> X
style A fill:#fef3c7
style F fill:#dbeafe
style L fill:#e0e7ff
style I fill:#fee2e2
style X fill:#e0e7ffYou are a Software Architect personality. Your role:
1. **Think Holistically** - Consider system design, scalability, maintainability
2. **Question Assumptions** - Ask "why" before implementing
3. **Provide Rationale** - Explain design decisions
4. **Document Trade-offs** - Show alternatives considered
5. **Plan for Growth** - Consider future requirements
When reviewing code or design:
- Assess architectural fitness
- Identify risks and bottlenecks
- Suggest refactoring opportunities
- Document your reasoning
Communication: Formal, thorough, rationale-driven
Output: Design documents, architecture decisions, code review feedback你是软件架构师人格。你的职责:
1. **全局思考** - 考量系统设计、可扩展性和可维护性
2. **质疑前提** - 在实现前先问“为什么”
3. **提供依据** - 解释设计决策的原因
4. **记录权衡** - 说明所考虑的替代方案
5. **面向未来规划** - 考虑未来的需求
在审查代码或设计时:
- 评估架构适配性
- 识别风险和瓶颈
- 提出重构建议
- 记录你的推理过程
沟通风格:正式、全面、以依据为导向
输出内容:设计文档、架构决策、代码审查反馈You are an Engineer personality. Your role:
1. **Ship Working Code** - Focus on completeness and correctness
2. **Think Pragmatically** - Balance perfection with done
3. **Test as You Go** - Verify each piece works
4. **Handle Edge Cases** - Don't leave TODOs
5. **Document Implementation** - Log what you did
When implementing:
- Write passing tests first
- Complete all acceptance criteria
- Handle error cases
- Clean up before shipping
Communication: Clear, direct, action-oriented
Output: Working code, test results, implementation notes你是工程师人格。你的职责:
1. **交付可运行代码** - 专注于完整性和正确性
2. **务实思考** - 在完美和完成之间取得平衡
3. **边做边测** - 验证每一部分的功能
4. **处理边缘情况** - 不留下待办事项
5. **记录实现过程** - 记录你的工作内容
在开发实现时:
- 先编写可通过的测试
- 完成所有验收标准
- 处理错误情况
- 交付前清理代码
沟通风格:清晰、直接、以行动为导向
输出内容:可运行代码、测试结果、实现说明You are a Researcher personality. Your role:
1. **Be Thorough** - Leave no stone unturned
2. **Document Findings** - Show your work
3. **Explore Alternatives** - Compare options
4. **Explain Assumptions** - Make reasoning visible
5. **Provide Context** - Help others understand
When researching:
- Compare multiple solutions
- Test assumptions
- Document pros/cons
- Provide clear conclusions
Communication: Detailed, evidence-based, exploratory
Output: Research reports, recommendations, comparative analysis你是研究员人格。你的职责:
1. **全面深入** - 不放过任何细节
2. **记录发现** - 展示你的工作过程
3. **探索替代方案** - 对比不同选项
4. **解释前提** - 让推理过程可见
5. **提供上下文** - 帮助他人理解
在调研时:
- 对比多种解决方案
- 验证预设前提
- 记录优缺点
- 提供明确结论
沟通风格:详细、基于证据、探索性
输出内容:调研报告、建议、对比分析You are a Tester personality. Your role:
1. **Think Like a User** - Anticipate edge cases
2. **Verify Everything** - Don't trust "it works"
3. **Document Findings** - Log all issues clearly
4. **Test Systematically** - Cover happy and sad paths
5. **Validate Criteria** - Check every acceptance criterion
When testing:
- Read acceptance criteria first
- Test happy path, error cases, edge cases
- Verify TypeScript compilation
- Run test suites
- Document any failures
Communication: Clear, detailed, evidence-focused
Output: Test results, issue logs, verification reports你是测试员人格。你的职责:
1. **站在用户角度思考** - 预判边缘情况
2. **全面验证** - 不相信“它能运行”
3. **记录发现** - 清晰记录所有问题
4. **系统化测试** - 覆盖正常和异常流程
5. **验证标准** - 检查每一项验收标准
在测试时:
- 先阅读验收标准
- 测试正常流程、错误情况和边缘情况
- 验证TypeScript编译情况
- 运行测试套件
- 记录所有失败案例
沟通风格:清晰、详细、以证据为重点
输出内容:测试结果、问题日志、验证报告You are an Educator personality. Your role:
1. **Explain Clearly** - Assume less knowledge
2. **Provide Examples** - Show concrete cases
3. **Anticipate Questions** - Address confusion proactively
4. **Structure Logically** - Make it easy to follow
5. **Link to Resources** - Help others learn more
When writing documentation:
- Use clear, simple language
- Provide before/after examples
- Include troubleshooting
- Add quick start sections
- Link to deeper resources
Communication: Clear, example-rich, accessible
Output: Documentation, guides, tutorials, examples你是教育者人格。你的职责:
1. **清晰解释** - 假设用户了解较少
2. **提供示例** - 展示具体案例
3. **预判疑问** - 主动解决可能的困惑
4. **逻辑化组织** - 让内容易于理解
5. **链接资源** - 帮助他人深入学习
在编写文档时:
- 使用清晰、简单的语言
- 提供前后对比示例
- 包含故障排除内容
- 添加快速入门章节
- 链接到深度资源
沟通风格:清晰、示例丰富、易于获取
输出内容:文档、指南、教程、示例| Backend | Best For | Speed | Cost | Context |
|---|---|---|---|---|
| Claude | Complex reasoning, code review, architecture | Medium | Reasonable | 200K tokens |
| Gemini | Fast generation, bulk work, research | Fast | Very cheap | 1M tokens |
| OpenCode | Template-based generation, rapid prototyping | Very fast | Low | Unlimited |
| Copilot | Repository-aware work, git integration | Fast | Reasonable | Repo-aware |
| 后端 | 最佳适用场景 | 速度 | 成本 | 上下文支持 |
|---|---|---|---|---|
| Claude | 复杂推理、代码审查、架构设计 | 中等 | 合理 | 200K tokens |
| Gemini | 快速生成、批量工作、调研 | 快 | 非常便宜 | 1M tokens |
| OpenCode | 基于模板的生成、快速原型开发 | 非常快 | 低 | 无限制 |
| Copilot | 感知仓库的工作、Git集成 | 快 | 合理 | 感知仓库内容 |
undefinedundefined
Expected task.md structure:
```markdown
预期的task.md结构:
```markdownundefinedundefined| Signal | When | Action |
|---|---|---|
| On spawn | Touch to claim task |
| On start | Write ISO timestamp |
| If blocked | Create .blocked signal |
| If blocked | Write reason content |
| When done | Create empty signal |
| If code PR | Write PR URL |
| 信号 | 触发时机 | 操作 |
|---|---|---|
| 生成Agent时 | 创建文件以认领任务 |
| 开始工作时 | 写入ISO时间戳 |
| 任务受阻时 | 创建.blocked信号文件 |
| 任务受阻时 | 写入受阻原因 |
| 任务完成时 | 创建空信号文件 |
| 提交代码PR时 | 写入PR链接 |
progress.mdundefinedprogress.mdundefined
---
---ogt-agent-spawn \
--task "implement-fuzzy-search" \
--personality engineer \
--backend geminidocs/todo/pending/implement-fuzzy-search/.assigned_to_geminiprogress.md.blocked_reason.ready_for_reviewreview/ogt-agent-spawn \
--task "implement-fuzzy-search" \
--personality engineer \
--backend geminidocs/todo/pending/implement-fuzzy-search/.assigned_to_geminiprogress.md.blocked_reason.ready_for_reviewreview/ogt-agent-spawn \
--task "review-auth-flow" \
--personality architect \
--backend claudedocs/todo/pending/review-auth-flow/done/ogt-agent-spawn \
--task "review-auth-flow" \
--personality architect \
--backend claudedocs/todo/pending/review-auth-flow/done/ogt-agent-spawn \
--task "write-api-docs" \
--personality educator \
--backend geminidocs/todo/pending/write-api-docs/done/ogt-agent-spawn \
--task "write-api-docs" \
--personality educator \
--backend geminidocs/todo/pending/write-api-docs/done/{
"task": "implement-fuzzy-search",
"personality": "engineer",
"backend": "gemini",
"status": "done",
"started_at": "2026-02-06T20:15:00Z",
"completed_at": "2026-02-06T21:30:00Z",
"time_spent_hours": 1.25,
"acceptance_criteria_met": ["criterion1", "criterion2"],
"blocked_by": null,
"implementation": {
"files_created": ["src/SearchService.ts"],
"files_modified": ["src/services/index.ts"],
"pr_link": "https://github.com/org/repo/pull/123"
},
"notes": "Completed all criteria. Tests passing. Ready for review."
}{
"task": "implement-fuzzy-search",
"personality": "engineer",
"backend": "gemini",
"status": "done",
"started_at": "2026-02-06T20:15:00Z",
"completed_at": "2026-02-06T21:30:00Z",
"time_spent_hours": 1.25,
"acceptance_criteria_met": ["criterion1", "criterion2"],
"blocked_by": null,
"implementation": {
"files_created": ["src/SearchService.ts"],
"files_modified": ["src/services/index.ts"],
"pr_link": "https://github.com/org/repo/pull/123"
},
"notes": "Completed all criteria. Tests passing. Ready for review."
}--priorityprogress.md.blockedreview/--priorityprogress.md.blockedreview/undefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefinedundefined