amplify_preflight
Before starting a task, check stored lessons and decisions for matching failure patterns to prevent repeated mistakes. Returns risk level, matched patterns, and suggested approach.
Instructions
v1.4.0 — Before starting a task, check stored lessons + decisions for matching failure patterns. Returns risk_level (low/medium/high/critical), matched patterns and lessons, and suggested approach. Call this BEFORE diving in when working on something that touches a familiar area.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Project name. | |
| prompt | No | The task / prompt about to be executed (free text). The oracle scans for matching prior issues. Alias: 'task'. | |
| task | No | Alias for 'prompt'. Either field is accepted. | |
| context | No | Optional extra context (file names, recent commits, etc.) that improves matching. |