Add sleep-quality-tracker ability: personalised sleep coaching with habit correlation - #357
Open
hassan1731996 wants to merge 3 commits into
Open
Conversation
…abit correlation and weekly pattern insights
Contributor
🔀 Branch Merge CheckPR direction: ✅ Passed — |
Contributor
✅ Community PR Path Check — PassedAll changed files are inside the |
Contributor
✅ Ability Validation Passed |
Contributor
🔍 Lint Results🔧 Formatting fixes availableThis PR is from a fork, so fixes could not be pushed automatically. Download the git apply autofix.patch✅
|
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
What makes it unique vs Alexa
Alexa forgets every morning. This ability builds a personal pattern database across weeks and surfaces correlations that are literally impossible without persistent memory — the longer you use it, the more personalised the insights become.
Trigger phrases
"how did I sleep","sleep check-in","log my sleep","sleep report","sleep patterns","tips for tonight","evening habits", and moreSDK patterns applied
create_key-first storage withsuccesscheckbackground_daemon_modeset beforeCapabilityWorkerin daemoncall()while Trueloop for multi-turn follow-upsTest plan
"how did I sleep"→ 3-question check-in → logged + insight spoken"sleep report"with <2 nights → "not enough data yet""sleep report"with 5+ nights → summary + LLM correlation"evening habits"→ 4-question flow → saved to today's entry"tips for tonight"→ personalised tip spokenvalidate_ability.pypasses (exit 0)