NoRetry
Lean backend for Replit prompt prevention and failure diagnosis.
This API keeps the expensive path selective: prompt analysis is concise, outcome detection is rules-only, and diagnosis runs only when a visible failure pattern appears.
- `POST /api/analyze-prompt` for before-send scoring and rewrite suggestions
- `POST /api/detect-outcome` for rules-only visible outcome detection
- `POST /api/diagnose-failure` for selective minimal-context diagnosis
- `POST /api/feedback` for explicit worked / didn't work signals