{"id":"@lssm-tech/example.companyos-product-engineering-loop","slug":"example.companyos-product-engineering-loop","name":"@lssm-tech/example.companyos-product-engineering-loop","version":"2.0.5","path":"examples/companyos-product-engineering-loop","manifestPath":"examples/companyos-product-engineering-loop/package.json","manifestBlobSha":"ea312d3843f7532767e92558361ee20bad8f206f","layer":"examples","physicalArea":null,"primaryArea":"examples-and-patterns","classification":{"privateDeclared":null,"catalogFamily":"solutions","catalogKind":"example","catalogStatus":"active","adoptionMode":"reference-only","stability":"experimental"},"description":"Deterministic CompanyOS V1 operating review replay using public spec and pure runtime APIs.","descriptionOrigin":"package.json","catalog":{"family":"solutions","kind":"example","status":"active","adoptionMode":"reference-only","stability":"experimental","platforms":["server"],"runtimes":["node"],"entrypoints":[".","./docs","./docs/companyos-product-engineering-loop.docblock","./example","./companyos-product-engineering-loop.feature","./replay","./ui"],"documentation":[{"title":"Example Companyos Product Engineering Loop documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fexample.companyos-product-engineering-loop","kind":"readme"}],"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."}},"canonicalImports":[],"scripts":{"build":"contractspec-bun-build build","typecheck":"tsgo --noEmit","test":"bun test","smoke":"bun test src/example.smoke.test.ts","preflight":"bun run build && bun run typecheck && bun run test && bun run smoke","build:bundle":"contractspec-bun-build transpile","build:types":"contractspec-bun-build types"},"scriptStatus":"complete pinned manifest","dependencies":{"@lssm-tech/lib.companyos-runtime":"workspace:^","@lssm-tech/lib.companyos-spec":"workspace:^","@lssm-tech/lib.contracts-spec":"workspace:^","@lssm-tech/lib.design-system":"workspace:^","lucide-react":"catalog:ui","react":"catalog:","react-dom":"catalog:"},"devDependencies":{"@lssm-tech/tool.typescript":"workspace:*","typescript":"catalog:","@types/react":"catalog:types","@types/react-dom":"catalog:types","@lssm-tech/tool.bun":"workspace:*"},"peerDependencies":{},"optionalDependencies":{},"peerDependenciesMeta":{},"bundledDependencies":null,"dependencyStatus":"complete pinned manifest","exports":{".":"./src/index.ts","./docs":"./src/docs/index.ts","./docs/companyos-product-engineering-loop.docblock":"./src/docs/index.ts","./example":"./src/example.ts","./companyos-product-engineering-loop.feature":"./src/companyos-product-engineering-loop.feature.ts","./replay":"./src/replay/index.ts","./ui":"./src/ui/index.ts"},"publishExports":{".":{"types":"./dist/index.d.ts","browser":"./dist/index.js","bun":"./dist/index.js","node":"./dist/index.js","default":"./dist/index.js"},"./docs":{"types":"./dist/docs/index.d.ts","browser":"./dist/docs/index.js","bun":"./dist/docs/index.js","node":"./dist/docs/index.js","default":"./dist/docs/index.js"},"./docs/companyos-product-engineering-loop.docblock":{"types":"./dist/docs/index.d.ts","browser":"./dist/docs/index.js","bun":"./dist/docs/index.js","node":"./dist/docs/index.js","default":"./dist/docs/index.js"},"./example":{"types":"./dist/example.d.ts","browser":"./dist/example.js","bun":"./dist/example.js","node":"./dist/example.js","default":"./dist/example.js"},"./companyos-product-engineering-loop.feature":{"types":"./dist/companyos-product-engineering-loop.feature.d.ts","browser":"./dist/companyos-product-engineering-loop.feature.js","bun":"./dist/companyos-product-engineering-loop.feature.js","node":"./dist/companyos-product-engineering-loop.feature.js","default":"./dist/companyos-product-engineering-loop.feature.js"},"./replay":{"types":"./dist/replay/index.d.ts","browser":"./dist/replay/index.js","bun":"./dist/replay/index.js","node":"./dist/replay/index.js","default":"./dist/replay/index.js"},"./ui":{"types":"./dist/ui/index.d.ts","browser":"./dist/ui/index.js","bun":"./dist/ui/index.js","node":"./dist/ui/index.js","default":"./dist/ui/index.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.companyos-product-engineering-loop","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"examples/companyos-product-engineering-loop/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/companyos-product-engineering-loop/src/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./docs","importPath":"@lssm-tech/example.companyos-product-engineering-loop/docs","target":"./src/docs/index.ts","targets":[{"conditions":[],"target":"./src/docs/index.ts","sourcePath":"examples/companyos-product-engineering-loop/src/docs/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/companyos-product-engineering-loop/src/docs/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./docs/companyos-product-engineering-loop.docblock","importPath":"@lssm-tech/example.companyos-product-engineering-loop/docs/companyos-product-engineering-loop.docblock","target":"./src/docs/index.ts","targets":[{"conditions":[],"target":"./src/docs/index.ts","sourcePath":"examples/companyos-product-engineering-loop/src/docs/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/companyos-product-engineering-loop/src/docs/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./example","importPath":"@lssm-tech/example.companyos-product-engineering-loop/example","target":"./src/example.ts","targets":[{"conditions":[],"target":"./src/example.ts","sourcePath":"examples/companyos-product-engineering-loop/src/example.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/companyos-product-engineering-loop/src/example.ts","sourceStatus":"verified source file"}]},{"subpath":"./companyos-product-engineering-loop.feature","importPath":"@lssm-tech/example.companyos-product-engineering-loop/companyos-product-engineering-loop.feature","target":"./src/companyos-product-engineering-loop.feature.ts","targets":[{"conditions":[],"target":"./src/companyos-product-engineering-loop.feature.ts","sourcePath":"examples/companyos-product-engineering-loop/src/companyos-product-engineering-loop.feature.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/companyos-product-engineering-loop/src/companyos-product-engineering-loop.feature.ts","sourceStatus":"verified source file"}]},{"subpath":"./replay","importPath":"@lssm-tech/example.companyos-product-engineering-loop/replay","target":"./src/replay/index.ts","targets":[{"conditions":[],"target":"./src/replay/index.ts","sourcePath":"examples/companyos-product-engineering-loop/src/replay/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/companyos-product-engineering-loop/src/replay/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./ui","importPath":"@lssm-tech/example.companyos-product-engineering-loop/ui","target":"./src/ui/index.ts","targets":[{"conditions":[],"target":"./src/ui/index.ts","sourcePath":"examples/companyos-product-engineering-loop/src/ui/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/companyos-product-engineering-loop/src/ui/index.ts","sourceStatus":"verified source file"}]}],"entryCount":7,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"Example Companyos Product Engineering Loop documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fexample.companyos-product-engineering-loop","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/companyos-product-engineering-loop","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/companyos-product-engineering-loop/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/companyos-product-engineering-loop/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/example.companyos-product-engineering-loop.txt"},"readme":{"status":"available","body":"# @lssm-tech/example.companyos-product-engineering-loop\n\nDeterministic CompanyOS V1 product/engineering operating-loop example using public `@lssm-tech/lib.companyos-spec` and pure `@lssm-tech/lib.companyos-runtime` APIs.\n\n## What this demonstrates\n\nA provider-free replay of the CompanyOS V1 fixture:\n\n```txt\nonboarding-confusion signal\n-> product feedback\n-> customer commitment\n-> quarterly objective drift\n-> temporal memory snapshot\n-> weekly operating review packet\n-> company brain entry / gap\n-> candidate decision\n-> proposed engineering work\n-> ContractSpec proposal\n-> scoped agent organization\n-> handoff/delegation policy\n-> agent-native operation authority/autonomy classification\n-> product-lead review surface selection\n-> draft-only agent action\n-> operator inbox approval\n-> V1 operating review summary\n```\n\nThe example validates the V1 fixture with CompanyOS public validation helpers before building the replay. It uses pure runtime projections for authority, autonomy, inbox routing, and operating-review summarization. It does not bind real providers, send customer messages, perform filesystem/network I/O, or execute production work. The optional `./ui` surface is a deterministic compatibility preview adapter over the package replay data while canonical reusable CompanyOS UI is promoted into `@lssm-tech/module.companyos/ui`.\n\n## Preview / export workflow\n\nThis package stays provider-free and replay-led. It must not add live provider bindings, network I/O, filesystem I/O, outbound sends, or production mutation paths.\n\n`./ui` is a thin deterministic compatibility adapter for the focused example: it derives preview metrics from `buildCompanyOsProductEngineeringReplay()` and preserves draft-only, dry-run, approval-gated semantics. New reusable/canonical CompanyOS UI should live in `@lssm-tech/module.companyos/ui`; this example should consume that module-owned surface once available rather than growing new canonical screens here.\n\n## Running locally\n\nFrom `examples/companyos-product-engineering-loop`:\n\n- `bun run build`\n- `bun run typecheck`\n- `bun run test`\n- `bun run smoke`\n- `bun run preflight`\n\n## Usage\n\n```ts\nimport { buildCompanyOsProductEngineeringReplay } from '@lssm-tech/example.companyos-product-engineering-loop/replay';\n\nconst replay = buildCompanyOsProductEngineeringReplay();\nconsole.log(replay.reviewPacket.runtimeSummary);\nconsole.log(replay.steps.map((step) => step.label));\n```\n\n## Public entry points\n\n- `@lssm-tech/example.companyos-product-engineering-loop`\n- `@lssm-tech/example.companyos-product-engineering-loop/example`\n- `@lssm-tech/example.companyos-product-engineering-loop/companyos-product-engineering-loop.feature`\n- `@lssm-tech/example.companyos-product-engineering-loop/replay`\n- `@lssm-tech/example.companyos-product-engineering-loop/docs`\n- `@lssm-tech/example.companyos-product-engineering-loop/ui`\n\n## Safety boundaries\n\n- The replay consumes public CompanyOS fixture, validation, and runtime APIs only.\n- Agent-native operations remain draft-only, dry-run constrained, and approval-gated.\n- Customer-facing action execution is represented as an operator inbox approval, not a provider write.\n- No real providers, network I/O, filesystem I/O, outbound sends, or production mutation paths are included.\n- `./ui` remains a deterministic preview adapter and must not become the canonical reusable CompanyOS UI surface.\n\nDeclaration publication uses `contractspec-bun-build types` through\n`build:types`; `build` runs bundle and declaration generation. The build config\npreserves declared exports and excludes test-only files from generated build artifacts.\nPackage tests and typecheck remain separate verification gates.\n","sourcePath":"examples/companyos-product-engineering-loop/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/examples/companyos-product-engineering-loop/README.md","blobSha":"1f33925d9b36372e243f768678a3705e1c523a1e","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.companyos-product-engineering-loop","runtimes":["node"],"platforms":["server"],"kind":"example","scope":"Package manifest","canonicalRoute":"/docs/packages/example.companyos-product-engineering-loop/","contextUrl":"/docs/packages/example.companyos-product-engineering-loop.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}