feat(ext): single callable binding, provider v2 CLI, capability handlers, stdlib aliases

Implements RFC-EXT-0001 PR-00..PR-07 first pass:
- CallSiteKey/CallBindingTable + one frontend binding pass; runtime dispatch by identity
- prepare composition root shared by check/run/inspect/Analysis; exact plugin reconciliation
- provider.json v2 --provider/--allow-provider worker CLI with fail-closed verification
- capability handler registry with real fs.read and audit
- verified stdlib public aliases replace print_override/AST scan
- docs: specs, ADR-0054/0055/0057/0058, README, CI/release gates, evidence

PR-04 extension selection/lock v4 and final frozen-binary evidence remain.
This commit is contained in:
cflmy committed 2026-11-22 00:17:36 +08:00
1 parent 9aa536c2c9
commit 1f6fd644a0
54 files changed
+8710 -828

No files matched your search

+9 -9
View File
@@ -1,6 +1,6 @@
---
import:
table: "std:data/table"
table_lib: "std:data/table"
---
# @exec table
@@ -9,22 +9,22 @@ import:
**数据 = 表(["名称", "分数"], [["甲", 87], ["乙", 92], ["丙", 71]])**
**选择 = table.选择列(数据, 1)**
**选择 = table_lib.选择列(数据, 1)**
**过滤 = table.过滤数值大于(数据, 1, 80)**
**过滤 = table_lib.过滤数值大于(数据, 1, 80)**
**排序 = table.排序(数据, 1)**
**排序 = table_lib.排序(数据, 1)**
**追加 = table.追加行(数据, ["丁", 65])**
**追加 = table_lib.追加行(数据, ["丁", 65])**
**设置 = table.设置单元格(数据, 0, 1, 99)**
**设置 = table_lib.设置单元格(数据, 0, 1, 99)**
**左 = 表(["名称", "分数"], [["甲", 87], ["乙", 92]])**
**右 = 表(["名称", "等级"], [["乙", "A"], ["甲", "B"]])**
**连接 = table.连接(左, 右, 0, 0)**
**连接 = table_lib.连接(左, 右, 0, 0)**
**分组 = table.分组(表(["类别", "值"], [["a", 1], ["b", 2], ["a", 3]]), 0, 1)**
**分组 = table_lib.分组(表(["类别", "值"], [["a", 1], ["b", 2], ["a", 3]]), 0, 1)**
`return [选择, 过滤, 排序, 追加, 设置, 连接, 分组, 数据, table.转GFM(数据)]`
`return [选择, 过滤, 排序, 追加, 设置, 连接, 分组, 数据, table_lib.转GFM(数据)]`