aegis_capture_insight
Capture user corrections or preferences as rule curation insights, letting agents log what went wrong so recurring project rules can be reviewed and improved.
Instructions
Appends a user correction or preference to ~/.aegis/insights/ for rule curation; use aegis_report_outcome to report whether rules helped. Secrets are redacted, quote is cut to 300 characters and paths default to the dirty git paths. Agent captures stay at level: 'suggestion': invisible to aegis_scan, never counted by aegis rule insight review, never upgraded. Capped at 50 captures per session and rate-limited to 5 calls per 60 seconds.
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": {
"quote": "<quote>"
},
"name": "aegis_capture_insight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | Paths it applies to (psrc 'explicit'; at most 20 of 512 chars); default: up to 20 dirty git paths (psrc 'dirty'). | |
| quote | Yes | The user's verbatim correction (1-1024 chars); secrets are redacted and 300 chars stored. |