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

@@ -0,0 +1,3 @@
# 标准税率
书店演示政策原文:增值税标准税率 13%。
@@ -0,0 +1,16 @@
---
markup: occlusion
title: S4 书店订单含税(可运行子集)
status: implemented
import:
tax: tax.mq.md
---
# main
一行订单:金额 100,按标准税率含税。
**税率 = [适用税率](tax.标准税率())**
**含税 = [本行含税价](100 * (1 + 税率))**
这是[含税总价](含税)的可读结论。
> print text=`含税`
@@ -0,0 +1,14 @@
---
markup: occlusion
title: 书店税率(可运行子集)
status: implemented
sources:
- corpus.md#标准税率
applicability:
region: CN
valid_until: 2099-12-31
---
## 标准税率
*[当前标准税率](0.13)*