integrationPackage manifestv2.0.4

integration.lssm-os-provider-docker

Docker Compose provider execution adapter for LSSM OS.

@lssm-tech/integration.lssm-os-provider-docker
Source, release and verification context

Source snapshot bcc79fcc · Declared package version 2.0.4. This page combines the checked-in package guide and manifest; commands and runtime behavior were not executed in this review.

Package source ↗ Manifest ↗
serverbunnode
EXPLORE THE PACKAGE

See where this package fits.

Follow a declared connection, inspect an import, then open the source guide when you need the detail.

THIS PACKAGEintegration.lssm-os-provider-dockerintegrations

Arrows point from a package to its direct dependency. Each count is derived from the captured manifests.

2 déclarationsSELECT TO INSPECT

@lssm-tech/integration.lssm-os-provider-docker

Authoritative Docker Compose execution adapter for the LSSM OS ProviderExecutionPort. It owns only plan changes whose ownership tuple is docker_compose / lssm-os-provider-docker.

The ./runtime-node export directly implements ProviderLifecyclePortV1 over closed, secret-free, digest-bound V2 commands. It reserves the exact execution and fence before invoking the Docker driver, persists an exact V2 receipt, supports read-only observation, and replays only independently verified durable state. It never calls the compatibility ProviderExecutionPort or projects a legacy receipt into production authority.

Limite

The adapter never spawns Docker. Callers inject a DockerRuntimePort that accepts an executable plus an argv array, structured sanitized results, and opaque credential references. This keeps shell parsing and secret values out of the provider contract and makes the adapter deterministic under tests.

ts
import { DockerProviderExecutionAdapter } from
  "@lssm-tech/integration.lssm-os-provider-docker";

const provider = new DockerProviderExecutionAdapter({
  runtime: dockerRuntimePort,
  observations: trustedObservationVerifier,
  receipts: trustedReceiptStore,
  executions: durableExecutionState,
  clock,
  ids,
}, { timeoutMs: 120_000 });

const receipt = await provider.execute(authorizedStep);
if (!(await provider.verifyReceipt(receipt))) {
  throw new Error("Untrusted Docker receipt");
}

The injected runtime is responsible for resolving canonical credential://docker/... references and recording normalized evidence. Values must never be returned in output, evidence references, observations, errors, or fixtures. Production composition must provide durable atomic execution state; the in-memory implementation is testing-only.

Supported v0 behavior

  • strict ownership, action, change, resource-limit, and credential-ref decoding;
  • optional image builds with OCI source-revision labels and image inspection;
  • Compose up, update, delete/decommission, rollback, and create compensation;
  • topology import, image/health drift, and runtime status discovery;
  • durable restart-safe per-resource fencing and idempotent execution/compensation;
  • scope-encoded docker-operation:v2 keys so equal tenant idempotency keys do not collide;
  • closed, secret-safe discovery scopes, authority key references, and adapter-owned canonical receipt/reservation IDs validated before runtime or durable-state use;
  • canonical effect recomputation and immutable retry fingerprints across scope, plan, authorization attestation, credentials, desired properties, fence, ownership, and action;
  • independently verified, read-only, secret-rejecting Docker observations for every discovery and effect read, with exact requested-service health and resource-limit verification;
  • service-scoped Compose mutation (up --no-deps) and verified absence after destructive operations;
  • current-step cleanup before failed receipts, rollback restoration for partial update/delete effects, and an indeterminate throw when cleanup cannot be verified;
  • compensation and rollback only from an exact trusted prior successful apply, including a fresh read-only observation, desired properties, credentials, image provenance, and resource limits;
  • one absolute operation deadline; a non-cooperative or unresolved provider call becomes durable indeterminate work and cannot be retried as a new effect;
  • receipts bound to scope, plan, authorization decision and attestation, idempotency key, fence, effect, issuance anchor, and canonical receipt attestation;
  • create-once receipt issuance through a versioned external Ed25519 authority seal that also binds the durable reservation and operation/resource keys, followed by exact authority and execution-state read-back before success;
  • a zero-dollar local-runtime estimate when no provider invoice exists.

The offline conformance target passes all ten required provider-conformance registry/protocol 0.3.0 cases. Its restart and stale-fence cases use one mutating apply and read-only observations; reconciliation never calls the mutation oracle. This is not a live Docker or host-platform qualification claim. The ./testing export supplies fake runtime, execution state, trust ports, and sanitized fixtures for offline consumers.

