lib.assurance-spec
Provider-neutral assurance and compliance evidence correlation contracts for autonomous-company actions.
@lssm-tech/lib.assurance-specbun add @lssm-tech/lib.assurance-specManifest declarations describe the current workspace; they do not verify registry publication or runtime execution.
Package guide
Provider-neutral assurance and compliance evidence correlation contracts for autonomous-company actions.
This package closes the P1 assurance gap as a correlation-only contract/evidence layer. It does not store audit events, query logs, run anomaly detection, execute providers, evaluate policy, or replace ContractSpec Connect.
Public entrypoints
@lssm-tech/lib.assurance-spec@lssm-tech/lib.assurance-spec/types@lssm-tech/lib.assurance-spec/fixtures@lssm-tech/lib.assurance-spec/validation@lssm-tech/lib.assurance-spec/qualityand itsenvironment,plan,primitives,profile, andreceiptleaves own the canonical quality models.
Quality models retain the existing V1 schema versions, digests, DocBlocks and receipt binding checks. Historical @lssm-tech/lib.contracts-spec/quality imports forward to these same definitions. Supplied-receipt validation checks exact plan, delivery, Git SHA, check and Connect decision bindings; it does not execute checks or grant authority. Quality planning, readiness probes and execution remain in @lssm-tech/lib.execution-lanes/quality.
The quality models use the pure LSSM OS delivery primitive leaf, existing Core documentation and serialization helpers, crypto utilities and Zod. This package has no dependency on the compatibility facade or execution runtime.
Boundary
The canonical prebuild keeps all 12 public entrypoints and their conditional targets. The committed export maps use the generator's ordering so repeated prebuilds preserve the manifest bytes.
Adjacent systems are referenced through branded refs only: audit events, observability telemetry/anomalies, ai-agent model/tool/session receipts, integration calls, CompanyOS work/policy decisions, Connect reviews, orchestration workflows, and infra-ops deployment/incident refs.
Portable Connect and Harness contracts
@lssm-tech/lib.assurance-spec/connect/types owns the unchanged Connect verdict and review threshold declarations. Connect retains policy evaluation, approvals, and runtime authority.
@lssm-tech/lib.assurance-spec/harness/types owns the unchanged Harness evidence, scenario, suite, target, and execution declarations and the identity declaration factories. It does not execute a harness. The supported Legacy paths forward these declarations. The nominal Harness registry classes retain their existing Legacy implementation and superclass identity until the coordinated runtime ownership cut.
Experience coverage scoring and validation are available at /experience-coverage/scoring and /experience-coverage/validation. They correlate supplied evidence without authorizing execution. Legacy imports forward to these canonical functions.
Relationships
Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.
4 declarations
zodcatalog:
@lssm-tech/lib.contracts-spec-coreworkspace:^
Read the package manual ↗@lssm-tech/lib.crypto-utilsworkspace:^
Read the package manual ↗@lssm-tech/lib.lssm-os-specworkspace:^
Read the package manual ↗
Declared capabilities
Provider-neutral assurance and compliance evidence correlation contracts for autonomous-company actions.
Scripts
publish:pkgbun publish --tolerate-republish --ignore-scripts --verbosepublish:pkg:canarybun publish:pkg --tag canarybuildcontractspec-bun-build buildbuild:bundlecontractspec-bun-build transpilebuild:typescontractspec-bun-build typesdevcontractspec-bun-build devcleanrimraf dist .turbolintbun lint:fixlint:fixnode ../../../../scripts/biome.cjs check --write .lint:checknode ../../../../scripts/biome.cjs check .testbun testprebuildcontractspec-bun-build prebuildtypechecktsgo --noEmit