modulePackage manifestv2.0.4

module.personal-health

Subject-bound non-clinical PersonalOS health ledger orchestration.

@lssm-tech/module.personal-health
Source, release and verification context

Source snapshot bcc79fcc · Declared package version 2.0.4. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.

Package source ↗ Manifest ↗
servernode
EXPLORE THE PACKAGE

See where this package fits.

Follow a declared connection, inspect an import, then open the source guide when you need the detail.

THIS PACKAGEmodule.personal-healthdomains

Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.

4 déclarationsSELECT TO INSPECT

@lssm-tech/module.personal-health

Subject-bound, consent-controlled, non-clinical PersonalOS wellness ledger orchestration. The module composes provider-neutral contracts and deterministic runtime ports; hosts own durable databases, encrypted credential custody, provider transports, export artifact storage, audit persistence, and effects.

Public surfaces

  • ./connections — consent-gated registration, explicit lifecycle transitions, and local-first revocation even when provider revocation fails.
  • ./sync — bounded pagination, exact subject/connection/page binding, durable cursor/page checkpoints, idempotent page replay, strict normalization, quarantine, correction append, cross-provider overlap preservation, and restart after provider failure.
  • ./history — one subject-bound history of measurements and corrections.
  • ./rights — minimized export manifests, local deletion, projection removal, and per-provider deletion-propagation truth without a completion timestamp while any provider target is pending, failed, or unsupported.
  • ./projections — ref-only PersonalOS goal linkage and expiring household summary/trend projections; raw measurements are never shared.
  • ./household-revocation-service — exact authority-bound revocation with an atomic local invalidation/pending-receipt commit, replay-safe request collision denial, and separately validated consumer acknowledgement. Local access stays revoked while remote acknowledgement is pending or unavailable.
  • ./insights — deterministic descriptive trend explanations derived only from two or more exact subject-, consent-, provenance-, metric-, and unit-bound ledger records. The service computes direction, confidence, freshness, and evidence references; callers cannot supply them. Unsupported metrics and clinical-looking records fail closed. User-requested urgent guidance is fixed EN/FR/ES non-monitoring copy.
  • ./wellbeing-goal-service — a subject-confirmed wellbeing experiment over an exact PersonalOS goal, active provider connections, opaque provider-field references, accepted/corrected baseline and observation records, a bounded target and window, and mandatory human/consent/guardrail stop conditions. Exact goal ownership, granular goal/read consent, revisions, idempotency, digests, receipts, guardrails, state, and minimized audit commit through host ports. Consent revocation and verified guardrails pause collection and sharing locally even when consent or provider connectivity is unavailable.
  • ./wellbeing-goal-summary and ./wellbeing-goal-query — an exact-subject, bounded host query that projects current plus recent experiments into the minimized PersonalOS workspace contract. Current experiments are never truncated; duplicate IDs, subject-version drift, count inflation, missing cursors, and raw/clinical/causal fields fail closed.

Connectivity boundary

HealthKit and Health Connect require host-provided native SDK ports and user authorization. Strava, Oura, Garmin, and Fitbit require host-provided transports, durable encrypted credential references, provider credentials, and operational controls. This package does not claim that any real provider is connected.

Safety boundary

The module does not diagnose, recommend treatment, monitor emergencies, infer protected traits, claim causality, or take consequential action. It never stores raw provider payloads or credential material and never substitutes 0, epoch, current time, a unit, a time zone, provenance, cursor, or healthy status for missing provider data.

The PGlite journeys persist normalized records for the production insight service, unified activity/sleep/biometric/nutrition history, restartable household revocation, and wellbeing experiment state. They verify encrypted rows and tokens, provider-failure restart, explicit cross-provider overlap evidence, quarantine, correction, raw-free export, deletion propagation, and deletion survival across restart. They also preserve local revocation and wellbeing guardrail pauses without restoring access or duplicating audit history. These are local simulated-provider journeys, not live-provider qualification.

