4e21ca937a
Deploy Documentation / deploy (push) Has been cancelled
Canary / Prepare Version (push) Has been cancelled
Canary / build-cli (push) Has been cancelled
Canary / Upload Install Script (push) Has been cancelled
Canary / bundle-desktop (push) Has been cancelled
Canary / bundle-desktop-intel (push) Has been cancelled
Canary / bundle-desktop-linux (push) Has been cancelled
Canary / bundle-desktop-windows (push) Has been cancelled
Canary / bundle-desktop-windows-cuda (push) Has been cancelled
Canary / Release (push) Has been cancelled
Unused Dependencies / machete (push) Has been cancelled
CI / changes (push) Has been cancelled
CI / Check Rust Code Format (push) Has been cancelled
CI / Build and Test Rust Project (push) Has been cancelled
CI / Build Rust Project on Windows (push) Has been cancelled
CI / Check MSRV (push) Has been cancelled
CI / Lint Rust Code (push) Has been cancelled
CI / Check Generated Schemas are Up-to-Date (push) Has been cancelled
CI / Test and Lint Electron Desktop App (push) Has been cancelled
CI / H5 Plaza Tests and Build (push) Has been cancelled
Live Provider Tests / check-fork (push) Has been cancelled
Live Provider Tests / changes (push) Has been cancelled
Live Provider Tests / Build Binary (push) Has been cancelled
Live Provider Tests / Smoke Tests (push) Has been cancelled
Live Provider Tests / Smoke Tests (Code Execution) (push) Has been cancelled
Live Provider Tests / Compaction Tests (push) Has been cancelled
Live Provider Tests / goose server HTTP integration tests (push) Has been cancelled
Publish Ask AI Bot Docker Image / docker (push) Has been cancelled
Publish Docker Image / docker (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Fork goose with custom MCP widgets, platform extensions (aider, git, web, search), MindSpace H5 backend/frontend, Plaza/Ops UIs, and deploy scripts for tkmind.cn. Co-authored-by: Cursor <cursoragent@cursor.com>
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
---
|
||
description: Goose Coding Router — Aider 与 Goose 编码分工策略
|
||
alwaysApply: true
|
||
---
|
||
|
||
# Goose Coding Router
|
||
|
||
执行 coding 任务前,先读项目根目录的 `.goose-coding-policy.md`(若存在)。
|
||
|
||
## 路由规则
|
||
|
||
| 场景 | 引擎 |
|
||
|------|------|
|
||
| 读项目结构、查日志、跑测试 | Goose 自身 |
|
||
| 小范围改 1 个文件 | Goose 或 Aider(用户指定优先) |
|
||
| 跨文件重构、Bug 修复、新功能、commit | Aider |
|
||
| 复杂任务拆解、多轮验证 | Goose 总控 + Aider 编码 |
|
||
|
||
## 调用 Aider
|
||
|
||
不要直接调用 `aider`,使用统一入口:
|
||
|
||
```bash
|
||
/Users/john/PycharmProjects/goose-tools/coding_router.sh aider <project_dir> "<task>"
|
||
```
|
||
|
||
自动判定引擎:
|
||
|
||
```bash
|
||
/Users/john/PycharmProjects/goose-tools/coding_router.sh auto <project_dir> "<task>"
|
||
```
|
||
|
||
## 用户 override
|
||
|
||
- 「不用 aider / 你自己改」→ 仅用 Goose Developer(text_editor / shell)
|
||
- 「优先 aider」→ 编码走 router,验证仍由 Goose 完成
|
||
|
||
## 编码后
|
||
|
||
1. `git status` / `git diff --name-only`
|
||
2. 运行项目相关测试
|
||
3. 汇报修改文件与验证结果
|