log_discovery
Log a discovery, gotcha, or TIL as a structured note with its impact and recommended actions, preventing future agents from re-discovering the same issues.
Instructions
Log a discovery, gotcha, or TIL (Today I Learned) as a structured note. Captures what was found, its impact, and recommendations. Prevents future agents from re-discovering the same things.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Tags for categorization (e.g. 'macos', 'yaml', 'typescript'). | |
| title | Yes | Short title for the discovery (e.g. 'macOS /tmp is a symlink to /private/tmp', 'gray-matter crashes on undefined values'). | |
| impact | No | How impactful is this discovery? Critical = breaks things if ignored. Default: medium. | medium |
| source | No | Who made this discovery (e.g. 'agent', 'human', 'agent-claude-1'). | agent |
| context | No | How was this discovered? What were you doing when you found this? | |
| project | No | Project ID this discovery relates to. | |
| task_id | No | Task ID during which this was discovered. | |
| category | No | Type of discovery. Default: gotcha. | gotcha |
| discovery | Yes | What was discovered? State the finding clearly. | |
| related_files | No | File paths related to this discovery (code files, config files, etc.). | |
| recommendation | No | What should be done about this? A concrete action or pattern to follow. |