Files
marqdo/tests/ext/agent-sandbox-promote.mq.md
T
cflmyandCursor 0f72173d08 feat(ext/ai): land Agent/LLM optimize waves O1–O5
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>
2026-10-16 11:47:28 +08:00

869 B


main

p = plugin.native_path name="agent"

  1. p

plugin.load path=p

print text=no-plugin sys.exit code=1

kb = "_sbx_promote_kb" had = fs.exists path=kb

  1. 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_ok print text=reason