Repository navigation
Control-Tower home widget + medication-refill autopilot signal - #137
Merged
Merged
Conversation
Two roadmap items: #2 Control Tower as Home: the default AI dashboard now shows a Family Autopilot card (success %, # handled, # to review, top suggestions) linking to the full surface. Additive — the AI home is otherwise unchanged. #1 Medication refills: - 0086_medication_refills.sql: nullable refill_on + refill_reminder_days on medications - medicationSuggestions(): refill due within lead time (or just overdue); due <=2d is auto-tier (reversible reminder) at conf 92, else 80; kind medication - scan.ts reads active meds with a refill date; Pill icon in the Control Tower Autopilot now predicts 9 signal types. Full suite 883/883; tsc/lint/build clean. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Mz4QW1Ti45CpqKabFHYmPb
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
NewWorldVenture
marked this pull request as ready for review
June 24, 2026 19:01
This branch was successfully deployed
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.
Gen-2 roadmap — Control-Tower-as-Home + Medication refills
Two items, both Supabase-wired and production-ready.
#2 — Control Tower as Home (non-destructive)
The default
/dashboardAI home now shows a Family Autopilot card near the top:/dashboard/autopilotsurface; readsautopilot_suggestionsdirectly and uses the engine'ssuccessProbability().#1 — Medication refills (the vision's "who has medication")
0086_medication_refills.sql— nullablerefill_on+refill_reminder_days(default 7) onmedications(+ partial index). Purely additive.medicationSuggestions()— refill due within its lead time (or ≤3 days overdue). Due ≤2 days → confidence 92 (auto-tier) so the autopilot creates the (reversible) refill reminder automatically; otherwise 80 (approve).kind: medication, Pill icon.scan.tsreads active meds with a refill date into the snapshot.Verification
tscclean ·next lintclean ·npm run build✓The autopilot now predicts 9 signal types. Remaining roadmap (Digital Twin/Memory feeding confidence, agent network, more signals) documented in
AGENT_HANDOFF.md.🤖 Generated with Claude Code
https://claude.ai/code/session_01Mz4QW1Ti45CpqKabFHYmPb
Generated by Claude Code