{"id":"@lssm-tech/example.learning-patterns","slug":"example.learning-patterns","name":"@lssm-tech/example.learning-patterns","version":"6.0.4","path":"examples/learning-patterns","manifestPath":"examples/learning-patterns/package.json","manifestBlobSha":"24b39b27d06e817125008694d6b10d0dc895b018","layer":"examples","physicalArea":null,"primaryArea":"examples-and-patterns","classification":{"privateDeclared":null,"catalogFamily":"solutions","catalogKind":"example","catalogStatus":"active","adoptionMode":"reference-only","stability":"stable"},"description":"Example: drills + ambient coach + quests learning patterns, powered by Learning Journey (event-driven, deterministic).","descriptionOrigin":"package.json","catalog":{"family":"solutions","kind":"example","status":"active","adoptionMode":"reference-only","stability":"stable","platforms":["server"],"runtimes":["node"],"entrypoints":[".","./docs","./docs/learning-patterns.docblock","./events","./example","./learning-patterns.feature","./tracks","./tracks/ambient-coach","./tracks/drills","./tracks/quests"],"documentation":[{"title":"Example Learning Patterns documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fexample.learning-patterns","kind":"readme"}],"examples":[],"replacements":[],"nonAdoptableRationale":"This example is published for reference and learning, not as a reusable library dependency."},"canonicalImports":[],"scripts":{"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","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 .","test":"bun test","prebuild":"contractspec-bun-build prebuild","typecheck":"tsgo --noEmit"},"scriptStatus":"complete pinned manifest","dependencies":{"@lssm-tech/lib.contracts-spec":"workspace:^","@lssm-tech/module.learning-journey":"workspace:^"},"devDependencies":{"@lssm-tech/tool.typescript":"workspace:*","typescript":"catalog:","@lssm-tech/tool.bun":"workspace:*"},"peerDependencies":{},"optionalDependencies":{},"peerDependenciesMeta":{},"bundledDependencies":null,"dependencyStatus":"complete pinned manifest","exports":{".":"./src/index.ts","./docs":"./src/docs/index.ts","./docs/learning-patterns.docblock":"./src/docs/index.ts","./events":"./src/events.ts","./example":"./src/example.ts","./learning-patterns.feature":"./src/learning-patterns.feature.ts","./tracks":"./src/tracks/index.ts","./tracks/ambient-coach":"./src/tracks/ambient-coach.ts","./tracks/drills":"./src/tracks/drills.ts","./tracks/quests":"./src/tracks/quests.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"},"./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-patterns.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"},"./events":{"types":"./dist/events.d.ts","browser":"./dist/browser/events.js","bun":"./dist/events.js","node":"./dist/node/events.js","default":"./dist/events.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-patterns.feature":{"types":"./dist/learning-patterns.feature.d.ts","browser":"./dist/browser/learning-patterns.feature.js","bun":"./dist/learning-patterns.feature.js","node":"./dist/node/learning-patterns.feature.js","default":"./dist/learning-patterns.feature.js"},"./tracks":{"types":"./dist/tracks/index.d.ts","browser":"./dist/browser/tracks/index.js","bun":"./dist/tracks/index.js","node":"./dist/node/tracks/index.js","default":"./dist/tracks/index.js"},"./tracks/ambient-coach":{"types":"./dist/tracks/ambient-coach.d.ts","browser":"./dist/browser/tracks/ambient-coach.js","bun":"./dist/tracks/ambient-coach.js","node":"./dist/node/tracks/ambient-coach.js","default":"./dist/tracks/ambient-coach.js"},"./tracks/drills":{"types":"./dist/tracks/drills.d.ts","browser":"./dist/browser/tracks/drills.js","bun":"./dist/tracks/drills.js","node":"./dist/node/tracks/drills.js","default":"./dist/tracks/drills.js"},"./tracks/quests":{"types":"./dist/tracks/quests.d.ts","browser":"./dist/browser/tracks/quests.js","bun":"./dist/tracks/quests.js","node":"./dist/node/tracks/quests.js","default":"./dist/tracks/quests.js"}},"types":"./dist/index.d.ts","files":["LICENSE","README.md","dist","!**/*.test.*","!**/*.spec.*","!**/*.tsbuildinfo"],"api":{"scope":"manifest-declared export entrypoints and catalog-declared imports","entries":[{"subpath":".","importPath":"@lssm-tech/example.learning-patterns","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"examples/learning-patterns/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-patterns/src/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./docs","importPath":"@lssm-tech/example.learning-patterns/docs","target":"./src/docs/index.ts","targets":[{"conditions":[],"target":"./src/docs/index.ts","sourcePath":"examples/learning-patterns/src/docs/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-patterns/src/docs/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./docs/learning-patterns.docblock","importPath":"@lssm-tech/example.learning-patterns/docs/learning-patterns.docblock","target":"./src/docs/index.ts","targets":[{"conditions":[],"target":"./src/docs/index.ts","sourcePath":"examples/learning-patterns/src/docs/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-patterns/src/docs/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./events","importPath":"@lssm-tech/example.learning-patterns/events","target":"./src/events.ts","targets":[{"conditions":[],"target":"./src/events.ts","sourcePath":"examples/learning-patterns/src/events.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-patterns/src/events.ts","sourceStatus":"verified source file"}]},{"subpath":"./example","importPath":"@lssm-tech/example.learning-patterns/example","target":"./src/example.ts","targets":[{"conditions":[],"target":"./src/example.ts","sourcePath":"examples/learning-patterns/src/example.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-patterns/src/example.ts","sourceStatus":"verified source file"}]},{"subpath":"./learning-patterns.feature","importPath":"@lssm-tech/example.learning-patterns/learning-patterns.feature","target":"./src/learning-patterns.feature.ts","targets":[{"conditions":[],"target":"./src/learning-patterns.feature.ts","sourcePath":"examples/learning-patterns/src/learning-patterns.feature.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-patterns/src/learning-patterns.feature.ts","sourceStatus":"verified source file"}]},{"subpath":"./tracks","importPath":"@lssm-tech/example.learning-patterns/tracks","target":"./src/tracks/index.ts","targets":[{"conditions":[],"target":"./src/tracks/index.ts","sourcePath":"examples/learning-patterns/src/tracks/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-patterns/src/tracks/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./tracks/ambient-coach","importPath":"@lssm-tech/example.learning-patterns/tracks/ambient-coach","target":"./src/tracks/ambient-coach.ts","targets":[{"conditions":[],"target":"./src/tracks/ambient-coach.ts","sourcePath":"examples/learning-patterns/src/tracks/ambient-coach.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-patterns/src/tracks/ambient-coach.ts","sourceStatus":"verified source file"}]},{"subpath":"./tracks/drills","importPath":"@lssm-tech/example.learning-patterns/tracks/drills","target":"./src/tracks/drills.ts","targets":[{"conditions":[],"target":"./src/tracks/drills.ts","sourcePath":"examples/learning-patterns/src/tracks/drills.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-patterns/src/tracks/drills.ts","sourceStatus":"verified source file"}]},{"subpath":"./tracks/quests","importPath":"@lssm-tech/example.learning-patterns/tracks/quests","target":"./src/tracks/quests.ts","targets":[{"conditions":[],"target":"./src/tracks/quests.ts","sourcePath":"examples/learning-patterns/src/tracks/quests.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-patterns/src/tracks/quests.ts","sourceStatus":"verified source file"}]}],"entryCount":10,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"Example Learning Patterns documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fexample.learning-patterns","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-patterns","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-patterns/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-patterns/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/example.learning-patterns.txt"},"readme":{"status":"available","body":"# @lssm-tech/example.learning-patterns\n\nWebsite: https://contractspec.io\n\n**Example: drills + ambient coach + quests learning patterns, powered by Learning Journey (event-driven, deterministic).**\n\n## What This Demonstrates\n\n- Three distinct learning track patterns: drills, ambient-coach, quests.\n- Event-driven track progression.\n- Deterministic state transitions via the Learning Journey module.\n- `src/docs/` contains docblocks and documentation-facing exports.\n- `src/docs/` contains docblocks and documentation-facing exports.\n\n## Running Locally\n\nFrom `examples/learning-patterns`:\n- `bun run dev`\n- `bun run build`\n- `bun run test`\n- `bun run typecheck`\n\n## Usage\n\nUse `@lssm-tech/example.learning-patterns` as a reference implementation, or import its exported surfaces into a workspace that composes ContractSpec examples and bundles.\n\n## Architecture\n\n- `src/docs/` contains docblocks and documentation-facing exports.\n- `src/events.ts` is package-level event definitions.\n- `src/example.ts` is the runnable example entrypoint.\n- `src/index.ts` is the root public barrel and package entrypoint.\n- `src/learning-patterns.feature.ts` defines a feature entrypoint.\n- `src/learning-patterns.test.ts` is part of the package's public or composition surface.\n- `src/tracks` is part of the package's public or composition surface.\n\n## Public Entry Points\n\n- Export `.` resolves through `./src/index.ts`.\n- Export `./docs` resolves through `./src/docs/index.ts`.\n- Export `./docs/learning-patterns.docblock` is an alias of `./docs` and resolves through `./src/docs/index.ts`.\n- Export `./events` resolves through `./src/events.ts`.\n- Export `./example` resolves through `./src/example.ts`.\n- Export `./learning-patterns.feature` resolves through `./src/learning-patterns.feature.ts`.\n- Export `./tracks` resolves through `./src/tracks/index.ts`.\n- Export `./tracks/ambient-coach` resolves through `./src/tracks/ambient-coach.ts`.\n- Export `./tracks/drills` resolves through `./src/tracks/drills.ts`.\n- Export `./tracks/quests` resolves through `./src/tracks/quests.ts`.\n\n## Local Commands\n\n- `bun run dev` — contractspec-bun-build dev\n- `bun run build` — contractspec-bun-build build\n- `bun run test` — bun test\n- `bun run lint` — bun lint:fix\n- `bun run lint:check` — biome check .\n- `bun run lint:fix` — biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .\n- `bun run typecheck` — tsgo --noEmit\n- `bun run publish:pkg` — bun publish --tolerate-republish --ignore-scripts --verbose\n- `bun run publish:pkg:canary` — bun publish:pkg --tag canary\n- `bun run clean` — rimraf dist .turbo\n- `bun run build:bundle` — contractspec-bun-build transpile\n- `bun run build:types` — contractspec-bun-build types\n- `bun run prebuild` — contractspec-bun-build prebuild\n\n## Recent Updates\n\n- Replace eslint+prettier by biomejs to optimize speed.\n- Missing contract layers.\n\n## Notes\n\n- Works alongside `@lssm-tech/lib.contracts-spec`, `@lssm-tech/module.learning-journey`, `@lssm-tech/tool.bun`, `@lssm-tech/tool.typescript`.\n","sourcePath":"examples/learning-patterns/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/learning-patterns/README.md","blobSha":"36b88611e3cd2da7f4aef95c77a62ae700d90eeb","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":"examples-and-patterns","areaTitle":"Examples and implementation patterns","displayName":"example.learning-patterns","runtimes":["node"],"platforms":["server"],"kind":"example","scope":"Package manifest","canonicalRoute":"/docs/packages/example.learning-patterns/","contextUrl":"/docs/packages/example.learning-patterns.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}