tools/effects/bootstrap: #113 描述首行生成 + #114 启动摘要 + #115 解译器收尾(栈式合流) - #125
Merged
Conversation
This was referenced Sep 4, 2026
Base automatically changed from
stack/d30-112
to
feat/session-hotel-train-doctor
September 4, 2026 17:45
added 3 commits
September 4, 2026 21:50
…ingHeadline:七个检索工具描述前置注册表生成的「服务意图 × 通道顺位(证据级降序)」卡,选工具与失败改道两决策点同表,注册表加行描述自动一致,非检索工具零误伤;②doctor 补齐 patch 宿主插件 dsh-map-tools/dsh-tool-ask-user 两态(解析失败整块静默剔除不挡启动,此前无人知),候选清单与 bin 解析同口径;实测暴露 source 布局 map-tools 全布局缺席(地图工具一直被静默丢弃),补依赖渠道留 founder 拍板;调试副产物:apply() 进程护栏吞异常进 incident 的语义被测试流程踩实(断言失败须读事故文件定位);channel-registry-tests §7/§8+smoke+doctor-tests+skills-contract 全绿,run-all ALL SUITES GREEN;六状态面同提交同步(arch §9、roadmap 增量、stage1 状态头)
…er 在 spawn dsh 前以分离子进程后台跑只读体检(gotry-bootstrap.js doctor --summary):待处理项一行 stderr(对话里 gotry_doctor 看详情/终端 npx gotry doctor),全 ok 静默零输出;零 header 零写盘、detached+unref 不阻塞启动、恒 exit 0、benchmark 面豁免保零杂音,inner 生命周期天然一次不重复刷——初始化可见取代会话中段撞错(design §3.1③);bootstrap-tests §10 以隔离 HOME 钉行为(10/10),run-all ALL SUITES GREEN;六状态面同提交同步(arch §9、roadmap 增量、stage1 状态头)
…/agent_reach/session_login 六渠道入效应注册表,23 工具外部依赖面全收敛 effect_interpreter.v1(没有策略表行就没有效应);策略行逐条拍板:ANYTHING 同 HBCLI 族(timeout 瞬时重试 1 次)/WEB_READ 免费公共源族(瞬时抖动重试+熔断)/GITHUB·VIDEO(verdict=timeout 重试,not-installed 配置态不重试)/AGENT_REACH 反射桥透传永不重试不熔断(wrapper 不是 router,重试即放大上游配额消耗)/SESSION_LOGIN 浏览器风控族;工具面照旧平铺,证据链逐源标注不变,agent_reach status/reach 两分支收敛单一效应;effect-tests §12 四组断言(入表透传/永不重试族/timeout 重试/mock 同语义)12/12,tsc+smoke 全绿,run-all ALL SUITES GREEN;六状态面同提交同步(arch §9、roadmap 增量、stage1 状态头)
Danceiny
force-pushed
the
stack/d30-113
branch
from
September 4, 2026 17:53
a46733d to
405f9e5
Compare
Danceiny
merged commit Sep 4, 2026
c2b1353
into
feat/session-hotel-train-doctor
0 of 3 checks passed
This was referenced Sep 4, 2026
Danceiny
added a commit
that referenced
this pull request
Sep 4, 2026
…125) * feat(tools): 工具描述首行生成 + doctor 宿主插件覆盖面(issue #113,L1 残量收口)——①toolRoutingHeadline:七个检索工具描述前置注册表生成的「服务意图 × 通道顺位(证据级降序)」卡,选工具与失败改道两决策点同表,注册表加行描述自动一致,非检索工具零误伤;②doctor 补齐 patch 宿主插件 dsh-map-tools/dsh-tool-ask-user 两态(解析失败整块静默剔除不挡启动,此前无人知),候选清单与 bin 解析同口径;实测暴露 source 布局 map-tools 全布局缺席(地图工具一直被静默丢弃),补依赖渠道留 founder 拍板;调试副产物:apply() 进程护栏吞异常进 incident 的语义被测试流程踩实(断言失败须读事故文件定位);channel-registry-tests §7/§8+smoke+doctor-tests+skills-contract 全绿,run-all ALL SUITES GREEN;六状态面同提交同步(arch §9、roadmap 增量、stage1 状态头) * feat(bootstrap): 启动一次性 doctor 摘要(issue #114,L2)——web/headless 启动时 inner 在 spawn dsh 前以分离子进程后台跑只读体检(gotry-bootstrap.js doctor --summary):待处理项一行 stderr(对话里 gotry_doctor 看详情/终端 npx gotry doctor),全 ok 静默零输出;零 header 零写盘、detached+unref 不阻塞启动、恒 exit 0、benchmark 面豁免保零杂音,inner 生命周期天然一次不重复刷——初始化可见取代会话中段撞错(design §3.1③);bootstrap-tests §10 以隔离 HOME 钉行为(10/10),run-all ALL SUITES GREEN;六状态面同提交同步(arch §9、roadmap 增量、stage1 状态头) * feat(effects): 解译器迁移收尾(issue #115,D-23 收口)——anything/web/github/video/agent_reach/session_login 六渠道入效应注册表,23 工具外部依赖面全收敛 effect_interpreter.v1(没有策略表行就没有效应);策略行逐条拍板:ANYTHING 同 HBCLI 族(timeout 瞬时重试 1 次)/WEB_READ 免费公共源族(瞬时抖动重试+熔断)/GITHUB·VIDEO(verdict=timeout 重试,not-installed 配置态不重试)/AGENT_REACH 反射桥透传永不重试不熔断(wrapper 不是 router,重试即放大上游配额消耗)/SESSION_LOGIN 浏览器风控族;工具面照旧平铺,证据链逐源标注不变,agent_reach status/reach 两分支收敛单一效应;effect-tests §12 四组断言(入表透传/永不重试族/timeout 重试/mock 同语义)12/12,tsc+smoke 全绿,run-all ALL SUITES GREEN;六状态面同提交同步(arch §9、roadmap 增量、stage1 状态头) --------- Co-authored-by: huangzhen.0505 <[email protected]>
Danceiny
added a commit
that referenced
this pull request
Sep 4, 2026
…125) * feat(tools): 工具描述首行生成 + doctor 宿主插件覆盖面(issue #113,L1 残量收口)——①toolRoutingHeadline:七个检索工具描述前置注册表生成的「服务意图 × 通道顺位(证据级降序)」卡,选工具与失败改道两决策点同表,注册表加行描述自动一致,非检索工具零误伤;②doctor 补齐 patch 宿主插件 dsh-map-tools/dsh-tool-ask-user 两态(解析失败整块静默剔除不挡启动,此前无人知),候选清单与 bin 解析同口径;实测暴露 source 布局 map-tools 全布局缺席(地图工具一直被静默丢弃),补依赖渠道留 founder 拍板;调试副产物:apply() 进程护栏吞异常进 incident 的语义被测试流程踩实(断言失败须读事故文件定位);channel-registry-tests §7/§8+smoke+doctor-tests+skills-contract 全绿,run-all ALL SUITES GREEN;六状态面同提交同步(arch §9、roadmap 增量、stage1 状态头) * feat(bootstrap): 启动一次性 doctor 摘要(issue #114,L2)——web/headless 启动时 inner 在 spawn dsh 前以分离子进程后台跑只读体检(gotry-bootstrap.js doctor --summary):待处理项一行 stderr(对话里 gotry_doctor 看详情/终端 npx gotry doctor),全 ok 静默零输出;零 header 零写盘、detached+unref 不阻塞启动、恒 exit 0、benchmark 面豁免保零杂音,inner 生命周期天然一次不重复刷——初始化可见取代会话中段撞错(design §3.1③);bootstrap-tests §10 以隔离 HOME 钉行为(10/10),run-all ALL SUITES GREEN;六状态面同提交同步(arch §9、roadmap 增量、stage1 状态头) * feat(effects): 解译器迁移收尾(issue #115,D-23 收口)——anything/web/github/video/agent_reach/session_login 六渠道入效应注册表,23 工具外部依赖面全收敛 effect_interpreter.v1(没有策略表行就没有效应);策略行逐条拍板:ANYTHING 同 HBCLI 族(timeout 瞬时重试 1 次)/WEB_READ 免费公共源族(瞬时抖动重试+熔断)/GITHUB·VIDEO(verdict=timeout 重试,not-installed 配置态不重试)/AGENT_REACH 反射桥透传永不重试不熔断(wrapper 不是 router,重试即放大上游配额消耗)/SESSION_LOGIN 浏览器风控族;工具面照旧平铺,证据链逐源标注不变,agent_reach status/reach 两分支收敛单一效应;effect-tests §12 四组断言(入表透传/永不重试族/timeout 重试/mock 同语义)12/12,tsc+smoke 全绿,run-all ALL SUITES GREEN;六状态面同提交同步(arch §9、roadmap 增量、stage1 状态头) --------- Co-authored-by: Danceiny <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #113. 连带承载 #114、#115 的内容(见下方冲突修复说明)。
冲突修复说明(2026-09-04)
#124(#112 五刀)被 squash 合入基线(15e0c72,树=b032ab7);本分支旧头携带同内容的五个原 SHA 提交 → 与基线同内容不同 SHA,#125 显示 CONFLICTING。
修复:以基线为底重建本分支——cherry-pick d7c6812(#113)/2685c86(#114)/e743f69(#115) 三个提交(新 SHA:65048bd/39000ae/405f9e5),树与原 a46733d 完全一致(diff 为空),不丢任何已并内容(#126 squash 合并时栈头已含 #115,故本 PR 承载三块内容)。
承载内容
验证
每个提交落地时均过:targeted 测试全绿(channel-registry/bootstrap/doctor/smoke/skills-contract/effect-tests)+
./scripts/run-all-tests.shALL SUITES GREEN;六状态面同提交同步。合入后建议再跑一次 run-all 终验。合并顺序:本 PR 合入 feat/session-hotel-train-doctor;stack/d30-115(a2901c2,含 #117)为其后续增量。