feat: executable-knowledge S0–S1 gate plus effect and MLSP reuse subset
Establish author baseline fixtures and offline tests, make SemanticProject the sole authority for graph edges, classify named steps, and tighten local reuse so unknown effects are not pure and MLSP binds by SymbolId. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
bedd53e212
commit
ecbdd18303
31 files changed
+1324
-56
No files matched your search
@@ -0,0 +1,11 @@
|
||||
---
|
||||
markup: occlusion
|
||||
title: S0 同名模块 A
|
||||
status: expected_failure
|
||||
---
|
||||
|
||||
## 商品小计
|
||||
|
||||
根据购买数量`数量`和商品单价`单价`计算小计(A 侧)。
|
||||
|
||||
*[A 侧实现](数量 * 单价)*
|
||||
@@ -0,0 +1,17 @@
|
||||
---
|
||||
markup: occlusion
|
||||
title: S0 拒绝复用:裸名无法消歧(现状基线)
|
||||
status: expected_failure
|
||||
description: >
|
||||
两模块均定义「商品小计」。当前默认语法要求显式路径调用;
|
||||
裸名调用不导入任何一方时,应失败而非猜一个目标。
|
||||
(同名已 import 仍误连是 S1 验收项,不在本负例。)
|
||||
import:
|
||||
a: a.mq.md
|
||||
b: b.mq.md
|
||||
---
|
||||
|
||||
# main
|
||||
|
||||
**小计 = [未消歧的同名调用](商品小计(数量=2, 单价=30))**
|
||||
> print text=`小计`
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
markup: occlusion
|
||||
title: S0 同名模块 B
|
||||
status: expected_failure
|
||||
---
|
||||
|
||||
## 商品小计
|
||||
|
||||
根据购买数量`数量`和商品单价`单价`计算小计(B 侧加倍)。
|
||||
|
||||
*[B 侧实现](数量 * 单价 * 2)*
|
||||
@@ -0,0 +1,12 @@
|
||||
---
|
||||
markup: occlusion
|
||||
title: S0 拒绝复用:缺 import
|
||||
status: expected_failure
|
||||
---
|
||||
|
||||
# main
|
||||
|
||||
未 import 时不得静默解析外部模块。
|
||||
|
||||
**小计 = [误用外部定价](pricing.商品小计(数量=2, 单价=30))**
|
||||
> print text=`小计`
|
||||
Reference in new issue
Block a user