Files
marqdo/tests/ext/agent-sandbox-quarantine.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

772 B


title: O5 quarantine skill status description: Promote good skill then quarantine — status becomes quarantine. 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"

  1. p

plugin.load path=p

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

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

  1. had

fs.remove path=kb

_ = 0

prom = agent_kb_promote kb_dir=kb goal="quarantine demo" workbook="sandbox-fixtures/promote-good.mq.md" ok = promoted slug = slug

print text=ok

q = agent_kb_quarantine kb_dir=kb slug=slug reason="fixture_regression" qok = ok st = status

print text=qok print text=st