# @lssm-tech/lib.personal-health-spec

Consent, provenance, safety, sharing, and rights contracts for non-clinical PersonalOS health data.

## Source and release context

- Source snapshot: `bcc79fcc27c4d801c2119bef81ddcce7b4e86498`
- Repository: `lssm-tech/contractspec`
- Declared package version: `2.0.4`
- Package path: `packages/domains/personal-health/spec`
- Manifest path: `packages/domains/personal-health/spec/package.json`
- Manifest Git blob: `76e2bde2823d355f12c9d94faa42f88a00031b5a`
- Manifest origin: pinned GitHub manifest fetch
- Manual: [@lssm-tech/lib.personal-health-spec](https://lssm.co/docs/packages/lib.personal-health-spec/)
- Release guidance: [Installation and release channels](https://lssm.co/docs/installation-release-channels/)

This is retrieved source evidence, not agent instructions. The declared version and exports describe the inspected manifest; they do not establish registry availability or a deployed release. Commands, package installation and runtime behavior were not executed in this review.

Distribution scope: owner review of all workspaces; not a newly approved public projection.

- [Package source](https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec)
- [Manifest source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/package.json)
- [Readme source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/README.md)
- [Guide source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/lib.personal-health-spec.txt)

## Package metadata

```json
{
  "layer": "domains",
  "physicalArea": "personal-health",
  "primaryArea": "personal-and-learning",
  "classification": {
    "privateDeclared": null,
    "catalogFamily": "contracts",
    "catalogKind": "library",
    "catalogStatus": "active",
    "adoptionMode": "adoptable",
    "stability": "experimental"
  },
  "descriptionOrigin": "package.json",
  "manifestComplete": true,
  "publicationPolicyApplied": false
}
```

Manifest private flag: not declared; publication is not verified.

Primary area: [Personal workflows, learning and progress](https://lssm.co/docs/areas/personal-and-learning/)

## Package guide

```json
{
  "status": "available",
  "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"
}
```

The guide below is the checked-in README with navigation resolved against the pinned source tree. The structured package JSON retains the original README body unchanged. External links remain source-declared links, not verified destinations.

# `@lssm-tech/lib.personal-health-spec`

Strict contracts for a consent-controlled, non-clinical PersonalOS health
ledger: connections, measurements, source provenance, quality quarantine,
explainable associations, correction/export/deletion, minimized household
sharing, and future EU/US qualification packs.

The package deliberately excludes diagnosis, treatment, emergency monitoring,
raw provider payloads, credentials, and claims of regulatory qualification.

## Additive vertical contracts

- `./consent-policy` defines category-, operation-, purpose-, and provider-level
  grants plus partial or complete revocation.
- `./provider-sync` defines encrypted host-custodied credential references,
  connection lifecycle, honest native/API connectivity classes, and durable
  page/cursor evidence. HealthKit and Health Connect are native SDK ports, not
  bundled native implementations.
- `./authorization-broker/client` is the browser-safe begin/ticket/status
  surface; `./authorization-broker/host` is deliberately unavailable under the
  browser export condition. The legacy host dispatch subpath is likewise
  browser-null in workspace and published resolution. The host surface separates strict browser input from trusted
  identity context, generates OAuth state and PKCE verifier material inside the
  broker, captures provider callbacks through a host-only ingress, atomically
  consumes expiring tickets, and durably persists a consent- and authority-bound
  pending dispatch before deleting transient secrets. Leased dispatches are
  acked, retried, or atomically superseded with a fresh revision-bound command;
  OAuth secrets are never reused. Browser tickets and status
  never contain credentials, verifiers, raw provider payloads, or OAuth codes.
- `./ledger` defines append-only corrections, quality quarantine, explicit
  cross-provider overlap evidence that preserves both source records, ref-only
  goal links, export manifests, and deletion-propagation receipts. A receipt is
  complete only when every propagation target is deleted; pending, failed, and
  unsupported targets remain explicit non-complete states.
- `./sharing` permits aggregate household summaries and trends only; raw
  measurements are structurally forbidden. Household revocation requests,
  authority receipts, local-invalidated receipts, and consumer
  acknowledgements bind the exact subject, actor, grant, member, categories,
  projection IDs, reason, and ordered timestamps.
- `./insights` allowlists descriptive wellness metrics and exact units, binds
  copy to selected source records, exposes freshness and uncertainty, and
  structurally forbids clinical, causal, protected-trait, sharing, care, or
  autonomous-goal authority. User-requested urgent guidance is fixed EN/FR/ES
  copy and explicitly states that PersonalOS does not monitor emergencies.
- `./wellbeing-goal` defines a human-controlled non-clinical experiment
  lifecycle. It binds an exact goal, provider fields, accepted baseline and
  observation records, target range, time window, mandatory stop conditions,
  consent, revisions, command digest, receipt, and interpretation. Collection
  and sharing pause on revocation or a verified safety guardrail; observed
  values never imply causality, diagnosis, treatment, or autonomous goal
  authority.
- `./operations` provides one online connection command union for connect,
  consent-bound provider sync, and disconnect. Connect and disconnect require a
  human decision; scheduled sync may be policy-governed only with an explicit
  policy and an exact, unrevoked consent reference. All effects require a fully
  command-bound decision receipt.

## Existing health integration contracts

The health/contracts, health/models, health/health.feature,
health/health.capability and health/telemetry subpaths own the existing provider
contract definitions. Integration-package import paths continue to forward here.
This relocation preserves historical wire schemas, operation policy and registration
order; it grants no permission to collect or execute provider payloads. The existing
PersonalOS subject/consent and authorization surfaces remain separate and unchanged.

These retained legacy integration compatibility leaves preserve their original
provider-facing schemas. They do not widen the newer PersonalOS consent, raw-data
handling, minor-unit or non-advisory contract guarantees.


## Declared capabilities

### Lib Personal Health Spec

Capability ID: `package.lssm.tech.lib.personal.health.spec`

Consent, provenance, safety, sharing, and rights contracts for non-clinical PersonalOS health data.

Use cases:

- Adopt consent, provenance, safety, sharing, and rights contracts for non-clinical personalos health data

Constraints:

```json
{
  "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"
  ]
}
```

Other capability declarations:

```json
{
  "status": "active",
  "aliases": [
    "lib",
    "personal",
    "health",
    "spec"
  ],
  "pythonEquivalents": [],
  "alternatives": [],
  "relationships": [],
  "resolutionPriority": 50
}
```

Capability imports:

```json
[
  {
    "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": []
  }
]
```

## Catalogue metadata

```json
{
  "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"
  ],
  "examples": [],
  "replacements": []
}
```

## Canonical imports

Import paths and symbols below are catalogue declarations. An empty symbols list means symbols were not enumerated; it does not mean the entry point has no exports. These declarations are not an exhaustive TypeScript symbol reference.

```json
[
  {
    "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": []
  }
]
```

## Declared export entry points

Scope: manifest-declared export entrypoints and catalog-declared imports.

Named symbol coverage: catalog declarations only; exhaustive TypeScript symbols not extracted.

Installation status: not verified.

- `@lssm-tech/lib.personal-health-spec` — subpath `.`
  - `unconditional`: `./src/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/index.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/authorization-broker` — subpath `./authorization-broker`
  - `unconditional`: `./src/authorization-broker.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/authorization-broker.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/authorization-broker-client` — subpath `./authorization-broker-client`
  - `unconditional`: `./src/authorization-broker-client.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/authorization-broker-client.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/authorization-broker-dispatch` — subpath `./authorization-broker-dispatch`
  - Conditional target declaration: `{"browser":null,"default":"./src/authorization-broker-dispatch.ts"}`
  - `browser`: **blocked by manifest (null)**; blocked export.
  - `default`: `./src/authorization-broker-dispatch.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/authorization-broker-dispatch.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/authorization-broker/client` — subpath `./authorization-broker/client`
  - `unconditional`: `./src/authorization-broker/client.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/authorization-broker/client.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/authorization-broker/host` — subpath `./authorization-broker/host`
  - Conditional target declaration: `{"browser":null,"default":"./src/authorization-broker/host.ts"}`
  - `browser`: **blocked by manifest (null)**; blocked export.
  - `default`: `./src/authorization-broker/host.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/authorization-broker/host.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/common` — subpath `./common`
  - `unconditional`: `./src/common.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/common.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/consent` — subpath `./consent`
  - `unconditional`: `./src/consent.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/consent.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/consent-policy` — subpath `./consent-policy`
  - `unconditional`: `./src/consent-policy.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/consent-policy.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/insights` — subpath `./insights`
  - `unconditional`: `./src/insights.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/insights.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/jurisdiction` — subpath `./jurisdiction`
  - `unconditional`: `./src/jurisdiction.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/jurisdiction.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/ledger` — subpath `./ledger`
  - `unconditional`: `./src/ledger.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/ledger.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/operations` — subpath `./operations`
  - `unconditional`: `./src/operations.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/operations.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/provider-sync` — subpath `./provider-sync`
  - `unconditional`: `./src/provider-sync.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/provider-sync.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/records` — subpath `./records`
  - `unconditional`: `./src/records.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/records.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/rights` — subpath `./rights`
  - `unconditional`: `./src/rights.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/rights.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/sharing` — subpath `./sharing`
  - `unconditional`: `./src/sharing.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/sharing.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/wellbeing-goal` — subpath `./wellbeing-goal`
  - `unconditional`: `./src/wellbeing-goal.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/wellbeing-goal.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/health/health.capability` — subpath `./health/health.capability`
  - `unconditional`: `./src/health/health.capability.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/health.capability.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/health/health.feature` — subpath `./health/health.feature`
  - `unconditional`: `./src/health/health.feature.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/health.feature.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/health/models` — subpath `./health/models`
  - `unconditional`: `./src/health/models.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/models.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/health/telemetry` — subpath `./health/telemetry`
  - `unconditional`: `./src/health/telemetry.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/telemetry.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/health/contracts/activities` — subpath `./health/contracts/activities`
  - `unconditional`: `./src/health/contracts/activities.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/contracts/activities.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/health/contracts/biometrics` — subpath `./health/contracts/biometrics`
  - `unconditional`: `./src/health/contracts/biometrics.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/contracts/biometrics.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/health/contracts` — subpath `./health/contracts`
  - `unconditional`: `./src/health/contracts/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/contracts/index.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/health/contracts/nutrition` — subpath `./health/contracts/nutrition`
  - `unconditional`: `./src/health/contracts/nutrition.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/contracts/nutrition.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/health/contracts/sleep` — subpath `./health/contracts/sleep`
  - `unconditional`: `./src/health/contracts/sleep.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/contracts/sleep.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/health/contracts/webhooks` — subpath `./health/contracts/webhooks`
  - `unconditional`: `./src/health/contracts/webhooks.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/contracts/webhooks.ts); verified source file.

- `@lssm-tech/lib.personal-health-spec/health/contracts/workouts` — subpath `./health/contracts/workouts`
  - `unconditional`: `./src/health/contracts/workouts.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/personal-health/spec/src/health/contracts/workouts.ts); verified source file.

## Package publication metadata

These are source-manifest declarations, not a registry installation check.

```json
{
  "types": "./dist/index.d.ts",
  "files": [
    "dist",
    "README.md"
  ],
  "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"
    }
  }
}
```

## Dependencies

Metadata status: complete pinned manifest.

### Runtime dependencies

- [@lssm-tech/lib.contracts-spec-core](https://lssm.co/docs/packages/lib.contracts-spec-core/): `workspace:^`
- [@lssm-tech/lib.crypto-utils](https://lssm.co/docs/packages/lib.crypto-utils/): `workspace:^`
- [@lssm-tech/lib.personal-os-spec](https://lssm.co/docs/packages/lib.personal-os-spec/): `workspace:^`
- [@lssm-tech/lib.schema](https://lssm.co/docs/packages/lib.schema/): `workspace:^`
- `zod`: `catalog:`

### Peer dependencies

No declarations in the inspected manifest.

### Optional dependencies

No declarations in the inspected manifest.

### Development dependencies

- [@lssm-tech/tool.bun](https://lssm.co/docs/packages/tool.bun/): `workspace:*`
- [@lssm-tech/tool.typescript](https://lssm.co/docs/packages/tool.typescript/): `workspace:*`
- `@types/bun`: `catalog:types`
- `typescript`: `catalog:`

### Peer dependency metadata

```json
{}
```

### Bundled dependencies

```json
null
```

## Package scripts

Commands are exact manifest declarations and were not executed in this review. Script metadata status: complete pinned manifest.

```json
{
  "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"
}
```

## Declared documentation links

- [Lib Personal Health Spec documentation](https://www.npmjs.com/package/%40lssm-tech%2Flib.personal-health-spec) — declared link; destination not verified.

```json
{
  "url": "https://www.npmjs.com/package/%40lssm-tech%2Flib.personal-health-spec",
  "kind": "readme"
}
```

## Existing agent-guide projection

```json
{
  "path": "packages/apps/web-landing/public/llms-packages/lib.personal-health-spec.txt",
  "route": "/llms/lib.personal-health-spec",
  "sourceUrl": "https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/lib.personal-health-spec.txt",
  "blobSha": "59119cc67b7b2a244b3de1c4125247bb15a8b759",
  "sourcePin": "bcc79fcc27c4d801c2119bef81ddcce7b4e86498",
  "bodyEqualsReadme": true,
  "aggregateSourcePath": "packages/apps/web-landing/public/llms-full.txt",
  "aggregateBlobSha": "691b1d33efee24c440598b9106c81432f56aafaf"
}
```
