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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>"
},
"name": "amplify_preflight"
}
}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. |