Background
The WW app shows sleep data (duration, quality) alongside food and activity tracking. Sleep is increasingly linked to weight management and appetite regulation, so surfacing it in wwlog would provide useful context alongside food and activity data.
Desired behaviour
- Log tab — Show sleep duration and quality for each day in the per-day detail view
- Insights tab — Sleep trend across the date range (avg duration, nights with/without data); correlation note alongside points data (e.g. nights with <7h sleep vs over-budget days)
--report — Sleep summary in SUMMARY block; per-day sleep column in DAILY POINTS table
API investigation needed
The my-day endpoint does not currently expose sleep data — the today object only contains pointsDetails and trackedFoods. A separate WW API endpoint likely exists for sleep logs (possibly sourced via the same Terra API integration used for activity). Needs discovery — check network traffic in the WW app to identify the endpoint and response shape.
Acceptance criteria
🤖 Generated with Claude Code on behalf of Alister
Background
The WW app shows sleep data (duration, quality) alongside food and activity tracking. Sleep is increasingly linked to weight management and appetite regulation, so surfacing it in wwlog would provide useful context alongside food and activity data.
Desired behaviour
--report— Sleep summary in SUMMARY block; per-day sleep column in DAILY POINTS tableAPI investigation needed
The
my-dayendpoint does not currently expose sleep data — thetodayobject only containspointsDetailsandtrackedFoods. A separate WW API endpoint likely exists for sleep logs (possibly sourced via the same Terra API integration used for activity). Needs discovery — check network traffic in the WW app to identify the endpoint and response shape.Acceptance criteria
--reportoutput🤖 Generated with Claude Code on behalf of Alister