{"id":"@lssm-tech/lib.personal-health-spec","slug":"lib.personal-health-spec","name":"@lssm-tech/lib.personal-health-spec","version":"2.0.4","path":"packages/domains/personal-health/spec","manifestPath":"packages/domains/personal-health/spec/package.json","manifestBlobSha":"76e2bde2823d355f12c9d94faa42f88a00031b5a","layer":"domains","physicalArea":"personal-health","primaryArea":"personal-and-learning","classification":{"privateDeclared":null,"catalogFamily":"contracts","catalogKind":"library","catalogStatus":"active","adoptionMode":"adoptable","stability":"experimental"},"description":"Consent, provenance, safety, sharing, and rights contracts for non-clinical PersonalOS health data.","descriptionOrigin":"package.json","catalog":{"family":"contracts","kind":"library","status":"active","adoptionMode":"adoptable","stability":"experimental","platforms":["web","server"],"runtimes":["node","browser"],"entrypoints":[".","./authorization-broker","./authorization-broker-client","./authorization-broker-dispatch","./authorization-broker/client","./authorization-broker/host","./common","./consent","./consent-policy","./insights","./jurisdiction","./ledger","./operations","./provider-sync","./records","./rights","./sharing","./wellbeing-goal","./health/health.capability","./health/health.feature","./health/models","./health/telemetry","./health/contracts/activities","./health/contracts/biometrics","./health/contracts","./health/contracts/nutrition","./health/contracts/sleep","./health/contracts/webhooks","./health/contracts/workouts"],"documentation":[{"title":"Lib Personal Health Spec documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Flib.personal-health-spec","kind":"readme"}],"examples":[],"replacements":[],"capabilities":[{"id":"package.lssm.tech.lib.personal.health.spec","title":"Lib Personal Health Spec","description":"Consent, provenance, safety, sharing, and rights contracts for non-clinical PersonalOS health data.","status":"active","useCases":["Adopt consent, provenance, safety, sharing, and rights contracts for non-clinical personalos health data"],"aliases":["lib","personal","health","spec"],"pythonEquivalents":[],"canonicalImports":[{"from":"@lssm-tech/lib.personal-health-spec","symbols":[]},{"from":"@lssm-tech/lib.personal-health-spec/authorization-broker","symbols":[]},{"from":"@lssm-tech/lib.personal-health-spec/authorization-broker-client","symbols":[]},{"from":"@lssm-tech/lib.personal-health-spec/authorization-broker-dispatch","symbols":[]},{"from":"@lssm-tech/lib.personal-health-spec/authorization-broker/client","symbols":[]},{"from":"@lssm-tech/lib.personal-health-spec/authorization-broker/host","symbols":[]},{"from":"@lssm-tech/lib.personal-health-spec/common","symbols":[]},{"from":"@lssm-tech/lib.personal-health-spec/consent","symbols":[]},{"from":"@lssm-tech/lib.personal-health-spec/consent-policy","symbols":[]},{"from":"@lssm-tech/lib.personal-health-spec/insights","symbols":[]},{"from":"@lssm-tech/lib.personal-health-spec/jurisdiction","symbols":[]},{"from":"@lssm-tech/lib.personal-health-spec/ledger","symbols":[]}],"constraints":{"platforms":["web","server"],"runtimes":["node","browser"],"avoidWhen":["The @lssm-tech/lib.personal-health-spec package constraints do not match the target runtime or platform."],"requires":["TypeScript"]},"alternatives":[],"relationships":[],"resolutionPriority":50}]},"canonicalImports":[{"capabilityId":"package.lssm.tech.lib.personal.health.spec","from":"@lssm-tech/lib.personal-health-spec","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.health.spec","from":"@lssm-tech/lib.personal-health-spec/authorization-broker","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.health.spec","from":"@lssm-tech/lib.personal-health-spec/authorization-broker-client","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.health.spec","from":"@lssm-tech/lib.personal-health-spec/authorization-broker-dispatch","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.health.spec","from":"@lssm-tech/lib.personal-health-spec/authorization-broker/client","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.health.spec","from":"@lssm-tech/lib.personal-health-spec/authorization-broker/host","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.health.spec","from":"@lssm-tech/lib.personal-health-spec/common","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.health.spec","from":"@lssm-tech/lib.personal-health-spec/consent","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.health.spec","from":"@lssm-tech/lib.personal-health-spec/consent-policy","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.health.spec","from":"@lssm-tech/lib.personal-health-spec/insights","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.health.spec","from":"@lssm-tech/lib.personal-health-spec/jurisdiction","symbols":[]},{"capabilityId":"package.lssm.tech.lib.personal.health.spec","from":"@lssm-tech/lib.personal-health-spec/ledger","symbols":[]}],"scripts":{"build":"contractspec-bun-build build","build:bundle":"contractspec-bun-build transpile","build:types":"contractspec-bun-build types","clean":"rimraf dist .turbo","lint:check":"node ../../../../scripts/biome.cjs check .","lint:fix":"node ../../../../scripts/biome.cjs check --write .","prebuild":"contractspec-bun-build prebuild","test":"bun test","typecheck":"tsgo --noEmit"},"scriptStatus":"complete pinned manifest","dependencies":{"@lssm-tech/lib.personal-os-spec":"workspace:^","zod":"catalog:","@lssm-tech/lib.contracts-spec-core":"workspace:^","@lssm-tech/lib.schema":"workspace:^","@lssm-tech/lib.crypto-utils":"workspace:^"},"devDependencies":{"@lssm-tech/tool.bun":"workspace:*","@lssm-tech/tool.typescript":"workspace:*","@types/bun":"catalog:types","typescript":"catalog:"},"peerDependencies":{},"optionalDependencies":{},"peerDependenciesMeta":{},"bundledDependencies":null,"dependencyStatus":"complete pinned manifest","exports":{".":"./src/index.ts","./authorization-broker":"./src/authorization-broker.ts","./authorization-broker-client":"./src/authorization-broker-client.ts","./authorization-broker-dispatch":{"browser":null,"default":"./src/authorization-broker-dispatch.ts"},"./authorization-broker/client":"./src/authorization-broker/client.ts","./authorization-broker/host":{"browser":null,"default":"./src/authorization-broker/host.ts"},"./common":"./src/common.ts","./consent":"./src/consent.ts","./consent-policy":"./src/consent-policy.ts","./insights":"./src/insights.ts","./jurisdiction":"./src/jurisdiction.ts","./ledger":"./src/ledger.ts","./operations":"./src/operations.ts","./provider-sync":"./src/provider-sync.ts","./records":"./src/records.ts","./rights":"./src/rights.ts","./sharing":"./src/sharing.ts","./wellbeing-goal":"./src/wellbeing-goal.ts","./health/health.capability":"./src/health/health.capability.ts","./health/health.feature":"./src/health/health.feature.ts","./health/models":"./src/health/models.ts","./health/telemetry":"./src/health/telemetry.ts","./health/contracts/activities":"./src/health/contracts/activities.ts","./health/contracts/biometrics":"./src/health/contracts/biometrics.ts","./health/contracts":"./src/health/contracts/index.ts","./health/contracts/nutrition":"./src/health/contracts/nutrition.ts","./health/contracts/sleep":"./src/health/contracts/sleep.ts","./health/contracts/webhooks":"./src/health/contracts/webhooks.ts","./health/contracts/workouts":"./src/health/contracts/workouts.ts"},"publishExports":{".":{"types":"./dist/index.d.ts","browser":"./dist/browser/index.js","bun":"./dist/index.js","node":"./dist/node/index.js","default":"./dist/index.js"},"./authorization-broker":{"types":"./dist/authorization-broker.d.ts","browser":"./dist/browser/authorization-broker.js","bun":"./dist/authorization-broker.js","node":"./dist/node/authorization-broker.js","default":"./dist/authorization-broker.js"},"./authorization-broker-client":{"types":"./dist/authorization-broker-client.d.ts","browser":"./dist/browser/authorization-broker-client.js","bun":"./dist/authorization-broker-client.js","node":"./dist/node/authorization-broker-client.js","default":"./dist/authorization-broker-client.js"},"./authorization-broker-dispatch":{"types":"./dist/authorization-broker-dispatch.d.ts","browser":null,"bun":"./dist/authorization-broker-dispatch.js","node":"./dist/node/authorization-broker-dispatch.js","default":"./dist/authorization-broker-dispatch.js"},"./authorization-broker/client":{"types":"./dist/authorization-broker/client.d.ts","browser":"./dist/browser/authorization-broker/client.js","bun":"./dist/authorization-broker/client.js","node":"./dist/node/authorization-broker/client.js","default":"./dist/authorization-broker/client.js"},"./authorization-broker/host":{"types":"./dist/authorization-broker/host.d.ts","browser":null,"bun":"./dist/authorization-broker/host.js","node":"./dist/node/authorization-broker/host.js","default":"./dist/authorization-broker/host.js"},"./common":{"types":"./dist/common.d.ts","browser":"./dist/browser/common.js","bun":"./dist/common.js","node":"./dist/node/common.js","default":"./dist/common.js"},"./consent":{"types":"./dist/consent.d.ts","browser":"./dist/browser/consent.js","bun":"./dist/consent.js","node":"./dist/node/consent.js","default":"./dist/consent.js"},"./consent-policy":{"types":"./dist/consent-policy.d.ts","browser":"./dist/browser/consent-policy.js","bun":"./dist/consent-policy.js","node":"./dist/node/consent-policy.js","default":"./dist/consent-policy.js"},"./insights":{"types":"./dist/insights.d.ts","browser":"./dist/browser/insights.js","bun":"./dist/insights.js","node":"./dist/node/insights.js","default":"./dist/insights.js"},"./jurisdiction":{"types":"./dist/jurisdiction.d.ts","browser":"./dist/browser/jurisdiction.js","bun":"./dist/jurisdiction.js","node":"./dist/node/jurisdiction.js","default":"./dist/jurisdiction.js"},"./ledger":{"types":"./dist/ledger.d.ts","browser":"./dist/browser/ledger.js","bun":"./dist/ledger.js","node":"./dist/node/ledger.js","default":"./dist/ledger.js"},"./operations":{"types":"./dist/operations.d.ts","browser":"./dist/browser/operations.js","bun":"./dist/operations.js","node":"./dist/node/operations.js","default":"./dist/operations.js"},"./provider-sync":{"types":"./dist/provider-sync.d.ts","browser":"./dist/browser/provider-sync.js","bun":"./dist/provider-sync.js","node":"./dist/node/provider-sync.js","default":"./dist/provider-sync.js"},"./records":{"types":"./dist/records.d.ts","browser":"./dist/browser/records.js","bun":"./dist/records.js","node":"./dist/node/records.js","default":"./dist/records.js"},"./rights":{"types":"./dist/rights.d.ts","browser":"./dist/browser/rights.js","bun":"./dist/rights.js","node":"./dist/node/rights.js","default":"./dist/rights.js"},"./sharing":{"types":"./dist/sharing.d.ts","browser":"./dist/browser/sharing.js","bun":"./dist/sharing.js","node":"./dist/node/sharing.js","default":"./dist/sharing.js"},"./wellbeing-goal":{"types":"./dist/wellbeing-goal.d.ts","browser":"./dist/browser/wellbeing-goal.js","bun":"./dist/wellbeing-goal.js","node":"./dist/node/wellbeing-goal.js","default":"./dist/wellbeing-goal.js"},"./health/health.capability":{"types":"./dist/health/health.capability.d.ts","browser":"./dist/browser/health/health.capability.js","bun":"./dist/health/health.capability.js","node":"./dist/node/health/health.capability.js","default":"./dist/health/health.capability.js"},"./health/health.feature":{"types":"./dist/health/health.feature.d.ts","browser":"./dist/browser/health/health.feature.js","bun":"./dist/health/health.feature.js","node":"./dist/node/health/health.feature.js","default":"./dist/health/health.feature.js"},"./health/models":{"types":"./dist/health/models.d.ts","browser":"./dist/browser/health/models.js","bun":"./dist/health/models.js","node":"./dist/node/health/models.js","default":"./dist/health/models.js"},"./health/telemetry":{"types":"./dist/health/telemetry.d.ts","browser":"./dist/browser/health/telemetry.js","bun":"./dist/health/telemetry.js","node":"./dist/node/health/telemetry.js","default":"./dist/health/telemetry.js"},"./health/contracts/activities":{"types":"./dist/health/contracts/activities.d.ts","browser":"./dist/browser/health/contracts/activities.js","bun":"./dist/health/contracts/activities.js","node":"./dist/node/health/contracts/activities.js","default":"./dist/health/contracts/activities.js"},"./health/contracts/biometrics":{"types":"./dist/health/contracts/biometrics.d.ts","browser":"./dist/browser/health/contracts/biometrics.js","bun":"./dist/health/contracts/biometrics.js","node":"./dist/node/health/contracts/biometrics.js","default":"./dist/health/contracts/biometrics.js"},"./health/contracts":{"types":"./dist/health/contracts/index.d.ts","browser":"./dist/browser/health/contracts/index.js","bun":"./dist/health/contracts/index.js","node":"./dist/node/health/contracts/index.js","default":"./dist/health/contracts/index.js"},"./health/contracts/nutrition":{"types":"./dist/health/contracts/nutrition.d.ts","browser":"./dist/browser/health/contracts/nutrition.js","bun":"./dist/health/contracts/nutrition.js","node":"./dist/node/health/contracts/nutrition.js","default":"./dist/health/contracts/nutrition.js"},"./health/contracts/sleep":{"types":"./dist/health/contracts/sleep.d.ts","browser":"./dist/browser/health/contracts/sleep.js","bun":"./dist/health/contracts/sleep.js","node":"./dist/node/health/contracts/sleep.js","default":"./dist/health/contracts/sleep.js"},"./health/contracts/webhooks":{"types":"./dist/health/contracts/webhooks.d.ts","browser":"./dist/browser/health/contracts/webhooks.js","bun":"./dist/health/contracts/webhooks.js","node":"./dist/node/health/contracts/webhooks.js","default":"./dist/health/contracts/webhooks.js"},"./health/contracts/workouts":{"types":"./dist/health/contracts/workouts.d.ts","browser":"./dist/browser/health/contracts/workouts.js","bun":"./dist/health/contracts/workouts.js","node":"./dist/node/health/contracts/workouts.js","default":"./dist/health/contracts/workouts.js"}},"types":"./dist/index.d.ts","files":["dist","README.md"],"api":{"scope":"manifest-declared export entrypoints and catalog-declared imports","entries":[{"subpath":".","importPath":"@lssm-tech/lib.personal-health-spec","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"packages/domains/personal-health/spec/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./authorization-broker","importPath":"@lssm-tech/lib.personal-health-spec/authorization-broker","target":"./src/authorization-broker.ts","targets":[{"conditions":[],"target":"./src/authorization-broker.ts","sourcePath":"packages/domains/personal-health/spec/src/authorization-broker.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/authorization-broker.ts","sourceStatus":"verified source file"}]},{"subpath":"./authorization-broker-client","importPath":"@lssm-tech/lib.personal-health-spec/authorization-broker-client","target":"./src/authorization-broker-client.ts","targets":[{"conditions":[],"target":"./src/authorization-broker-client.ts","sourcePath":"packages/domains/personal-health/spec/src/authorization-broker-client.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/authorization-broker-client.ts","sourceStatus":"verified source file"}]},{"subpath":"./authorization-broker-dispatch","importPath":"@lssm-tech/lib.personal-health-spec/authorization-broker-dispatch","target":{"browser":null,"default":"./src/authorization-broker-dispatch.ts"},"targets":[{"conditions":["browser"],"target":null,"sourcePath":null,"sourceUrl":null,"sourceStatus":"blocked export"},{"conditions":["default"],"target":"./src/authorization-broker-dispatch.ts","sourcePath":"packages/domains/personal-health/spec/src/authorization-broker-dispatch.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/authorization-broker-dispatch.ts","sourceStatus":"verified source file"}]},{"subpath":"./authorization-broker/client","importPath":"@lssm-tech/lib.personal-health-spec/authorization-broker/client","target":"./src/authorization-broker/client.ts","targets":[{"conditions":[],"target":"./src/authorization-broker/client.ts","sourcePath":"packages/domains/personal-health/spec/src/authorization-broker/client.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/authorization-broker/client.ts","sourceStatus":"verified source file"}]},{"subpath":"./authorization-broker/host","importPath":"@lssm-tech/lib.personal-health-spec/authorization-broker/host","target":{"browser":null,"default":"./src/authorization-broker/host.ts"},"targets":[{"conditions":["browser"],"target":null,"sourcePath":null,"sourceUrl":null,"sourceStatus":"blocked export"},{"conditions":["default"],"target":"./src/authorization-broker/host.ts","sourcePath":"packages/domains/personal-health/spec/src/authorization-broker/host.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/authorization-broker/host.ts","sourceStatus":"verified source file"}]},{"subpath":"./common","importPath":"@lssm-tech/lib.personal-health-spec/common","target":"./src/common.ts","targets":[{"conditions":[],"target":"./src/common.ts","sourcePath":"packages/domains/personal-health/spec/src/common.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/common.ts","sourceStatus":"verified source file"}]},{"subpath":"./consent","importPath":"@lssm-tech/lib.personal-health-spec/consent","target":"./src/consent.ts","targets":[{"conditions":[],"target":"./src/consent.ts","sourcePath":"packages/domains/personal-health/spec/src/consent.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/consent.ts","sourceStatus":"verified source file"}]},{"subpath":"./consent-policy","importPath":"@lssm-tech/lib.personal-health-spec/consent-policy","target":"./src/consent-policy.ts","targets":[{"conditions":[],"target":"./src/consent-policy.ts","sourcePath":"packages/domains/personal-health/spec/src/consent-policy.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/consent-policy.ts","sourceStatus":"verified source file"}]},{"subpath":"./insights","importPath":"@lssm-tech/lib.personal-health-spec/insights","target":"./src/insights.ts","targets":[{"conditions":[],"target":"./src/insights.ts","sourcePath":"packages/domains/personal-health/spec/src/insights.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/insights.ts","sourceStatus":"verified source file"}]},{"subpath":"./jurisdiction","importPath":"@lssm-tech/lib.personal-health-spec/jurisdiction","target":"./src/jurisdiction.ts","targets":[{"conditions":[],"target":"./src/jurisdiction.ts","sourcePath":"packages/domains/personal-health/spec/src/jurisdiction.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/jurisdiction.ts","sourceStatus":"verified source file"}]},{"subpath":"./ledger","importPath":"@lssm-tech/lib.personal-health-spec/ledger","target":"./src/ledger.ts","targets":[{"conditions":[],"target":"./src/ledger.ts","sourcePath":"packages/domains/personal-health/spec/src/ledger.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/ledger.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations","importPath":"@lssm-tech/lib.personal-health-spec/operations","target":"./src/operations.ts","targets":[{"conditions":[],"target":"./src/operations.ts","sourcePath":"packages/domains/personal-health/spec/src/operations.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/operations.ts","sourceStatus":"verified source file"}]},{"subpath":"./provider-sync","importPath":"@lssm-tech/lib.personal-health-spec/provider-sync","target":"./src/provider-sync.ts","targets":[{"conditions":[],"target":"./src/provider-sync.ts","sourcePath":"packages/domains/personal-health/spec/src/provider-sync.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/provider-sync.ts","sourceStatus":"verified source file"}]},{"subpath":"./records","importPath":"@lssm-tech/lib.personal-health-spec/records","target":"./src/records.ts","targets":[{"conditions":[],"target":"./src/records.ts","sourcePath":"packages/domains/personal-health/spec/src/records.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/records.ts","sourceStatus":"verified source file"}]},{"subpath":"./rights","importPath":"@lssm-tech/lib.personal-health-spec/rights","target":"./src/rights.ts","targets":[{"conditions":[],"target":"./src/rights.ts","sourcePath":"packages/domains/personal-health/spec/src/rights.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/rights.ts","sourceStatus":"verified source file"}]},{"subpath":"./sharing","importPath":"@lssm-tech/lib.personal-health-spec/sharing","target":"./src/sharing.ts","targets":[{"conditions":[],"target":"./src/sharing.ts","sourcePath":"packages/domains/personal-health/spec/src/sharing.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/sharing.ts","sourceStatus":"verified source file"}]},{"subpath":"./wellbeing-goal","importPath":"@lssm-tech/lib.personal-health-spec/wellbeing-goal","target":"./src/wellbeing-goal.ts","targets":[{"conditions":[],"target":"./src/wellbeing-goal.ts","sourcePath":"packages/domains/personal-health/spec/src/wellbeing-goal.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/wellbeing-goal.ts","sourceStatus":"verified source file"}]},{"subpath":"./health/health.capability","importPath":"@lssm-tech/lib.personal-health-spec/health/health.capability","target":"./src/health/health.capability.ts","targets":[{"conditions":[],"target":"./src/health/health.capability.ts","sourcePath":"packages/domains/personal-health/spec/src/health/health.capability.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/health.capability.ts","sourceStatus":"verified source file"}]},{"subpath":"./health/health.feature","importPath":"@lssm-tech/lib.personal-health-spec/health/health.feature","target":"./src/health/health.feature.ts","targets":[{"conditions":[],"target":"./src/health/health.feature.ts","sourcePath":"packages/domains/personal-health/spec/src/health/health.feature.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/health.feature.ts","sourceStatus":"verified source file"}]},{"subpath":"./health/models","importPath":"@lssm-tech/lib.personal-health-spec/health/models","target":"./src/health/models.ts","targets":[{"conditions":[],"target":"./src/health/models.ts","sourcePath":"packages/domains/personal-health/spec/src/health/models.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/models.ts","sourceStatus":"verified source file"}]},{"subpath":"./health/telemetry","importPath":"@lssm-tech/lib.personal-health-spec/health/telemetry","target":"./src/health/telemetry.ts","targets":[{"conditions":[],"target":"./src/health/telemetry.ts","sourcePath":"packages/domains/personal-health/spec/src/health/telemetry.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/telemetry.ts","sourceStatus":"verified source file"}]},{"subpath":"./health/contracts/activities","importPath":"@lssm-tech/lib.personal-health-spec/health/contracts/activities","target":"./src/health/contracts/activities.ts","targets":[{"conditions":[],"target":"./src/health/contracts/activities.ts","sourcePath":"packages/domains/personal-health/spec/src/health/contracts/activities.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/contracts/activities.ts","sourceStatus":"verified source file"}]},{"subpath":"./health/contracts/biometrics","importPath":"@lssm-tech/lib.personal-health-spec/health/contracts/biometrics","target":"./src/health/contracts/biometrics.ts","targets":[{"conditions":[],"target":"./src/health/contracts/biometrics.ts","sourcePath":"packages/domains/personal-health/spec/src/health/contracts/biometrics.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/contracts/biometrics.ts","sourceStatus":"verified source file"}]},{"subpath":"./health/contracts","importPath":"@lssm-tech/lib.personal-health-spec/health/contracts","target":"./src/health/contracts/index.ts","targets":[{"conditions":[],"target":"./src/health/contracts/index.ts","sourcePath":"packages/domains/personal-health/spec/src/health/contracts/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/contracts/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./health/contracts/nutrition","importPath":"@lssm-tech/lib.personal-health-spec/health/contracts/nutrition","target":"./src/health/contracts/nutrition.ts","targets":[{"conditions":[],"target":"./src/health/contracts/nutrition.ts","sourcePath":"packages/domains/personal-health/spec/src/health/contracts/nutrition.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/contracts/nutrition.ts","sourceStatus":"verified source file"}]},{"subpath":"./health/contracts/sleep","importPath":"@lssm-tech/lib.personal-health-spec/health/contracts/sleep","target":"./src/health/contracts/sleep.ts","targets":[{"conditions":[],"target":"./src/health/contracts/sleep.ts","sourcePath":"packages/domains/personal-health/spec/src/health/contracts/sleep.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/contracts/sleep.ts","sourceStatus":"verified source file"}]},{"subpath":"./health/contracts/webhooks","importPath":"@lssm-tech/lib.personal-health-spec/health/contracts/webhooks","target":"./src/health/contracts/webhooks.ts","targets":[{"conditions":[],"target":"./src/health/contracts/webhooks.ts","sourcePath":"packages/domains/personal-health/spec/src/health/contracts/webhooks.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/contracts/webhooks.ts","sourceStatus":"verified source file"}]},{"subpath":"./health/contracts/workouts","importPath":"@lssm-tech/lib.personal-health-spec/health/contracts/workouts","target":"./src/health/contracts/workouts.ts","targets":[{"conditions":[],"target":"./src/health/contracts/workouts.ts","sourcePath":"packages/domains/personal-health/spec/src/health/contracts/workouts.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/contracts/workouts.ts","sourceStatus":"verified source file"}]}],"entryCount":29,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"Lib Personal Health Spec documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Flib.personal-health-spec","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/lib.personal-health-spec.txt"},"readme":{"status":"available","body":"# `@lssm-tech/lib.personal-health-spec`\n\nStrict contracts for a consent-controlled, non-clinical PersonalOS health\nledger: connections, measurements, source provenance, quality quarantine,\nexplainable associations, correction/export/deletion, minimized household\nsharing, and future EU/US qualification packs.\n\nThe package deliberately excludes diagnosis, treatment, emergency monitoring,\nraw provider payloads, credentials, and claims of regulatory qualification.\n\n## Additive vertical contracts\n\n- `./consent-policy` defines category-, operation-, purpose-, and provider-level\n  grants plus partial or complete revocation.\n- `./provider-sync` defines encrypted host-custodied credential references,\n  connection lifecycle, honest native/API connectivity classes, and durable\n  page/cursor evidence. HealthKit and Health Connect are native SDK ports, not\n  bundled native implementations.\n- `./authorization-broker/client` is the browser-safe begin/ticket/status\n  surface; `./authorization-broker/host` is deliberately unavailable under the\n  browser export condition. The legacy host dispatch subpath is likewise\n  browser-null in workspace and published resolution. The host surface separates strict browser input from trusted\n  identity context, generates OAuth state and PKCE verifier material inside the\n  broker, captures provider callbacks through a host-only ingress, atomically\n  consumes expiring tickets, and durably persists a consent- and authority-bound\n  pending dispatch before deleting transient secrets. Leased dispatches are\n  acked, retried, or atomically superseded with a fresh revision-bound command;\n  OAuth secrets are never reused. Browser tickets and status\n  never contain credentials, verifiers, raw provider payloads, or OAuth codes.\n- `./ledger` defines append-only corrections, quality quarantine, explicit\n  cross-provider overlap evidence that preserves both source records, ref-only\n  goal links, export manifests, and deletion-propagation receipts. A receipt is\n  complete only when every propagation target is deleted; pending, failed, and\n  unsupported targets remain explicit non-complete states.\n- `./sharing` permits aggregate household summaries and trends only; raw\n  measurements are structurally forbidden. Household revocation requests,\n  authority receipts, local-invalidated receipts, and consumer\n  acknowledgements bind the exact subject, actor, grant, member, categories,\n  projection IDs, reason, and ordered timestamps.\n- `./insights` allowlists descriptive wellness metrics and exact units, binds\n  copy to selected source records, exposes freshness and uncertainty, and\n  structurally forbids clinical, causal, protected-trait, sharing, care, or\n  autonomous-goal authority. User-requested urgent guidance is fixed EN/FR/ES\n  copy and explicitly states that PersonalOS does not monitor emergencies.\n- `./wellbeing-goal` defines a human-controlled non-clinical experiment\n  lifecycle. It binds an exact goal, provider fields, accepted baseline and\n  observation records, target range, time window, mandatory stop conditions,\n  consent, revisions, command digest, receipt, and interpretation. Collection\n  and sharing pause on revocation or a verified safety guardrail; observed\n  values never imply causality, diagnosis, treatment, or autonomous goal\n  authority.\n- `./operations` provides one online connection command union for connect,\n  consent-bound provider sync, and disconnect. Connect and disconnect require a\n  human decision; scheduled sync may be policy-governed only with an explicit\n  policy and an exact, unrevoked consent reference. All effects require a fully\n  command-bound decision receipt.\n\n## Existing health integration contracts\n\nThe health/contracts, health/models, health/health.feature,\nhealth/health.capability and health/telemetry subpaths own the existing provider\ncontract definitions. Integration-package import paths continue to forward here.\nThis relocation preserves historical wire schemas, operation policy and registration\norder; it grants no permission to collect or execute provider payloads. The existing\nPersonalOS subject/consent and authorization surfaces remain separate and unchanged.\n\nThese retained legacy integration compatibility leaves preserve their original\nprovider-facing schemas. They do not widen the newer PersonalOS consent, raw-data\nhandling, minor-unit or non-advisory contract guarantees.\n","sourcePath":"packages/domains/personal-health/spec/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/README.md","blobSha":"59119cc67b7b2a244b3de1c4125247bb15a8b759","sourcePin":"bcc79fcc27c4d801c2119bef81ddcce7b4e86498","origin":"README recovered byte-for-byte from pinned aggregate guide","integrity":"exact Git blob match","executionStatus":"not executed"},"provenance":{"repository":"lssm-tech/contractspec","sourcePin":"bcc79fcc27c4d801c2119bef81ddcce7b4e86498","manifestOrigin":"pinned GitHub manifest fetch","manifestComplete":true,"publicationPolicyApplied":false},"areaSlug":"personal-and-learning","areaTitle":"Personal workflows, learning and progress","displayName":"lib.personal-health-spec","runtimes":["node","browser"],"platforms":["web","server"],"kind":"library","scope":"Package manifest","canonicalRoute":"/docs/packages/lib.personal-health-spec/","contextUrl":"/docs/packages/lib.personal-health-spec.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}