feat(s30): REQ-060 收尾全量(信任门 UI + alpha_register + 创建流)+ REQ-059 T3b agents 桥退役 - #148
Merged
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ts 桥退役
S30-1 信任门 consent UI:ext-trust-check IPC(main 原生对话框,B16 模式)+ ExtTrustWatcher
(renderer 进项目会话时检测)+ alpha-ext-trust 纯核(版本化决策,granted/denied 都落
.alpha/prefs.json;「允许但未勾知情」= 未决不落盘);granted → global.dispose 免重启生效。
S30-2 alpha_register ext 工具:type=mcp/agent/command/skill,SAFE_NAME + 逐 type 字段白名单
→ 原子写 <proj>/.alpha/alpha.jsonc → 自动排程 reload;home 目录拒(项目级);skills.paths
存相对路径("./.alpha/skills"),config hook 按项目根解析(项目可移动);fan-out 对
.alpha/plugins/*.ts 生 TS 拒收 loud(ADR-006)。
S30-3 创建流改稿:agent-creator 全面重写 —— 项目 agent/command 经 alpha_register(零文件
零 .opencode),skill 落 .alpha/skills + 注册,plugin 指导含信任门告知;全局 agent 指引经
定制中心导入。REQ-036 档补修订节(目标3/验收5 落点作废)。
S30-4(REQ-059 T3b)agents 桥退役:writeAgent = md 真源 + agentMdToEntry 转换(受限
frontmatter 解析,fail-closed)+ alpha.jsonc agent 条目(G1 通道),不再造 .opencode 桥;
removeFsInstall 净除条目;reconcile 存量 agents 桥迁条目(全部成功才拆链,失败保桥 loud);
commands 链防御性清理。
ext 33 测 + ui-mac 557 测,alpha-check 三关绿。
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
REQ-060 → shipped(12 断言真机 verified:信任门双路径原生实点/alpha_register/ 生 TS 拒收/零目录);REQ-059 T3b → shipped+真机 verified(全局 agent 零桥条目化+净除)。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Summary
S30 sprint(docs/sprints/2026-07-08-s30-req060-finish):REQ-060 剩余全清 + REQ-059 T3b,真机批 12 断言 PASS。
ext-trust-checkIPC(main 原生 sheet,B16/ADR-021 模式)+ExtTrustWatcher(进项目会话检测)+alpha-ext-trust纯核。granted/denied 都落.alpha/prefs.json(版本化,不重复弹);「允许但未勾知情」= 未决不落盘;granted → dispose 免重启生效。alpha_registerext 工具(T2):type=mcp/agent/command/skill,SAFE_NAME + 逐 type 字段白名单 → 原子写<proj>/.alpha/alpha.jsonc→ 自动排程 reload;home 目录拒;skills.paths 存相对路径由 config hook 按项目根解析(项目可移动)。.opencode),skill 落.alpha/skills+ 注册,plugin 指导含信任门告知;全局 agent 指引经定制中心导入;REQ-036 档修订节。agentMdToEntry受限 frontmatter 转换(fail-closed)+ alpha.jsonc agent 条目(G1 通道),不再造.opencode桥;removeFsInstall 净除条目;reconcile 存量桥迁条目(全部成功才拆链)。.alpha/plugins/*.ts明示拒载,不误伤同目录.js。真机批(ship:mac 装机,CDP + AppleScript 原生 sheet 实点)
12 断言全 PASS:通道四路 /config 可见、相对 skills.paths 解析、信任门同意+拒绝双路径(prefs 落盘、不重复弹、granted dispose 后 mcp 可见、denied 保持 gated、相邻隔离)、全局 agent 零
~/.opencode+ 条目化 + 卸载净除、零目录新增、生 TS loud。证据 audits/2026-07-08-s30-req060-realmachine/verify.md。完成同步(ADR-018 §6)
.alpha-only + 信任门弹窗)🤖 Generated with Claude Code