feat: complete BoundCall dual-backend and reuse bind gate (G02)

Share resolve_for_exec across Tree/Bytecode and semantic projections,
emit bound_calls/dynamic_calls, and require eng_reuse bind_targets before
execute so discovery scores cannot be treated as handles.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-10-23 23:06:34 +08:00
1 parent e9ae7ff1ae
commit 0e1bfb3359
12 files changed
+925 -154

No files matched your search

@@ -0,0 +1,21 @@
---
markup: occlusion
title: S2 G02 BoundCall 路径绑定与动态标记
status: implemented
import:
pricing: pricing.mq.md
---
## helper
动态目标演示用无参函数。
> print text=hi
# main
显式 import 路径必须进 BoundCall;`call_fn` 必须进 DynamicCall。
**小计 = [两件](pricing.商品小计(数量=2, 单价=30))**
> call_fn name=helper
> print text=`小计`
@@ -0,0 +1,11 @@
---
markup: occlusion
title: BoundCall 目标定价
status: implemented
---
## 商品小计
根据购买数量`数量`和商品单价`单价`计算小计。
*[按数量与单价计算](数量 * 单价)*