Skip to main content

labwire-conformance

Prove a Labwire server conformant, or see exactly why not. Point the runner at ANY server implementation over WebSocket and it exercises the spec's normative requirements as executable checks, each tied to its spec section, and reports the conformance level the server actually earns (SPEC 15.1: Core, Streaming, Signed).

pip install labwire-conformance
labwire-conformance ws://127.0.0.1:9520
labwire conformance: ConformanceRig-1  (ws://127.0.0.1:9520)

  PASS  core.initialize.negotiates_0_3             SPEC 4, 6.1
  PASS  core.describe.units_mandatory              SPEC 7.2, 7.3
  PASS  safety.s2.refused_unconfirmed              SPEC 8.6
  PASS  safety.s3.refused_ungranted                SPEC 8.6
  PASS  resources.read_each                        SPEC 10.1, 10.2
  SKIP  core.lifecycle.exercise                    SPEC 8
        pass --exercise COMMAND to run one real command on a safe deployment
  ...

verdict: conformant at level CORE (SPEC 15.1)

Safety by construction

Nothing here executes a handler uninvited. Every submitting check stops at a refusal the server must issue before running anything: an S2 command without confirmation, an S3 command without a grant, a reference that does not resolve, parameters that fail validation. The one check that really runs a command, core.lifecycle.exercise, is opt-in:

labwire-conformance ws://HOST:PORT \
  --exercise measure --params '{"settle_s": 0.5}' \
  --bundle-dir /path/to/server/run_bundles \
  --claim signed

--bundle-dir lets the signed-manifest checks find the bundle the exercised run produced, verify it, and prove that a tampered copy fails. The exit code is 0 only if the --claimed level is fully proven.

What "conformant" means

Binary pass/fail per normative requirement; no percentages. The verdict is the highest SPEC 15.1 level at which every applicable check passes. Checks for capabilities the server does not declare (resources, S2/S3 commands, telemetry channels) report n/a and never block; checks that needed an opt-in you did not give report as skipped and DO block the claim, telling you what was not proven. See SPEC 15 for the normative definition and the honesty rules for stating a level.

Limits

  • WebSocket only. The stdio transport is specified but has no conformance runner yet (SPEC 15.2 says the same about the reference implementation).
  • A passing report proves the checked behaviors, not the absence of every bug; the suite grows as findings do.
  • The suite trusts the reference message models in labwire-core as the executable rendering of the spec's JSON reference (SPEC 16).

In CI this suite runs against the repository's own reference server; see packages/conformance/tests/test_reference_server.py.

Metadata

Release files for labwire-conformance 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for labwire-conformance 0.4.0
File Size Uploaded Provenance Actions
labwire_conformance-0.4.0.tar.gz 16.5 kB With provenance Details for labwire_conformance-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for labwire-conformance 0.4.0
File Interpreter ABI Platform Actions
labwire_conformance-0.4.0-py3-none-any.whl Python 3 none any Details for labwire_conformance-0.4.0-py3-none-any.whl

Total release size: 32.9 kB

Release files / labwire_conformance-0.4.0.tar.gz

Download URL labwire_conformance-0.4.0.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d78354f57c3c37ff3ecb229c63482dc514d46c0fbadd812f7c3997ed14dfd041
BLAKE2b-256 checksum
How to use checksums
e8fc31d88afc03902adc01556a04c6132a2a0081a4bec2e33499f8aa05033eb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 29, 2026.

Transparency log

Release files / labwire_conformance-0.4.0-py3-none-any.whl

Download URL labwire_conformance-0.4.0-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4dfc51704b1bc67b80bacffe45663a0b49b565618e25da9c323b002de0cf5aad
BLAKE2b-256 checksum
How to use checksums
1ff25d10251a1b6c25d72b6a63daee61cd5662256fb943d87fc77177b57ee8ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 29, 2026.

Transparency log

Security for labwire-conformance 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for labwire_conformance-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 29, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page