Skip to content

Cardio load, cycle, breathing effect, step calibration, detected activity, GPX, weekly share, medications - #29

Merged
gabrielbr merged 3 commits into
mainfrom
ccr-67ccb970-dqwwqd
Oct 21, 2026
Merged

gabrielbr merged 3 commits into
mainfrom
ccr-67ccb970-dqwwqd

Conversation

@gabrielbr

Copy link
Copy Markdown
Owner

Ideas from OpenStrap Edge, reimplemented here (Edge is AGPL, so no code was copied).

  • Cardio load: Banister TRIMP against the user's own quiet waking HR, banded against their usual day.
  • Cycle tracking: day and phase from logged dates, with the next period estimated from the user's own cycles. No fertile window. DB v34.
  • Breathing effect: HRV in the 2 h after a session vs the 2 h before, never during the session.
  • Ring vs phone steps: compared over at least 5 days; an optional "≈ STEPS" shows on Today's tile only.
  • Detected walks, runs, cardio and naps: shown as proposals to confirm or dismiss. Nothing is recorded until the user confirms.
  • GPX export of GPS workouts.
  • Share my week: a picture of the week's averages.
  • Medications and supplements: per-dose taken/skipped, a week's adherence, per-dose reminders, and today's doses shared with the coach. DB v35.

Tests: ReleaseCTest, ReleaseDTest.


Generated by Claude Code

…teps

- Cardio load (My Health → Heart): Banister TRIMP over heart-rate reserve from
  the ring's all-day HR, against the user's own quiet waking HR (20th
  percentile of daytime readings outside sleep, median of 28 days, from 3
  days), banded against the user's usual day. Each reading counts for the gap
  to the next, at most 30 minutes.
- Cycle tracking (My Health → Cycle, DB v34 periods, in the backup): day and
  phase from logged dates, next period from the user's own cycle lengths; no
  fertile window. Phase and day go to the coach.
- Breathing sessions: HRV in the two hours after against the two hours before,
  never during (slow breathing raises it while it lasts); shown from three
  sessions.
- Ring steps vs the phone's step counter, sampled on start and hourly: the gap
  over at least five comparable days, and an opt-in "≈ STEPS" on Today's tile.
  Goals, scores and Health Connect keep the ring's own count.

Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w
…dications

- Detected activity (Activity screen → "Detected · review"): walks and runs
  from two or more brisk 15-minute windows of steps, cardio from 20+ minutes
  at 40 % of heart-rate reserve above the quiet level, naps from 25+ quiet,
  still minutes in the afternoon. Nothing is recorded until the user confirms
  (a workout is created; a nap ticks the "Daytime nap" tag); "Not this" is
  remembered, and anything overlapping a recorded workout or night is skipped.
- GPX 1.1 export of a GPS workout (share button on the workout), accepted
  points in time order, elevation, and heart rate in the Garmin extension.
- "Share my week" (My Health): a picture of sleep, steps, resting HR and HRV
  against last week, plus workouts; averages only, no scores.
- Medications & supplements (My Health, DB v35, in the backup): schedule,
  today's doses to mark taken or skipped, a week's adherence, one reminder per
  dose (switchable in Daily guidance), and today's doses for the coach. Only a
  past unanswered dose counts as missed; no interaction checking.

Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w
@gabrielbr
gabrielbr merged commit 29d151c into main Oct 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants