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.5.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.5.0
File Size Uploaded Provenance Actions
labwire_conformance-0.5.0.tar.gz 16.5 kB With provenance Details for labwire_conformance-0.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 33.0 kB

Release files / labwire_conformance-0.5.0.tar.gz

Download URL labwire_conformance-0.5.0.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cfdbd1e5aa1fd1042a010965fd223e71299baea2a3eb10df06ef8856913bdaf1
BLAKE2b-256 checksum
How to use checksums
2dec2e8cb50e7336280d7e971300d0f69a9ff3fdbc3b25fd86ed9ec62164d16f
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.5.0-py3-none-any.whl

Download URL labwire_conformance-0.5.0-py3-none-any.whl
Size 16.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e103fcf18ae5d3cf4193114202f52c2f6abb2e95303b0f2d836efa13a9ce2e9d
BLAKE2b-256 checksum
How to use checksums
4b542c98152636e1ec4f03da2fc9c46dff5e51c3a86cd8c0c24872b47c0e04c5
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.5.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.5.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