Repository navigation
Personal P1-B: HM2 Wellness Engine — goals, workouts, sleep, nutrition, recovery and insights - #46
Merged
Merged
Conversation
baba-dev
force-pushed
the
feat/personal-p1b-wellness-engine
branch
from
November 18, 2026 18:42
84f6e3e to
bb90cdc
Compare
…etrics primitives
…ve PG17 acceptance
baba-dev
force-pushed
the
feat/personal-p1b-wellness-engine
branch
from
November 19, 2026 04:29
bb90cdc to
5ad1af7
Compare
baba-dev
marked this pull request as ready for review
November 19, 2026 04:29
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.
P1-B — eight-commit Wellness Engine
Stacked on Personal P1-A #44, which remains draft. Deliberately not merged or deployed. This PR should be rebased onto main after P1-A merges and before changing production flags.
Eight commits
Security / product gates
PERSONAL_WELLNESS_ENABLED=falseby default. All new wellness routes require verified Better Auth session, user ownership and conservative adult policy. POST uses existing Personal origin verification and fail-closed rate limiter.Verification
Run x64/ARM64 CI, PG17 schema drift/replay/cross-user/erase checks and real browser HM2 light/dark/multi-device QA. The stacked PR needs a post-P1-A rebase; staged rollout and privacy/age acceptance precede activation.
Known limitations (not represented as shipped)
Completed-session logging only (no offline running timer); simplified strength entry; no full food catalogue; advanced paid analytics and native device synchronization deferred to separate PRs.
See
docs/P1B_WELLNESS_ENGINE.md.