self_rules
Manage agent behavioral rules: list, fire, rate, suspend, activate, retire, or add manual rules. Auto-suspend low-success rules to optimize behavior.
Instructions
Manage behavioral rules (SOUL). Rules are promoted insights that shape agent behavior. Actions: list, fire (record relevance), rate (success=true/false), suspend, activate, retire, add_manual. Auto-suspend: success_rate < 0.2 after 10+ fires.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Rule ID (for fire/rate/suspend/activate/retire) | |
| tags | No | ||
| scope | No | global | project:<name> | category:<name> | global |
| action | Yes | ||
| content | No | Rule text (for add_manual) | |
| project | No | general | |
| success | No | For rate: was rule helpful? | |
| category | No | Category (for add_manual) | |
| priority | No | 1-10 |