# @lssm-tech/example.learning-journey-registry

Registry that aggregates learning journey example tracks.

## Source and release context

- Source snapshot: `bcc79fcc27c4d801c2119bef81ddcce7b4e86498`
- Repository: `lssm-tech/contractspec`
- Declared package version: `6.0.4`
- Package path: `examples/learning-journey-registry`
- Manifest path: `examples/learning-journey-registry/package.json`
- Manifest Git blob: `dae3a720fa554f08a8a1094df04cd48e91287407`
- Manifest origin: pinned GitHub manifest fetch
- Manual: [@lssm-tech/example.learning-journey-registry](https://lssm.co/docs/packages/example.learning-journey-registry/)
- 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/examples/learning-journey-registry)
- [Manifest source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-journey-registry/package.json)
- [Readme source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-journey-registry/README.md)
- [Guide source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/example.learning-journey-registry.txt)

## Package metadata

```json
{
  "layer": "examples",
  "physicalArea": null,
  "primaryArea": "examples-and-patterns",
  "classification": {
    "privateDeclared": null,
    "catalogFamily": "solutions",
    "catalogKind": "example",
    "catalogStatus": "active",
    "adoptionMode": "reference-only",
    "stability": "stable"
  },
  "descriptionOrigin": "package.json",
  "manifestComplete": true,
  "publicationPolicyApplied": false
}
```

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

Primary area: [Examples and implementation patterns](https://lssm.co/docs/areas/examples-and-patterns/)

## Package guide

```json
{
  "status": "available",
  "sourcePath": "examples/learning-journey-registry/README.md",
  "sourceUrl": "https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-journey-registry/README.md",
  "blobSha": "83d2c090d9885de4c4c62bf3ea5bb68357a95d1b",
  "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/example.learning-journey-registry

Website: https://contractspec.io

**Registry that aggregates learning journey example tracks.**

## What This Demonstrates

- Track aggregation and discovery via a central registry.
- Feature definition pattern (`learning-journey-registry.feature`).
- Progress store for cross-track state.
- API and API-types separation for typed endpoints.
- Presentation layer with LearningMiniApp UI.
- `src/docs/` contains docblocks and documentation-facing exports.

## Running Locally

From `examples/learning-journey-registry`:
- `bun run dev`
- `bun run build`
- `bun run test`
- `bun run typecheck`

## Usage

Use `@lssm-tech/example.learning-journey-registry` as a reference implementation, or import its exported surfaces into a workspace that composes ContractSpec examples and bundles.

## Architecture

- `src/api-types.ts` is part of the package's public or composition surface.
- `src/api.test.ts` is part of the package's public or composition surface.
- `src/api.ts` is part of the package's public or composition surface.
- `src/docs/` contains docblocks and documentation-facing exports.
- `src/example.ts` is the runnable example entrypoint.
- `src/index.ts` is the root public barrel and package entrypoint.
- `src/learning-journey-registry.feature.ts` defines a feature entrypoint.

## Public Entry Points

- Export `.` resolves through `./src/index.ts`.
- Export `./api` resolves through `./src/api.ts`.
- Export `./api-types` resolves through `./src/api-types.ts`.
- Export `./docs` resolves through `./src/docs/index.ts`.
- Export `./docs/learning-journey-registry.docblock` is an alias of `./docs` and resolves through `./src/docs/index.ts`.
- Export `./example` resolves through `./src/example.ts`.
- Export `./learning-journey-registry.feature` resolves through `./src/learning-journey-registry.feature.ts`.
- Export `./presentations` resolves through `./src/presentations/index.ts`.
- Export `./progress-store` resolves through `./src/progress-store.ts`.
- Export `./tracks` resolves through `./src/tracks.ts`.
- The package publishes 12 total export subpaths; keep docs aligned with `package.json`.

## Local Commands

- `bun run dev` — contractspec-bun-build dev
- `bun run build` — contractspec-bun-build build
- `bun run test` — bun test
- `bun run lint` — bun lint:fix
- `bun run lint:check` — biome check .
- `bun run lint:fix` — biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .
- `bun run typecheck` — tsgo --noEmit
- `bun run publish:pkg` — bun publish --tolerate-republish --ignore-scripts --verbose
- `bun run publish:pkg:canary` — bun publish:pkg --tag canary
- `bun run clean` — rimraf dist .turbo
- `bun run build:bundle` — contractspec-bun-build transpile
- `bun run build:types` — contractspec-bun-build types
- `bun run prebuild` — contractspec-bun-build prebuild

## Recent Updates

- Replace eslint+prettier by biomejs to optimize speed.
- Missing contract layers.

## Notes

- Works alongside `@lssm-tech/example.learning-journey-ambient-coach`, `@lssm-tech/example.learning-journey-crm-onboarding`, `@lssm-tech/example.learning-journey-duo-drills`, `@lssm-tech/example.learning-journey-platform-tour`, `@lssm-tech/example.learning-journey-quest-challenges`, ...


## Declared capabilities

This manifest does not declare a capability catalogue. Assess the package using its guide, import map and source.

## Catalogue metadata

```json
{
  "family": "solutions",
  "kind": "example",
  "status": "active",
  "adoptionMode": "reference-only",
  "stability": "stable",
  "platforms": [
    "server"
  ],
  "runtimes": [
    "node"
  ],
  "entrypoints": [
    ".",
    "./api",
    "./api-types",
    "./docs",
    "./docs/learning-journey-registry.docblock",
    "./example",
    "./learning-journey-registry.feature",
    "./presentations",
    "./progress-store",
    "./tracks",
    "./ui",
    "./ui/LearningMiniApp",
    "./ui/presentation-data",
    "./ui/renderers/learning.markdown",
    "./ui/template-config"
  ],
  "examples": [],
  "replacements": [],
  "nonAdoptableRationale": "This example is published for reference and learning, not as a reusable library dependency.",
  "visualTesting": {
    "status": "deferred",
    "owner": "@contractspec-core",
    "targetWave": "wave-3-react-packages",
    "rationale": "Foundational Storybook adoption establishes shared catalogs and guardrails before this package migrates."
  }
}
```

## 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
[]
```

## 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/example.learning-journey-registry` — subpath `.`
  - `unconditional`: `./src/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-journey-registry/src/index.ts); verified source file.

- `@lssm-tech/example.learning-journey-registry/api` — subpath `./api`
  - `unconditional`: `./src/api.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-journey-registry/src/api.ts); verified source file.

