Every health component, where it lives, and what it talks to. Two systems,
two servers, one database — Healthyst is the backend; everything else is a
front door or a consumer.
Snapshot · Fri 22 May 2026
2 systems2 servers + 1 cloud DB3 active repos3 archived today6 tangles to fix
The map — how it all connects
Data flows top to bottom. Box colour shows which machine it
runs on. Strava is the one true API; everything else arrives as screenshots.
12 collections — sleep, activities, biometrics, meals, nutrition, notes, reflections, phases, plans, daily-activities, food-items, 75soft. The single source of truth for health data.
choujar/cosmoactivehealth-ingest service, health skill, health CLI, health-journey
choujar/healthystactivethe backend — API, AI coach, web, MCP
choujar/cosmo-memoryactivea few health topic drafts
choujar/Fitness-projectarchiveddormant since Apr 2025 — archived 22 May 2026
choujar/HealthTrackProarchiveddormant since Mar 2025 — archived 22 May 2026
choujar/healthpal-iosarchiveddormant since Feb 2025 — archived 22 May 2026
Drift & debt — what to untangle
1
Training phase tracked in three places
Healthyst's coach docs say Phase 8 (75 Soft). The cosmo health skill says Phase 9 (Comeback 5K). You're actually in Phase 10. Three sources, three answers.
2
Stale goals
Healthyst's CLAUDE.md still targets the Adelaide Half Marathon, sub-1:45, May 2026 — a cancelled race.
3
Two coaching brains
Healthyst has an /agent/ coach (phases, injuries, identity). The cosmo health skill also has coach identity, phases, workflows. Overlapping, separately maintained.
4
Two health skill folders
Both ~/cosmo/.claude/skills/health/ and ~/.claude/skills/health/ exist. The cosmo one is active; the global one is unexplained — likely a stale copy.
5
Hardcoded API key
The Healthyst API key is hardcoded in both server.mjs and cli.js instead of living in an env var.
6
Healthyst on the work production box
The Healthyst API runs on the KMZero DigitalOcean production server — a personal project sharing the work prod box. A deliberate early choice, now worth moving.
Planned moves
✓
Archive the 3 dormant repos
Done 22 May 2026 — Fitness-project, HealthTrackPro, healthpal-ios archived on GitHub.
→
Extract the ingest service into its own repo
services/health-ingest/ → choujar/cosmokit-health. The PB ledger stays in cosmo; cosmokit-health symlinks to it.
→
Move Healthyst off the work prod box
Migrate the Healthyst API onto the Hetzner cosmo-cloud box.
→
One source of truth for the training phase
Resolve the Phase 8 / 9 / 10 drift; pick one home for current-phase context.
→
API key to an env var
Pull the hardcoded Healthyst key out of server.mjs and cli.js.
→
Dedupe the health skill folder
Confirm the active skill location, remove the stale copy.
Cosmo health architecture audit · generated Fri 22 May 2026