save_correction
Save correction patterns to prevent repeated mistakes. Records what went wrong and the right approach, then surfaces these patterns automatically in similar future situations.
Instructions
Save a correction pattern — what went wrong and what the right approach is. These are surfaced automatically when similar situations arise in future sessions, helping avoid repeated mistakes.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wrong_approach | Yes | What was done incorrectly (e.g., "Used npm install instead of bun add") | |
| right_approach | Yes | The correct approach (e.g., "Always use bun add for this project") | |
| context | No | When/where this applies (e.g., "package management in monorepo") | |
| scope | No | global = applies everywhere, project = specific to this codebase | project |