Frontmatter imports are now valid YAML (`import:` / `导入:` with bind→target entries), removing spaced keys. Add `marqdo migrate imports`, hard-error the old one-liner form, and migrate lib/ext/examples/tests/docs accordingly. Co-authored-by: Cursor <cursoragent@cursor.com>
941 B
941 B
markup, title, description, import
| markup | title | description | import | ||||||
|---|---|---|---|---|---|---|---|---|---|
| occlusion | promote requires sandbox proof (O2) | Good workbook promotes; broken workbook is rejected (sandbox_proof_failed). Link-index reads; no json glue. |
|
main
p = plugin.native_path name="agent"
p
plugin.load path=
p
print text=no-plugin sys.exit code=1
kb = "_sbx_promote_kb"
had = fs.exists path=kb
had
fs.remove path=
kb
_ = 0
prom = agent_kb_promote kb_dir=kb goal="sandbox promote good" workbook="sandbox-fixtures/promote-good.mq.md"
ok = promoted)
print text=
ok
rej = agent_kb_promote kb_dir=kb goal="sandbox promote bad" workbook="sandbox-fixtures/promote-bad.mq.md"
rej_ok = promoted)
reason = reason)
print text=
rej_okprint text=reason