Wire opt-in sandbox trial into agent, require sandbox proof before OKF promote, add step_route/EFI/cost surfaces, style lint + quarantine, and offline policy optimize script—keeping GFM tables over json glue. Co-authored-by: Cursor <cursoragent@cursor.com>
869 B
869 B
title: promote requires sandbox proof (O2) description: > Good workbook promotes; broken workbook is rejected (sandbox_proof_failed). Link-index reads; no json glue. import plugin:lib/plugin.mq.md import fs:lib/fs.mq.md import sys:lib/sys.mq.md
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