brain_record_rule
Enforce a strict constraint that AI agents must always obey, storing each rule with its category, project scope, and severity for automatic surfacing before code generation.
Instructions
Enforce a strict constraint that agents must always obey.
Args: rule: The constraint statement (e.g., 'All code comments and docs must be in English') category: Category like 'language', 'architecture', 'security', 'git', 'style', 'general' project: Project identifier or 'global' severity: 'CRITICAL', 'HIGH', 'MEDIUM', or 'LOW'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | Yes | ||
| project | No | global | |
| category | No | general | |
| severity | No | CRITICAL |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |