Get Anti-Patterns
get_anti_patternsRetrieve past sessions marked as anti-patterns to avoid repeating mistakes. Filter by topic, limit, or project for targeted learning.
Instructions
Retrieve sessions marked as anti-patterns.
Returns a list of dicts with a 'truncated' boolean. Use at session start or before attempting a known-tricky approach to surface past failures.
Args: topic: Optional keyword to filter within anti-patterns. Omit for all anti-patterns ordered by recency. When provided, uses FTS5 with a fan-out heuristic; result may be truncated if anti-patterns are sparse in the corpus. limit: Max results to return (1-100). Defaults to 10. project: Restrict to a specific project slug. Case-sensitive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| topic | No | ||
| project | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |