kira_record_failure
Record a failure or exception as a local-only personal scar, storing what went wrong and what to do instead next time.
Instructions
Capture a retry or exception you just hit as a PERSONAL scar — a private, local-only failure note stored under ~/.kira/personal-scars/. Call this immediately after a task needed extra attempts or threw an error, so future runs on this machine can avoid the same wall. Provide 'title' (what went wrong), 'mistake' (what was done / the exception), and ideally 'instead' (what to do next time). All free text is sanitized (keys, paths, emails redacted) before it touches disk. Personal scars are LOCAL-ONLY — they are never uploaded, on any tier.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Short summary of what went wrong (becomes the scar title). | |
| instead | No | What to do instead next time (the fix / avoidance strategy). | |
| mistake | Yes | What the agent did wrong, or the exception / retry cause. The pattern to recognize and avoid next time. | |
| summary | No | Optional one-line summary. Defaults to the title. | |
| contexts | No | Project context tags (e.g., ['nextjs', 'typescript']). | |
| keywords | No | Firing keywords so this scar surfaces on future lookups. | |
| severity | No | Defaults to 'warning'. |