{"id":"@lssm-tech/example.kb-update-pipeline","slug":"example.kb-update-pipeline","name":"@lssm-tech/example.kb-update-pipeline","version":"5.0.4","path":"examples/kb-update-pipeline","manifestPath":"examples/kb-update-pipeline/package.json","manifestBlobSha":"86b518ad48080d1e4f46aba68f086d70a3037054","layer":"examples","physicalArea":null,"primaryArea":"examples-and-patterns","classification":{"privateDeclared":null,"catalogFamily":"solutions","catalogKind":"example","catalogStatus":"active","adoptionMode":"reference-only","stability":"stable"},"description":"Example: KB update automation pipeline with HITL review and auditability.","descriptionOrigin":"package.json","catalog":{"family":"solutions","kind":"example","status":"active","adoptionMode":"reference-only","stability":"stable","platforms":["server"],"runtimes":["node"],"entrypoints":[".","./docs","./docs/kb-update-pipeline.docblock","./entities","./entities/models","./events","./example","./handlers","./handlers/memory.handlers","./kb-update-pipeline.feature","./operations","./operations/pipeline","./presentations","./tests/operations.test-spec"],"documentation":[{"title":"Example Kb Update Pipeline documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fexample.kb-update-pipeline","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/lib.schema":"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/kb-update-pipeline.docblock":"./src/docs/index.ts","./entities":"./src/entities/index.ts","./entities/models":"./src/entities/models.ts","./events":"./src/events.ts","./example":"./src/example.ts","./handlers":"./src/handlers/index.ts","./handlers/memory.handlers":"./src/handlers/memory.handlers.ts","./kb-update-pipeline.feature":"./src/kb-update-pipeline.feature.ts","./operations":"./src/operations/index.ts","./operations/pipeline":"./src/operations/pipeline.ts","./presentations":"./src/presentations.ts","./tests/operations.test-spec":"./src/tests/operations.test-spec.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/kb-update-pipeline.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"},"./entities":{"types":"./dist/entities/index.d.ts","browser":"./dist/browser/entities/index.js","bun":"./dist/entities/index.js","node":"./dist/node/entities/index.js","default":"./dist/entities/index.js"},"./entities/models":{"types":"./dist/entities/models.d.ts","browser":"./dist/browser/entities/models.js","bun":"./dist/entities/models.js","node":"./dist/node/entities/models.js","default":"./dist/entities/models.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"},"./handlers":{"types":"./dist/handlers/index.d.ts","browser":"./dist/browser/handlers/index.js","bun":"./dist/handlers/index.js","node":"./dist/node/handlers/index.js","default":"./dist/handlers/index.js"},"./handlers/memory.handlers":{"types":"./dist/handlers/memory.handlers.d.ts","browser":"./dist/browser/handlers/memory.handlers.js","bun":"./dist/handlers/memory.handlers.js","node":"./dist/node/handlers/memory.handlers.js","default":"./dist/handlers/memory.handlers.js"},"./kb-update-pipeline.feature":{"types":"./dist/kb-update-pipeline.feature.d.ts","browser":"./dist/browser/kb-update-pipeline.feature.js","bun":"./dist/kb-update-pipeline.feature.js","node":"./dist/node/kb-update-pipeline.feature.js","default":"./dist/kb-update-pipeline.feature.js"},"./operations":{"types":"./dist/operations/index.d.ts","browser":"./dist/browser/operations/index.js","bun":"./dist/operations/index.js","node":"./dist/node/operations/index.js","default":"./dist/operations/index.js"},"./operations/pipeline":{"types":"./dist/operations/pipeline.d.ts","browser":"./dist/browser/operations/pipeline.js","bun":"./dist/operations/pipeline.js","node":"./dist/node/operations/pipeline.js","default":"./dist/operations/pipeline.js"},"./presentations":{"types":"./dist/presentations.d.ts","browser":"./dist/browser/presentations.js","bun":"./dist/presentations.js","node":"./dist/node/presentations.js","default":"./dist/presentations.js"},"./tests/operations.test-spec":{"types":"./dist/tests/operations.test-spec.d.ts","browser":"./dist/browser/tests/operations.test-spec.js","bun":"./dist/tests/operations.test-spec.js","node":"./dist/node/tests/operations.test-spec.js","default":"./dist/tests/operations.test-spec.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.kb-update-pipeline","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"examples/kb-update-pipeline/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/kb-update-pipeline/src/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./docs","importPath":"@lssm-tech/example.kb-update-pipeline/docs","target":"./src/docs/index.ts","targets":[{"conditions":[],"target":"./src/docs/index.ts","sourcePath":"examples/kb-update-pipeline/src/docs/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/kb-update-pipeline/src/docs/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./docs/kb-update-pipeline.docblock","importPath":"@lssm-tech/example.kb-update-pipeline/docs/kb-update-pipeline.docblock","target":"./src/docs/index.ts","targets":[{"conditions":[],"target":"./src/docs/index.ts","sourcePath":"examples/kb-update-pipeline/src/docs/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/kb-update-pipeline/src/docs/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./entities","importPath":"@lssm-tech/example.kb-update-pipeline/entities","target":"./src/entities/index.ts","targets":[{"conditions":[],"target":"./src/entities/index.ts","sourcePath":"examples/kb-update-pipeline/src/entities/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/kb-update-pipeline/src/entities/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./entities/models","importPath":"@lssm-tech/example.kb-update-pipeline/entities/models","target":"./src/entities/models.ts","targets":[{"conditions":[],"target":"./src/entities/models.ts","sourcePath":"examples/kb-update-pipeline/src/entities/models.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/kb-update-pipeline/src/entities/models.ts","sourceStatus":"verified source file"}]},{"subpath":"./events","importPath":"@lssm-tech/example.kb-update-pipeline/events","target":"./src/events.ts","targets":[{"conditions":[],"target":"./src/events.ts","sourcePath":"examples/kb-update-pipeline/src/events.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/kb-update-pipeline/src/events.ts","sourceStatus":"verified source file"}]},{"subpath":"./example","importPath":"@lssm-tech/example.kb-update-pipeline/example","target":"./src/example.ts","targets":[{"conditions":[],"target":"./src/example.ts","sourcePath":"examples/kb-update-pipeline/src/example.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/kb-update-pipeline/src/example.ts","sourceStatus":"verified source file"}]},{"subpath":"./handlers","importPath":"@lssm-tech/example.kb-update-pipeline/handlers","target":"./src/handlers/index.ts","targets":[{"conditions":[],"target":"./src/handlers/index.ts","sourcePath":"examples/kb-update-pipeline/src/handlers/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/kb-update-pipeline/src/handlers/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./handlers/memory.handlers","importPath":"@lssm-tech/example.kb-update-pipeline/handlers/memory.handlers","target":"./src/handlers/memory.handlers.ts","targets":[{"conditions":[],"target":"./src/handlers/memory.handlers.ts","sourcePath":"examples/kb-update-pipeline/src/handlers/memory.handlers.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/kb-update-pipeline/src/handlers/memory.handlers.ts","sourceStatus":"verified source file"}]},{"subpath":"./kb-update-pipeline.feature","importPath":"@lssm-tech/example.kb-update-pipeline/kb-update-pipeline.feature","target":"./src/kb-update-pipeline.feature.ts","targets":[{"conditions":[],"target":"./src/kb-update-pipeline.feature.ts","sourcePath":"examples/kb-update-pipeline/src/kb-update-pipeline.feature.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/kb-update-pipeline/src/kb-update-pipeline.feature.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations","importPath":"@lssm-tech/example.kb-update-pipeline/operations","target":"./src/operations/index.ts","targets":[{"conditions":[],"target":"./src/operations/index.ts","sourcePath":"examples/kb-update-pipeline/src/operations/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/kb-update-pipeline/src/operations/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/pipeline","importPath":"@lssm-tech/example.kb-update-pipeline/operations/pipeline","target":"./src/operations/pipeline.ts","targets":[{"conditions":[],"target":"./src/operations/pipeline.ts","sourcePath":"examples/kb-update-pipeline/src/operations/pipeline.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/kb-update-pipeline/src/operations/pipeline.ts","sourceStatus":"verified source file"}]},{"subpath":"./presentations","importPath":"@lssm-tech/example.kb-update-pipeline/presentations","target":"./src/presentations.ts","targets":[{"conditions":[],"target":"./src/presentations.ts","sourcePath":"examples/kb-update-pipeline/src/presentations.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/kb-update-pipeline/src/presentations.ts","sourceStatus":"verified source file"}]},{"subpath":"./tests/operations.test-spec","importPath":"@lssm-tech/example.kb-update-pipeline/tests/operations.test-spec","target":"./src/tests/operations.test-spec.ts","targets":[{"conditions":[],"target":"./src/tests/operations.test-spec.ts","sourcePath":"examples/kb-update-pipeline/src/tests/operations.test-spec.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/kb-update-pipeline/src/tests/operations.test-spec.ts","sourceStatus":"verified source file"}]}],"entryCount":14,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"Example Kb Update Pipeline documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fexample.kb-update-pipeline","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/kb-update-pipeline","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/kb-update-pipeline/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/kb-update-pipeline/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/example.kb-update-pipeline.txt"},"readme":{"status":"available","body":"# @lssm-tech/example.kb-update-pipeline\n\nWebsite: https://contractspec.io\n\n**Example: KB update automation pipeline with HITL review and auditability.**\n\n## What This Demonstrates\n\n- HITL (human-in-the-loop) review pipeline pattern.\n- Entity models for KB articles and update proposals.\n- Event-driven pipeline with typed operations.\n- Feature definition with presentations and test-specs.\n- In-memory handlers for demo scenarios.\n- `src/docs/` contains docblocks and documentation-facing exports.\n\n## Running Locally\n\nFrom `examples/kb-update-pipeline`:\n- `bun run dev`\n- `bun run build`\n- `bun run test`\n- `bun run typecheck`\n\n## Usage\n\nUse `@lssm-tech/example.kb-update-pipeline` 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/entities/` contains domain entities and value objects.\n- `src/events.ts` is package-level event definitions.\n- `src/example.ts` is the runnable example entrypoint.\n- `src/handlers/` contains handlers or demo adapters wired to contract surfaces.\n- `src/index.ts` is the root public barrel and package entrypoint.\n- `src/kb-update-pipeline.feature.ts` defines a feature entrypoint.\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/kb-update-pipeline.docblock` is an alias of `./docs` and resolves through `./src/docs/index.ts`.\n- Export `./entities` resolves through `./src/entities/index.ts`.\n- Export `./entities/models` resolves through `./src/entities/models.ts`.\n- Export `./events` resolves through `./src/events.ts`.\n- Export `./example` resolves through `./src/example.ts`.\n- Export `./handlers` resolves through `./src/handlers/index.ts`.\n- Export `./handlers/memory.handlers` resolves through `./src/handlers/memory.handlers.ts`.\n- Export `./kb-update-pipeline.feature` resolves through `./src/kb-update-pipeline.feature.ts`.\n- The package publishes 14 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\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.schema`, `@lssm-tech/tool.bun`, `@lssm-tech/tool.typescript`.\n","sourcePath":"examples/kb-update-pipeline/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/kb-update-pipeline/README.md","blobSha":"500473673249df710b9745c043b6b4aa1b152471","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.kb-update-pipeline","runtimes":["node"],"platforms":["server"],"kind":"example","scope":"Package manifest","canonicalRoute":"/docs/packages/example.kb-update-pipeline/","contextUrl":"/docs/packages/example.kb-update-pipeline.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}