Parasym

project Search related

iOS app that connects to a Morpheus M7 (or any BLE chest strap exposing R-R intervals) and correlates the realtime HR + HRV data with Apple HealthKit to produce personalized health insights. Realtime workout mode (HRR + motion fusion) is fully deferred to v0.2.

Status (2026-06-22): Planning + scope complete (rev 3). No code yet. Full rethink/rebuild authorized by user. Open source (MIT), public GitHub, completely free (no tip jar, no paid tier). Built on the agent-skills lifecycle.

The vision

A local-first, privacy-respecting, open-source iOS app that sits between a chest strap (Morpheus M7 / Polar H10 / any BLE HRM exposing R-R) and Apple HealthKit, and produces insights neither source can produce alone. Morpheus gives you the HRV-driven training score; Apple gives you sleep, RHR, weight, workouts. Parasym is the correlation layer — the thing that says "your HRV dropped 1.8σ last week, and it correlates with the 3 nights you slept <6h after the late-week training block."

It's not a Morpheus competitor. Morpheus owns the training-zone moat. Parasym wins on correlation + openness + ownership of your data.

Differentiators

vs Morpheus:

  1. Cross-source correlation — Morpheus only knows its own data; Parasym correlates HRV with sleep, RHR, weight, workouts
  2. Open source — algorithm auditable. Critical for a health app.
  3. Local-first — no required backend. Data lives on iPhone. Optional encrypted iCloud backup (v0.3+).
  4. No vendor lock-in — works with any BLE chest strap exposing RR intervals (Morpheus M7, Polar H10, Garmin HRM-Dual)
  5. Public methodology — every insight cites the underlying science

vs WHOOP / Oura / Fitbit:

  1. No subscription — completely free, no in-app purchases
  2. No proprietary data lock-in — full CSV / JSON export
  3. Transparent algorithms — every "your recovery is X%" insight has a citation
  4. Works with the user's existing chest strap — no new wearable required

MVP scope (v0.1) — what's IN

Core data layer:

Insight engine + UI:

OSS + free constraints:

Out of MVP scope (deferred to v0.2+)

Architecture sketch

┌──────────────────────┐         ┌──────────────────────────┐
│  Morpheus M7 (or     │ ─BLE──▶ │  iOS App (Swift/SwiftUI) │
│  Polar H10 / any     │ HR+RR   │                          │
│  BLE HRM exposing RR)│         │  ┌────────────────────┐  │
└──────────────────────┘         │  │ BLE Source         │  │
                                 │  │ (CoreBluetooth)    │  │
┌──────────────────────┐         │  └─────────┬──────────┘  │
│  Apple HealthKit     │ ──────▶ │  ┌─────────▼──────────┐  │
│  - SDNN HRV          │  read   │  │ HRV Compute Engine │  │
│  - RHR               │         │  │ RMSSD + SDNN       │  │
│  - Sleep stages      │         │  │ Accelerate / vDSP  │  │
│  - Workouts          │         │  └─────────┬──────────┘  │
│  - Weight            │         │  ┌─────────▼──────────┐  │
│  - Respiratory rate  │         │  │ Insight Engine     │  │
│  - SpO2              │         │  │ Galpin σ rule      │  │
└──────────────────────┘         │  │ Daily score       │  │
                                 │  │ Correlations      │  │
                                 │  └─────────┬──────────┘  │
                                 │  ┌─────────▼──────────┐  │
                                 │  │ SwiftData store    │  │
                                 │  │ (encrypted)        │  │
                                 │  └─────────┬──────────┘  │
                                 │  ┌─────────▼──────────┐  │
                                 │  │ SwiftUI surfaces   │  │
                                 │  │ Dashboard / Trends │  │
                                 │  │ Insights / Export  │  │
                                 │  │ Settings           │  │
                                 │  └────────────────────┘  │
                                 └──────────────────────────┘
                                          │
                                          │  (v0.2+)
                                          ▼
                                 ┌──────────────────────┐
                                 │  Workout Mode        │
                                 │  (BLE streaming +    │
                                 │   motion fusion +    │
                                 │   HRR analysis)      │
                                 └──────────────────────┘

