Skip to content

Commit 2e77ce3

Browse files
committed
chore(boundaries): guard latest-main runtime anchors
1 parent 7af6fd6 commit 2e77ce3

4 files changed

Lines changed: 694 additions & 7 deletions

File tree

AGENTS.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,18 @@ and milestone verification gates.
131131
manifests, `ToolUseContext.unlocked_collapsed_tools`, and desktop/MCP/ACP
132132
tool catalog behavior.
133133

134+
### Latest-main runtime anchors
135+
136+
- Agent registry migration must preserve mode-scoped subagent availability,
137+
hidden/custom/review grouping, and desktop subagent API semantics.
138+
- DeepResearch report finalization currently relies on the core citation
139+
renumber hook; do not move it without preserving `report.md`,
140+
`citations.md`, `display_map.json`, and rejected-citation handling.
141+
- Workspace/search refactors must preserve remote workspace startup guards,
142+
remote flashgrep fallback, and search preview/context mapping.
143+
- ACP timeout handling and Web operation-diff fallback are product-surface
144+
behavior; share facts through contracts, not UI/protocol implementation.
145+
134146
### DeepReview guardrails
135147

136148
Deep Review / Code Review Team work spans the core runtime and web UI. Keep

docs/architecture/core-decomposition.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,20 @@ owner 边界,否则不要把一个 feature group 继续拆成更小的 crate
113113
- 最新主干已把 subagent 可见性做成 mode-scoped registry 行为。迁移 agent registry 或
114114
subagent definitions 前,必须先保留 mode visibility、hidden/custom/review 分组和 desktop
115115
subagent API 等价测试;在此之前它们仍属于 `bitfun-core` product runtime assembly。
116+
- DeepResearch 现在包含 citation renumber post-turn hook。迁移 agent runtime 或 prompt/report
117+
处理前,必须保留 `report.md` / `citations.md` / `display_map.json` 的 deterministic post-processing 行为;
118+
在此之前该 hook 仍属于 `bitfun-core` agent runtime assembly。
116119
- 最新主干新增 on-demand tool spec discovery。`ToolExposure``GetToolSpec`
117120
`manifest_resolver`、collapsed-tool catalog、context-aware tool schema/description
118121
`ToolUseContext.unlocked_collapsed_tools` 暂时属于 `bitfun-core` product tool runtime;
119122
迁移前必须证明 prompt-visible manifest、expanded/collapsed exposure、unlock state 与
120123
desktop/MCP/ACP tool catalog 等价。
124+
- 最新主干的 remote workspace guard 和 search fallback/context 修复提高了 workspace/search
125+
迁移门槛。后续迁移 workspace 或 search runtime 时,必须保留 remote workspace metadata、
126+
startup runtime ensure、remote flashgrep fallback、preview mapping 和 local/remote fallback 语义。
127+
- ACP startup timeout 和 operation diff fallback 属于 ACP/Web product surface 行为;后续只能通过
128+
stable contract 共享事实,不得把 ACP timeout、tool diff fallback 或 Web diff rendering 下沉到
129+
core-types、runtime-ports、agent-tools 等 contract crate。
121130
- 最新 CLI 重构新增大量 TUI、theme、selector、dialog 和 chat-state 代码,但仍位于
122131
`src/apps/cli`。后续 core decomposition 只能通过产品 check 验证 CLI 仍可组装,不应把
123132
CLI presentation 依赖迁入 core-types、runtime-ports 或 agent-tools。

0 commit comments

Comments
 (0)