/api/v1/daily-loopCompiles recent domain observations, assesses first-vertical readiness (Sleep, Circadian, Energy), resolves snapshot-bound EvidencePacks, runs the HumanIQ planning engine to emit strictly 3 bounded actions, and atomically commits state.
{
"userId": "usr_sovereign_1",
"selectedGoal": "circadian",
"timeZone": "America/New_York",
"observations": [
{ "domain": "sleep", "metric": "sleep_hours", "value": 7.8, "unit": "hours" },
{ "domain": "circadian", "metric": "morning_lux_minutes", "value": 25, "unit": "minutes" },
{ "domain": "energy", "metric": "subjective_energy", "value": 82, "unit": "score" }
]
}{
"ok": true,
"persisted": true,
"storageMode": "in-memory", // or "postgres" in durable production
"decision": {
"disposition": "RECOMMEND",
"explanation": "Circadian alignment strong; 3 actions generated.",
"actions": [
{ "domain": "circadian", "title": "Morning Photonic Lux Entrainment", "evidenceClaimIds": [] },
{ "domain": "recovery", "title": "Cyclic Physiological Sigh", "evidenceClaimIds": [] },
{ "domain": "sleep", "title": "Evening Dim-Light Melatonin Shield", "evidenceClaimIds": [] }
]
},
"domainStates": [ ... ],
"verticalReadiness": { "readyForPlanning": true, "coverage": 1.0 }
}