feat: pure extract, bookstore story subset, and project scan caps

Add artifact.extract_pure for restricted expression lifting, a runnable
bookstore tax story fixture, and G12 discovery limits so oversized or deep
trees fail with explicit diagnostics instead of hanging.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-10-23 23:27:05 +08:00
1 parent dcd3d329d4
commit 8a6d09d582
10 files changed
+339 -11

No files matched your search

+5 -3
View File
@@ -20,6 +20,7 @@
| 10 | `baseline/10-boundcall/` | implemented | BoundCall 路径 SymbolId + DynamicCall(`call_fn`);双后端 `hi`/`60` | import 一行 |
| 11 | `baseline/11-narrative-ref/` | implemented | `narrate`/`navigation` 步骤;围栏不计;run 不拉 URL | 0 |
| 12 | `baseline/12-tax-source/` | implemented | `sources:` → evidence=sourced;过期 → expired;可试跑 `113` | sources + valid_until |
| 13 | `baseline/13-bookstore/` | implemented | 书店含税可运行子集 + narrate;输出 `113` | import + sources |
### 同名裸调用(G02)
@@ -47,11 +48,12 @@
| S2/G07 eng_reuse | **done(子集)** | `reuse_json` / `agent_eng_reuse`:`discovery_only` + `bind_required` + `bind_targets`;执行仍须 MLSP bind |
| S1/G03 NarrativeRef | **done(子集)** | 注释行 `[]()` → narrate/navigation;`11-narrative-ref` |
| S4/G05 来源 | **done(子集)** | frontmatter `sources`/`valid_until`;`12-tax-source`;business bind |
| S3 patch | **done(子集)** | MLSP `artifact.patch` + wording 回滚 |
| S3 patch / extract | **done** | `artifact.patch`;`artifact.extract_pure` |
| S4 书店子集 | **done(子集)** | `13-bookstore` 可运行 `113` + narrate + sources |
| S5/G04 整代 | **done(子集)** | `generations/<id>/` + `CURRENT` 指针 |
| S5/G08 锁分类 | **done(子集)** | `LockReport.classes`;impact 含 narrates |
| S6 CI | **done(子集)** | `.github/workflows/executable-knowledge.yml` |
| S6 CI / G12 扫描 | **done(子集)** | CI workflow;depth/size/count 上限 |
## 与后续切片的关系
- 完整订单示例、100 单元语料、远程授权与规模 SLO — 见缺口路线图;未完成项不得笼统宣称「可执行知识已交付」
- `examples/executable-knowledge/` 完整类函数订单链、100 单元语料、SCC 闭包摘要、远程授权 — 见缺口路线图;未完成项不得笼统宣称「可执行知识已交付」