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>
35 lines
772 B
Markdown
35 lines
772 B
Markdown
---
|
|
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`
|
|
2. *
|
|
> print text=no-plugin
|
|
> sys.exit code=1
|
|
|
|
**kb = "_sbx_quar_kb"**
|
|
**had = fs.exists path=`kb`**
|
|
1. `had`
|
|
> fs.remove path=`kb`
|
|
2. *
|
|
**_ = 0**
|
|
|
|
**prom = agent_kb_promote kb_dir=`kb` goal="quarantine demo" workbook="sandbox-fixtures/promote-good.mq.md"**
|
|
**ok = [promoted](prom)**
|
|
**slug = [slug](prom)**
|
|
> print text=`ok`
|
|
|
|
**q = agent_kb_quarantine kb_dir=`kb` slug=`slug` reason="fixture_regression"**
|
|
**qok = [ok](q)**
|
|
**st = [status](q)**
|
|
> print text=`qok`
|
|
> print text=`st`
|