llm-to-agent/docs/development/project-assistant.md
2026-07-15 17:56:41 +08:00

23 lines
807 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Project 开发助手
状态todo
期望阶段P2
## 目标
让 Agent 能在绑定源码目录中完成“理解 → 修改 → 测试 → 汇报”的开发闭环。
## 已确定
- Project 在项目根目录使用 `.agent/` 存放自身会话、Run 和项目上下文。
- 项目规则、架构摘要和决策记录会逐步沉淀,但不预先引入 RAG。
- 开发 Tool 包含代码搜索、修改/补丁、测试执行和测试结果收集。
- 初期由单 Agent 完整完成开发任务;多 Agent 协作由后续真实需求驱动。
- Git 支持 status、diff、log 与 worktree候选修改默认放在隔离 worktree。
## 待细化
- 项目说明文件的名称和注入时机。
- worktree 的目录、清理和默认分支策略。
- Task 升级 Project 的 CLI/TUI 流程。