Converts run telemetry and user notes into structured reflections with confidence scores. Use after runs to capture qualitative feedback and generate next-step guidance with safety checks for pain or abnormal heart rate.
RecentRunTelemetry, derived metrics, and user notes.SafetyFlag[] if pain/abnormal HR reported.See references/input-schema.json.
See references/output-schema.json.
v0/lib/db.ts)ai_insight_createdSafetyFlag for any concerning symptoms.✓ Nailed the workout! Strong pacing throughout.
✓ Your form held up well - efficient and controlled.
✓ HR zones matched plan perfectly.
→ Great progress! Take it easy tomorrow before [next workout].
✓ Completed the distance - that's a win!
~ Started a bit fast, settled into rhythm later.
~ HR slightly elevated but within acceptable range.
→ Good effort. Focus on recovery, you'll feel stronger for [next workout].
✓ You showed up - that matters.
~ Tough conditions today (heat/fatigue/etc).
~ Pacing was challenging, cut it short wisely.
→ Rest up. Let's assess how you feel before [next workout]. Consider easier version.
⚠ Pain reported - this needs attention.
~ Completed [distance] before stopping.
~ Smart to listen to your body.
→ STOP. Rest and evaluate. If pain persists, consult a professional. Your next workout can wait.
"Solid effort! Take 48-72 hours easy. Your next tempo on [day] will build on this."
"Perfect recovery run. This builds your aerobic base. Ready for [next workout] on [day]."
"Great endurance work! Rest today, light activity tomorrow. Back to running on [day]."
"Tough days happen. Extra rest if needed. We can modify [next workout] to match your recovery."
"Health first. Skip [next workout] and reassess in 2-3 days. Consult professional if pain continues."
ai_skill_invoked, ai_insight_created, and ai_safety_flag_raised when applicable with:
run_idconfidence_scorereflection_points_countsafety_flagsnext_step_provided (boolean)latency_ms