libraryPackage manifestv2.0.4

lib.agent-runtime-conformance

Cross-runtime lifecycle conformance suite for ContractSpec agent runtime adapters

@lssm-tech/lib.agent-runtime-conformance
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 ↗
servernode
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 PACKAGElib.agent-runtime-conformancetools

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

6 déclarationsSELECT TO INSPECT

@lssm-tech/lib.agent-runtime-conformance

Cross-runtime lifecycle conformance suite for ContractSpec agent runtime adapters. Makes "portable across runtimes" falsifiable instead of asserted: any adapter that claims compatibility must pass this suite.

Usage

ts
import { runAgentRuntimeConformanceSuite } from '@lssm-tech/lib.agent-runtime-conformance';
import { createSqliteWorkflowDevkitTarget } from '@lssm-tech/lib.agent-runtime-conformance/fixtures';

const report = await runAgentRuntimeConformanceSuite(
  createSqliteWorkflowDevkitTarget({ file: './agent.db' })
);

console.log(report.summary.single_adapter_lifecycle_conformance_rate); // 16/19

The 19 cases (spec 04)

Cases 1-15 plus the mandatory case 5b (effect-replay safety) are testable for every durable target. Cases 16-17 remain NOT_APPLICABLE_THIS_RELEASE; case 18 becomes mandatory when an integration-local two-adapter target supplies runtime-probed portable evidence.

  • 1-3 create session, stream lifecycle events, invoke an operation-backed tool
  • 4 checkpoint round-trip through AgentCheckpointPort
  • 5 survive forced process death (real SIGKILL child; durable backing only)
  • 5b effect-replay safety on resume — the recorded result is replayed via the (nonce, stepInstanceId) key so an approval-gated sendMessage is never double-sent. Its inverse sub-case (5b-inverse) proves two distinct approval-authorized identical-input sends both fire (nonce-scoped, not input-scoped).
  • 6 resume from durable recovery
  • 7-8 suspend for human input / approval
  • 9-12 reject missing / wrong-input / replayed approval; resume with valid approval
  • 13 cancel (side effect must not fire once cancelled)
  • 14-15 emit artifacts and evidence refs
  • 16-17 execution receipt / outcome linkage — NOT_APPLICABLE_THIS_RELEASE
  • 18 cross-adapter portability — compares runtime-probed lifecycle, approval, effect replay, artifact/evidence, replay, and explicitly contracted loss diagnostics

Metric

single_adapter_lifecycle_conformance_rate = passing / 19. Target this release is 16/19 ≈ 0.84 for the Phase-1 Workflow DevKit gate. Integration-local EVE and Workflow DevKit targets additionally run case 18, producing 17/19 with cases 16-17 explicitly not applicable.

Targets

  • createInMemoryWorkflowDevkitTarget() — baseline; cannot survive process death, so cases 5/5b/6 report NOT_APPLICABLE.
  • createSqliteWorkflowDevkitTarget({ file }) — durable; the canonical gate.

Vendor-specific targets remain in their integration packages. Case 18 uses runPortableAdapterProbe() and fails on any unclassified field or declared-loss difference; integrations must supply an exact expected-loss contract.

Declared capabilities.

Lib Agent Runtime Conformance

Cross-runtime lifecycle conformance suite for ContractSpec agent runtime adapters

Use it to

  • Adopt cross-runtime lifecycle conformance suite for contractspec agent runtime adapters

Requires

  • TypeScript

Choose another boundary when

  • The @lssm-tech/lib.agent-runtime-conformance package constraints do not match the target runtime or platform.

@lssm-tech/lib.agent-runtime-conformance

@lssm-tech/lib.agent-runtime-conformance/cases

@lssm-tech/lib.agent-runtime-conformance/cases/approval

@lssm-tech/lib.agent-runtime-conformance/cases/context

@lssm-tech/lib.agent-runtime-conformance/cases/durability

@lssm-tech/lib.agent-runtime-conformance/cases/effect-replay

@lssm-tech/lib.agent-runtime-conformance/cases/not-applicable

@lssm-tech/lib.agent-runtime-conformance/cases/observability

@lssm-tech/lib.agent-runtime-conformance/cases/session-and-tool

@lssm-tech/lib.agent-runtime-conformance/cases/suspension-and-cancel

@lssm-tech/lib.agent-runtime-conformance/fixtures

@lssm-tech/lib.agent-runtime-conformance/fixtures/approval

Imports and export paths.

20 entries

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

20 imports

Dependencies and related packages.

Runtime dependencies 6
Development dependencies 4
typescript
catalog:

Package scripts.

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

publish:pkgbun publish --tolerate-republish --ignore-scripts --verbose
publish:pkg:canarybun publish:pkg --tag canary
buildcontractspec-bun-build build
build:bundlecontractspec-bun-build transpile
build:typescontractspec-bun-build types
devcontractspec-bun-build dev
cleanrimraf dist .turbo
lintbun lint:fix
lint:fixnode ../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../scripts/biome.cjs check --write .
lint:checknode ../../../scripts/biome.cjs check .
testbun test
prebuildcontractspec-bun-build prebuild
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.