Pin context engineering across native, squad, and backend
Why: Tool-result clearing, folded reminders, and character truncation land in the native loop and the product path together. Evidence: agent-native 6fd1d44, agent-squad 4d53450, backend b2dc9a7. Impact: Default context window stays 32000 characters. Empty tool selection still exposes the profile's tools. Refs: feature/context-engineering Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -6,11 +6,12 @@
|
||||
|
||||
- 权威仓:ssh://git@git-ssh.u1680832.nyat.app:31411/weichen/Agent-System-Dev.git;目标分支:main;R0(initial_base_sha)= 02b5cb82866daf6ec489d87bf8717cab584ae99f
|
||||
- 工作区:/home/weichen/projects/Agent-System-Dev-wt-feature-context-engineering(worktree);分支:feature/context-engineering
|
||||
- 授权与交付终点:<本次允许的动作与终点;未授权事项写明>
|
||||
- 授权与交付终点:改 agent-native 与 backend,钉 squad 与 Dev 的 gitlink,经 PR 合入 main 后在本 worktree 运行 task-finish。未授权:core 契约、frontend、发版、改写历史、分支保护、把 pi-durable 或 Chord 引入为依赖。
|
||||
|
||||
## 目标与非目标
|
||||
|
||||
<预期结果、受影响入口/模块/契约;明确不做什么。>
|
||||
- 目标:运行内清理旧工具结果(保留最近 5 条);压缩按工具组裁剪、冲突重试、连续 3 次失败熔断;改写已存在文件前必须本轮读过且 mtime 与大小未变;提醒并入最后一条工具结果或用户消息;子代理回传默认 32000 字,超出写工件;工具选择支持 +name/-name;RPC 回执 started/queued/handled;后端按字符截断。
|
||||
- 非目标:权限模式、文件回滚、代码编排、产品壳运行态、流式回归修复。
|
||||
|
||||
## 同步记录
|
||||
|
||||
|
||||
Vendored
+1
-1
Submodule deps/agent-native updated: 9f5751c205...6fd1d441a9
Vendored
+1
-1
Submodule deps/agent-squad updated: 9efce79b86...4d534508a9
+1
-1
Submodule modules/backend updated: 93adb93b9d...b2dc9a7e0b
Reference in New Issue
Block a user