Skip to content

Add federation, publication channels and WoT versioned reference resolution - #571

Open
marcschier wants to merge 192 commits into
xregistry:mainfrom
marcschier:main
Open

marcschier wants to merge 192 commits into
xregistry:mainfrom
marcschier:main

Conversation

@marcschier

@marcschier marcschier commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Independent Registries need to share and deploy documents without confusing source identity, live state, or an exact published revision. These working drafts separate read resolution, downstream writes, and immutable publication. WoT and OpenUSD define how their documents use those mechanisms.

Proposed Changes

  • Federated reads and discovery. Define the Registry of Registries catalog and Federation rules for binding selection, producer- and consumer-owned resolution, whole-Resource shadowing, and source provenance. Unresolved case-only sibling collisions return ambiguous without changing Core's exact-case lookup. A failed binding does not silently trigger another advertisement for the same catalog entry.
  • Bindings. Specify access over HTTP, OCI, Git, File, OPC UA, and MQTT. Directory mappings expose existing trees without rearranging files; OCI layouts use bounded, digest-checked descriptor graphs. The OPC UA binding maps native nodes, documents, mutations, and events. MQTT 5.0 RPC defines short reads and a native mapping of the Core HTTP API, including writes and optional pagination, without requiring HTTP or Federation.
  • Downstream deployment. Add an opt-in deployment contract with HTTPS, native OPC UA, and MQTT profiles. A receiver grants access to a reserved scope, stages bytes, and conditionally commits one exact Version at a time. One-way synchronization uses the last verified destination state and reconciles lost commit replies. Deployment does not change read policy or advance a Publication channel.
  • Publication channels and snapshots. Define immutable manifests, conditional channel heads, forks, promotion, rollback, capture provenance, open records, and offline byte bundles. A checked manifest extension binds the source pins, composition policy, and interpreted model for reconstruction; materialized readers need not interpret it. Independent source pins do not prove simultaneous capture, and cross-binding equivalence requires a checked mapping.
  • WoT and OpenUSD. Align WoT SemVer and incremental Version assignment, exact identity, reference selection, and publication closure. Live selection, raw exact replay, and snapshot-bound composition remain distinct. A snapshot binds each recognized dependency occurrence to an exact revision, then checks the authored requirements against that revision. Projection selectors stay within their bound source; Schema Resource references and rel: "describedby" remain outside the WoT closure profile. Align OpenUSD artifact identity, dependency closure, and delegated retrieval.

The working-draft index links the designs, bindings, models, and examples. The PR adds shared fixtures, 33 WoT resolution vectors, generated schemas with reproduction checks, and an OCI push-and-digest round trip in CI. It preserves local $include sibling precedence, also tracked in #724, and pins line endings for byte-sensitive fixtures.

