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: Learn
Start
Guides
Domain packs
Participants
Security and privacy
Pilot kits
Operations
Ecosystem

Guide: OBSP-SITE

Source docs/guides/site.md

On this page
  1. Who it is for
  2. Functions and objects
  3. Walkthrough
  4. What the live tree supports, and what only a draft proposes
  5. Self-test
  6. Common errors

Status: live profile of specification 0.1 (section 7.1). OBSP-SITE extends OBSP-NODE: everything in the node guide applies, and a site passes the node cases as well as its own.

Who it is for

Authors of a site cell controller: the software at a station, plant, field office or edge cluster that admits the nodes and sources of one site, keeps the site’s facts, issues and applies corrections, and acts as the local verifier. The site is the unit that keeps working through loss of its upstream link, within the autonomy window of its plan (P3).

Functions and objects

Function Specification What the site adds to the node’s seven functions Objects
admit 5.2 local admission of nodes and data sources, by rights and technical review, for a stated scope source-manifest, qualification-record
correct 5.9 records a correction, marks dependants stale, publishes the new version correction-notice
prove 5.11 the local verifier role: answers unpredictable challenges and signs receipts proof-receipt

Cases: CT-SITE-001 (admit), CT-SITE-002 (correct), CT-SITE-003 (prove), plus CT-NODE-001 to CT-NODE-009, in conformance/cases/. The site is also the party that issues the bootstrap bundle and the attestation result a node needs to join, so read the join states in section 5.1: transitions not in the table must be refused and recorded.

Walkthrough

Set up once as in start here.

  1. Start from the site example set, conformance/examples/OBSP-SITE/: the node documents plus source-manifest, qualification-record, correction-notice and proof-receipt.
cp -R conformance/examples/OBSP-SITE evidence
obsp conformance run --profile OBSP-SITE --evidence ./evidence --out /dev/null
  1. Admit. A source-manifest says what a data source is and under what rights (rights-state-granted and missing-rights-state are the negative fixtures: a rights state is a recorded decision, never assumed). A qualification-record says what was tested for which scope; its result is a typed state and is never worded as certified (qualification-record.result-certified.json is rejected), and it names the artifact by digest. Admission is scoped to (provider, artifact digest or version, capability or profile, jurisdiction, purpose, qualification revision): presence or connectivity never implies it.
  2. Operate each node through its states. Identity is short-lived and renewable, the bootstrap bundle is signed by the site’s enrolment key and carries the trust anchors, the policy reference and the first plan digest. Quarantine a node whose time integrity is compromised or whose authority expired, even when offline.
  3. Correct without erasing. A correction-notice names the corrected record and version, the reason, the issuer and the dependants it invalidates. The states are CURRENT, DISPUTED, SUPERSEDED, WITHDRAWN, RECALLED; the last three are terminal for that version and a replacement carries a different digest (the suite checks supersededBy is not the corrected record). The negative fixtures show the refused transitions (recalled-to-superseded, superseded-to-current, withdrawn-to-disputed, current-to-current) and the notice rules (missing-dependants, missing-reason, superseded-without-successor, company-issuer: the issuer is a role, not a company).
  4. Prove. Peers answer a challenge you cannot predict; the proof-receipt binds the challenge, the digests of the evidence and the scope, and proves only that claim (proof-receipt.missing-evidence.json is rejected). The challenge protocol and verifier service are an open gap (G-PROVE-1, specification section 9); the live tree has the receipt contract only.
  5. Keep one owner per fact. The site may cache and continue bounded state; it must not become a silent second source of truth (P2). A site never opens an inbound management path from the exchange plane (P7).

Reference code: the Python SDK for validation and the suite, the TypeScript SDK and verifier page for checking evidence sets, obsp-gateway (a participant gateway your cell can call or imitate) and the Rust node agent as a counterpart. There is no reference site controller: a site is product code that you write against these contracts.

What the live tree supports, and what only a draft proposes

Topic Live in 0.1 Only in a draft
The ten SITE cases and every object above yes
Signed plans, TUF roles and expiry for plans the site compiles or forwards plan and receipts only (gap G-ORCH-1) OIP-0003
Proof challenge, signature, verifier and transparency receipts (gap G-PROVE-1) receipt contract only OIP-0002
Signature envelope on corrections and receipts no OIP-0008
Alert notices and the CAP binding no OIP-0005
Triggers a site evaluates no OIP-0018
Usage policies, privacy classes, consent and retention on site data no OIP-0014
Field connectors (LoRaWAN, OPC UA, NMEA 0183, SDI-12, WIS 2.0 ingest) no OIP-0019

Domain packs (meteorology, hydrology, ocean, air quality, and others) list recommended properties, quality tests and an end-to-end scenario for a site in each domain. They are informative.

Self-test

obsp conformance run --profile OBSP-SITE --evidence ./evidence --out report.json
obsp conformance run --profile OBSP-SITE --sovereignty --evidence ./evidence      # when the operator is not the publisher

Ten requirements are covered: seven node functions and admit, correct, prove. All cases are documents, so the run proves your evidence is well formed and internally consistent, not that your controller behaves; test behaviour yourself and attach the results as evidence. To test the gateway your site calls, run the live harness (python3 -m conformance.harness.run, see the node guide) or the conformance runner service.

What a SELF_TESTED claim means. A conformance report from the open suite, produced on evidence you publish and reproducible by anyone, for the profile and version you name. It is not a certification, accreditation or endorsement (CNF-1) and is not a statement about safety or security. Write the claim and file it as in the conformance guide.

Common errors

What you see Cause Fix
OBSP-SITE: FAIL after you changed a node document the site run includes every node case fix the node documents first
CT-SITE-002 ... supersededBy has the same digest as the corrected record a correction that supersedes a record with itself the replacement is a new document with its own digest
notice schema errors on states a refused transition, or a missing reason, dependants or successor follow the state table of section 5.9
qualification-record rejected for result the result was worded as a certification use the typed result vocabulary
source-manifest rejected no rights state, or one asserted as granted without a record record the decision
OBS-CTX-0001 from a gateway consequential call without request context add Obsp-Request-Context
OBS-ADMIT-0001 (403) from the reference gateway a supply-chain receipt is not VERIFIED_FOR_SCOPE admit only what the receipt supports
OBS-CLAIM-0001, OBS-CLAIM-0002 from the reference gateway claim names an unknown profile or another suite version use ids from registers/conformance-profiles.yaml and the suite version of conformance/suite.yaml