botex_report_violation
Records verified agent or model rule violations in an isolated penal ledger for cross-review and handoff enforcement, keeping penalties separate from workspace memory.
Instructions
Records a swarm agent/model rule violation into the isolated BlackBox penal ledger (.botex/penal_vault.db), completely separated from the Memory Vault.
When to call: during cross-review or handoff verification when you observe a verified contract breach (SEC_01 secrets/workspace breach, SKILL_01 skipped tests or test theater, SCOPE_01 diff explosion, HAL_01 hallucinated tools/paths, LOOP_01 3+ identical failures). Never log violations or penalties into save_memory.
Args: offender: Target agent or model identifier (e.g. 'zcode-headless', 'botex:glm-5.3-flash'). violation_code: Canonical code ('SEC_01', 'SKILL_01', 'SCOPE_01', 'HAL_01', 'LOOP_01'). severity: Incident severity ('WARN', 'REJECT', 'CRITICAL'). Default 'REJECT'. skill_recipe: Optional skill/recipe active during the infraction. evidence_snippet: Concise log/diff excerpt (automatically secret-masked). workspace_dir: Target workspace path or 'edge://<device_id>/<workspace_id>' URI. enforcement_action: Action label ('PENALTY_LOGGED', 'HANDOFF_REJECTED', 'ESCALATED'). origin: Optional provenance identifier '@' of the reporting agent.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"offender": "<offender>",
"violation_code": "<violation_code>"
},
"name": "botex_report_violation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | No | ||
| offender | Yes | ||
| severity | No | REJECT | |
| skill_recipe | No | ||
| workspace_dir | No | ||
| violation_code | Yes | ||
| evidence_snippet | No | ||
| enforcement_action | No | PENALTY_LOGGED |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||