- `@lssm-tech/example.learning-journey-registry/api-types` — subpath `./api-types`
  - `unconditional`: `./src/api-types.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-journey-registry/src/api-types.ts); verified source file.

- `@lssm-tech/example.learning-journey-registry/docs` — subpath `./docs`
  - `unconditional`: `./src/docs/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-journey-registry/src/docs/index.ts); verified source file.

- `@lssm-tech/example.learning-journey-registry/docs/learning-journey-registry.docblock` — subpath `./docs/learning-journey-registry.docblock`
  - `unconditional`: `./src/docs/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-journey-registry/src/docs/index.ts); verified source file.

- `@lssm-tech/example.learning-journey-registry/example` — subpath `./example`
  - `unconditional`: `./src/example.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-journey-registry/src/example.ts); verified source file.

- `@lssm-tech/example.learning-journey-registry/learning-journey-registry.feature` — subpath `./learning-journey-registry.feature`
  - `unconditional`: `./src/learning-journey-registry.feature.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-journey-registry/src/learning-journey-registry.feature.ts); verified source file.

- `@lssm-tech/example.learning-journey-registry/presentations` — subpath `./presentations`
  - `unconditional`: `./src/presentations/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-journey-registry/src/presentations/index.ts); verified source file.

- `@lssm-tech/example.learning-journey-registry/progress-store` — subpath `./progress-store`
  - `unconditional`: `./src/progress-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-journey-registry/src/progress-store.ts); verified source file.

- `@lssm-tech/example.learning-journey-registry/tracks` — subpath `./tracks`
  - `unconditional`: `./src/tracks.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-journey-registry/src/tracks.ts); verified source file.

- `@lssm-tech/example.learning-journey-registry/ui` — subpath `./ui`
  - `unconditional`: `./src/ui/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-journey-registry/src/ui/index.ts); verified source file.

- `@lssm-tech/example.learning-journey-registry/ui/LearningMiniApp` — subpath `./ui/LearningMiniApp`
  - `unconditional`: `./src/ui/LearningMiniApp.tsx` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-journey-registry/src/ui/LearningMiniApp.tsx); verified source file.

- `@lssm-tech/example.learning-journey-registry/ui/presentation-data` — subpath `./ui/presentation-data`
  - `unconditional`: `./src/ui/presentation-data.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-journey-registry/src/ui/presentation-data.ts); verified source file.

