feat(capability): 能力槽 + 能力包 + capability_install 最小闭环(dev-board#497 初稿) - #753
Merged
Merged
Conversation
- CapabilitySlotRegistry:首个槽 litigation.diagram,候选 builtin/pack/plugin,选择位+降级链+回滚+开发者模式(默认关) - CapabilitySourceFetchService:只收 GitHub 仓库链接,SsrfGuard 逐跳复检,codeload tarball 解包,限额 200 文件/5MB/20MB - CapabilityInstallService:plan/apply 两段;web/data 档复用 dev 直装校验,process 档默认拒绝 - LitigationVisualService 解析链最前插槽档,切槽即失效缓存 - AI 工具 capability_list/install/apply/select;/api/capabilities 六端点 - 设置页新增「能力升级」分区(GitHub 链接 + 一句话 → 发进对话;槽列表切换与回滚;开发者模式开关) - PLUGIN_SPEC v2.10 §15 contributes.capabilities;设计稿 docs/superpowers/specs/2026-09-07-capability-slots-self-upgrade-design.md Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…C 同步 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
zeweihan
marked this pull request as ready for review
September 7, 2026 23:02
zeweihan
enabled auto-merge (squash)
September 7, 2026 23:02
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
dev-board#497。设计稿:docs/superpowers/specs/2026-09-07-capability-slots-self-upgrade-design.md。
内容
验证
待拍板(先不合并)
🤖 Generated with Claude Code