{"id":"@lssm-tech/example.personalization","slug":"example.personalization","name":"@lssm-tech/example.personalization","version":"5.0.4","path":"examples/personalization","manifestPath":"examples/personalization/package.json","manifestBlobSha":"f2a740d2f7171cfcaa2d524dc1f216c92a58e4f5","layer":"examples","physicalArea":null,"primaryArea":"examples-and-patterns","classification":{"privateDeclared":null,"catalogFamily":"solutions","catalogKind":"example","catalogStatus":"active","adoptionMode":"reference-only","stability":"stable"},"description":"Personalization examples: behavior tracking, overlay customization, workflow extension.","descriptionOrigin":"package.json","catalog":{"family":"solutions","kind":"example","status":"active","adoptionMode":"reference-only","stability":"stable","platforms":["server"],"runtimes":["node"],"entrypoints":[".","./behavior-tracking","./docs","./docs/personalization.docblock","./example","./overlay-customization","./personalization.experiment","./personalization.feature","./personalization.theme","./workflow-extension"],"documentation":[{"title":"Example Personalization documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fexample.personalization","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 --pass-with-no-tests","prebuild":"contractspec-bun-build prebuild","typecheck":"tsgo --noEmit"},"scriptStatus":"complete pinned manifest","dependencies":{"@lssm-tech/lib.personalization":"workspace:^","@lssm-tech/lib.overlay-engine":"workspace:^","@lssm-tech/lib.workflow-composer":"workspace:^","@lssm-tech/lib.contracts-spec":"workspace:^","@lssm-tech/lib.logger":"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","./behavior-tracking":"./src/behavior-tracking.ts","./docs":"./src/docs/index.ts","./docs/personalization.docblock":"./src/docs/index.ts","./example":"./src/example.ts","./overlay-customization":"./src/overlay-customization.ts","./personalization.experiment":"./src/personalization.experiment.ts","./personalization.feature":"./src/personalization.feature.ts","./personalization.theme":"./src/personalization.theme.ts","./workflow-extension":"./src/workflow-extension.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"},"./behavior-tracking":{"types":"./dist/behavior-tracking.d.ts","browser":"./dist/browser/behavior-tracking.js","bun":"./dist/behavior-tracking.js","node":"./dist/node/behavior-tracking.js","default":"./dist/behavior-tracking.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/personalization.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"},"./overlay-customization":{"types":"./dist/overlay-customization.d.ts","browser":"./dist/browser/overlay-customization.js","bun":"./dist/overlay-customization.js","node":"./dist/node/overlay-customization.js","default":"./dist/overlay-customization.js"},"./personalization.experiment":{"types":"./dist/personalization.experiment.d.ts","browser":"./dist/browser/personalization.experiment.js","bun":"./dist/personalization.experiment.js","node":"./dist/node/personalization.experiment.js","default":"./dist/personalization.experiment.js"},"./personalization.feature":{"types":"./dist/personalization.feature.d.ts","browser":"./dist/browser/personalization.feature.js","bun":"./dist/personalization.feature.js","node":"./dist/node/personalization.feature.js","default":"./dist/personalization.feature.js"},"./personalization.theme":{"types":"./dist/personalization.theme.d.ts","browser":"./dist/browser/personalization.theme.js","bun":"./dist/personalization.theme.js","node":"./dist/node/personalization.theme.js","default":"./dist/personalization.theme.js"},"./workflow-extension":{"types":"./dist/workflow-extension.d.ts","browser":"./dist/browser/workflow-extension.js","bun":"./dist/workflow-extension.js","node":"./dist/node/workflow-extension.js","default":"./dist/workflow-extension.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.personalization","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"examples/personalization/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/personalization/src/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./behavior-tracking","importPath":"@lssm-tech/example.personalization/behavior-tracking","target":"./src/behavior-tracking.ts","targets":[{"conditions":[],"target":"./src/behavior-tracking.ts","sourcePath":"examples/personalization/src/behavior-tracking.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/personalization/src/behavior-tracking.ts","sourceStatus":"verified source file"}]},{"subpath":"./docs","importPath":"@lssm-tech/example.personalization/docs","target":"./src/docs/index.ts","targets":[{"conditions":[],"target":"./src/docs/index.ts","sourcePath":"examples/personalization/src/docs/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/personalization/src/docs/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./docs/personalization.docblock","importPath":"@lssm-tech/example.personalization/docs/personalization.docblock","target":"./src/docs/index.ts","targets":[{"conditions":[],"target":"./src/docs/index.ts","sourcePath":"examples/personalization/src/docs/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/personalization/src/docs/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./example","importPath":"@lssm-tech/example.personalization/example","target":"./src/example.ts","targets":[{"conditions":[],"target":"./src/example.ts","sourcePath":"examples/personalization/src/example.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/personalization/src/example.ts","sourceStatus":"verified source file"}]},{"subpath":"./overlay-customization","importPath":"@lssm-tech/example.personalization/overlay-customization","target":"./src/overlay-customization.ts","targets":[{"conditions":[],"target":"./src/overlay-customization.ts","sourcePath":"examples/personalization/src/overlay-customization.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/personalization/src/overlay-customization.ts","sourceStatus":"verified source file"}]},{"subpath":"./personalization.experiment","importPath":"@lssm-tech/example.personalization/personalization.experiment","target":"./src/personalization.experiment.ts","targets":[{"conditions":[],"target":"./src/personalization.experiment.ts","sourcePath":"examples/personalization/src/personalization.experiment.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/personalization/src/personalization.experiment.ts","sourceStatus":"verified source file"}]},{"subpath":"./personalization.feature","importPath":"@lssm-tech/example.personalization/personalization.feature","target":"./src/personalization.feature.ts","targets":[{"conditions":[],"target":"./src/personalization.feature.ts","sourcePath":"examples/personalization/src/personalization.feature.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/personalization/src/personalization.feature.ts","sourceStatus":"verified source file"}]},{"subpath":"./personalization.theme","importPath":"@lssm-tech/example.personalization/personalization.theme","target":"./src/personalization.theme.ts","targets":[{"conditions":[],"target":"./src/personalization.theme.ts","sourcePath":"examples/personalization/src/personalization.theme.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/personalization/src/personalization.theme.ts","sourceStatus":"verified source file"}]},{"subpath":"./workflow-extension","importPath":"@lssm-tech/example.personalization/workflow-extension","target":"./src/workflow-extension.ts","targets":[{"conditions":[],"target":"./src/workflow-extension.ts","sourcePath":"examples/personalization/src/workflow-extension.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/personalization/src/workflow-extension.ts","sourceStatus":"verified source file"}]}],"entryCount":10,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"Example Personalization documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fexample.personalization","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/personalization","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/personalization/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/personalization/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/example.personalization.txt"},"readme":{"status":"available","body":"# @lssm-tech/example.personalization\n\nWebsite: https://contractspec.io\n\n**Personalization examples: behavior tracking, overlay customization, workflow extension.**\n\n## What This Demonstrates\n\n- Behavior tracking integration pattern.\n- Canonical `experiment` export via `PersonalizationExperiment`.\n- Overlay customization via overlay-engine.\n- Canonical `theme` export via `PersonalizationTheme`.\n- Workflow extension via workflow-composer.\n- Multi-lib composition in a single example.\n- `src/docs/` contains docblocks and documentation-facing exports.\n\n## Running Locally\n\nFrom `examples/personalization`:\n- `bun run dev`\n- `bun run build`\n- `bun run test`\n- `bun run typecheck`\n\n## Usage\n\nUse `@lssm-tech/example.personalization` as a reference implementation, or import its exported surfaces into a workspace that composes ContractSpec examples and bundles.\n\n## Architecture\n\n- `src/behavior-tracking.ts` is part of the package's public or composition surface.\n- `src/docs/` contains docblocks and documentation-facing exports.\n- `src/example.ts` is the runnable example entrypoint.\n- `src/index.ts` is the root public barrel and package entrypoint.\n- `src/overlay-customization.ts` is part of the package's public or composition surface.\n- `src/personalization.experiment.ts` defines the exported experiment spec.\n- `src/personalization.feature.ts` defines a feature entrypoint.\n- `src/personalization.theme.ts` defines the exported theme spec.\n- `src/workflow-extension.ts` 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 `./behavior-tracking` resolves through `./src/behavior-tracking.ts`.\n- Export `./docs` resolves through `./src/docs/index.ts`.\n- Export `./docs/personalization.docblock` is an alias of `./docs` and resolves through `./src/docs/index.ts`.\n- Export `./example` resolves through `./src/example.ts`.\n- Export `./overlay-customization` resolves through `./src/overlay-customization.ts`.\n- Export `./personalization.experiment` resolves through `./src/personalization.experiment.ts`.\n- Export `./personalization.feature` resolves through `./src/personalization.feature.ts`.\n- Export `./personalization.theme` resolves through `./src/personalization.theme.ts`.\n- Export `./workflow-extension` resolves through `./src/workflow-extension.ts`.\n- The package publishes 9 total export subpaths; keep docs aligned with `package.json`.\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 --pass-with-no-tests\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/lib.logger`, `@lssm-tech/lib.overlay-engine`, `@lssm-tech/lib.personalization`, `@lssm-tech/lib.workflow-composer`, ...\n","sourcePath":"examples/personalization/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/personalization/README.md","blobSha":"1da3c07d9f7158d59d613a15c531543d913a383d","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.personalization","runtimes":["node"],"platforms":["server"],"kind":"example","scope":"Package manifest","canonicalRoute":"/docs/packages/example.personalization/","contextUrl":"/docs/packages/example.personalization.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}