- `@lssm-tech/example.learning-journey-registry/ui/renderers/learning.markdown` — subpath `./ui/renderers/learning.markdown`
  - `unconditional`: `./src/ui/renderers/learning.markdown.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-journey-registry/src/ui/renderers/learning.markdown.ts); verified source file.

- `@lssm-tech/example.learning-journey-registry/ui/template-config` — subpath `./ui/template-config`
  - `unconditional`: `./src/ui/template-config.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-journey-registry/src/ui/template-config.ts); verified source file.

## Package publication metadata

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

```json
{
  "types": "./dist/index.d.ts",
  "files": [
    "LICENSE",
    "README.md",
    "dist",
    "!**/*.test.*",
    "!**/*.spec.*",
    "!**/*.tsbuildinfo"
  ],
  "publishExports": {
    ".": {
      "types": "./dist/index.d.ts",
      "browser": "./dist/browser/index.js",
      "bun": "./dist/index.js",
      "node": "./dist/node/index.js",
      "default": "./dist/index.js"
    },
    "./api": {
      "types": "./dist/api.d.ts",
      "browser": "./dist/browser/api.js",
      "bun": "./dist/api.js",
      "node": "./dist/node/api.js",
      "default": "./dist/api.js"
    },
    "./api-types": {
      "types": "./dist/api-types.d.ts",
      "browser": "./dist/browser/api-types.js",
      "bun": "./dist/api-types.js",
      "node": "./dist/node/api-types.js",
      "default": "./dist/api-types.js"
    },
    "./docs": {
      "types": "./dist/docs/index.d.ts",
      "browser": "./dist/browser/docs/index.js",
      "bun": "./dist/docs/index.js",
      "node": "./dist/node/docs/index.js",
      "default": "./dist/docs/index.js"
    },
    "./docs/learning-journey-registry.docblock": {
      "types": "./dist/docs/index.d.ts",
      "browser": "./dist/browser/docs/index.js",
      "bun": "./dist/docs/index.js",
      "node": "./dist/node/docs/index.js",
      "default": "./dist/docs/index.js"
    },
    "./example": {
      "types": "./dist/example.d.ts",
      "browser": "./dist/browser/example.js",
      "bun": "./dist/example.js",
      "node": "./dist/node/example.js",
      "default": "./dist/example.js"
    },
    "./learning-journey-registry.feature": {
      "types": "./dist/learning-journey-registry.feature.d.ts",
      "browser": "./dist/browser/learning-journey-registry.feature.js",
      "bun": "./dist/learning-journey-registry.feature.js",
      "node": "./dist/node/learning-journey-registry.feature.js",
      "default": "./dist/learning-journey-registry.feature.js"
    },
    "./presentations": {
      "types": "./dist/presentations/index.d.ts",
      "browser": "./dist/browser/presentations/index.js",
      "bun": "./dist/presentations/index.js",
      "node": "./dist/node/presentations/index.js",
      "default": "./dist/presentations/index.js"
    },
    "./progress-store": {
      "types": "./dist/progress-store.d.ts",
      "browser": "./dist/browser/progress-store.js",
      "bun": "./dist/progress-store.js",
      "node": "./dist/node/progress-store.js",
      "default": "./dist/progress-store.js"
    },
    "./tracks": {
      "types": "./dist/tracks.d.ts",
      "browser": "./dist/browser/tracks.js",
      "bun": "./dist/tracks.js",
      "node": "./dist/node/tracks.js",
      "default": "./dist/tracks.js"
    },
    "./ui": {
      "types": "./dist/ui/index.d.ts",
      "browser": "./dist/browser/ui/index.js",
      "bun": "./dist/ui/index.js",
      "node": "./dist/node/ui/index.js",
      "default": "./dist/ui/index.js"
    },
    "./ui/LearningMiniApp": {
      "types": "./dist/ui/LearningMiniApp.d.ts",
      "browser": "./dist/browser/ui/LearningMiniApp.js",
      "bun": "./dist/ui/LearningMiniApp.js",
      "node": "./dist/node/ui/LearningMiniApp.js",
      "default": "./dist/ui/LearningMiniApp.js"
    },
    "./ui/presentation-data": {
      "types": "./dist/ui/presentation-data.d.ts",
      "browser": "./dist/browser/ui/presentation-data.js",
      "bun": "./dist/ui/presentation-data.js",
      "node": "./dist/node/ui/presentation-data.js",
      "default": "./dist/ui/presentation-data.js"
    },
    "./ui/renderers/learning.markdown": {
      "types": "./dist/ui/renderers/learning.markdown.d.ts",
      "browser": "./dist/browser/ui/renderers/learning.markdown.js",
      "bun": "./dist/ui/renderers/learning.markdown.js",
      "node": "./dist/node/ui/renderers/learning.markdown.js",
      "default": "./dist/ui/renderers/learning.markdown.js"
    },
    "./ui/template-config": {
      "types": "./dist/ui/template-config.d.ts",
      "browser": "./dist/browser/ui/template-config.js",
      "bun": "./dist/ui/template-config.js",
      "node": "./dist/node/ui/template-config.js",
      "default": "./dist/ui/template-config.js"
    }
  }
}
```

