mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 05:12:14 +00:00
codex-flow.spec.ts intercepts /api/auth/codex/device-start + device-poll + /api/insights/settings to drive the UI through the three-state machine (CTA → device-code panel → "ChatGPT connected" badge) without touching auth.openai.com / chatgpt.com. insights-generate.spec.ts mocks /api/insights/generate with the canonical InsightResult shape (changed/stable/drivers/nextSteps/ confidence/limitations) and confirms the regenerate button surfaces the inline success message — the AI provider stays uninvolved. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>