8000 [Vision] OpenGlucose metabolic context cockpit · Issue #49 · shroominic/OpenGlucose · GitHub
[go: up one dir, main page]

Skip to content

[Vision] OpenGlucose metabolic context cockpit #49

Closed as not planned
Closed as not planned

Description

@raynman1

Product vision

OpenGlucose should become a local-first metabolic context cockpit that helps a person answer:

What happened in my glucose, what was happening around it, and does this pattern repeat?

The product remains glucose-first and wellness-only. Meals, sleep, workouts, movement, heart rate, and notes add context around a source-attributed glucose timeline. Deterministic analytics produce the facts and evidence. Optional AI may summarize those facts, but it never invents calculations, diagnoses, treatment, dosing, emergency guidance, or autonomous actions.

Primary experience

┌──────────────────────────────────────┐
│ 108 ↗ mg/dL        fresh 2m · Live  │
│ Sensor: 14 days left                 │
├──────────────────────────────────────┤
│          24-hour body timeline       │
│ glucose line                         │
│ █████ sleep ███    ● meal  ▬ workout │
│             small activity / HR rail │
├──────────────────────────────────────┤
│ Sleep 7h42 │ 6.8k steps │ Meal +22  │
├──────────────────────────────────────┤
│ What stands out                      │
│ “Two post-meal walks coincided with  │
│ steadier glucose afterward.”         │
│ 2 qualified days             Why? →  │
├──────────────────────────────────────┤
│ Stability │ Meals │ Overnight │ Move │
└──────────────────────────────────────┘
          + Meal · Activity · Note

Navigation remains compact:

  • Today — live glucose, one body timeline, context chips, one observation, quick add.
  • Timeline — journal and chronological source-attributed context.
  • Trends — qualified comparisons, recap, and long-term profile.
  • Settings — sensor, display, integrations, AI/models, privacy/data, app.

Product principles

  1. Sensor truth before interpretation.
  2. Glucose-first, context-rich.
  3. Deterministic analytics before AI narration.
  4. Every observation opens its evidence, window, source, counts, and gaps.
  5. Missing or inaccessible data is explicit; it never becomes zero.
  6. Associations are not causality.
  7. Local/offline value is complete; every external boundary is opt-in and revocable.
  8. No opaque metabolism score or bio-age.
  9. AI is optional and never controls alerts, records, sensors, or health decisions.
  10. Compact daily story over dashboard-card accumulation.

Current release track

These protect the existing product and proceed alongside the new feature program:

Parallel delivery map

Reliability:  #35 + #34 + #33 ───────────────→ #45 → #47
Data spine:   #36 ─┬→ #40
                    ├→ #41 ───────────┐
                    ├→ #43 ───────────┤
                    └→ #42 ───────────┤
Design:       #38 ────────────────────┤→ #44 ─┬→ #46
Analytics:    #37 ────────────────────┘       └→ #48
AI contract:  #39 ───────────────────────────→ #46

Wave 0 — ready now

These have separate ownership and can begin concurrently:

Wave 1 — after the #36 contract freezes

These are separate feature lanes and can run in parallel:

Wave 2 — integrated product surfaces

Wave 3 — daily-value expansion

Milestones

Shared Definition of Done

Every feature must:

  • preserve live/cached/sample/imported provenance;
  • pass sparse, duplicate, future, out-of-order, DST, gap, and permission-boundary fixtures where applicable;
  • provide migration, recovery, rollback, and deletion behavior;
  • avoid sensitive identifiers/readings in logs and public artifacts;
  • remain functional offline and with AI disabled;
  • render at 375/390/430 points, 200% text, screen reader, dark mode, and reduced motion;
  • include independent review for R2 health/data/native/AI/accessibility work;
  • at 8000 tach physical-device evidence where background, BLE, HealthKit/Health Connect, notifications, models, or widgets are affected;
  • keep wellness/reference framing and prohibit diagnosis, treatment, dosing, emergency reliance, and unsupported causality.

