venom_save_draft
Verify a CSL policy draft and save it to .csl/venom/drafts only if parsing, validation, and Z3 checks pass. It never activates policies; operators review drafts before activation.
Instructions
Verify a CSL draft (parse, validate, Z3) and, only if it passes, save it to the workspace's .csl/venom/drafts/. Never activates anything: the operator reviews and activates drafts with the cslcore CLI.
Args: agent_id: the agent the draft is for. csl_content: complete CSL policy source. note: one line explaining the draft (kept as a comment). workspace: Venom workspace folder.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| agent_id | Yes | ||
| workspace | No | ||
| csl_content | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |