Check forbidden action
check_forbidden_actionCheck a code action against project-specific forbidden-action rules. Blocks high-confidence violations and warns about possible ones to prevent rule-breaking.
Instructions
Before a code action, check it against the project's live forbidden_action rules. Two tiers, by
confidence (deterministic, no LLM; superseded/retired rules ignored):
forbidden(HIGH confidence, lexical match) → do NOT do it; refuse and citerules.possibly_forbidden(ADVISORY, semantic/paraphrase match) → ASK the user before proceeding; the semantic signal is noisy (~31% false positives,eval.forbidden_eval), so it warns, not blocks. Separate from the provenance/currency gate (check_memory_use).
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": {
"action": "<action>",
"project": "<project>"
},
"name": "check_forbidden_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| project | Yes |