Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

Menu Close
In this section: Build
Start
Reference code
Tools
API reference
Public services
Agents
Bindings and crosswalks

Plugfests (non-normative groundwork)

REFERENCE Source conformance/plugfest/README.md

On this page
  1. Procedure
  2. Result record (draft)
  3. Local kit (reference implementations, not a plugfest)
FieldValue
StatusNon-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

  1. 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.
  2. 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.
  3. Self tests first. Each implementation runs the open suite on its own evidence with the conformance runner (services/conformance-runner/, mode suite). These reports are listed in the record under selfTests; they are the SELF_TESTED evidence each participant already has.
  4. 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)
  1. 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.
  2. 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.