In this section: Build
Start
Reference code
- obsp (C)
- Conformance runner (reference service)
- obsp (Go)
- Plugfests (non-normative groundwork)
- Python reference pipelines (draft profiles, synthetic data)
- obsp-eo
- obsp-model-run (draft OIP-0012, MODEL-OBSERVER)
- obsp-sensing (draft OIP-0011, NETWORK-SENSING, provisional)
- obsp-space
- Rust reference workspace
- Performance bench (WP-RI-11)
- The 0.2 candidate (DRAFT)
- obsp-core (Rust reference library)
- obsp-federation
- obsp-node-embedded
- Node agent (obsp-node)
- Evidence verifier (obsp-verify)
- obsp-sdk (TypeScript / ES modules)
Tools
API reference
- All APIs
- Observatory Protocol service administration (production services)
- Observatory Protocol CloudEvents (draft OIP-0024 binding)
- Observatory Protocol correction subscriptions
- Observatory Protocol credential status (reference service)
- Observatory Protocol discovery (reference service)
- Observatory Protocol exchange API (reference)
- Observatory Protocol federation sync (draft OIP-0004)
- Observatory Protocol Field Topic Contract (MQTT 5 and Sparkplug B)
- Observatory Protocol participant gateway
- gRPC services
- Observatory Protocol implementations and conformance registry (reference service)
- Observatory Protocol transparency log (reference service)
- Observatory Protocol WIS 2.0 notifications (draft OIP-0009 binding)
Public services
Bindings and crosswalks
Conformance runner (reference service)
On this page
| Field | Value |
|---|---|
| Status | Reference service; runs locally and in continuous integration only, not hosted; a report grants nothing; no conformance claim |
An HTTP service and a command line that run the open conformance suite and the live harness and write one
ConformanceReport (schemas/json/conformance-report.schema.json).
It is reference code: Python 3 standard library plus the packages in requirements.txt, no
credential of its own, no hosting. A report records what was tested; it grants nothing.
| Mode | What it runs | Input |
|---|---|---|
| suite | the open suite (obsp conformance run, conformance/suite.yaml) for one profile, optionally with the OBSP-SOV overlay |
an evidence directory, or an uploaded evidence set ([{path, document}], plus attestations for manual cases) |
| live | the live harness (conformance/harness/) against an implementer’s gateway |
a base URL on the operator’s allow-list |
| live, pairing | the same, with the request bodies taken from a counterpart’s evidence set: one cell of a plugfest matrix (conformance/plugfest/) |
a base URL, the counterpart’s name and evidence set |
Then, for every run:
- Ceiling.
extensions["obsp.runner"]states the mode,maxLevel: SELF_TESTED, whether the report is signed orunsigned, and whether the endpoint was reached. The runner refuses to issue a report that carries a level or claim member or a level aboveSELF_TESTED. It never writes a conformance claim (the participant files one,CNF-3). A pairing report carriesextensions["obsp.plugfest"](initiator, responder, which documents came from the initiator); it is one input to a plugfest record and never a peer level on its own. - Signature. With a key configured (
--key), the report is signed with the envelope of draft OIP-0008 (SIG-2): COSE_Sign1,alged25519, detached JCS payload, protected header{1: -19, 4: kid}. Because the report schema has nosignaturemember yet, the envelope sits inextensions["obsp.signature"]and the payload is the report without it. The draft’s reference verifier is not in the live tree while OIP-0008 is a draft, soenvelope.pycarries plain-Python Ed25519 (RFC 8032 section 5.1) and deterministic CBOR; it is checked against the RFC 8032 test vector and, when installed, an independent library. Without a key the report saysunsigned. - Log. With a log configured (
--log), the report’s digest is appended to a local append-only file: JSON lines, each entry hash-chained to the previous one, with a Merkle tree over the entries (RFC 9162 section 2.1.1) and inclusion proofs (audit paths, section 2.1.3) returned as receipts, consistency proofs between sizes (section 2.1.4) and tree heads signed with the runner’s key when one is configured (log tree-head,log consistency,GET /v1/log/tree-head,GET /v1/log/consistency). It is a reference log, not SCITT: no COSE receipts and no statement format (tlog.py). A witness kept elsewhere can cosign its tree heads (services/public-services, a reference-log feature that no draft specifies).
Network policy
The live harness reaches only base URLs the operator lists with --allow (scheme, host, port and an optional path
prefix; no wildcard). The default list is empty, so a fresh runner reaches nothing. It follows no redirect and sends no
credential. --offline refuses every live run, for sovereign or air-gapped deployments where the runner must make no
outbound connection; evidence-set runs, signing and the log work offline. Host names are not pinned to addresses: an
operator who allows a name trusts its resolution.
Command line
export PYTHONPATH=sdk/python/src:.:services/conformance-runner
python3 -m conformance_runner suite --profile OBSP-NODE --evidence conformance/examples/OBSP-NODE --out report.json
python3 -m conformance_runner live --profile OBSP-NODE --endpoint http://127.0.0.1:8080/obsp/v0.1 \
--allow http://127.0.0.1:8080 --implementation impl-b@2.0.0 \
--counterpart impl-a@1.0.0 --counterpart-evidence path/to/impl-a/evidence --out pair.json
python3 -m conformance_runner suite ... --key runner-key.json --log runner-log.jsonl --receipt receipt.json
python3 -m conformance_runner log verify --log runner-log.jsonl
python3 -m conformance_runner log check-receipt receipt.json
python3 -m conformance_runner verify --report report.json --jwk public.jwk.json
python3 -m conformance_runner serve --port 8090 --allow http://127.0.0.1:8080 [--offline] [--key ...] [--log ...]
A key file is {"alg": "ed25519", "seed": "<32 bytes, unpadded base64url>", "kid": "uni:key:..."} (kid optional;
default: the RFC 7638 thumbprint URI). Which key an operator uses, and who holds it, is the operator’s decision.
Exit status: 0 no failed check, 1 a failed check, 2 a refusal or an unreachable endpoint.
HTTP API
| Method and path | Body or query | Answer |
|---|---|---|
GET /v1/health |
offline, allow-list, signing, log, profiles, maxLevel |
|
POST /v1/runs/suite |
{profile, evidence: [{path, document}], attestations?, sovereignty?, implementation?} |
{report, reportDigest, logReceipt} |
POST /v1/runs/live |
{profile, baseUrl, implementation?, counterpart?, counterpartEvidence?} |
{report, reportDigest, logReceipt} |
GET /v1/log |
tree size and root hash | |
GET /v1/log/proof |
index, optional treeSize |
inclusion receipt |
Errors are problem documents valid against error-problem. Codes: OBS-CONTRACT-0001 (request rejected),
OBS-ROUTE-0001, OBS-NOTFOUND-0001, and three local to this service, not protocol codes: OBS-RUNNER-0001 (base URL
not allowed), OBS-RUNNER-0002 (offline), OBS-RUNNER-0003 (internal). The service binds 127.0.0.1 by default and has
no authentication; put it behind the operator’s own access control before exposing it.
Tests
services/conformance-runner/tests/test_runner_*.py, run by make test through tests/test_conformance_runner.py:
the suite on every example set (PASS) and on the negative set (FAIL), uploads, the live harness against its reference
responder (clean, with a defect, unreachable, and as a pairing), the allow-list and offline mode, signing and tampering,
the log (inclusion proofs at every tree size, tampering detected) and the HTTP API.