Pending or indeterminate operations deliberately remain fenced until an external operator or durable-state implementation performs authoritative reconciliation. The adapter never converts an unresolved provider outcome into a definitive failed receipt. Replay requires the stored operation fingerprint to match the current claim, and unverifiable cleanup is durably indeterminate.

Cleanup removes only the exact requested Compose service and verifies absence. It never force-removes an image tag, because a failed build cannot prove that the tag did not pre-exist or that the current effect owns it. Build failure before any Compose mutation never invokes compose down.

All caller execution data and every request crossing an injected port are deep cloned and frozen. Returned authority/state records are cloned and semantically revalidated so a retained external reference cannot rewrite receipt or authorization bindings. Injected-port failures are normalized to adapter-owned codes and never expose external exception text.

Développement

sh
bun run lint:check
bun run typecheck
bun test
bun run build
npm_config_offline=true bun run test:pack
npm pack --dry-run

test:pack creates the real tarball, stages governed semver dependencies in a clean consumer, runs npm ls --all, and imports ., ./conformance, and ./testing with Node and Bun.

Declared capabilities.

Integration Lssm Os Provider Docker

Docker Compose provider execution adapter for LSSM OS.

Use it to

  • Adopt docker compose provider execution adapter for lssm os

Requires

  • TypeScript

Choose another boundary when

  • The @lssm-tech/integration.lssm-os-provider-docker package constraints do not match the target runtime or platform.

@lssm-tech/integration.lssm-os-provider-docker

@lssm-tech/integration.lssm-os-provider-docker/conformance

@lssm-tech/integration.lssm-os-provider-docker/runtime-node

@lssm-tech/integration.lssm-os-provider-docker/testing

Imports and export paths.

4 entries

These are package-manifest entry points. Named symbols listed above come from the capability catalogue; this is not an exhaustive TypeScript symbol reference.

4 imports

Dependencies and related packages.

Runtime dependencies 2
Development dependencies 3
typescript
catalog:

Package scripts.

Commands declared by this package. Review its setup requirements before running them; no command here was executed by this review.

buildbun run build:bundle && bun run build:types
build:bundlebun scripts/build-public-bundles.ts
build:typescontractspec-bun-build types
cleanrimraf dist .turbo
lintbun run lint:fix
lint:checknode ../../../scripts/biome.cjs check .
lint:fixnode ../../../scripts/biome.cjs check --write .
testbun test
test:packbun run build && bun scripts/test-packed-exports.ts
typechecktsgo --noEmit
Votre vue

Make room for your context.

Shape the presentation around this moment. You can change it whenever you need.

Votre contexte

The different parts of you

Choose a starting point

Un mélange utile de contexte, de visuels et de guidage discret.

Tune each dimension
Each dimension can change independently. Product permissions and available actions stay unchanged.

Support the way you begin and return

Tune your support

Confort de lecture

Choisir votre langue

La langue de l’interface change uniquement le texte. Les marchés, les prix et les parcours conservent leurs propres paramètres.

Couverture des traductions

Une partie du contenu est affichée en anglais.

Navigation151
Graphe616
Catégories378
Portfolio833
Exemples2 035
Aperçu de la source1 542

D’autres traductions seront ajoutées à mesure que le contenu sera relu.

Cette préférence est enregistrée dans ce navigateur.

Rechercher sur le site

Des points de départ utiles

Aucun résultat. Essayez une expression plus courte, un nom d’opération ou un autre périmètre de recherche.

UN PEU DE PLACE POUR EXPLORER

Trouvez quelque chose à explorer.

Ouvrez un aperçu détaillé sur cette page, essayez une autre perspective ou suivez le détail vers sa propre page.

Fonctionnement des aperçus et des commandes
01

Regarder avant de partir

Survolez un lien ou sélectionnez-le avec Tab pour voir un aperçu. Cliquer sur le lien d’origine ou appuyer sur Entrée ouvre toujours sa destination.

02

Rester dans le contexte

Entrez dans l’aperçu pour explorer ses sections. Depuis un lien sélectionné, utilisez Alt + ↓ pour y entrer au clavier. Échap le ferme.

03

Ouvrir les possibilités

Les lignes dépliables, les choix de perspective et les commandes mises en évidence révèlent davantage. Votre vue adapte le confort de lecture et le contexte exploré.

Un bouton séparé pour voir de plus près

Affichez de petits boutons d’aperçu à côté des liens quand l’espace le permet. Touchez l’œil pour examiner ou le lien pour y aller directement. Ce choix reste dans cet onglet.

Aucun historique de navigation n’est collecté. La réduction des animations suit votre appareil et Votre vue.