Success measures

  • Warmup-to-first-trusted-reading completion rate.
  • Median basic meal logging time under 10 seconds.
  • Health import duplicate rate: zero.
  • Qualified days with at least one meal/sleep/activity context source.
  • Observations with working evidence drill-down: 100%.
  • Background freshness/stale-state accuracy.
  • Weekly recap eligibility and return rate.
  • Complete export/delete/restore success rate.
  • Accessibility completion across supported devices and text scales.

Explicit non-goals for this program

Defer until the evidence loop is trustworthy:

  • generic blank AI chat;
  • food database and automatic nutrition truth claims;
  • opaque metabolism scores or bio-age;
  • coaching/telehealth;
  • community or follower cloud services;
  • gamification without qualified analytics;
  • medical alarms or treatment/dosing behavior.

Documentation sources

The detailed implementation direction and safety constraints already live in:

  • docs/product-foundations-2026.md
  • docs/product-safety.md
  • docs/architecture/adr/0002-local-first-health-data.md
  • docs/engineering/standards.md

This issue is the product-level source of truth. Child issues own feature scope, acceptance criteria, dependencies, and delivery evidence.

Activity

  1. added
    epicUmbrella product vision or cross-feature program
    documentationImprovements or additions to documentation
    priority:P0Critical path or release-blocking work
    parallel:readyCan begin independently in the current wave
    on Aug 15, 2026
  2. pinned this issue on Aug 15, 2026
  3. shroominic commented on Aug 16, 2026

    @shroominic
    Owner

    Delivery ledger

    Timestamp: 2026-08-16T11:28:08Z

    Owner agent Branch PR Issue/workstream State Blocker Tests Review result Next action
    pr58_stale_privacy_repair feature/apple-watch #58 Apple Watch Smart Stack Repair in progress iOS 16.1 stale sensitive value; native behavior matrix absent Prior PR CI/security green; rerun at repaired head Changes requested: two P2s Fail closed on legacy rendering; add behavior tests; scoped re-review
    pr_audit feature/macos-desktop-preview #57 macOS reviewer preview Waiting after #58 Overlap in CHANGELOG.md and compatibility docs Current PR Actions green; rerun after rebase Owner review pending Rebase after #58; rerun checks; obtain Apple-silicon evidence
    CEO feature/windows-desktop #56 Windows BLE preview Deferred Windows diagnosis Main conflict; CMake installs literal generator-expression path CI/security green; Windows Preview packaging failed Independent review pending After mobile work: rebase, narrow CMake repair, package evidence, review
    CEO feature/metabolic-context-train #51 #36–#48 aggregate Draft; split required Conflict; 60 files / 8,942 lines; cross-cutting scope Prior associated CI/security only; no reusable exact-head gate Metadata repaired; focused review pending Extract the #36 data-spine PR first; use issue-sized PRs
    pr_audit chore/testflight-release-action #33 TestFlight automation Stale draft Conflict; six commits behind current main; release-semantics decision needed Prior associated CI/security green; stale head Owner decision/review pending Keep draft; rebase/repair only if the workflow remains strategic
    issue36_execution_plan n/a n/a #36 source-aware health-data spine P0 plan Repeated-import SQLite identity conflict; no durable sync/reconciliation lifecycle Add repeated-import, update/deletion, migration/recovery fixtures R2 plan review required Fix canonical identity/upsert first; then sync state, resolution, and app-lifetime repository ownership

    This comment is the live delivery ledger for the epic. It is updated after material state transitions; focused PRs reference their issues and an issue closes only after all acceptance criteria have independently verified evidence.


    This ledger moved to #102 during the repository-owner issue migration.

  4. unpinned this issue on Sep 1, 2026
  5. shroominic commented on Sep 1, 2026

    @shroominic
    Owner

    Superseded by #102, recreated by the repository owner under shroominic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationepicUmbrella product vision or cross-feature programparallel:readyCan begin independently in the current wavepriority:P0Critical path or release-blocking work

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0