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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| project | Yes |