{"id":"@lssm-tech/lib.contractspec-connect","slug":"lib.contractspec-connect","name":"@lssm-tech/lib.contractspec-connect","version":"0.1.5","path":"packages/platform/governance/contractspec-connect","manifestPath":"packages/platform/governance/contractspec-connect/package.json","manifestBlobSha":"efd6b61734cdf8577964d7d8957dd82fc6645140","layer":"platform","physicalArea":"governance","primaryArea":"governance-and-approvals","classification":{"privateDeclared":null,"catalogFamily":"runtime","catalogKind":"library","catalogStatus":"active","adoptionMode":"adoptable","stability":"experimental"},"description":"Provider-neutral packet authority and durable decision receipts for ContractSpec Connect.","descriptionOrigin":"package.json","catalog":{"family":"runtime","kind":"library","status":"active","adoptionMode":"adoptable","stability":"experimental","platforms":["web","server"],"runtimes":["browser","bun","node"],"entrypoints":[".","./authority","./canonical","./contracts","./feature","./lifecycle-authority","./ports","./schemas","./operations/registry.governance","./operations/registry.review"],"documentation":[{"title":"ContractSpec Connect runtime","url":"https://www.npmjs.com/package/%40lssm-tech%2Flib.contractspec-connect","kind":"readme"}],"examples":[],"replacements":[],"capabilities":[{"id":"connect.packet-authority","title":"ContractSpec Connect packet authority","description":"Issue and verify digest-bound context, plan, mutation, diff, and promotion decisions.","status":"active","useCases":["Gate Builder mutations and delivery promotions through durable packet-level authority"],"aliases":["connect","authorization","promotion permit"],"pythonEquivalents":[],"canonicalImports":[{"from":"@lssm-tech/lib.contractspec-connect","symbols":["createConnectPacketAuthority"]}],"constraints":{"platforms":["web","server"],"runtimes":["browser","bun","node"],"avoidWhen":["The host cannot provide durable receipt storage for production authority."],"requires":["TypeScript"]},"alternatives":[],"relationships":[],"resolutionPriority":90}]},"canonicalImports":[{"capabilityId":"connect.packet-authority","from":"@lssm-tech/lib.contractspec-connect","symbols":["createConnectPacketAuthority"]}],"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","clean":"rimraf dist .turbo","dev":"contractspec-bun-build dev","lint":"bun run lint:fix","lint:fix":"node ../../../../scripts/biome.cjs check --write .","lint:check":"node ../../../../scripts/biome.cjs check .","prebuild":"contractspec-bun-build prebuild","test":"bun test","typecheck":"tsgo --noEmit"},"scriptStatus":"complete pinned manifest","dependencies":{"@lssm-tech/lib.contracts-spec-core":"workspace:^","@lssm-tech/lib.crypto-utils":"workspace:^","@lssm-tech/lib.lssm-os-runtime":"workspace:^","zod":"catalog:","@lssm-tech/lib.schema":"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","./authority":"./src/authority.ts","./canonical":"./src/canonical.ts","./contracts":"./src/contracts.ts","./feature":"./src/feature.ts","./lifecycle-authority":"./src/lifecycle-authority/index.ts","./ports":"./src/ports.ts","./runtime-v3":"./src/runtime-v3.ts","./schemas":"./src/schemas.ts","./operations/governance/constraint.add.command":"./src/operations/governance/constraint.add.command.ts","./operations/governance/constraint.remove.command":"./src/operations/governance/constraint.remove.command.ts","./operations/governance/notification.dispatch.command":"./src/operations/governance/notification.dispatch.command.ts","./operations/governance/policy.get.query":"./src/operations/governance/policy.get.query.ts","./operations/governance/policy.health.query":"./src/operations/governance/policy.health.query.ts","./operations/governance/policy.list.query":"./src/operations/governance/policy.list.query.ts","./operations/governance/policy.simulate.query":"./src/operations/governance/policy.simulate.query.ts","./operations/governance/policy.update.command":"./src/operations/governance/policy.update.command.ts","./operations/governance/shared-schemas":"./src/operations/governance/shared-schemas.ts","./operations/review/commands/index":"./src/operations/review/commands/index.ts","./operations/review/commands/reviewApprove.command":"./src/operations/review/commands/reviewApprove.command.ts","./operations/review/commands/reviewAssign.command":"./src/operations/review/commands/reviewAssign.command.ts","./operations/review/commands/reviewComment.command":"./src/operations/review/commands/reviewComment.command.ts","./operations/review/commands/reviewEscalate.command":"./src/operations/review/commands/reviewEscalate.command.ts","./operations/review/commands/reviewReject.command":"./src/operations/review/commands/reviewReject.command.ts","./operations/review/commands/reviewRequestChanges.command":"./src/operations/review/commands/reviewRequestChanges.command.ts","./operations/review/constants":"./src/operations/review/constants.ts","./operations/review/index":"./src/operations/review/index.ts","./operations/review/queries/index":"./src/operations/review/queries/index.ts","./operations/review/queries/reviewGet.query":"./src/operations/review/queries/reviewGet.query.ts","./operations/review/queries/reviewList.query":"./src/operations/review/queries/reviewList.query.ts","./operations/review/queries/reviewQueueHealth.query":"./src/operations/review/queries/reviewQueueHealth.query.ts","./operations/review/shared-schemas":"./src/operations/review/shared-schemas.ts","./operations/registry.governance":"./src/operations/registry.governance.ts","./operations/registry.review":"./src/operations/registry.review.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"},"./authority":{"types":"./dist/authority.d.ts","browser":"./dist/browser/authority.js","bun":"./dist/authority.js","node":"./dist/node/authority.js","default":"./dist/authority.js"},"./canonical":{"types":"./dist/canonical.d.ts","browser":"./dist/browser/canonical.js","bun":"./dist/canonical.js","node":"./dist/node/canonical.js","default":"./dist/canonical.js"},"./contracts":{"types":"./dist/contracts.d.ts","browser":"./dist/browser/contracts.js","bun":"./dist/contracts.js","node":"./dist/node/contracts.js","default":"./dist/contracts.js"},"./feature":{"types":"./dist/feature.d.ts","browser":"./dist/browser/feature.js","bun":"./dist/feature.js","node":"./dist/node/feature.js","default":"./dist/feature.js"},"./lifecycle-authority":{"types":"./dist/lifecycle-authority/index.d.ts","browser":"./dist/browser/lifecycle-authority/index.js","bun":"./dist/lifecycle-authority/index.js","node":"./dist/node/lifecycle-authority/index.js","default":"./dist/lifecycle-authority/index.js"},"./ports":{"types":"./dist/ports.d.ts","browser":"./dist/browser/ports.js","bun":"./dist/ports.js","node":"./dist/node/ports.js","default":"./dist/ports.js"},"./runtime-v3":{"types":"./dist/runtime-v3.d.ts","browser":"./dist/browser/runtime-v3.js","bun":"./dist/runtime-v3.js","node":"./dist/node/runtime-v3.js","default":"./dist/runtime-v3.js"},"./schemas":{"types":"./dist/schemas.d.ts","browser":"./dist/browser/schemas.js","bun":"./dist/schemas.js","node":"./dist/node/schemas.js","default":"./dist/schemas.js"},"./operations/governance/constraint.add.command":{"types":"./dist/operations/governance/constraint.add.command.d.ts","bun":"./dist/operations/governance/constraint.add.command.js","node":"./dist/node/operations/governance/constraint.add.command.js","default":"./dist/operations/governance/constraint.add.command.js"},"./operations/governance/constraint.remove.command":{"types":"./dist/operations/governance/constraint.remove.command.d.ts","bun":"./dist/operations/governance/constraint.remove.command.js","node":"./dist/node/operations/governance/constraint.remove.command.js","default":"./dist/operations/governance/constraint.remove.command.js"},"./operations/governance/notification.dispatch.command":{"types":"./dist/operations/governance/notification.dispatch.command.d.ts","bun":"./dist/operations/governance/notification.dispatch.command.js","node":"./dist/node/operations/governance/notification.dispatch.command.js","default":"./dist/operations/governance/notification.dispatch.command.js"},"./operations/governance/policy.get.query":{"types":"./dist/operations/governance/policy.get.query.d.ts","bun":"./dist/operations/governance/policy.get.query.js","node":"./dist/node/operations/governance/policy.get.query.js","default":"./dist/operations/governance/policy.get.query.js"},"./operations/governance/policy.health.query":{"types":"./dist/operations/governance/policy.health.query.d.ts","bun":"./dist/operations/governance/policy.health.query.js","node":"./dist/node/operations/governance/policy.health.query.js","default":"./dist/operations/governance/policy.health.query.js"},"./operations/governance/policy.list.query":{"types":"./dist/operations/governance/policy.list.query.d.ts","bun":"./dist/operations/governance/policy.list.query.js","node":"./dist/node/operations/governance/policy.list.query.js","default":"./dist/operations/governance/policy.list.query.js"},"./operations/governance/policy.simulate.query":{"types":"./dist/operations/governance/policy.simulate.query.d.ts","bun":"./dist/operations/governance/policy.simulate.query.js","node":"./dist/node/operations/governance/policy.simulate.query.js","default":"./dist/operations/governance/policy.simulate.query.js"},"./operations/governance/policy.update.command":{"types":"./dist/operations/governance/policy.update.command.d.ts","bun":"./dist/operations/governance/policy.update.command.js","node":"./dist/node/operations/governance/policy.update.command.js","default":"./dist/operations/governance/policy.update.command.js"},"./operations/governance/shared-schemas":{"types":"./dist/operations/governance/shared-schemas.d.ts","bun":"./dist/operations/governance/shared-schemas.js","node":"./dist/node/operations/governance/shared-schemas.js","default":"./dist/operations/governance/shared-schemas.js"},"./operations/review/commands/index":{"types":"./dist/operations/review/commands/index.d.ts","bun":"./dist/operations/review/commands/index.js","node":"./dist/node/operations/review/commands/index.js","default":"./dist/operations/review/commands/index.js"},"./operations/review/commands/reviewApprove.command":{"types":"./dist/operations/review/commands/reviewApprove.command.d.ts","bun":"./dist/operations/review/commands/reviewApprove.command.js","node":"./dist/node/operations/review/commands/reviewApprove.command.js","default":"./dist/operations/review/commands/reviewApprove.command.js"},"./operations/review/commands/reviewAssign.command":{"types":"./dist/operations/review/commands/reviewAssign.command.d.ts","bun":"./dist/operations/review/commands/reviewAssign.command.js","node":"./dist/node/operations/review/commands/reviewAssign.command.js","default":"./dist/operations/review/commands/reviewAssign.command.js"},"./operations/review/commands/reviewComment.command":{"types":"./dist/operations/review/commands/reviewComment.command.d.ts","bun":"./dist/operations/review/commands/reviewComment.command.js","node":"./dist/node/operations/review/commands/reviewComment.command.js","default":"./dist/operations/review/commands/reviewComment.command.js"},"./operations/review/commands/reviewEscalate.command":{"types":"./dist/operations/review/commands/reviewEscalate.command.d.ts","bun":"./dist/operations/review/commands/reviewEscalate.command.js","node":"./dist/node/operations/review/commands/reviewEscalate.command.js","default":"./dist/operations/review/commands/reviewEscalate.command.js"},"./operations/review/commands/reviewReject.command":{"types":"./dist/operations/review/commands/reviewReject.command.d.ts","bun":"./dist/operations/review/commands/reviewReject.command.js","node":"./dist/node/operations/review/commands/reviewReject.command.js","default":"./dist/operations/review/commands/reviewReject.command.js"},"./operations/review/commands/reviewRequestChanges.command":{"types":"./dist/operations/review/commands/reviewRequestChanges.command.d.ts","bun":"./dist/operations/review/commands/reviewRequestChanges.command.js","node":"./dist/node/operations/review/commands/reviewRequestChanges.command.js","default":"./dist/operations/review/commands/reviewRequestChanges.command.js"},"./operations/review/constants":{"types":"./dist/operations/review/constants.d.ts","bun":"./dist/operations/review/constants.js","node":"./dist/node/operations/review/constants.js","default":"./dist/operations/review/constants.js"},"./operations/review/index":{"types":"./dist/operations/review/index.d.ts","bun":"./dist/operations/review/index.js","node":"./dist/node/operations/review/index.js","default":"./dist/operations/review/index.js"},"./operations/review/queries/index":{"types":"./dist/operations/review/queries/index.d.ts","bun":"./dist/operations/review/queries/index.js","node":"./dist/node/operations/review/queries/index.js","default":"./dist/operations/review/queries/index.js"},"./operations/review/queries/reviewGet.query":{"types":"./dist/operations/review/queries/reviewGet.query.d.ts","bun":"./dist/operations/review/queries/reviewGet.query.js","node":"./dist/node/operations/review/queries/reviewGet.query.js","default":"./dist/operations/review/queries/reviewGet.query.js"},"./operations/review/queries/reviewList.query":{"types":"./dist/operations/review/queries/reviewList.query.d.ts","bun":"./dist/operations/review/queries/reviewList.query.js","node":"./dist/node/operations/review/queries/reviewList.query.js","default":"./dist/operations/review/queries/reviewList.query.js"},"./operations/review/queries/reviewQueueHealth.query":{"types":"./dist/operations/review/queries/reviewQueueHealth.query.d.ts","bun":"./dist/operations/review/queries/reviewQueueHealth.query.js","node":"./dist/node/operations/review/queries/reviewQueueHealth.query.js","default":"./dist/operations/review/queries/reviewQueueHealth.query.js"},"./operations/review/shared-schemas":{"types":"./dist/operations/review/shared-schemas.d.ts","bun":"./dist/operations/review/shared-schemas.js","node":"./dist/node/operations/review/shared-schemas.js","default":"./dist/operations/review/shared-schemas.js"},"./operations/registry.governance":{"types":"./dist/operations/registry.governance.d.ts","bun":"./dist/operations/registry.governance.js","node":"./dist/node/operations/registry.governance.js","default":"./dist/operations/registry.governance.js"},"./operations/registry.review":{"types":"./dist/operations/registry.review.d.ts","bun":"./dist/operations/registry.review.js","node":"./dist/node/operations/registry.review.js","default":"./dist/operations/registry.review.js"}},"types":"./dist/index.d.ts","files":["dist","!dist/**/*test*","!dist/**/*fixture*","README.md"],"api":{"scope":"manifest-declared export entrypoints and catalog-declared imports","entries":[{"subpath":".","importPath":"@lssm-tech/lib.contractspec-connect","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./authority","importPath":"@lssm-tech/lib.contractspec-connect/authority","target":"./src/authority.ts","targets":[{"conditions":[],"target":"./src/authority.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/authority.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/authority.ts","sourceStatus":"verified source file"}]},{"subpath":"./canonical","importPath":"@lssm-tech/lib.contractspec-connect/canonical","target":"./src/canonical.ts","targets":[{"conditions":[],"target":"./src/canonical.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/canonical.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/canonical.ts","sourceStatus":"verified source file"}]},{"subpath":"./contracts","importPath":"@lssm-tech/lib.contractspec-connect/contracts","target":"./src/contracts.ts","targets":[{"conditions":[],"target":"./src/contracts.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/contracts.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/contracts.ts","sourceStatus":"verified source file"}]},{"subpath":"./feature","importPath":"@lssm-tech/lib.contractspec-connect/feature","target":"./src/feature.ts","targets":[{"conditions":[],"target":"./src/feature.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/feature.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/feature.ts","sourceStatus":"verified source file"}]},{"subpath":"./lifecycle-authority","importPath":"@lssm-tech/lib.contractspec-connect/lifecycle-authority","target":"./src/lifecycle-authority/index.ts","targets":[{"conditions":[],"target":"./src/lifecycle-authority/index.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/lifecycle-authority/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/lifecycle-authority/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./ports","importPath":"@lssm-tech/lib.contractspec-connect/ports","target":"./src/ports.ts","targets":[{"conditions":[],"target":"./src/ports.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/ports.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/ports.ts","sourceStatus":"verified source file"}]},{"subpath":"./runtime-v3","importPath":"@lssm-tech/lib.contractspec-connect/runtime-v3","target":"./src/runtime-v3.ts","targets":[{"conditions":[],"target":"./src/runtime-v3.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/runtime-v3.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/runtime-v3.ts","sourceStatus":"verified source file"}]},{"subpath":"./schemas","importPath":"@lssm-tech/lib.contractspec-connect/schemas","target":"./src/schemas.ts","targets":[{"conditions":[],"target":"./src/schemas.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/schemas.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/schemas.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/governance/constraint.add.command","importPath":"@lssm-tech/lib.contractspec-connect/operations/governance/constraint.add.command","target":"./src/operations/governance/constraint.add.command.ts","targets":[{"conditions":[],"target":"./src/operations/governance/constraint.add.command.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/governance/constraint.add.command.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/governance/constraint.add.command.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/governance/constraint.remove.command","importPath":"@lssm-tech/lib.contractspec-connect/operations/governance/constraint.remove.command","target":"./src/operations/governance/constraint.remove.command.ts","targets":[{"conditions":[],"target":"./src/operations/governance/constraint.remove.command.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/governance/constraint.remove.command.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/governance/constraint.remove.command.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/governance/notification.dispatch.command","importPath":"@lssm-tech/lib.contractspec-connect/operations/governance/notification.dispatch.command","target":"./src/operations/governance/notification.dispatch.command.ts","targets":[{"conditions":[],"target":"./src/operations/governance/notification.dispatch.command.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/governance/notification.dispatch.command.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/governance/notification.dispatch.command.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/governance/policy.get.query","importPath":"@lssm-tech/lib.contractspec-connect/operations/governance/policy.get.query","target":"./src/operations/governance/policy.get.query.ts","targets":[{"conditions":[],"target":"./src/operations/governance/policy.get.query.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/governance/policy.get.query.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/governance/policy.get.query.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/governance/policy.health.query","importPath":"@lssm-tech/lib.contractspec-connect/operations/governance/policy.health.query","target":"./src/operations/governance/policy.health.query.ts","targets":[{"conditions":[],"target":"./src/operations/governance/policy.health.query.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/governance/policy.health.query.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/governance/policy.health.query.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/governance/policy.list.query","importPath":"@lssm-tech/lib.contractspec-connect/operations/governance/policy.list.query","target":"./src/operations/governance/policy.list.query.ts","targets":[{"conditions":[],"target":"./src/operations/governance/policy.list.query.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/governance/policy.list.query.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/governance/policy.list.query.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/governance/policy.simulate.query","importPath":"@lssm-tech/lib.contractspec-connect/operations/governance/policy.simulate.query","target":"./src/operations/governance/policy.simulate.query.ts","targets":[{"conditions":[],"target":"./src/operations/governance/policy.simulate.query.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/governance/policy.simulate.query.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/governance/policy.simulate.query.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/governance/policy.update.command","importPath":"@lssm-tech/lib.contractspec-connect/operations/governance/policy.update.command","target":"./src/operations/governance/policy.update.command.ts","targets":[{"conditions":[],"target":"./src/operations/governance/policy.update.command.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/governance/policy.update.command.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/governance/policy.update.command.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/governance/shared-schemas","importPath":"@lssm-tech/lib.contractspec-connect/operations/governance/shared-schemas","target":"./src/operations/governance/shared-schemas.ts","targets":[{"conditions":[],"target":"./src/operations/governance/shared-schemas.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/governance/shared-schemas.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/governance/shared-schemas.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/review/commands/index","importPath":"@lssm-tech/lib.contractspec-connect/operations/review/commands/index","target":"./src/operations/review/commands/index.ts","targets":[{"conditions":[],"target":"./src/operations/review/commands/index.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/review/commands/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/review/commands/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/review/commands/reviewApprove.command","importPath":"@lssm-tech/lib.contractspec-connect/operations/review/commands/reviewApprove.command","target":"./src/operations/review/commands/reviewApprove.command.ts","targets":[{"conditions":[],"target":"./src/operations/review/commands/reviewApprove.command.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/review/commands/reviewApprove.command.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/review/commands/reviewApprove.command.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/review/commands/reviewAssign.command","importPath":"@lssm-tech/lib.contractspec-connect/operations/review/commands/reviewAssign.command","target":"./src/operations/review/commands/reviewAssign.command.ts","targets":[{"conditions":[],"target":"./src/operations/review/commands/reviewAssign.command.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/review/commands/reviewAssign.command.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/review/commands/reviewAssign.command.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/review/commands/reviewComment.command","importPath":"@lssm-tech/lib.contractspec-connect/operations/review/commands/reviewComment.command","target":"./src/operations/review/commands/reviewComment.command.ts","targets":[{"conditions":[],"target":"./src/operations/review/commands/reviewComment.command.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/review/commands/reviewComment.command.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/review/commands/reviewComment.command.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/review/commands/reviewEscalate.command","importPath":"@lssm-tech/lib.contractspec-connect/operations/review/commands/reviewEscalate.command","target":"./src/operations/review/commands/reviewEscalate.command.ts","targets":[{"conditions":[],"target":"./src/operations/review/commands/reviewEscalate.command.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/review/commands/reviewEscalate.command.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/review/commands/reviewEscalate.command.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/review/commands/reviewReject.command","importPath":"@lssm-tech/lib.contractspec-connect/operations/review/commands/reviewReject.command","target":"./src/operations/review/commands/reviewReject.command.ts","targets":[{"conditions":[],"target":"./src/operations/review/commands/reviewReject.command.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/review/commands/reviewReject.command.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/review/commands/reviewReject.command.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/review/commands/reviewRequestChanges.command","importPath":"@lssm-tech/lib.contractspec-connect/operations/review/commands/reviewRequestChanges.command","target":"./src/operations/review/commands/reviewRequestChanges.command.ts","targets":[{"conditions":[],"target":"./src/operations/review/commands/reviewRequestChanges.command.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/review/commands/reviewRequestChanges.command.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/review/commands/reviewRequestChanges.command.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/review/constants","importPath":"@lssm-tech/lib.contractspec-connect/operations/review/constants","target":"./src/operations/review/constants.ts","targets":[{"conditions":[],"target":"./src/operations/review/constants.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/review/constants.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/review/constants.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/review/index","importPath":"@lssm-tech/lib.contractspec-connect/operations/review/index","target":"./src/operations/review/index.ts","targets":[{"conditions":[],"target":"./src/operations/review/index.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/review/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/review/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/review/queries/index","importPath":"@lssm-tech/lib.contractspec-connect/operations/review/queries/index","target":"./src/operations/review/queries/index.ts","targets":[{"conditions":[],"target":"./src/operations/review/queries/index.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/review/queries/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/review/queries/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/review/queries/reviewGet.query","importPath":"@lssm-tech/lib.contractspec-connect/operations/review/queries/reviewGet.query","target":"./src/operations/review/queries/reviewGet.query.ts","targets":[{"conditions":[],"target":"./src/operations/review/queries/reviewGet.query.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/review/queries/reviewGet.query.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/review/queries/reviewGet.query.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/review/queries/reviewList.query","importPath":"@lssm-tech/lib.contractspec-connect/operations/review/queries/reviewList.query","target":"./src/operations/review/queries/reviewList.query.ts","targets":[{"conditions":[],"target":"./src/operations/review/queries/reviewList.query.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/review/queries/reviewList.query.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/review/queries/reviewList.query.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/review/queries/reviewQueueHealth.query","importPath":"@lssm-tech/lib.contractspec-connect/operations/review/queries/reviewQueueHealth.query","target":"./src/operations/review/queries/reviewQueueHealth.query.ts","targets":[{"conditions":[],"target":"./src/operations/review/queries/reviewQueueHealth.query.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/review/queries/reviewQueueHealth.query.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/review/queries/reviewQueueHealth.query.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/review/shared-schemas","importPath":"@lssm-tech/lib.contractspec-connect/operations/review/shared-schemas","target":"./src/operations/review/shared-schemas.ts","targets":[{"conditions":[],"target":"./src/operations/review/shared-schemas.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/review/shared-schemas.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/review/shared-schemas.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/registry.governance","importPath":"@lssm-tech/lib.contractspec-connect/operations/registry.governance","target":"./src/operations/registry.governance.ts","targets":[{"conditions":[],"target":"./src/operations/registry.governance.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/registry.governance.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/registry.governance.ts","sourceStatus":"verified source file"}]},{"subpath":"./operations/registry.review","importPath":"@lssm-tech/lib.contractspec-connect/operations/registry.review","target":"./src/operations/registry.review.ts","targets":[{"conditions":[],"target":"./src/operations/registry.review.ts","sourcePath":"packages/platform/governance/contractspec-connect/src/operations/registry.review.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/src/operations/registry.review.ts","sourceStatus":"verified source file"}]}],"entryCount":34,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"ContractSpec Connect runtime","url":"https://www.npmjs.com/package/%40lssm-tech%2Flib.contractspec-connect","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/lib.contractspec-connect.txt"},"readme":{"status":"available","body":"# `@lssm-tech/lib.contractspec-connect`\n\nProvider-neutral packet authority for ContractSpec Connect.\n\nThe `./operations/review/*` and `./operations/governance/*` subpaths own the\nexisting review decision, assignment, escalation, policy and constraint\noperation declarations. Their schemas, error contracts, policy references and\napproval requirements are unchanged. These declarations do not issue approval\nor execute policy changes; existing compatibility paths forward to the same\ncanonical objects. The root trust-kernel entry remains unchanged.\n\nThe package exposes digest-bound context, plan, pre-mutation, post-diff, and\npromotion decisions without depending on the workspace bundle or a concrete\nCI, storage, identity, cloud, or analytics provider.\n\nProduction hosts use `durable_required` mode. A permit is usable only when its\nreceipt was appended to the injected durable store and exact read-back matches\nthe issued digest. Durable decisions also require a host-injected Ed25519\nsignature port; private keys never enter semantic requests. Consumers can use\n`checkConnectPermitFromStore` to re-read and verify the signed receipt at the\npoint of use. Missing storage or signing, persistence errors, stale or expired\nreceipts, scope drift, and substituted read-back all fail closed.\n\n```ts\nimport {\n  assertConnectPermit,\n  createConnectDecisionRequest,\n  createConnectPacketAuthority,\n} from \"@lssm-tech/lib.contractspec-connect\";\n\nconst authority = createConnectPacketAuthority({\n  durabilityMode: \"durable_required\",\n  policy,\n  receiptStore,\n  signaturePort,\n  clock,\n  idFactory,\n});\n\nconst request = createConnectDecisionRequest({\n  id: \"connect.request.patch-1\",\n  phase: \"pre_mutation\",\n  scope,\n  actorRef: \"agent:builder\",\n  requestedAt: clock.now(),\n  contextPacketRef,\n  planPacketRef,\n  deliveryPlanRef,\n  qualityPlanRef,\n  target: {\n    action: \"apply_patch\",\n    pathPrefixes: [\"packages/contracts\"],\n  },\n  predecessorDecisionRefs: [],\n});\n\nconst receipt = await authority.decide(request);\nassertConnectPermit(receipt, {\n  phase: \"pre_mutation\",\n  request,\n  now: clock.now(),\n  requireDurable: true,\n});\n```\n\nConnect decides policy. Builder produces candidate code. CI executes approved\nquality plans. Runtime Nodes execute the separately governed work orders issued through the\nV3 bridge below. This package does not merge, release, deploy, or execute\nprovider effects.\n\n## Reference vocabulary\n\nThe Connect reference types (`ConnectSha256Digest`, `ConnectMutationAction`,\n`ConnectPromotionAction`, `ConnectAction`, `ConnectArtifactRefV1`, the decision,\ncontext-packet, plan-packet, delivery-plan and quality-plan refs, and\n`ConnectAuthorityScopeV1`) are owned by Core at\n`@lssm-tech/lib.contracts-spec-core/connect-references`. This package re-exports\nthe same types from `./contracts` and the root, so existing imports keep working.\nSpecs that only reference Connect decisions, such as Builder delivery authority,\nimport the Core vocabulary and do not depend on this runtime.\n\n## Lifecycle authority for host hooks\n\n`@lssm-tech/lib.contractspec-connect/lifecycle-authority` decides how an\noperator's durable hook grant governs host lifecycle hooks and follows the\nagent's own commits. It is pure: hosts supply a read-only git port\n(`ConnectRepositoryLineagePort`) and their governed and operator-only path\nclassification (`ConnectPathClassifierPort`).\n\n- `CONNECT_LIFECYCLE_SEMANTICS`: session start and stop are read-only grant\n  checks, a handoff records a non-terminal checkpoint, no lifecycle hook\n  terminalizes the grant, and merge is a promotion that is never delegated to\n  a local grant.\n- `evaluateConnectGrantLineage`: an `exact` grant applies only at its anchor\n  commit; a `lineage` grant follows HEAD on the same branch through at most\n  `CONNECT_GRANT_LINEAGE_MAX_COMMITS` descendant commits whose changes stay\n  inside the signed path prefixes and never touch operator-only files. It\n  never widens the signed scope, and repository failures refuse.\n- `evaluateConnectLifecycleAuthority`: ordered refusals (`promotion_not_delegated`,\n  `no_grant`, `revoked`, `expired`, `workspace_mismatch`, `actor_mismatch`,\n  `event_not_granted`, `scope_mismatch`, then the lineage refusals).\n- `shellWordsTargetOperatorGrant` and `isConnectOperatorGrantStorePath` name the\n  operator-only grant command and store, so hosts can deny agent self-grants.\n\nThe workspace bundle's `connect hook` commands implement the ports; see\n`docs/refactoring/lssm-ecosystem/HOOK-AUTHORITY-DESIGN.md` for the wiring.\n\n## Connect-owned Runtime Node V3 issuance\n\n`@lssm-tech/lib.contractspec-connect/runtime-v3` exports\n`createConnectRuntimeV3Authority` and `createConnectEd25519SignaturePort`. The\nissuer runs the existing packet authority in `durable_required` mode. Hosts supply\ncurrent policy, append-only receipt storage, a real signature port, a scoped\nissuance-evidence store, current revocation lookup, trusted clock, ID factory and\nissuer reference. Missing, unavailable or inconsistent ports fail closed.\n\n`issueLifecycle` accepts a pre-mutation request plus canonical unsigned standard\nand mandatory cleanup drafts, two pristine budget reservations and the accepted\noperation. Caller drafts cannot supply issuer, signature, authorization or issuance\ntime fields. The request actor/scope and the exact draft, plan, source and budget\ndigests are bound into the signed decision request. Connect derives both signed\norders and pending cleanup authority from that durable decision, rechecks current\npolicy/revocation, and returns only after exact issuance-evidence read-back.\nConcurrent exact retries return the same persisted lifecycle; conflicting requests\nfor the same scoped operation cannot replace it.\n\nThe standard order expires no later than the policy receipt. The cleanup order has\nno `expiresAt`; its review time and execution deadline never erase custody.\n`verifyCleanupCustody` verifies retained signed issuance evidence even after normal\nexpiry or revocation. It is historical verification, not permission to execute a\ncleanup effect. Runtime Node still requires independent current cleanup observation,\nnonce, scope and custody checks for provider execution.\n\n`verifyAdmission` checks accepted, authorizing or queued operations with no execution\ntuple. `verifyDispatch` remains queued-only. Both reread exact issuance and receipt\nevidence, recompute the signed payload, verify its Ed25519 signature, reevaluate\ncurrent policy, check revocation before and after policy work, and reject clock\nregression or expiry. They implement the canonical runtime verification boundary;\nSQLite/PostgreSQL still own atomic budget reservation, order registration, claims,\nqueue transport and terminal receipts.\n\nThe issuance store is Connect authorization evidence, not another runtime owner.\nIts `append` must be atomic first-write-wins for the full tenant/workspace/\nenvironment/operation tuple; immutable records retain the exact draft, request,\nreceipt and resulting lifecycle. Normal revocation is a separate authoritative\nlookup and must never delete cleanup liability or historical decision evidence.\n\nThe WebCrypto adapter signs with host-injected Ed25519 `CryptoKey` objects and\nverifies against the configured public key/reference. It does not load keys,\ngenerate production identities or fall back to a fixture signer. Tests use real\nnonextractable ephemeral keys, file-backed SQLite receipt/issuance/revocation state,\nclose/reopen and the actual SQLite Runtime Node issuance/dispatch adapters. Live\npolicy, identity provisioning and key custody remain host configuration.\n\n## Concrete adapter qualification\n\nThe real local Ed25519/durable-authority SQLite composition test belongs to the\n[SQLite integration](../../integrations/lssm-os-state-sqlite/README.md), which\ninjects Connect into its issuance and dispatch adapters. From repository root,\nrun `bun test ./packages/integrations/lssm-os-state-sqlite/src/connect-runtime-v3.test.ts`.\nThe Connect package's own `bun test` remains provider-neutral.\n\nCanonical compatibility leaves: `./operations/registry.governance`, `./operations/registry.review`.\nThese leaves preserve the original implementations and object/class identity; legacy\nContractSpec imports forward to these owners.\n","sourcePath":"packages/platform/governance/contractspec-connect/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/contractspec-connect/README.md","blobSha":"f4f3ee2ca75ae60e7b923dc47bc182fcd8c80918","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":"governance-and-approvals","areaTitle":"Governance, decisions and approvals","displayName":"lib.contractspec-connect","runtimes":["browser","bun","node"],"platforms":["web","server"],"kind":"library","scope":"Package manifest","canonicalRoute":"/docs/packages/lib.contractspec-connect/","contextUrl":"/docs/packages/lib.contractspec-connect.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}