Skip to content
ContractSpec
Start here

Package manual · integrations

·Workflows, jobs and automation

integration.self-improving-system-transport

Generated transports for governed self-improvement

integrationsintegrationv2.0.4experimentalservernode
@lssm-tech/integration.self-improving-system-transport
bun add @lssm-tech/integration.self-improving-system-transport
Package source ↗Manifest ↗

Manifest declarations describe the current workspace; they do not verify registry publication or runtime execution.

Package guide

Provider-neutral projections of the governed self-improvement registry: REST/OpenAPI, TypeScript SDK, MCP tools and resources, signed webhooks, replayable SSE/WebSocket sessions, and CLI parsing.

The host supplies authentication and one headless operation handler. Every surface injects authoritative ecosystem, tenant, workspace, jurisdiction, and purpose scope; optionally restricts program identifiers; checks the operation grant; and requires idempotency, revision, contract, trace, and evidence bindings for mutations. Transports expose decisions and receipts but never make domain or authorization decisions.

createSelfImprovementServiceHandlerV1 adapts the generated transport request to one scoped headless service resolved for the authenticated context. It preserves safe not-found, scope, revision, validation, cancellation, and unsupported-operation errors as stable HTTP/MCP statuses while unexpected failures remain internal errors.

createStreamingSelfImprovementHandlerV1 decorates that handler after domain execution. Successful lifecycle mutations publish only their declared event keys with program, receipt, candidate, and evidence references; failures and read operations publish nothing. The scoped broker keeps bounded in-process history so reconnecting SSE/WebSocket clients can resume after a cursor.

Relationships

THIS PACKAGEintegration.self-improving-system-transport11 import paths

Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.

1 declarations

Declared capabilities

Integration Self Improving System Transport

Generated transports for governed self-improvement

Scripts

  • buildcontractspec-bun-build build
  • build:bundlecontractspec-bun-build transpile
  • build:typescontractspec-bun-build types
  • cleanrimraf dist .turbo
  • lint:checknode ../../../scripts/biome.cjs check .
  • testbun test
  • typechecktsgo --noEmit