## Dependencies

Metadata status: complete pinned manifest.

### Runtime dependencies

- [@lssm-tech/example.learning-journey-ambient-coach](https://lssm.co/docs/packages/example.learning-journey-ambient-coach/): `workspace:^`
- [@lssm-tech/example.learning-journey-crm-onboarding](https://lssm.co/docs/packages/example.learning-journey-crm-onboarding/): `workspace:^`
- [@lssm-tech/example.learning-journey-duo-drills](https://lssm.co/docs/packages/example.learning-journey-duo-drills/): `workspace:^`
- [@lssm-tech/example.learning-journey-platform-tour](https://lssm.co/docs/packages/example.learning-journey-platform-tour/): `workspace:^`
- [@lssm-tech/example.learning-journey-quest-challenges](https://lssm.co/docs/packages/example.learning-journey-quest-challenges/): `workspace:^`
- [@lssm-tech/example.learning-journey-studio-onboarding](https://lssm.co/docs/packages/example.learning-journey-studio-onboarding/): `workspace:^`
- [@lssm-tech/example.learning-journey-ui-coaching](https://lssm.co/docs/packages/example.learning-journey-ui-coaching/): `workspace:^`
- [@lssm-tech/example.learning-journey-ui-gamified](https://lssm.co/docs/packages/example.learning-journey-ui-gamified/): `workspace:^`
- [@lssm-tech/example.learning-journey-ui-onboarding](https://lssm.co/docs/packages/example.learning-journey-ui-onboarding/): `workspace:^`
- [@lssm-tech/example.learning-journey-ui-shared](https://lssm.co/docs/packages/example.learning-journey-ui-shared/): `workspace:^`
- [@lssm-tech/lib.contracts-spec](https://lssm.co/docs/packages/lib.contracts-spec/): `workspace:^`
- [@lssm-tech/lib.design-system](https://lssm.co/docs/packages/lib.design-system/): `workspace:^`
- [@lssm-tech/lib.presentation-runtime-core](https://lssm.co/docs/packages/lib.presentation-runtime-core/): `workspace:^`
- [@lssm-tech/module.learning-journey](https://lssm.co/docs/packages/module.learning-journey/): `workspace:^`
- `react`: `catalog:`

### Peer dependencies

- `react`: `catalog:`

### 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/react`: `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
{
  "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
  "publish:pkg:canary": "bun publish:pkg --tag canary",
  "build": "contractspec-bun-build build",
  "build:bundle": "contractspec-bun-build transpile",
  "build:types": "contractspec-bun-build types",
  "dev": "contractspec-bun-build dev",
  "clean": "rimraf dist .turbo",
  "lint": "bun lint:fix",
  "test": "bun test",
  "lint:fix": "node ../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../scripts/biome.cjs check --write .",
  "lint:check": "node ../../scripts/biome.cjs check .",
  "prebuild": "contractspec-bun-build prebuild",
  "typecheck": "tsgo --noEmit"
}
```

## Declared documentation links

- [Example Learning Journey Registry documentation](https://www.npmjs.com/package/%40lssm-tech%2Fexample.learning-journey-registry) — declared link; destination not verified.

```json
{
  "url": "https://www.npmjs.com/package/%40lssm-tech%2Fexample.learning-journey-registry",
  "kind": "readme"
}
```

## Existing agent-guide projection

```json
{
  "path": "packages/apps/web-landing/public/llms-packages/example.learning-journey-registry.txt",
  "route": "/llms/example.learning-journey-registry",
  "sourceUrl": "https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/example.learning-journey-registry.txt",
  "blobSha": "83d2c090d9885de4c4c62bf3ea5bb68357a95d1b",
  "sourcePin": "bcc79fcc27c4d801c2119bef81ddcce7b4e86498",
  "bodyEqualsReadme": true,
  "aggregateSourcePath": "packages/apps/web-landing/public/llms-full.txt",
  "aggregateBlobSha": "691b1d33efee24c440598b9106c81432f56aafaf"
}
```
