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-GRID

Source docs/guides/grid.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-GRID extends OBSP-SITE, which extends OBSP-NODE: a grid run covers all twelve functions.

Who it is for

Authors of a cluster or grid control plane: the software that compiles signed plans for many sites, holds the fleet’s view, federates with other trust domains by choice, and publishes governed products. A grid is the first participant that other parties may depend on, so the two rules that matter most are P2 (each fact has one owner) and P11 (a grid is operable by its owner without any service, data or approval from another organisation; joining another grid is a choice).

Functions and objects

Function Specification Grid responsibility Objects
federate 5.7 asynchronous exchange between trust domains under an explicit binding; survives partition fleet-projection (live); FederationBinding and AuthorityLease are gap G-FED-1
exchange 5.10 governed products through versioned read APIs, events, maps and exports; read-only toward sites product-manifest; read APIs are gap G-EXCH-1
orchestrate 5.8 compiles a system pack deterministically into a per-site plan; assigns reconciliation system-pack, plan, reconciliation-assignment
the SITE and NODE functions the grid also runs them for the sites and nodes it hosts see the SITE and NODE guides

Cases: CT-GRID-001 (federate), CT-GRID-002 (exchange), CT-GRID-003 (orchestrate) in conformance/cases/OBSP-GRID/, plus the site and node cases. The grid’s participant-facing API is the OpenAPI 3.1 document schemas/openapi/obsp-gateway.openapi.yaml: registerParticipant, fileConformanceClaim, getConformanceClaim, getRegister, joinNode, admitProvider, describeNode. make openapi checks the document.

Walkthrough

Set up once as in start here.

  1. Start from the grid example set, conformance/examples/OBSP-GRID/, which adds fleet-projection, product-manifest, system-pack and reconciliation-assignment to the site documents.
cp -R conformance/examples/OBSP-GRID evidence
obsp conformance run --profile OBSP-GRID --evidence ./evidence --out /dev/null
  1. Compile plans deterministically. The same inputs must give the same plan digest: check yours with obsp digest on two compilations. A plan is a proposal (executionPermitted is false); nodes apply it and report with receipts. system-pack.wrong-apiversion.json is the negative fixture.
  2. Project the fleet honestly. A fleet-projection states what each site reports and how fresh it is. Readiness is a typed state, not a boolean (fleet-projection.ready-boolean.json is rejected), and a high-availability claim is not a quorum claim (...quorum-ha.json). The projection is a view: the site stays the owner of its facts.
  3. Publish products with their context. A product-manifest lists its outputs, the licence and the most restrictive upstream term, the quality and the correction policy (product-manifest.empty-outputs.json and ...missing-correction-policy.json are rejected). Every value keeps provenance, time, uncertainty, quality and correction state (P5). The exchange plane is read-only toward sites.
  4. Federate by binding only. The live tree has the projection a federated grid reads; the binding that names two trust domains, scopes, direction, retention, the authority lease and exit terms is a draft. Until it is accepted, document your federation terms outside the protocol and do not claim a lease: a peer gains no command authority over another domain’s nodes without one.
  5. Run your own gateway. The Rust reference obsp-gateway implements the seven operations with the checks the harness expects (request context, idempotency, problem details). From reference/rust: cargo run -p obsp-gateway -- --listen 127.0.0.1:8080 (it has no authentication, so keep it on loopback or put your mutual TLS or OAuth 2.0 in front of it). The Python reference responder in conformance/harness/reference/ needs no toolchain. Neither is a gateway to deploy.

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

Topic Live in 0.1 Only in a draft
The twelve-function contracts, the three GRID cases, the gateway API yes
Federation bindings, authority leases and partition behaviour (G-FED-1) no OIP-0004
Read APIs on OGC endpoints (G-EXCH-1) no; the Rust gateway has them behind its exchange feature as a reference of the draft OIP-0001
Exchange bindings: WIS 2.0 notifications, STAC, OGC API Features, EDR and Records no OIP-0009
Alert notices and the CAP binding no OIP-0005
Signed plans with TUF roles (G-ORCH-1) no OIP-0003
Proofs, verifier and transparency receipts (G-PROVE-1) no OIP-0002
Authorities in UNIs, discovery and namespaces at planetary scale no OIP-0016
Participant credentials no OIP-0015

The draft proposals are checked together as the 0.2 candidate: make integration applies the series in oips/integration/0.2/ to a temporary copy of the tree and runs make check there. It accepts nothing and changes no file of this tree. Read it before you build on a draft, to see how conflicts between drafts are resolved.

Self-test

obsp conformance run --profile OBSP-GRID --evidence ./evidence --out report.json
PYTHONPATH=sdk/python/src:. python3 -m conformance.harness.run --endpoint https://your-gateway.example/obsp/v0.1 --profile OBSP-GRID

The harness reaches only the endpoint you name, follows no redirect, sends no credential and exits 0, 1 or 2 (no failed check, a failed check, unreachable). OBSP-GRID has live cases for joinNode, admitProvider and describeNode only; the rest of the profile is checked on documents, so a live run is INCOMPLETE. The conformance runner service runs both modes, can pair two implementations against each other’s evidence (the groundwork for a plugfest), signs reports with the draft envelope when you give it a key, and refuses to issue anything above SELF_TESTED.

What a SELF_TESTED claim means. The open suite ran on published evidence and anyone can reproduce the report (CNF-3). It does not certify or endorse the grid, does not say the grid is safe, secure or interoperable with a given peer, and rests on the gaps above being open: the claim names the version and scope it covers. See the conformance guide.

Common errors

What you see Cause Fix
CT-GRID-002 ... product-manifest schema errors no outputs, or no correction policy list outputs and state how corrections reach consumers
a fleet-projection rejected readiness as a boolean, or a quorum asserted for high availability use the typed state; state what was measured
plan digests differ between compilations non-deterministic compiler (timestamps, map order) canonicalise inputs; compare with obsp digest
OBS-CTX-0001, OBS-CTX-0002, OBS-CTX-0003 from the gateway request context missing or invalid; idempotency key differs from the context; tenant not served fix the context; one key per command; send only for tenants the gateway serves
OBS-CONFLICT-0001 (409) a participant or node already registered with other content read the existing record before re-registering
OBS-REGISTER-0001 (404) unknown register name on getRegister list names with obsp registers list
OBS-ROUTE-0002 (405) a write to a read-only exchange route exchange is read-only toward sites (P7)
OBS-QUERY-0001 unknown or malformed exchange query parameter check the draft OIP-0001 query rules

OBS-CTX-0001 is defined by the specification (4.3); the other codes belong to the reference gateway (reference/rust/obsp-gateway/src/problem.rs).