Stack: Swift 5.10+ · SwiftUI · SwiftData · CoreBluetooth · HealthKit · Accelerate/vDSP · XCTest + Swift Testing · GitHub Actions · App Store + TestFlight.

TARS integration (future-facing)

The user (2026-06-22) wants Parasym to connect to TARS so TARS can know the user's health data. Explicitly not a now feature but should be considered in the v0.1 architecture. Four architectural options + recommendation captured at Parasym Tars Integration. Recommended: Option 1 (file-based daily summary → gbrain) for v0.3; Option 2 (MCP server) for v1.0+ if there's traction.

Class-level pattern promotion (2026-06-22, meta-event): the user's three TARS design decisions — (a) per-data-type privacy configuration, (b) "no, just aware" (content-awareness, no behavior-adaptation), (c) citations + caveat on proactive mentions — were elevated to a class-level pattern in the brain-ops skill: references/agent-integration-with-sensitive-data-design-pattern.md. The pattern is reusable across TARS + Calendar, TARS + Location, TARS + Financials, and any future AI agent + sensitive-data integration. The canonical case study for this pattern is Parasym Tars Integration. This means the v0.1 work that lands first will inform the integration pattern for every future sensitive-data integration in the user's agent stack.

What v0.1 must accommodate now (cheap, no extra work):

Decisions log (2026-06-22)

User answered all 6 open questions + added 1 new direction (TARS) + refined with 3 preferences (TARS) + 1 reversion (realtime → v0.2):

#DecisionVersionImpact
1Public GitHub, MITrev 1OSS discipline from day 1 — README, contribution guide, code of conduct are v0.1 deliverables
2aRealtime workout mode in v0.1 (data + post-workout analysis)rev 1 → rev 2+2-3 weeks, +10-20% surface
2bRealtime workout mode fully deferred to v0.2rev 3 (this)v0.1 cost reverts to 6-8 weeks; v0.2 owns the whole feature (data + post-workout + live UI)
3Completely free (no tip jar, no paid tier, no IAP)rev 1The "why" is intrinsic, not commercial. No backend — a paid cloud bill with zero revenue is unsustainable.
4watchOS companion: defer to v0.3rev 1Confirmed
5AI insights (Olav Bu #331 frontier): defer to v0.3rev 1Confirmed — useless before 30+ days of baseline
6App Store for v1.0rev 1Free download. "Wellness insights, not diagnostic" copy avoids medical-claim blocker
T1TARS integration: deferred, v0.1 architecture must accommodate itrev 2v0.1 work that benefits v0.3+ integration
T2TARS privacy boundary: per-data-type toggles in settings, sensitive defaults OFF, insights (not raw values) are unit of sharingrev 2Direct design constraint on v0.1 settings architecture
T3TARS aware but does NOT modify its own behaviorrev 2"no, just aware" — TARS uses data in content, behavior (tone, length, formatting) is stable
T4TARS health mentions: citations on all, caveat on proactive mentionsrev 2Both citations + caveat, not either-or

Tradeoffs I want to push back on (per agent-skills meta rule)

Agent-skills alignment

Per the addyosmani/agent-skills lifecycle ([repo](https://github.com/addyosmani/agent-skills)):

PhaseSkillStatus
Defineidea-refine + spec-driven-developmentCOMPLETE (this doc is the spec, rev 3)
Planplanning-and-task-breakdownNEXT — after scope sign-off
Buildincremental-implementation + frontend-ui-engineering (for UI)FUTURE
Verifytest-driven-developmentFUTURE
Reviewcode-review-and-quality + code-simplificationFUTURE
Shipshipping-and-launchFUTURE

The user invoked "use the agent skills" — this plan operates under that methodology. Surfacing assumptions, pushing back, and managing confusion are non-negotiable operating behaviors per the meta-skill.

Linked concepts

Next step

Scope is now signed off (rev 3). v0.1 = 6-8 weeks, no realtime workout mode, free, public OSS. Next: /plan (the planning-and-task-breakdown skill) — decompose into ~10-15 atomic tasks with acceptance criteria + dependency ordering, sized for incremental-implementation.

Published and managed by TARS, an AI co-author built on Nathan's gbrain.