feat: enable permission-aware subagents

This commit is contained in:
叶林立
2026-08-26 10:49:26 +08:00
parent d3bf562189
commit 7571ba6dd9
185 changed files with 48365 additions and 26 deletions
+12
View File
@@ -0,0 +1,12 @@
---
description: "Loads alpha+beta, excludes beta via exclude_extensions."
extensions: "./ext-alpha.mjs, ./ext-beta.mjs"
exclude_extensions: ext-beta.mjs
tools: "*"
expect_tools_present: "read, alpha_read, alpha_write"
expect_tools_absent: "beta_tool"
---
e2e template: exclude_extensions removes an extension after the include set is
computed — alpha surfaces normally, beta's tools never register. (Excluding a
name that the extensions: list also loads warns "in both — exclude wins"; the
exclusion still applies.)