[ADR-040] 补充裁决:hooks 后续支持(判据①收紧)+ Phase 3 本地 intake 待适配器成熟后退役 - #829
Merged
Conversation
…hase 3 本地 intake 待发布端适配器成熟后退役
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.
owner 两条补充裁决(2026-08-03):
一、hooks 后续会支持 ⇒ 判据①收紧,不是「永不执行第三方代码」。
封死的对象是一种特定执行形态:引擎进程内 / 引擎全部权限 / 上游的加载器。
hooks 是 Alpha 起的子进程、边界由我们定,不落在这一问里,届时按判据③走「新种类」。
二、hooks 的支持前置不是安全裁决,是一次事件面勘破。
实读 62 个插件中带 hooks 的 12 个:影响双峰 ——
hookify/ralph-loop整个存在意义就是 hooks,不支持等于装了没装;
codex/claude-security只是配件。而且 hook 绑的是 Claude Code 自己的事件名(PreToolUse/PostToolUse/Stop/SessionStart/SessionEnd/UserPromptExpansion)。
⇒ 支持它要求 Alpha 引擎有对应事件面。动笔前必须勘破,在此之前任何 hooks 实现票不得升 Ready。
三、Phase 3 本地 intake 是过渡形态,待发布端适配器成熟后退役 ⇒ provider 语义映射唯一真源落发布端。
本 ADR 撤回原先「不裁决如何收敛」那句。
Refs jinjunnn/alpha-work#49