- CHANGELOG.md:v2.8.0 条目(中英双语); - README.md:版本行 2.7.1→2.8.0 + 愿景第 6 条(知识可证明); - doc/releases/v2.8.0.md:双语发版说明(亮点/用法/已知限制); - skills/marqdo-dev/index.mq.md:新增 prove 任务(路径/目录模式/ require_lean/json;参数用 + 行声明升参,check 与 narrative-ratio 通过); - 设计文档 §12.5 标记已合入;发版链接统一指向 doc/releases/v2.8.0.md。
2.0 KiB
Executable File
markup, title, description, import
| markup | title | description | import | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| occlusion | agent-effects-run-tool | M-A5a / MA-T03 subset — mutating run_tool goes through EffectLedger; committed effects dedupe; started-without-commit becomes unknown (no re-exec). |
|
write_probe
Probe side-effect tool body (count stays in ledger, not here).
"wrote"
main
schema = > json.parse text={"type":"object","properties":{},"additionalProperties":true}
scopes = > json.parse text=["workspace:write"]
spec =
| id | version | description | input_schema | effect | scopes | availability |
|---|---|---|---|---|---|---|
| write_probe | 1 | test write tool | schema |
write | scopes |
ready |
agent.tools_clear reg = > agent.tools_register spec=
specallow = > json.parse text=["write_probe"] args = > json.parse text={}
out1 = > agent.run_tool tools=allow name="write_probe" arguments=args logical_run_id="run_ma5a" step_id="s1" call_id="c1" operation_id="op_write_probe_c1" ledger_dir=".marqdo/agent-effects-ma5a"
ok1 = > json.get value=out1 key="ok"
st1 = > json.get value=out1 key="status"
rc1 = > json.get value=out1 key="effect_receipt_ref"
print text=
ok1print text=st1print text=rc1
out2 = > agent.run_tool tools=allow name="write_probe" arguments=args logical_run_id="run_ma5a" step_id="s1" call_id="c1" operation_id="op_write_probe_c1" ledger_dir=".marqdo/agent-effects-ma5a"
sum2 = > json.get value=out2 key="summary"
print text=
sum2
wm = > agent.effects_watermark ledger_dir=".marqdo/agent-effects-ma5a" logical_run_id="run_ma5a"
safe = > json.get value=wm key="write_auto_resume_safe"
print text=
safe
got = > agent.effects_get operation_id="op_write_probe_c1" ledger_dir=".marqdo/agent-effects-ma5a"
rec = > json.get value=got key="record"
state = > json.get value=rec key="state"
print text=
state