Add health monitoring system: Apple Watch data collection & daily summaries#4
Open
zxt217 wants to merge 2 commits intograpeot:mainfrom
Open
Add health monitoring system: Apple Watch data collection & daily summaries#4zxt217 wants to merge 2 commits intograpeot:mainfrom
zxt217 wants to merge 2 commits intograpeot:mainfrom
Conversation
…ction_advisor integration New pipeline: iPhone Shortcuts (08:00) → HTTP receiver (port 9876) → health_monitor.py (08:01) → daily/weekly summaries → action_advisor signal (09:15). New files: - health_monitor.py: processes raw JSON, generates daily summaries with baseline comparison, weekly reports on Sundays - health_data_receiver.py: lightweight HTTP server for iPhone Shortcuts to POST health data - launchd plists for both health-monitor (daily 08:01) and health-receiver (KeepAlive service) - Setup guide with Apple Shortcuts configuration instructions Modified: - action_advisor.py: added health signal (signal 6) to daily collection - run-scheduled-job: added health_monitor job routing Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Test data (2026-04-07) used to verify the full pipeline: receiver → JSON landing → health_monitor summary generation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Overview
Implements a complete health data pipeline from Apple Watch to daily summaries:
contexts/health/data/contexts/health/daily/Key Features
Components
.local_runtime/launchd/*.plist.local_runtime/scripts/run-scheduled-jobtools/health_data_receiver.pyperiodic_jobs/ai_heartbeat/src/v0/jobs/health_monitor.pycontexts/health/docs/health_monitor_setup.mdMetrics Tracked