These are unreleased drafts. The examples demonstrate selected behaviors, not deployed conformance, durable storage, or a full WoT resolver. OPC UA companion-model and runtime work remains separate, as do Media Endpoints (#716) and the API Registry Service (#715).

Release Note


marcschier and others added 8 commits September 3, 2026 07:22
Define the native OPC UA event type mapping, interaction semantics, notifier
topology, subscriptions, filtering, and optional conformance units for the
xRegistry Events working draft.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 5c79a1ed-6dab-4522-a9fc-6548caa78ad5
Document the normative errata applied to the xRegistry Events draft, define
observable interaction boundaries for domain methods, Writes and FileTransfer,
and constrain notifier delivery guarantees during deletion.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 5c79a1ed-6dab-4522-a9fc-6548caa78ad5
Require FileTransfer writes to stage document bytes and update Version Epoch and
ModifiedAt only when a successful Close commits byte-different content. Keep
clean, aborted, and byte-identical closes side-effect free.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 5c79a1ed-6dab-4522-a9fc-6548caa78ad5
Address review feedback by distinguishing domain resource names, the inseparable Resource/first-Version create, Version labels, and the first-class Resource Meta entity.

Signed-off-by: Marc Schier <marcschier@hotmail.com>

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 5c79a1ed-6dab-4522-a9fc-6548caa78ad5
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 5c79a1ed-6dab-4522-a9fc-6548caa78ad5
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 5c79a1ed-6dab-4522-a9fc-6548caa78ad5
Define the hub-compatible Registry domain, shared federation contract, portable document format, and native OCI, HTTP, Git, File and OPC UA bindings. Include derived schemas, executable conformance examples, generator corrections, and repository integration.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
Record local Registry draft edits, including updated model versions and removal of the hub-compatibility and source-crosswalk sections.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
Comment thread core/primer.md Resolved
Restore the primer and CloudEvents schema artifacts to the PR baseline as requested in xregistry#571. Track future primer work in xregistry#572 and verified generator bugs in xregistry#573 with separate PR xregistry#574. Align the authored 1.0-rc1 draft status and tests and remove a stale TOC link and trailing whitespace.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
The clean CI dependency set omitted jsonschema's optional URI-reference validator, silently accepting malformed relationship targets. Install the non-GPL format extra and preserve the existing rejection assertions. Validated 395 focused tests in a clean environment.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
Comment thread workingdrafts/federation/spec.md Resolved
Comment thread workingdrafts/federation/spec.md Resolved
Comment thread workingdrafts/federation/spec.md Resolved
Comment thread workingdrafts/federation/spec.md Resolved
Comment thread workingdrafts/federation/spec.md Resolved
Comment thread workingdrafts/federation/spec.md Resolved
Comment thread workingdrafts/federation/spec.md Resolved
Comment thread workingdrafts/federation/spec.md Resolved
Comment thread workingdrafts/federation/spec.md Resolved
Comment thread workingdrafts/federation/spec.md Resolved
Comment thread workingdrafts/bindings/mapping.md Resolved
Comment thread workingdrafts/bindings/git.md Resolved
Comment thread workingdrafts/bindings/git.md Resolved
Comment thread workingdrafts/bindings/git.md Resolved
Comment thread workingdrafts/bindings/file.md Resolved
Comment thread schema/schemas/document-schema.avsc Resolved
Define client/server hosting, local Resource shadowing, ordered source selection and diagrams. Move the portable document format beside its bindings, add binding motivations, remove crosswalks and legacy xregurl wording, and rewrite semicolon-delimited prose. Fix all four code-review defects with regressions. Keep all released schema artifact changes in xregistry#574 and out of xregistry#571. Leave review threads unresolved as requested.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
Comment thread workingdrafts/bindings/mapping.md Resolved
Comment thread workingdrafts/bindings/mapping.md Resolved
Address xregistry#571 feedback by renaming the format document to mapping.md, permitting root-relative metadata and document paths throughout the selected directory, and retaining integrity, containment and Resource identity rules. Add File/Git regression coverage for unchanged existing files, Unicode names and shared document references. Keep registry.json unchanged while documenting dotfile tradeoffs in the review reply.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
Comment thread workingdrafts/bindings/mapping.md Resolved
Comment thread workingdrafts/bindings/mapping.md Resolved
Comment thread workingdrafts/bindings/mapping.md Resolved
Comment thread workingdrafts/bindings/mapping.md Resolved
Comment thread workingdrafts/bindings/mapping.md Resolved
Comment thread workingdrafts/bindings/mapping.md Resolved
Comment thread workingdrafts/bindings/mapping.md Resolved
Comment thread workingdrafts/bindings/mapping.md Resolved
Comment thread workingdrafts/bindings/mapping.md Resolved
Comment thread workingdrafts/bindings/oci.md Resolved
Address the editorial review and current xregistry#571 threads with a complete byte-accurate mapping walkthrough, post-shadow selection example, binding comparison and OCI diagrams. Clarify catalog and error terminology, simplify security prose, and align mapping helper/sample names. Preserve conformance-section placement and released artifact exclusions. Validate the examples and full 1164-test suite.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
Comment thread workingdrafts/bindings/oci.md Resolved
Comment thread workingdrafts/bindings/git.md Resolved
Link OCI advertisement handling to Federation, replace filesystem stem jargon with names, consistently describe directory mappings, and explain NAS or file-share access through OS-mounted paths without changing URI authority policy.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
Comment thread workingdrafts/bindings/file.md Resolved
Comment thread workingdrafts/bindings/mapping.md Resolved
Comment thread workingdrafts/bindings/mapping.md Resolved
Comment thread workingdrafts/bindings/mapping.md Resolved
Comment thread workingdrafts/bindings/file.md Resolved
Comment thread workingdrafts/bindings/oci.md Resolved
Comment thread workingdrafts/bindings/file.md Resolved
Comment thread workingdrafts/bindings/oci.md Resolved
Comment thread workingdrafts/bindings/git.md Resolved
Comment thread workingdrafts/federation/spec.md Resolved
Signed-off-by: Marc Schier <marcschier@hotmail.com>
marcschier and others added 2 commits September 11, 2026 15:39
Signed-off-by: Marc Schier <marcschier@users.noreply.github.com>
Move the existing draft helpers and conformance tests into bundle-local tools directories. Use qualified imports and shared pytest discovery, and update the documented commands and links. Preserve helper behavior, model/schema data and all existing test cases; leave pending implementation changes out of this commit.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
Comment thread .github/workflows/verify.yaml Resolved
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Map Core HTTP operations to native MQTT requests while preserving Federation short reads. Define validation, mutation results, navigation, provenance, and optional pagination, and align the catalog and offline examples.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Specify case-only composition collisions and verify Publication reconstruction inputs against a manifest-bound record. Preserve earlier editorial fixes and align WoT identity descriptions and generated schemas.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
Keep the API Registry Service draft in xregistry#715 rather than duplicating its model and specification in the federation pull request.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
Route native actions and XIDs through MQTT topics, align Federation and catalog contracts, add WoT bundle generation, and document downstream deployment in each protocol binding.

Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>
Signed-off-by: Marc Schier <marcschier@hotmail.com>

# Conflicts:
#	workingdrafts/models/openusd/spec.md
#	workingdrafts/models/wot/spec.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants