记录 AGC 使用独立 Agent 内核的边界
明确替换 Codex 执行循环而非替换二进制 保留 AGC 工具权限、Runtime 持久化和完成门 规定兼容桥、实验模式与新旧 fixture 对比顺序
This commit is contained in:
@@ -9006,3 +9006,14 @@ CI 上 `background_agent_runtime_recovers_stale_running_before_pending_task` 在
|
||||
- 边界:不改变 Host 公开 API、Runtime/SQLite 合同或 Engine 接口;`finish_cancelled` 等依赖
|
||||
Engine worker 的内部 helper 暂不迁移,避免为降低文件行数扩大职责边界。
|
||||
- 验证:Host 单测与 Clippy 定向通过;完整 workspace、Rustdoc、编码和 diff 门禁在提交前复跑。
|
||||
|
||||
## 2026-09-09 AGC 改用独立 Agent 内核的替换边界
|
||||
|
||||
- 决策:后续目标是用独立 `rust/` workspace 的 Kernel/Engine 替换 AGC 的 Codex 执行循环,
|
||||
不是直接替换 Codex 二进制或删除 `codex_app_server`。AGC 继续拥有项目工具、权限、
|
||||
Runtime 持久化、预览和完成门。
|
||||
- 实施顺序:先建立 AGC 与独立 workspace 的兼容桥,再增加可回滚的 `agent_runtime` 实验
|
||||
模式;新旧模式用同一 fixture 对比消息、工具调用、事件、取消、超时和终态后,才考虑
|
||||
切换默认模式。
|
||||
- 边界:不复制 `codex-core`,不让两套 `agent-runtime-core` 类型直接泄漏,不用 standalone
|
||||
AgentHost 的 SQLite 取代 AGC Runtime;同步 Engine 与 AGC Tokio 通过受控异步 facade 连接。
|
||||
|
||||
Reference in New Issue
Block a user