Repository navigation
Personal: interactive muscle map driven by logged workouts - #47
Merged
Merged
Conversation
- Planned / Logged / Preview modes and 7, 28 or 90 day periods on /me/body. - Exercise catalogue maps free-text workout names to muscles; unplaceable names are reported to the user, never guessed. - Logged data reuses P1-B's wellness gate and adult rule; own rows only. - No schema change; imports P1-B code but edits none of it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018caQbyr5kMzA8YcRwCNrt8
baba-dev
marked this pull request as ready for review
November 19, 2026 07:33
This was referenced Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Makes the Personal muscle map (
/me/body) interactive and driven by real training, building on P1-A (#44) and P1-B (#46).Workout exercise names are free text, so
exercise-catalog.tsmaps keywords to muscles (word-boundary match, longest keyword wins, so "romanian deadlift" is not a plain deadlift and "leg curl" is not a biceps curl). Names it cannot place are shown to the user as not counted, never guessed. Details and limits:docs/P1_MUSCLE_EXPLORER.md.Coordination with Codex's work
getOverview,assertWellnessEnabled,assertWellnessAdult) but edits none of it. Touches only my own body-map files,/me/body, one doc line inDESIGN.md, and my existing integration test file (soci.ymlis untouched).feat/personal-p1c-android-health-connect(6 commits at time of writing): zero overlapping files.Privacy
Reads only the signed-in user's rows. Nothing flows to clubs or leaderboards. Logged mode reuses P1-B's gate, so it is off unless
PERSONAL_WELLNESS_ENABLED=trueand the user is a clear adult; when off, "Logged" is disabled and the page says why. Descriptive only: no recovery score, readiness or health claim.Verified locally
format:check,lint(0 errors),typecheck, 207 unit tests (9 new) and 8 integration tests (2 new) pass on a disposable PostgreSQL 16, with P1-B's migrations applied.Not verified
exercise-catalog.ts.Generated by Claude Code