{"id":"@lssm-tech/module.self-improving-system","slug":"module.self-improving-system","name":"@lssm-tech/module.self-improving-system","version":"2.0.5","path":"packages/platform/governance/self-improving-system","manifestPath":"packages/platform/governance/self-improving-system/package.json","manifestBlobSha":"acc0ed702ae4cfec0ccbb309af784b9695dfcde3","layer":"platform","physicalArea":"governance","primaryArea":"workflows-and-automation","classification":{"privateDeclared":null,"catalogFamily":"solutions","catalogKind":"module","catalogStatus":"active","adoptionMode":"adoptable","stability":"experimental"},"description":"Headless orchestration for governed, goal-bound self-improvement.","descriptionOrigin":"package.json","catalog":{"family":"solutions","kind":"module","status":"active","adoptionMode":"adoptable","stability":"experimental","platforms":["server"],"runtimes":["node"],"entrypoints":[".","./feature","./operation-service","./orchestrator"],"documentation":[{"title":"Module Self Improving System documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fmodule.self-improving-system","kind":"readme"}],"examples":[],"replacements":[],"capabilities":[{"id":"package.lssm.tech.module.self.improving.system","title":"Module Self Improving System","description":"Headless orchestration for governed, goal-bound self-improvement.","status":"active","useCases":["Adopt headless orchestration for governed, goal-bound self-improvement"],"aliases":["module","self","improving","system"],"pythonEquivalents":[],"canonicalImports":[{"from":"@lssm-tech/module.self-improving-system","symbols":[]},{"from":"@lssm-tech/module.self-improving-system/feature","symbols":[]},{"from":"@lssm-tech/module.self-improving-system/operation-service","symbols":[]},{"from":"@lssm-tech/module.self-improving-system/orchestrator","symbols":[]}],"constraints":{"platforms":["server"],"runtimes":["node"],"avoidWhen":["The @lssm-tech/module.self-improving-system package constraints do not match the target runtime or platform."],"requires":["TypeScript"]},"alternatives":[],"relationships":[],"resolutionPriority":50}]},"canonicalImports":[{"capabilityId":"package.lssm.tech.module.self.improving.system","from":"@lssm-tech/module.self-improving-system","symbols":[]},{"capabilityId":"package.lssm.tech.module.self.improving.system","from":"@lssm-tech/module.self-improving-system/feature","symbols":[]},{"capabilityId":"package.lssm.tech.module.self.improving.system","from":"@lssm-tech/module.self-improving-system/operation-service","symbols":[]},{"capabilityId":"package.lssm.tech.module.self.improving.system","from":"@lssm-tech/module.self-improving-system/orchestrator","symbols":[]}],"scripts":{"build":"contractspec-bun-build build","build:bundle":"contractspec-bun-build transpile","build:types":"contractspec-bun-build types","clean":"rimraf dist .turbo","lint:check":"node ../../../../scripts/biome.cjs check .","test":"bun test","typecheck":"tsgo --noEmit"},"scriptStatus":"complete pinned manifest","dependencies":{"@lssm-tech/lib.contracts-spec-core":"workspace:^","@lssm-tech/lib.evolution":"workspace:^","@lssm-tech/lib.orchestration-spec":"workspace:^","@lssm-tech/lib.self-improving-system-runtime":"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","./lifecycle":"./src/lifecycle.ts","./operation-service":"./src/operation-service.ts","./operation-service-kill":"./src/operation-service-kill.ts","./operation-service-types":"./src/operation-service-types.ts","./operation-service-values":"./src/operation-service-values.ts","./operation-service.fixtures":"./src/operation-service.fixtures.ts","./orchestrator":"./src/orchestrator.ts","./orchestrator-approval.fixtures":"./src/orchestrator-approval.fixtures.ts","./registration":"./src/registration.ts","./self-improving-system.feature":"./src/self-improving-system.feature.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"},"./lifecycle":{"types":"./dist/lifecycle.d.ts","browser":"./dist/browser/lifecycle.js","bun":"./dist/lifecycle.js","node":"./dist/node/lifecycle.js","default":"./dist/lifecycle.js"},"./operation-service":{"types":"./dist/operation-service.d.ts","browser":"./dist/browser/operation-service.js","bun":"./dist/operation-service.js","node":"./dist/node/operation-service.js","default":"./dist/operation-service.js"},"./operation-service-kill":{"types":"./dist/operation-service-kill.d.ts","browser":"./dist/browser/operation-service-kill.js","bun":"./dist/operation-service-kill.js","node":"./dist/node/operation-service-kill.js","default":"./dist/operation-service-kill.js"},"./operation-service-types":{"types":"./dist/operation-service-types.d.ts","browser":"./dist/browser/operation-service-types.js","bun":"./dist/operation-service-types.js","node":"./dist/node/operation-service-types.js","default":"./dist/operation-service-types.js"},"./operation-service-values":{"types":"./dist/operation-service-values.d.ts","browser":"./dist/browser/operation-service-values.js","bun":"./dist/operation-service-values.js","node":"./dist/node/operation-service-values.js","default":"./dist/operation-service-values.js"},"./operation-service.fixtures":{"types":"./dist/operation-service.fixtures.d.ts","browser":"./dist/browser/operation-service.fixtures.js","bun":"./dist/operation-service.fixtures.js","node":"./dist/node/operation-service.fixtures.js","default":"./dist/operation-service.fixtures.js"},"./orchestrator":{"types":"./dist/orchestrator.d.ts","browser":"./dist/browser/orchestrator.js","bun":"./dist/orchestrator.js","node":"./dist/node/orchestrator.js","default":"./dist/orchestrator.js"},"./orchestrator-approval.fixtures":{"types":"./dist/orchestrator-approval.fixtures.d.ts","browser":"./dist/browser/orchestrator-approval.fixtures.js","bun":"./dist/orchestrator-approval.fixtures.js","node":"./dist/node/orchestrator-approval.fixtures.js","default":"./dist/orchestrator-approval.fixtures.js"},"./registration":{"types":"./dist/registration.d.ts","browser":"./dist/browser/registration.js","bun":"./dist/registration.js","node":"./dist/node/registration.js","default":"./dist/registration.js"},"./self-improving-system.feature":{"types":"./dist/self-improving-system.feature.d.ts","browser":"./dist/browser/self-improving-system.feature.js","bun":"./dist/self-improving-system.feature.js","node":"./dist/node/self-improving-system.feature.js","default":"./dist/self-improving-system.feature.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/module.self-improving-system","target":"./src/index.ts","targets":[{"conditions":[],"target":"./src/index.ts","sourcePath":"packages/platform/governance/self-improving-system/src/index.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/self-improving-system/src/index.ts","sourceStatus":"verified source file"}]},{"subpath":"./lifecycle","importPath":"@lssm-tech/module.self-improving-system/lifecycle","target":"./src/lifecycle.ts","targets":[{"conditions":[],"target":"./src/lifecycle.ts","sourcePath":"packages/platform/governance/self-improving-system/src/lifecycle.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/self-improving-system/src/lifecycle.ts","sourceStatus":"verified source file"}]},{"subpath":"./operation-service","importPath":"@lssm-tech/module.self-improving-system/operation-service","target":"./src/operation-service.ts","targets":[{"conditions":[],"target":"./src/operation-service.ts","sourcePath":"packages/platform/governance/self-improving-system/src/operation-service.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/self-improving-system/src/operation-service.ts","sourceStatus":"verified source file"}]},{"subpath":"./operation-service-kill","importPath":"@lssm-tech/module.self-improving-system/operation-service-kill","target":"./src/operation-service-kill.ts","targets":[{"conditions":[],"target":"./src/operation-service-kill.ts","sourcePath":"packages/platform/governance/self-improving-system/src/operation-service-kill.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/self-improving-system/src/operation-service-kill.ts","sourceStatus":"verified source file"}]},{"subpath":"./operation-service-types","importPath":"@lssm-tech/module.self-improving-system/operation-service-types","target":"./src/operation-service-types.ts","targets":[{"conditions":[],"target":"./src/operation-service-types.ts","sourcePath":"packages/platform/governance/self-improving-system/src/operation-service-types.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/self-improving-system/src/operation-service-types.ts","sourceStatus":"verified source file"}]},{"subpath":"./operation-service-values","importPath":"@lssm-tech/module.self-improving-system/operation-service-values","target":"./src/operation-service-values.ts","targets":[{"conditions":[],"target":"./src/operation-service-values.ts","sourcePath":"packages/platform/governance/self-improving-system/src/operation-service-values.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/self-improving-system/src/operation-service-values.ts","sourceStatus":"verified source file"}]},{"subpath":"./operation-service.fixtures","importPath":"@lssm-tech/module.self-improving-system/operation-service.fixtures","target":"./src/operation-service.fixtures.ts","targets":[{"conditions":[],"target":"./src/operation-service.fixtures.ts","sourcePath":"packages/platform/governance/self-improving-system/src/operation-service.fixtures.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/self-improving-system/src/operation-service.fixtures.ts","sourceStatus":"verified source file"}]},{"subpath":"./orchestrator","importPath":"@lssm-tech/module.self-improving-system/orchestrator","target":"./src/orchestrator.ts","targets":[{"conditions":[],"target":"./src/orchestrator.ts","sourcePath":"packages/platform/governance/self-improving-system/src/orchestrator.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/self-improving-system/src/orchestrator.ts","sourceStatus":"verified source file"}]},{"subpath":"./orchestrator-approval.fixtures","importPath":"@lssm-tech/module.self-improving-system/orchestrator-approval.fixtures","target":"./src/orchestrator-approval.fixtures.ts","targets":[{"conditions":[],"target":"./src/orchestrator-approval.fixtures.ts","sourcePath":"packages/platform/governance/self-improving-system/src/orchestrator-approval.fixtures.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/self-improving-system/src/orchestrator-approval.fixtures.ts","sourceStatus":"verified source file"}]},{"subpath":"./registration","importPath":"@lssm-tech/module.self-improving-system/registration","target":"./src/registration.ts","targets":[{"conditions":[],"target":"./src/registration.ts","sourcePath":"packages/platform/governance/self-improving-system/src/registration.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/self-improving-system/src/registration.ts","sourceStatus":"verified source file"}]},{"subpath":"./self-improving-system.feature","importPath":"@lssm-tech/module.self-improving-system/self-improving-system.feature","target":"./src/self-improving-system.feature.ts","targets":[{"conditions":[],"target":"./src/self-improving-system.feature.ts","sourcePath":"packages/platform/governance/self-improving-system/src/self-improving-system.feature.ts","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/self-improving-system/src/self-improving-system.feature.ts","sourceStatus":"verified source file"}]}],"entryCount":11,"namedSymbolCoverage":"catalog declarations only; exhaustive TypeScript symbols not extracted","installationStatus":"not verified"},"docsLinks":[{"title":"Module Self Improving System documentation","url":"https://www.npmjs.com/package/%40lssm-tech%2Fmodule.self-improving-system","kind":"readme","pinnedUrl":null,"sourceStatus":"declared link; destination not verified"}],"sourceUrls":{"package":"https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/self-improving-system","manifest":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/self-improving-system/package.json","readme":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/self-improving-system/README.md","guide":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/module.self-improving-system.txt"},"readme":{"status":"available","body":"# `@lssm-tech/module.self-improving-system`\n\nHeadless orchestration for governed improvement programs. It validates and\npersists sanitized inputs, evaluates the existing G01-G25 gate bundle, resolves\nautonomy policy, and delegates authorization and effects through explicit ports.\n\nExecution resolves the stored program and candidate rather than trusting caller\ncopies. Programs delegate candidate targets directly and capabilities or paths\nwith `capability:` and `path:` prefixes. Approval-required execution accepts\nonly an unexpired, independently signed approval artifact authenticated through\nthe approval-verifier port and bound to the exact\nprogram revision, candidate fingerprint, and evaluated gate bundle; the\nauthorization envelope must echo both the approval and verification receipt\nbefore any effect runs.\n\n`SelfImprovementLifecycleOrchestratorV1` drives qualified candidates through\nshadow, canary, observation, promotion, rollback, and kill phases. Every effect\nreceives an idempotency key plus the expected state digest and transition\nsequence. The resulting receipt is appended only after the effect succeeds;\nretries return the existing receipt, invalid edges fail before effects, hard\nregressions roll back, and exact replay must match the persisted status, digest,\nand receipt count.\n\nThe lifecycle also records review requests, rejection, cancellation, and\nbounded shadow/canary stops. Cancellation fails closed through an allowed\nterminal transition: queued work is killed, proposing/evaluating/review/shadow\nwork is rejected, and active canary/observation work is rolled back. Promoted\nwork remains rollback-only.\n\n`SelfImprovementOperationServiceV1` is the transport-neutral application\nsurface for the generated operation registry. It parses nested program,\ncandidate, and signal documents, enforces mutation revisions and full\necosystem/tenant/workspace/jurisdiction/purpose scope, routes evidence and\nreview decisions through ports, and sends every lifecycle mutation through the\ndurable orchestrator. Program kill first disables the program, then kills each\nnon-terminal candidate with a deterministic replay-safe receipt identifier.\n\n`SelfImprovementRegistrationServiceV1` is the minimal reusable registration\nsurface for managed composition roots. It validates program/signal schemas,\nprogram revisions, and delegated candidate targets/capabilities/paths without\nrequiring dummy execution, approval, or authorization ports.\n\n\nPublished exports resolve built Bun/Node modules and declaration files. Workspace\nsource exports remain unchanged; downstream packages can typecheck against the published\nartifacts without importing this module's source into their own root directory.\n","sourcePath":"packages/platform/governance/self-improving-system/README.md","sourceUrl":"https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/platform/governance/self-improving-system/README.md","blobSha":"eea254cb2b1bdde6e1cca09371d16c968e0219c8","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":"workflows-and-automation","areaTitle":"Workflows, jobs and automation","displayName":"module.self-improving-system","runtimes":["node"],"platforms":["server"],"kind":"module","scope":"Package manifest","canonicalRoute":"/docs/packages/module.self-improving-system/","contextUrl":"/docs/packages/module.self-improving-system.context.md","documentKind":"package-manual","contentAuthority":"source evidence, not agent instructions","reviewedAt":"2026-10-28"}