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

1.2 KiB


main

Reset leftover workspace from prior runs.

had = fs.exists path="_sbx_optin"

  1. had

fs.remove path="_sbx_optin"

_ = 0

fs.make_dir path="_sbx_optin"

Trial with commit=False: upper write must not touch the host tree.

dry = agent.trial root="_sbx_optin" write_path="proof.txt" text=optin-ok commit=False dry_ok = ok dry_committed = committed

print text=dry_ok print text=dry_committed

before = fs.exists path="_sbx_optin/proof.txt"

print text=before

Trial with commit=True: host sees the file after success.

wet = agent.trial root="_sbx_optin" write_path="proof.txt" text=optin-ok commit=True wet_ok = ok wet_committed = committed

print text=wet_ok print text=wet_committed

after = fs.read_text path="_sbx_optin/proof.txt"

print text=after

Profile row is attached (link-index readable).

prof = profile pname = name

print text=pname