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
Plugfests (non-normative groundwork)
| Field | Value |
|---|---|
| Status | Non-normative groundwork; a plugfest record is not a conformance level; no conformance claim |
A plugfest is an event where independent implementations of the protocol run against each other, pair by pair, under a witness, and the results are written down as one record. This folder holds the procedure, a draft schema for the record and a generator that builds the record from conformance runner reports. Nothing here is normative and nothing here is a conformance level.
Levels. Specification section 7.2 lists DECLARED → SELF_TESTED → LAB_TESTED → QUALIFIED. There is no peer level
in this protocol version: a plugfest record is evidence a participant may cite, not a level it reaches. Adding a
PEER_TESTED level (between SELF_TESTED and LAB_TESTED) needs a proposal; the draft is
OIP-0023, which would also move the record schema into schemas/json/ with
fixtures and cases. Until it is accepted, no report, record or listing says PEER_TESTED.
| File | What it is |
|---|---|
plugfest-result.schema.json |
draft schema of the record (JSON Schema 2020-12, $id urn:obsp:draft:plugfest-result) |
matrix.py |
builds a record (the pairwise matrix) from runner reports |
examples/plugfest-result.example.json |
an illustrative record: two builds of the harness’s reference responder, one with a defect |
drivers/obsp_py_driver.py |
the driver protocol of the local kit, and the Python SDK’s driver |
../../tools/plugfest.py |
the local kit: cross-tests the repository’s reference implementations on shared vectors and writes a DRAFT record |
Procedure
- Call. The organiser publishes the event: date, mode (on site, remote, hybrid), the profiles in scope, the suite version every run uses, and the witnesses. A witness belongs to no participant and runs no implementation.
- Participants. Each participant registers its implementation (name and version) under its participant UNI, and brings its evidence set for each profile it enters. A participant may enter several implementations; two implementations of the same participant are never an independent pair.
- Self tests first. Each implementation runs the open suite on its own evidence with the conformance runner
(
services/conformance-runner/, modesuite). These reports are listed in the record underselfTests; they are theSELF_TESTEDevidence each participant already has. - Test matrix. For each profile, every ordered pair of implementations that entered it is one cell: the
initiator produces the documents, the responder serves the gateway. The runner’s pairing mode sends the
initiator’s documents (participant manifest, conformance claim, node manifest and attestation evidence, provider
manifest and supply-chain receipt, as each set holds them) to the responder’s gateway and checks every answer
(
live --counterpart NAME --counterpart-evidence DIR). A document the initiator did not bring is taken from the repository fixtures and named in the report. Both directions are run: A→B and B→A are different cells.
| Profile | Cells today | Not yet covered |
|---|---|---|
OBSP-NODE, OBSP-SITE, OBSP-GRID |
registration, claims, joinNode, describeNode, admitProvider, register reads |
functions without a gateway operation (time, observe, qualify, orchestrate, exit, correct, prove, federate, exchange) and the field channels |
OBSP-PROVIDER |
the same operations; admitProvider with the provider’s manifest and receipts |
exit |
OBSP-CONSUMER |
registration and reads only | exchange (the read APIs are proposed in OIP-0001) |
- Witnessing. A witness watches each pairing run (in person or on a shared session), checks that the base URLs and evidence sets are the ones registered, and that no result was edited. Runner reports are signed by the runner operator’s key where one is configured and their digests are appended to the runner’s reference log, so a witness can later check each report against its log receipt.
- Record. The organiser runs the generator over all reports of the event, maps every implementation to its participant and names the witnesses:
PYTHONPATH=sdk/python/src python3 conformance/plugfest/matrix.py reports/*.json \
--event "Plugfest 2027-1" --mode HYBRID --witness uni:participant:witness-0001 \
--participant impl-a=uni:participant:org-a-0001 --participant impl-b=uni:participant:org-b-0001 \
--out plugfest-result.json --markdown
The generator refuses reports that are not valid ConformanceReports, reports from different suite versions, fewer
than two implementations, an unmapped implementation, no witness, or a witness that is also a participant. Each
cell gets independent (initiator and responder map to different participants) and interop: PASS when every
check run in the pairing passed and none was left unrun, FAIL when any check failed, PARTIAL when checks passed
but some were not run, NOT_RUN when none ran. PASS in a cell says the two implementations worked together on
the operations the harness covers; it does not say the profile is covered.
7. Publication. The record, the reports and the log receipts are published together. The witnesses sign the
record (the draft schema leaves the signature to extensions until OIP-0008 is accepted). A participant may cite
the record in a conformance claim as additional evidence; under this protocol version the claim’s level stays
SELF_TESTED at most.
Result record (draft)
| Member | Holds |
|---|---|
event |
name, mode, start (and end) time |
suiteVersion |
the one suite version every report used |
participants |
participant UNI and implementation (name, version), at least two |
witnesses |
witness UNI and statement, at least one |
matrix |
one cell per profile and ordered pair: initiator, responder, independent, interop, check counts, failed case ids, report digests |
selfTests |
the suite reports of each implementation |
reports |
every input report: UNI, digest, mode, signed or not |
outcome |
pairings, independent pairings, passing independent pairings |
Independence of a pairing and of a witness cannot be expressed in JSON Schema; the generator checks it, and OIP-0023 proposes a suite invariant for it.
Local kit (reference implementations, not a plugfest)
python3 tools/plugfest.py runs every ordered pair of the repository’s reference implementations on shared vectors:
canonical JSON and digests (the positive fixtures, the example evidence sets, the OIP-0008 draft vector objects and the
RFC 8785 examples), OIP-0008 draft Ed25519 envelopes (test key only; each consumer must accept the producer’s object and
refuse two tampered copies) and OIP-0027 draft compact messages, plus the runner’s pairing mode with the example
evidence sets against the Rust gateway and the reference responder. Each language has a small driver (standard library
and the SDK only): drivers/obsp_py_driver.py, reference/typescript/obsp-sdk/tools/plugfest-driver.mjs,
reference/go/obsp/cmd/obsp-plugfest, reference/c/obsp/tools/obsp_plugfest.c, and the Rust examples plugfest
(obsp-core) and plugfest_compact (obsp-node-embedded). A missing toolchain makes its cells NOT_RUN with the reason;
--quick runs only what needs nothing but Python.
The output goes to dist/plugfest/: one result file per cell, the live conformance reports, SUMMARY.md and
plugfest-result.draft.json, which is valid against the draft schema of OIP-0023 and this folder’s copy. All these
implementations come from one participant, the protocol project, so every cell has independent: false; the witness
entry is a placeholder the record owner must replace; the record is a draft, unsigned, and supports no level.