The health-operations E2E additionally composes the observed strict Strava adapter with the subject-bound sync, encrypted checkpoint/ledger, rights, and connection services. It exercises a redacted provider failure, restart and paginated recovery, duplicate/quarantine handling, webhook HMAC denial, propagated deletion, local revocation, and content-free durable observations. It remains simulated local evidence and does not qualify a live provider, production alerting, a recovery drill, or a canary.

Verification

bash
bun run lint:check
bun run typecheck
bun run test
bun run build

Declared capabilities.

Module Personal Health

Subject-bound non-clinical PersonalOS health ledger orchestration.

Use it to

  • Adopt subject-bound non-clinical personalos health ledger orchestration

Requires

  • TypeScript

Choose another boundary when

  • The @lssm-tech/module.personal-health package constraints do not match the target runtime or platform.

@lssm-tech/module.personal-health

@lssm-tech/module.personal-health/authorize

@lssm-tech/module.personal-health/connection-service

@lssm-tech/module.personal-health/errors

@lssm-tech/module.personal-health/history-service

@lssm-tech/module.personal-health/household-revocation-service

@lssm-tech/module.personal-health/insight-service

@lssm-tech/module.personal-health/personal-health.feature

@lssm-tech/module.personal-health/ports

@lssm-tech/module.personal-health/projection-service

@lssm-tech/module.personal-health/rights-service

@lssm-tech/module.personal-health/sync-service

Imports and export paths.

18 entries

These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.

18 imports

Dependencies and related packages.

Runtime dependencies 4
Development dependencies 6
@electric-sql/pglite
catalog:data
@types/bun
catalog:types
typescript
catalog:

Package scripts.

Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.

buildcontractspec-bun-build build
build:bundlecontractspec-bun-build transpile
build:typescontractspec-bun-build types
cleanrimraf dist .turbo
lint:checknode ../../../../scripts/biome.cjs check .
lint:fixnode ../../../../scripts/biome.cjs check --write .
prebuildcontractspec-bun-build prebuild
testbun test
typechecktsgo --noEmit
Votre vue

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Votre contexte

The different parts of you

Choose a starting point

Un mélange utile de contexte, de visuels et de guidage discret.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Confort de lecture

Choisir votre langue

La langue de l’interface change uniquement le texte. Les marchés, les prix et les parcours conservent leurs propres paramètres.

Couverture des traductions

Une partie du contenu est affichée en anglais.

Navigation151
Graphe616
Catégories378
Portfolio833
Exemples2 035
Aperçu de la source1 542

D’autres traductions seront ajoutées à mesure que le contenu sera relu.

Cette préférence est enregistrée dans ce navigateur.

Rechercher sur le site

Des points de départ utiles

Aucun résultat. Essayez une expression plus courte, un nom d’opération ou un autre périmètre de recherche.

UN PEU DE PLACE POUR EXPLORER

Trouvez quelque chose à explorer.

Ouvrez un aperçu détaillé sur cette page, essayez une autre perspective ou suivez le détail vers sa propre page.

Fonctionnement des aperçus et des commandes
01

Regarder avant de partir

Survolez un lien ou sélectionnez-le avec Tab pour voir un aperçu. Cliquer sur le lien d’origine ou appuyer sur Entrée ouvre toujours sa destination.

02

Rester dans le contexte

Entrez dans l’aperçu pour explorer ses sections. Depuis un lien sélectionné, utilisez Alt + ↓ pour y entrer au clavier. Échap le ferme.

03

Ouvrir les possibilités

Les lignes dépliables, les choix de perspective et les commandes mises en évidence révèlent davantage. Votre vue adapte le confort de lecture et le contexte exploré.

Un bouton séparé pour voir de plus près

Affichez de petits boutons d’aperçu à côté des liens quand l’espace le permet. Touchez l’œil pour examiner ou le lien pour y aller directement. Ce choix reste dans cet onglet.

Aucun historique de navigation n’est collecté. La réduction des animations suit votre appareil et Votre vue.