AI Pipeline Intelligence β GenerateTest & ExplainFailure (vsix v1.5.0)
Two AI-powered buttons in the Debug Panel node stepper:
| Button | Visible when | What it does |
|---|---|---|
| π§ͺ Test | Any trace selected | Generates a compilable MSTest unit test from real execution data (inputs, outputs, error types) |
| π Explain | Failing trace selected | Explains in 3β5 sentences why the pipeline failed and where the root cause is |
Setup β no extra config needed if you have Claude Code installed. The extension calls claude -p automatically and uses your Pro subscription. If claude is not in PATH, the error message shows the exact install location found on disk and links to setup instructions. Set resultflow.anthropicApiKey in VS Code Settings as a fallback (free tier available at console.anthropic.com).
Why it works well: the AI receives a structured FlowAIModel β typed node names, real inputs, exact error type, failing step β not raw log text. Hallucination surface is dramatically lower than log-based AI debugging tools.