refactor(permission-system): simplify policy and autoreview flow

This commit is contained in:
云服务部-叶林立
2026-09-03 02:01:06 +08:00
parent 180da95ab7
commit 6e7effa792
112 changed files with 911 additions and 10346 deletions
@@ -26,8 +26,8 @@ import { PATH_BEARING_TOOLS } from "./path-surfaces";
* - `skill` — a distinct surface `normalizeInput`/`deriveSource` treat specially.
* - `path` — a path-bearing built-in (`read`/`write`/`edit`/`grep`/`find`/`ls`);
* extraction product is `input.path`.
* - `extension` — every other tool, plus the `external_directory`/`path` special
* surfaces that reach `deriveSource` as normalized names.
* - `extension` — every other tool, plus the `path` special surface that
* reaches `deriveSource` as a normalized name.
*/
export type ToolKind = "bash" | "mcp" | "skill" | "path" | "extension";