Skip to content

bootstrap: 启动一次性 doctor 摘要(#114,L2) - #126

Merged
Danceiny merged 2 commits into
stack/d30-113from
stack/d30-114
Sep 4, 2026
Merged

bootstrap: 启动一次性 doctor 摘要(#114,L2)#126
Danceiny merged 2 commits into
stack/d30-113from
stack/d30-114

Conversation

@Danceiny

@Danceiny Danceiny commented Sep 4, 2026

Copy link
Copy Markdown
Owner

Closes #114

摘要

npx gotry web/headless 启动时(inner 在 spawn dsh 前)以分离子进程后台跑只读体检(gotry-bootstrap.js doctor --summary 新模式):

  • 有待处理项打一行 stderr(「N 项待处理(…=缺/半可用)——对话里让助手调 gotry_doctor 看详情,或终端 npx gotry doctor」);
  • 全 ok 静默零输出;零 header 零写盘;detached+unref 不阻塞启动;恒 exit 0;
  • benchmark 面豁免保持零杂音;inner 生命周期天然一次不重复刷。
    「初始化时可见」取代「会话中段撞错」(tool-orchestration-design §3.1③)。

验证

  • bootstrap-tests §10 新增以隔离 HOME 钉行为(stderr 一行/零写盘/恒 exit 0),10/10 全绿
  • ./scripts/run-all-tests.sh ALL SUITES GREEN;六状态面同提交同步

基线:stack/d30-113。合并顺序:#124#125 → 本 PR → #115 栈。

…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 状态头) (#127)

Co-authored-by: huangzhen.0505 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant