Product Architecture
How PulseFit works
System overview
Mobile-first with realtime sync, AI personalization, and a deterministic rules engine for safety.
Mobile
API
Data
AI
Rules
Push
Core data flow
AI recommendation pipeline
Collect
Workouts, HRV, sleep, nutrition, wearable streams
Featurize
Rolling windows: 7/30/90d load, ACWR, fatigue
Score
Per-user readiness 0–100 (LightGBM)
Generate
GPT-4o produces a candidate plan with rationale
Validate
Rules engine blocks unsafe volume/intensity
Deliver
Push + in-app card with explainability
Rules engine
Declarative safety guardrails — every AI plan passes through them.
rule "max-weekly-volume"
when load_next > 1.4 * avg_4w
then cap_load_to(1.3 * avg_4w)
rule "readiness-floor"
when readiness < 35
then swap_to("Mobility 30m")
rule "novice-progression"
when level == "Beginner" and weeks < 4
then deload_every(7)Realtime sync
Stack at a glance