{"id":"@lssm-tech/lib.builder-spec","slug":"lib.builder-spec","name":"@lssm-tech/lib.builder-spec","version":"2.1.4","path":"packages/domains/builder/spec","manifestPath":"packages/domains/builder/spec/package.json","manifestBlobSha":"4c5099321da517fa1f4659c518ada7ef89dfbb53","layer":"domains","physicalArea":"builder","primaryArea":"delivery-and-infrastructure","classification":{"privateDeclared":null,"catalogFamily":"ui","catalogKind":"library","catalogStatus":"active","adoptionMode":"adoptable","stability":"experimental"},"description":"Builder control-plane contracts, capabilities, and validation for ContractSpec.","descriptionOrigin":"package.json","catalog":{"family":"ui","kind":"library","status":"active","adoptionMode":"adoptable","stability":"experimental","platforms":["server"],"runtimes":["node"],"entrypoints":[".","./capabilities","./commands","./events","./queries","./types","./validation","./product-intent/contract-patch-intent","./product-intent/contract-spec-patch","./product-intent/evidence","./product-intent/findings","./product-intent/impact-report","./product-intent","./product-intent/insights","./product-intent/opportunity-brief","./product-intent/problems","./product-intent/registry","./product-intent/runtime","./product-intent/spec","./product-intent/task-pack","./product-intent/tickets","./product-intent/types","./product-intent/ui-wireframe","./control-plane/policies/controlPlaneMessaging.policy"],"documentation":[{"title":"Lib Builder Spec documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Flib.builder-spec","kind":"readme"}],"examples":[],"replacements":[],"capabilities":[{"id":"package.lssm.tech.lib.builder.spec","title":"Lib Builder Spec","description":"Builder control-plane contracts, capabilities, and validation for ContractSpec.","status":"active","useCases":["Adopt builder control-plane contracts, capabilities, and validation for contractspec"],"aliases":["contractspec","builder","omnichannel","contracts","typescript","lib","spec"],"pythonEquivalents":[],"canonicalImports":[{"from":"@lssm-tech/lib.builder-spec","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/capabilities","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/commands","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/events","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/queries","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/types","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/validation","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/product-intent/contract-patch-intent","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/product-intent/contract-spec-patch","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/product-intent/evidence","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/product-intent/findings","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/product-intent/impact-report","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/product-intent","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/product-intent/insights","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/product-intent/opportunity-brief","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/product-intent/problems","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/product-intent/registry","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/product-intent/runtime","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/product-intent/spec","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/product-intent/task-pack","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/product-intent/tickets","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/product-intent/types","symbols":[]},{"from":"@lssm-tech/lib.builder-spec/product-intent/ui-wireframe","symbols":[]}],"constraints":{"platforms":["server"],"runtimes":["node"],"avoidWhen":["The @lssm-tech/lib.builder-spec package constraints do not match the target runtime or platform."],"requires":["TypeScript"]},"alternatives":[],"relationships":[],"resolutionPriority":50}]},"canonicalImports":[{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/capabilities","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/commands","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/events","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/queries","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/types","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/validation","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/product-intent/contract-patch-intent","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/product-intent/contract-spec-patch","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/product-intent/evidence","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/product-intent/findings","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/product-intent/impact-report","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/product-intent","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/product-intent/insights","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/product-intent/opportunity-brief","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/product-intent/problems","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/product-intent/registry","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/product-intent/runtime","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/product-intent/spec","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/product-intent/task-pack","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/product-intent/tickets","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/product-intent/types","symbols":[]},{"capabilityId":"package.lssm.tech.lib.builder.spec","from":"@lssm-tech/lib.builder-spec/product-intent/ui-wireframe","symbols":[]}],"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.provider-spec":"workspace:^","@lssm-tech/lib.schema":"workspace:^","zod":"catalog:","@lssm-tech/lib.lssm-os-spec":"workspace:^","@lssm-tech/lib.orchestration-spec":"workspace:^","@lssm-tech/lib.contracts-spec-core":"workspace:^","@lssm-tech/lib.contracts-runtime-kernel":"workspace:^"},"devDependencies":{"@lssm-tech/tool.bun":"workspace:*","@lssm-tech/tool.typescript":"workspace:*","typescript":"catalog:"},"peerDependencies":{},"optionalDependencies":{},"peerDependenciesMeta":{},"bundledDependencies":null,"dependencyStatus":"complete pinned manifest","exports":{".":"./src/index.ts","./capabilities":"./src/capabilities/index.ts","./commands":"./src/commands/index.ts","./events":"./src/events/index.ts","./queries":"./src/queries/index.ts","./types":"./src/types/index.ts","./validation":"./src/validation/index.ts","./control-plane/constants":"./src/control-plane/constants.ts","./control-plane/commands/controlPlaneExecutionApprove.command":"./src/control-plane/commands/controlPlaneExecutionApprove.command.ts","./control-plane/commands/controlPlaneExecutionReject.command":"./src/control-plane/commands/controlPlaneExecutionReject.command.ts","./control-plane/queries/controlPlaneTraceGet.query":"./src/control-plane/queries/controlPlaneTraceGet.query.ts","./product-intent/contract-patch-intent":"./src/product-intent/contract-patch-intent.ts","./product-intent/contract-spec-patch":"./src/product-intent/contract-spec-patch.ts","./product-intent/evidence":"./src/product-intent/evidence.ts","./product-intent/findings":"./src/product-intent/findings.ts","./product-intent/impact-report":"./src/product-intent/impact-report.ts","./product-intent":"./src/product-intent/index.ts","./product-intent/insights":"./src/product-intent/insights.ts","./product-intent/opportunity-brief":"./src/product-intent/opportunity-brief.ts","./product-intent/problems":"./src/product-intent/problems.ts","./product-intent/registry":"./src/product-intent/registry.ts","./product-intent/runtime":"./src/product-intent/runtime.ts","./product-intent/spec":"./src/product-intent/spec.ts","./product-intent/task-pack":"./src/product-intent/task-pack.ts","./product-intent/tickets":"./src/product-intent/tickets.ts","./product-intent/types":"./src/product-intent/types.ts","./product-intent/ui-wireframe":"./src/product-intent/ui-wireframe.ts","./control-plane/policies/controlPlaneMessaging.policy":"./src/control-plane/policies/controlPlaneMessaging.policy.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"},"./capabilities":{"types":"./dist/capabilities/index.d.ts","browser":"./dist/browser/capabilities/index.js","bun":"./dist/capabilities/index.js","node":"./dist/node/capabilities/index.js","default":"./dist/capabilities/index.js"},"./commands":{"types":"./dist/commands/index.d.ts","browser":"./dist/browser/commands/index.js","bun":"./dist/commands/index.js","node":"./dist/node/commands/index.js","default":"./dist/commands/index.js"},"./events":{"types":"./dist/events/index.d.ts","browser":"./dist/browser/events/index.js","bun":"./dist/events/index.js","node":"./dist/node/events/index.js","default":"./dist/events/index.js"},"./queries":{"types":"./dist/queries/index.d.ts","browser":"./dist/browser/queries/index.js","bun":"./dist/queries/index.js","node":"./dist/node/queries/index.js","default":"./dist/queries/index.js"},"./types":{"types":"./dist/types/index.d.ts","browser":"./dist/browser/types/index.js","bun":"./dist/types/index.js","node":"./dist/node/types/index.js","default":"./dist/types/index.js"},"./validation":{"types":"./dist/validation/index.d.ts","browser":"./dist/browser/validation/index.js","bun":"./dist/validation/index.js","node":"./dist/node/validation/index.js","default":"./dist/validation/index.js"},"./control-plane/constants":{"types":"./dist/control-plane/constants.d.ts","browser":"./dist/browser/control-plane/constants.js","bun":"./dist/control-plane/constants.js","node":"./dist/node/control-plane/constants.js","default":"./dist/control-plane/constants.js"},"./control-plane/commands/controlPlaneExecutionApprove.command":{"types":"./dist/control-plane/commands/controlPlaneExecutionApprove.command.d.ts","browser":"./dist/browser/control-plane/commands/controlPlaneExecutionApprove.command.js","bun":"./dist/control-plane/commands/controlPlaneExecutionApprove.command.js","node":"./dist/node/control-plane/commands/controlPlaneExecutionApprove.command.js","default":"./dist/control-plane/commands/controlPlaneExecutionApprove.command.js"},"./control-plane/commands/controlPlaneExecutionReject.command":{"types":"./dist/control-plane/commands/controlPlaneExecutionReject.command.d.ts","browser":"./dist/browser/control-plane/commands/controlPlaneExecutionReject.command.js","bun":"./dist/control-plane/commands/controlPlaneExecutionReject.command.js","node":"./dist/node/control-plane/commands/controlPlaneExecutionReject.command.js","default":"./dist/control-plane/commands/controlPlaneExecutionReject.command.js"},"./control-plane/queries/controlPlaneTraceGet.query":{"types":"./dist/control-plane/queries/controlPlaneTraceGet.query.d.ts","browser":"./dist/browser/control-plane/queries/controlPlaneTraceGet.query.js","bun":"./dist/control-plane/queries/controlPlaneTraceGet.query.js","node":"./dist/node/control-plane/queries/controlPlaneTraceGet.query.js","default":"./dist/control-plane/queries/controlPlaneTraceGet.query.js"},"./product-intent/contract-patch-intent":{"types":"./dist/product-intent/contract-patch-intent.d.ts","browser":"./dist/browser/product-intent/contract-patch-intent.js","bun":"./dist/product-intent/contract-patch-intent.js","node":"./dist/node/product-intent/contract-patch-intent.js","default":"./dist/product-intent/contract-patch-intent.js"},"./product-intent/contract-spec-patch":{"types":"./dist/product-intent/contract-spec-patch.d.ts","browser":"./dist/browser/product-intent/contract-spec-patch.js","bun":"./dist/product-intent/contract-spec-patch.js","node":"./dist/node/product-intent/contract-spec-patch.js","default":"./dist/product-intent/contract-spec-patch.js"},"./product-intent/evidence":{"types":"./dist/product-intent/evidence.d.ts","browser":"./dist/browser/product-intent/evidence.js","bun":"./dist/product-intent/evidence.js","node":"./dist/node/product-intent/evidence.js","default":"./dist/product-intent/evidence.js"},"./product-intent/findings":{"types":"./dist/product-intent/findings.d.ts","browser":"./dist/browser/product-intent/findings.js","bun":"./dist/product-intent/findings.js","node":"./dist/node/product-intent/findings.js","default":"./dist/product-intent/findings.js"},"./product-intent/impact-report":{"types":"./dist/product-intent/impact-report.d.ts","browser":"./dist/browser/product-intent/impact-report.js","bun":"./dist/product-intent/impact-report.js","node":"./dist/node/product-intent/impact-report.js","default":"./dist/product-intent/impact-report.js"},"./product-intent":{"types":"./dist/product-intent/index.d.ts","browser":"./dist/browser/product-intent/index.js","bun":"./dist/product-intent/index.js","node":"./dist/node/product-intent/index.js","default":"./dist/product-intent/index.js"},"./product-intent/insights":{"types":"./dist/product-intent/insights.d.ts","browser":"./dist/browser/product-intent/insights.js","bun":"./dist/product-intent/insights.js","node":"./dist/node/product-intent/insights.js","default":"./dist/product-intent/insights.js"},"./product-intent/opportunity-brief":{"types":"./dist/product-intent/opportunity-brief.d.ts","browser":"./dist/browser/product-intent/opportunity-brief.js","bun":"./dist/product-intent/opportunity-brief.js","node":"./dist/node/product-intent/opportunity-brief.js","default":"./dist/product-intent/opportunity-brief.js"},"./product-intent/problems":{"types":"./dist/product-intent/problems.d.ts","browser":"./dist/browser/product-intent/problems.js","bun":"./dist/product-intent/problems.js","node":"./dist/node/product-intent/problems.js","default":"./dist/product-intent/problems.js"},"./product-intent/registry":{"types":"./dist/product-intent/registry.d.ts","browser":"./dist/browser/product-intent/registry.js","bun":"./dist/product-intent/registry.js","node":"./dist/node/product-intent/registry.js","default":"./dist/product-intent/registry.js"},"./product-intent/runtime":{"types":"./dist/product-intent/runtime.d.ts","browser":"./dist/browser/product-intent/runtime.js","bun":"./dist/product-intent/runtime.js","node":"./dist/node/product-intent/runtime.js","default":"./dist/product-intent/runtime.js"},"./product-intent/spec":{"types":"./dist/product-intent/spec.d.ts","browser":"./dist/browser/product-intent/spec.js","bun":"./dist/product-intent/spec.js","node":"./dist/node/product-intent/spec.js","default":"./dist/product-intent/spec.js"},"./product-intent/task-pack":{"types":"./dist/product-intent/task-pack.d.ts","browser":"./dist/browser/product-intent/task-pack.js","bun":"./dist/product-intent/task-pack.js","node":"./dist/node/product-intent/task-pack.js","default":"./dist/product-intent/task-pack.js"},"./product-intent/tickets":{"types":"./dist/product-intent/tickets.d.ts","browser":"./dist/browser/product-intent/tickets.js","bun":"./dist/product-intent/tickets.js","node":"./dist/node/product-intent/tickets.js","default":"./dist/product-intent/tickets.js"},"./product-intent/types":{"types":"./dist/product-intent/types.d.ts","browser":"./dist/browser/product-intent/types.js","bun":"./dist/product-intent/types.js","node":"./dist/node/product-intent/types.js","default":"./dist/product-intent/types.js"},"./product-intent/ui-wireframe":{"types":"./dist/product-intent/ui-wireframe.d.ts","browser":"./dist/browser/product-intent/ui-wireframe.js","bun":"./dist/product-intent/ui-wireframe.js","node":"./dist/node/product-intent/ui-wireframe.js","default":"./dist/product-intent/ui-wireframe.js"},"./control-plane/policies/controlPlaneMessaging.policy":{"types":"./dist/control-plane/policies/controlPlaneMessaging.policy.d.ts","browser":"./dist/browser/control-plane/policies/controlPlaneMessaging.policy.js","bun":"./dist/control-plane/policies/controlPlaneMessaging.policy.js","node":"./dist/node/control-plane/policies/controlPlaneMessaging.policy.js","default":"./dist/control-plane/policies/controlPlaneMessaging.policy.js"}},"types":"./dist/index.d.ts","files":["dist","README.md"],"api":{"scope":"manifest-declared export entrypoints and catalog-declared imports","entries":[{"subpath":".","importPath":"@lssm-tech/lib.builder-spec","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"packages/domains/builder/spec/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./capabilities","importPath":"@lssm-tech/lib.builder-spec/capabilities","target":"./src/capabilities/index.ts","targets":[{"conditions":[],"target":"./src/capabilities/index.ts","sourcePath":"packages/domains/builder/spec/src/capabilities/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/capabilities/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./commands","importPath":"@lssm-tech/lib.builder-spec/commands","target":"./src/commands/index.ts","targets":[{"conditions":[],"target":"./src/commands/index.ts","sourcePath":"packages/domains/builder/spec/src/commands/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/commands/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./events","importPath":"@lssm-tech/lib.builder-spec/events","target":"./src/events/index.ts","targets":[{"conditions":[],"target":"./src/events/index.ts","sourcePath":"packages/domains/builder/spec/src/events/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/events/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./queries","importPath":"@lssm-tech/lib.builder-spec/queries","target":"./src/queries/index.ts","targets":[{"conditions":[],"target":"./src/queries/index.ts","sourcePath":"packages/domains/builder/spec/src/queries/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/queries/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./types","importPath":"@lssm-tech/lib.builder-spec/types","target":"./src/types/index.ts","targets":[{"conditions":[],"target":"./src/types/index.ts","sourcePath":"packages/domains/builder/spec/src/types/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/types/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./validation","importPath":"@lssm-tech/lib.builder-spec/validation","target":"./src/validation/index.ts","targets":[{"conditions":[],"target":"./src/validation/index.ts","sourcePath":"packages/domains/builder/spec/src/validation/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/validation/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./control-plane/constants","importPath":"@lssm-tech/lib.builder-spec/control-plane/constants","target":"./src/control-plane/constants.ts","targets":[{"conditions":[],"target":"./src/control-plane/constants.ts","sourcePath":"packages/domains/builder/spec/src/control-plane/constants.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/control-plane/constants.ts","sourceStatus":"verified source file"}]},{"subpath":"./control-plane/commands/controlPlaneExecutionApprove.command","importPath":"@lssm-tech/lib.builder-spec/control-plane/commands/controlPlaneExecutionApprove.command","target":"./src/control-plane/commands/controlPlaneExecutionApprove.command.ts","targets":[{"conditions":[],"target":"./src/control-plane/commands/controlPlaneExecutionApprove.command.ts","sourcePath":"packages/domains/builder/spec/src/control-plane/commands/controlPlaneExecutionApprove.command.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/control-plane/commands/controlPlaneExecutionApprove.command.ts","sourceStatus":"verified source file"}]},{"subpath":"./control-plane/commands/controlPlaneExecutionReject.command","importPath":"@lssm-tech/lib.builder-spec/control-plane/commands/controlPlaneExecutionReject.command","target":"./src/control-plane/commands/controlPlaneExecutionReject.command.ts","targets":[{"conditions":[],"target":"./src/control-plane/commands/controlPlaneExecutionReject.command.ts","sourcePath":"packages/domains/builder/spec/src/control-plane/commands/controlPlaneExecutionReject.command.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/control-plane/commands/controlPlaneExecutionReject.command.ts","sourceStatus":"verified source file"}]},{"subpath":"./control-plane/queries/controlPlaneTraceGet.query","importPath":"@lssm-tech/lib.builder-spec/control-plane/queries/controlPlaneTraceGet.query","target":"./src/control-plane/queries/controlPlaneTraceGet.query.ts","targets":[{"conditions":[],"target":"./src/control-plane/queries/controlPlaneTraceGet.query.ts","sourcePath":"packages/domains/builder/spec/src/control-plane/queries/controlPlaneTraceGet.query.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/control-plane/queries/controlPlaneTraceGet.query.ts","sourceStatus":"verified source file"}]},{"subpath":"./product-intent/contract-patch-intent","importPath":"@lssm-tech/lib.builder-spec/product-intent/contract-patch-intent","target":"./src/product-intent/contract-patch-intent.ts","targets":[{"conditions":[],"target":"./src/product-intent/contract-patch-intent.ts","sourcePath":"packages/domains/builder/spec/src/product-intent/contract-patch-intent.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/product-intent/contract-patch-intent.ts","sourceStatus":"verified source file"}]},{"subpath":"./product-intent/contract-spec-patch","importPath":"@lssm-tech/lib.builder-spec/product-intent/contract-spec-patch","target":"./src/product-intent/contract-spec-patch.ts","targets":[{"conditions":[],"target":"./src/product-intent/contract-spec-patch.ts","sourcePath":"packages/domains/builder/spec/src/product-intent/contract-spec-patch.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/product-intent/contract-spec-patch.ts","sourceStatus":"verified source file"}]},{"subpath":"./product-intent/evidence","importPath":"@lssm-tech/lib.builder-spec/product-intent/evidence","target":"./src/product-intent/evidence.ts","targets":[{"conditions":[],"target":"./src/product-intent/evidence.ts","sourcePath":"packages/domains/builder/spec/src/product-intent/evidence.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/product-intent/evidence.ts","sourceStatus":"verified source file"}]},{"subpath":"./product-intent/findings","importPath":"@lssm-tech/lib.builder-spec/product-intent/findings","target":"./src/product-intent/findings.ts","targets":[{"conditions":[],"target":"./src/product-intent/findings.ts","sourcePath":"packages/domains/builder/spec/src/product-intent/findings.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/product-intent/findings.ts","sourceStatus":"verified source file"}]},{"subpath":"./product-intent/impact-report","importPath":"@lssm-tech/lib.builder-spec/product-intent/impact-report","target":"./src/product-intent/impact-report.ts","targets":[{"conditions":[],"target":"./src/product-intent/impact-report.ts","sourcePath":"packages/domains/builder/spec/src/product-intent/impact-report.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/product-intent/impact-report.ts","sourceStatus":"verified source file"}]},{"subpath":"./product-intent","importPath":"@lssm-tech/lib.builder-spec/product-intent","target":"./src/product-intent/index.ts","targets":[{"conditions":[],"target":"./src/product-intent/index.ts","sourcePath":"packages/domains/builder/spec/src/product-intent/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/product-intent/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./product-intent/insights","importPath":"@lssm-tech/lib.builder-spec/product-intent/insights","target":"./src/product-intent/insights.ts","targets":[{"conditions":[],"target":"./src/product-intent/insights.ts","sourcePath":"packages/domains/builder/spec/src/product-intent/insights.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/product-intent/insights.ts","sourceStatus":"verified source file"}]},{"subpath":"./product-intent/opportunity-brief","importPath":"@lssm-tech/lib.builder-spec/product-intent/opportunity-brief","target":"./src/product-intent/opportunity-brief.ts","targets":[{"conditions":[],"target":"./src/product-intent/opportunity-brief.ts","sourcePath":"packages/domains/builder/spec/src/product-intent/opportunity-brief.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/product-intent/opportunity-brief.ts","sourceStatus":"verified source file"}]},{"subpath":"./product-intent/problems","importPath":"@lssm-tech/lib.builder-spec/product-intent/problems","target":"./src/product-intent/problems.ts","targets":[{"conditions":[],"target":"./src/product-intent/problems.ts","sourcePath":"packages/domains/builder/spec/src/product-intent/problems.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/product-intent/problems.ts","sourceStatus":"verified source file"}]},{"subpath":"./product-intent/registry","importPath":"@lssm-tech/lib.builder-spec/product-intent/registry","target":"./src/product-intent/registry.ts","targets":[{"conditions":[],"target":"./src/product-intent/registry.ts","sourcePath":"packages/domains/builder/spec/src/product-intent/registry.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/product-intent/registry.ts","sourceStatus":"verified source file"}]},{"subpath":"./product-intent/runtime","importPath":"@lssm-tech/lib.builder-spec/product-intent/runtime","target":"./src/product-intent/runtime.ts","targets":[{"conditions":[],"target":"./src/product-intent/runtime.ts","sourcePath":"packages/domains/builder/spec/src/product-intent/runtime.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/product-intent/runtime.ts","sourceStatus":"verified source file"}]},{"subpath":"./product-intent/spec","importPath":"@lssm-tech/lib.builder-spec/product-intent/spec","target":"./src/product-intent/spec.ts","targets":[{"conditions":[],"target":"./src/product-intent/spec.ts","sourcePath":"packages/domains/builder/spec/src/product-intent/spec.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/product-intent/spec.ts","sourceStatus":"verified source file"}]},{"subpath":"./product-intent/task-pack","importPath":"@lssm-tech/lib.builder-spec/product-intent/task-pack","target":"./src/product-intent/task-pack.ts","targets":[{"conditions":[],"target":"./src/product-intent/task-pack.ts","sourcePath":"packages/domains/builder/spec/src/product-intent/task-pack.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/product-intent/task-pack.ts","sourceStatus":"verified source file"}]},{"subpath":"./product-intent/tickets","importPath":"@lssm-tech/lib.builder-spec/product-intent/tickets","target":"./src/product-intent/tickets.ts","targets":[{"conditions":[],"target":"./src/product-intent/tickets.ts","sourcePath":"packages/domains/builder/spec/src/product-intent/tickets.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/product-intent/tickets.ts","sourceStatus":"verified source file"}]},{"subpath":"./product-intent/types","importPath":"@lssm-tech/lib.builder-spec/product-intent/types","target":"./src/product-intent/types.ts","targets":[{"conditions":[],"target":"./src/product-intent/types.ts","sourcePath":"packages/domains/builder/spec/src/product-intent/types.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/product-intent/types.ts","sourceStatus":"verified source file"}]},{"subpath":"./product-intent/ui-wireframe","importPath":"@lssm-tech/lib.builder-spec/product-intent/ui-wireframe","target":"./src/product-intent/ui-wireframe.ts","targets":[{"conditions":[],"target":"./src/product-intent/ui-wireframe.ts","sourcePath":"packages/domains/builder/spec/src/product-intent/ui-wireframe.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/product-intent/ui-wireframe.ts","sourceStatus":"verified source file"}]},{"subpath":"./control-plane/policies/controlPlaneMessaging.policy","importPath":"@lssm-tech/lib.builder-spec/control-plane/policies/controlPlaneMessaging.policy","target":"./src/control-plane/policies/controlPlaneMessaging.policy.ts","targets":[{"conditions":[],"target":"./src/control-plane/policies/controlPlaneMessaging.policy.ts","sourcePath":"packages/domains/builder/spec/src/control-plane/policies/controlPlaneMessaging.policy.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/src/control-plane/policies/controlPlaneMessaging.policy.ts","sourceStatus":"verified source file"}]}],"entryCount":28,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"Lib Builder Spec documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Flib.builder-spec","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/lib.builder-spec.txt"},"readme":{"status":"available","body":"# @lssm-tech/lib.builder-spec\n\nBuilder's lane keys, execution plan packs and evidence bundle references use\nthe pure `@lssm-tech/lib.orchestration-spec/execution-lanes` declaration owner.\nThese remain the canonical types forwarded by execution-lanes; Builder does\nnot depend on the execution runtime to describe plans or evidence.\n\nWebsite: https://contractspec.io\n\nTyped Builder control-plane contracts, capabilities, operations, events, and validation for governed omnichannel authoring.\n\n## What It Provides\n\n`BuilderWorkspace.authorityScope` optionally records the host-verified organization,\nteam and workspace at creation. Legacy records omit it. The scope is evidence for\nhost access checks, not an execution grant or a replacement for current authority.\n\n- Builder workspace, conversation, source, directive, blueprint, plan, preview, readiness, and export types.\n- Specs-pack import, analysis, readiness, implementation-plan, task-ledger, Connect decision, apply receipt, trace, progress, alignment, verifier decision, replay, and customer-delivery-loop types for external product-intent packs.\n- RoleMorph preview, surface-inspection, policy-diff, policy-variant, missing-binding repair, Workbench packet, preference snapshot/store-port, authorization summary, replay bundle, and assurance/audit evidence types for adaptive operating surfaces.\n- Full Builder command/query/event surface aligned with the Builder layer spec pack.\n- Capability specs for chat, voice, ingestion, fusion, planning, preview, harness, and export workflows.\n- Validation helpers for runtime and host layers, including fail-closed delivery-loop evidence checks.\n- Provider-neutral platform intent, planning-port, reviewed handoff, task-ledger, and separate software/operational/production readiness contracts.\n\n## Public Entry Points\n\n- `.` resolves through `./src/index.ts`\n- `./capabilities` resolves through `./src/capabilities/index.ts`\n- `./commands` resolves through `./src/commands/index.ts`\n- `./events` resolves through `./src/events/index.ts`\n- `./queries` resolves through `./src/queries/index.ts`\n- `./types` resolves through `./src/types/index.ts`\n- `./validation` resolves through `./src/validation/index.ts`\n\n## Notes\n\n- This package is a compatibility surface. Additive evolution is preferred.\n- Connect authority, decision and plan references (`ConnectAuthorityScopeV1`, `ConnectDecisionRefV1` and the packet/plan refs) come from the Core vocabulary at `@lssm-tech/lib.contracts-spec-core/connect-references`. The spec references Connect decisions but never depends on the Connect runtime, which re-exports the same types.\n- Provider routing, runtime-mode and risk vocabulary comes from `@lssm-tech/lib.provider-spec`, a qualified pure platform spec.\n- Builder orchestration reuses execution-lane identifiers and harness evidence references instead of introducing a second runtime taxonomy.\n- Generated-app runtime channels are out of scope here; this package models the Builder control plane only.\n\n\n## Builder v2 control-plane records\n\n`@lssm-tech/lib.builder-spec` publicly exports the Builder v2 control-plane alignment records from both the root entry point and `./types`:\n\n- `BuilderIntentDecisionRecord` captures IntentGate ambiguity classification, selected execution lane, escalation decision, and evidence refs before Builder execution proceeds.\n- `BuilderToolCapabilityManifest` captures scoped tool availability, supported operations, runtime modes, degraded/blocker state, and evidence refs without depending on a concrete MCP/runtime implementation.\n- `BuilderToolActivationReceipt` records why a scoped tool was activated, the permissions actually used, produced evidence, and optional Connect review packet refs.\n- `BuilderTaskLedgerEntry` maps Builder-visible task state to leased/running/blocked/completed/stale ledger entries with heartbeat, recovery-rule, and evidence refs.\n\n`BUILDER_V2_CONTROL_PLANE_ARTIFACT_KEYS` lists the canonical artifact keys for these records.\n\n## Contract Intelligence types\n\nBuilder-spec now includes additive Contract Intelligence types for contractization reports, portable bundle manifests, selective import decisions, and thin portfolio envelopes. These types are dry-run/advisory surfaces and preserve graph/repo-reality/adoption/replay refs instead of defining a second graph.\n\n## Contract Intelligence contracts\n\n`@lssm-tech/lib.builder-spec` now includes additive Contract Intelligence types for contractization reports, portable bundle manifests, import reconciliation, selective dry-run adoption, portfolio envelopes, vertical patch notes, and recurrent radar reports. These contracts are additive and dry-run oriented.\n\n## Builder Intelligence contracts\n\n`@lssm-tech/lib.builder-spec` now includes additive Builder Intelligence contracts for index manifests, chunks, context packets, durable memory items, trajectories, ReasoningBank-style patterns, SONA-lite routing policies, and stale-memory reports. These contracts are dry-run first: graph refs, source hashes, provenance, `path-only` redaction, review status, and rollback metadata stay authoritative while embeddings, stores, and adaptive routing remain optional later layers.\n\n## RoleMorph preview contracts\n\n`@lssm-tech/lib.builder-spec` includes additive RoleMorph Builder contracts for serializable role selectors, policy variants, surface summaries, inspection packets, surface diffs, safe missing-binding repair suggestions, Workbench panel packets, preference snapshots/store ports, authorization summaries, replay bundles, and branded assurance/audit evidence requirements. These contracts describe Builder preview, inspection, replay, and evidence surfaces; rendering, durable storage, provider calls, and production authorization remain in host/runtime layers.\n\n## Builder customer-delivery-loop contracts\n\n`@lssm-tech/lib.builder-spec` includes additive interface-first delivery-loop contracts for quote/order/acceptance/account/source refs from BillingOS, customer commitment/work/authority/policy-gate refs from CompanyOS, scoped PRD/test-spec/specs-pack artifacts, implementation plans, task ledgers, Connect/replay refs, acceptance evidence, release capsules, and customer-handoff refs. Validators keep commercial amount-like data in BillingOS refs and block execution-approved, verified, or handed-off states until required evidence exists.\n\nThese contracts are evidence/ref aggregates only: provider execution, durable storage, repository writes, app shells, and customer sends remain in host/runtime layers.\n\n## Builder platform integration contracts\n\n`BuilderBlueprint` can carry additive goal, operational, workload, restriction, provider-policy,\nlogical-architecture, economic, observability, flag/experiment, evolution, provenance, conflict,\nand locked-field intent. `BuilderPlatformPlanningPort` is deliberately read-only: it validates,\ncompares architectures and solo/monorepo topology, obtains cost estimate status/ranges/freshness,\npreviews plans, and reports unsatisfiable intent. It has no credential or apply methods.\n\nNeutral intent becomes a `PlatformHandoffPacket` only after a Connect-bound review. Packets contain\nmetadata-only references and a contract-first ledger across contracts, code, infrastructure,\ntelemetry, cost, flags, and migrations. Apply authority remains with a Connect-authorized runtime.\n\nThe compatibility and authority-boundary record is captured in\n[`docs/platform-integration-connect-evidence.md`](docs/platform-integration-connect-evidence.md).\n\n`PlatformHandoffPacket.digest` is Builder's canonical payload SHA-256 hex,\nexcluding the derived `id` and `digest` fields. Consumers should use Builder's\ncanonical hashing implementation instead of another domain's digest convention.\nThe digest proves content identity; execution still requires Connect authority.\n\nManaged readiness requires a registered, unblocked, export-capable managed\nruntime target and an active non-offline provider. Catalog capability alone\nis insufficient. Rerun readiness after upgrading to refresh persisted reports;\nthis availability check does not replace execution authority or live qualification.\n\nBuilder company context is available through the host-owned\n`builder.companyContext.resolve` query and POST\n`/api/companyos/builder/context/resolve`. It accepts an owned workspace ID and\na nonempty question up to 4096 UTF-8 bytes. Missing grounding configuration\nreturns 503. The web BFF preserves authentication and response status; the\nclient treats this as a query, never a saved mutation, and does not auto-retry.\nContext grants no execution authority. Provider configuration, a visible\nmember control and live qualification remain required before advertising it.\n\n## Hosted preview evidence\n\nBlueprint-only previews remain `pending` and have no fabricated hosted URL.\n`BuilderPreview` records source/artifact identity and a canonical deployment\nreceipt reference only after host observation qualifies the target and health.\nThe runtime's optional `previewHost` reads host-owned deployment state; request\npayloads cannot supply evidence. Ready requires the exact workspace, blueprint\nversion, source revision, target and artifact set, a digest-valid successful\ndelivery receipt with health evidence, and a recent HTTPS URL observation on an\nallowed origin. Refresh invalidates previous readiness before observation and\nrejects blueprint changes during IO. Observation is bounded to twenty seconds.\n\nThis bridge does not grant deployment authority. Concrete provider provisioning,\nlive observation adapters and their production qualification remain required.\n\nSnapshot and preview reads also revalidate stored canonical receipt material and\nblueprint version. Legacy ready records, missing receipts, changed blueprints,\ntampered digests and stale observations project as pending with no hosted URL;\nthis does not rewrite stored records or require a blanket data migration.\n\n## Candidate request and status contracts\n\n`BuilderCandidateState` and `BuilderCandidateStateSchema` describe review,\napproval, queue, execution and evidence states without granting authority.\nQueued/running states require a canonical operation reference; success also\nrequires receipt and artifact references. Existing plan operations retain their\ncapabilities, while the runtime requires host-verified actor scope and the exact\nreviewed plan/blueprint digest before delegating to an authority-backed service.\n\nThe explicit `./control-plane/constants`, execution approval/rejection command\nand trace-query leaves own the existing declarative ControlPlane operations used\nby Company projections. Historical ContractSpec imports retain identical schema\nand operation objects, keys, wire shapes and admin policy. Declarations grant no\napproval or execution authority; trusted runtime policy enforcement is unchanged.\n\n## Product-intent contracts\n\n`@lssm-tech/lib.builder-spec/product-intent` and `./product-intent/<leaf>` own the\nproduct-intent schemas (evidence, insights, findings, tickets, patch intents,\nimpact reports, task packs, wireframes), `ProductIntentSpec`,\n`ProductIntentRegistry` and the port-driven `ProductIntentRuntime`. Legacy\n`@lssm-tech/lib.contracts-spec/product-intent` imports forward to the same\ninstances.\n\nThe `control-plane/policies/controlPlaneMessaging.policy` entry owns the existing\nversion 2.0.0 messaging safety policy. Its blocked, assisted and autonomous rules\nare unchanged; contracts-spec forwards the same policy object.\n","sourcePath":"packages/domains/builder/spec/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/domains/builder/spec/README.md","blobSha":"18b6b99ba09ff99cde8a98eb8e9da4881dbbdedf","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":"delivery-and-infrastructure","areaTitle":"Delivery, infrastructure and runtime operations","displayName":"lib.builder-spec","runtimes":["node"],"platforms":["server"],"kind":"library","scope":"Package manifest","canonicalRoute":"/docs/packages/lib.builder-spec/","contextUrl":"/docs/packages/lib.builder-spec.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}