Released docs. You are viewing the documentation published with v0.49.0. Development docs are available at Latest.
Use this page to decide which Registry Stack surfaces you can build on across releases. It names
the promised products and surfaces, the experimental ones, the rules a change to a covered surface
follows, and how state moves from one release to the next. The promise takes effect at Registry
Stack 1.0.0, when all six promised products reach 1.0 together.
Versioning
Section titled “Versioning”Registry Stack 1.0 is one release with one Stack version and the tag vMAJOR.MINOR.PATCH.
Base Registry Engine, Registry Evidence, Registry Casework, Registry Coordinator, Registry
Discovery and Registry Manifest reach 1.0 together. Discovery remains on the Stack release train
through 1.0; independent product releases are deferred until after that cut.
Across Stack 1.x, patches do not break covered surface. A minor may remove HTTP or configuration
surface deprecated in an earlier minor; removing deprecated SDK methods requires a major.
Before 1.0, breaking changes require a minor release, a BREAKING: note and concrete migration
steps. Patches remain compatible.
The Node and Python SDKs have one package version each. Compatibility is specified per product namespace. A breaking change to any promised SDK namespace requires a major version of the whole package, even if other namespaces are unchanged.
Promised products
Section titled “Promised products”The promise covers six products: Base Registry Engine, Registry Evidence, Registry Casework,
Registry Coordinator, Registry Discovery, and Registry Manifest. For each, it covers the
configuration files, identified by their apiVersion or schema version, and the HTTP API with its
OpenAPI document and its problem code values. The linked references define each surface; if this page and a reference disagree,
the reference wins.
| Product | Configuration | HTTP API |
|---|---|---|
| Base Registry Engine | registry.yaml, module.yaml, and runtime.yaml, including the Rhai action handler ABI registry.action-plan/v1 | Base Registry Engine API |
| Registry Evidence | Bundle and runtime files | Registry Evidence API and problem types, including the signed JWS, unsigned JSON envelope, SD-JWT VC, and holder-bound issuance envelope response formats |
| Registry Casework | Casework policy and runtime file | Casework API |
| Registry Coordinator | workflow.yaml, runtime.yaml, and fixtures/*.yaml | Coordinator API |
| Registry Discovery | Origins, evidence-type mappings, and runtime file | GET /v1/services and POST /v1/evidence-types/resolve |
| Registry Manifest | registry-manifest/v1 metadata documents | None |
Registry Evidence’s promised configuration is the compiled bundle and its runtime file. The
authored files evidencectl compiles into a bundle, EvidenceProject, EvidenceTarget, and
EvidenceTargetAuthority, are tooling formats outside the promise and may change in any minor
release. The bundle they compile to stays covered.
Registry Evidence’s versioned routes are POST /v1/evidence, POST /v1/evidence/batch, and
GET /v1/evidence-definitions. Its operational routes are /health, /ready, /openapi.json,
/catalog.jsonld, /.well-known/evidence/jwks.json, /.well-known/jwt-vc-issuer, and
/.well-known/oauth-protected-resource. The public certificate check,
POST /v1/public-check, is a versioned route that stays outside the promise: see
experimental surfaces.
Registry Coordinator’s promise covers its workflow model of five step types, its run API, and
the coordinator SDK namespace. Its versioned routes are GET /v1/workflows/{workflow},
POST /v1/runs, GET /v1/runs, GET /v1/runs/{run}, GET /v1/runs/{run}/inspect,
POST /v1/runs/{run}/retry-same, POST /v1/runs/{run}/cancel, POST /v1/runs/{run}/reconcile,
POST /v1/runs/{run}/check, POST /v1/events/{workflow}/{trigger}, and
POST /v1/review-completions. Its deployment-wide operator routes are GET /v1/doctor,
POST /v1/restore-hold, POST /v1/release-restore-hold, POST /v1/release-admission-hold,
POST /v1/complete-execution-recovery, and POST /v1/retention. Its operational routes are
/health and /ready. The runtime serves no OpenAPI document: the promised document is the
generated file the API reference renders. Its configuration formats carry v1alpha1 version strings
today. As a promised product, it moves to stable versions in the breaking release described
under experimental surfaces. The Coordinator operations that call
Registry Scheduling or Registry Messaging are experimental with those products: see the same
section. The Coordinator binaries and
installer enter the Stack release roster from v0.44.0, and its container image is not
published yet.
The promise also covers the client SDKs: the Node.js package @registrystack/client-node, the Python
package registry-stack-client, and the Rust crate registry-stack-client taken from the release
tag. In each, the breg, evidence, casework, coordinator, and discovery namespaces are
promised. The SDKs are additive-only across 1.x, because a version range on a published package, such as npm ^1.2.0
or pip ~=1.2, picks up minor releases automatically: a minor release may deprecate an SDK method,
and its removal waits for 2.0. A member of a promised namespace that reaches an
experimental surface is experimental with that surface: for example, the
statistics methods of the breg namespace, and the scheduling variant of task grant bounds in
the casework namespace, and the coordinator operations listed under
experimental surfaces. See the client API reference.
Experimental surfaces
Section titled “Experimental surfaces”These surfaces stay outside the promise, including those whose release packaging is still held.
Those with a v1alpha1 version string keep it, and each may change or be removed in any minor
release without deprecation:
- Registry Scheduling, and the
schedulingnamespace of the client packages - Registry Messaging, and the
messagingnamespace the client packages carry fromv0.38.0 - Registry Render, and the
renderSDK namespace. Render client packages are held out of releases - the shared
recordandauthSDK namespaces breg-mcpandbreg-review, the citizen services beside Base Registry Engineevidence-oid4vci, the wallet-facing delivery service beside Registry Evidence, including its configuration, routes, and command-line flags- the Base Registry Engine statistics routes under
/v1/statistics/, and thestatisticalDatasetsdeclarations behind them - the Base Registry Engine spatial adapter routes under
/v1/gis - the Registry Evidence public certificate check: the
POST /v1/public-checkroute, itsregistry.evidence.public-check/v1alpha1answer, and thepublicCheckmembers of an Evidence project and of a target authority - calling Evidence from a Base Registry Engine governed action handler: the project’s
evidenceProviders, the action’sevidencedeclaration, andevidence::resolveinside the handler - the
schedulingvariant of a Casework task grant’s bounds - the Registry Coordinator operations that call an experimental product:
messaging.submit-message/v1, and the Scheduling operationsscheduling.read-service/v1,scheduling.read-availability/v1,scheduling.preview-availability/v1,scheduling.create-hold/v1,scheduling.confirm-hold/v1,scheduling.release-hold/v1,scheduling.create-appointment/v1,scheduling.read-appointment/v1,scheduling.reschedule-appointment/v1, andscheduling.cancel-appointment/v1. The other fourteen catalogue operations call Base Registry Engine, Casework, an external HTTP service, or the evaluation host, and are promised
Registry Document Store is held out of the 1.0 release.
The session service is source-build only while SESSION_FIRST_RELEASE is unset.
No release script builds, stages or publishes registry-session yet.
Before v1.0.0, one breaking release moves the promised products’ version strings from
v1alpha1 to stable versions, so a v1alpha1 version string that a 1.x release reads or writes
(in configuration, an API, or a schema) marks an experimental surface. The published
registry-discovery-v1alpha1 profile resources stay published as history and are not an
experimental surface.
Outside the promise
Section titled “Outside the promise”Two surfaces get best effort: ctl JSON output and audit record schemas. They may change in a minor release with a release note and no deprecation window.
These surfaces are not covered:
- Rust library crates. Every workspace crate is
publish = false, and nothing is published to crates.io. A crate other than theregistry-stack-clientSDK may change in any release; pinning the repository by tag or commit gets exactly what you pinned. - Database internals.
- Human-readable CLI text.
- Log lines.
A surface this page does not name is outside the promise.
What counts as a breaking change
Section titled “What counts as a breaking change”For an HTTP API:
- removing or renaming a route, parameter, request field, or response field
- changing the type, meaning, or optionality of an existing field
- changing the status code or the media type of an existing response
- removing or renaming a problem
code, changing the stack-wide meaning of a released code, or changing an existing product-and-operation HTTP mapping for it - tightening authentication or scope requirements on an existing route, except as a security fix announced in the release notes
For configuration:
- removing or renaming a key
- narrowing the accepted values of an existing key
- changing the meaning or the default of an existing key
For an SDK:
- removing or renaming a method, type, or member
- changing a method’s parameters or result incompatibly
New routes, optional request fields, response members, optional configuration keys, problem codes,
and SDK methods are additive. Descriptions, summaries, and ordering inside an OpenAPI document,
and problem detail strings, are not part of the contract.
Deprecation and removal
Section titled “Deprecation and removal”Nothing changes meaning in place. The replacement ships first, then the old form is deprecated,
then removed. For configuration, the replacement is a new apiVersion accepted alongside the old
one.
A deprecation lasts at least one minor release. There is no time floor; a later revision of this policy may lengthen the window and never shortens it. During the window:
- the product’s
checkcommand, orregistry-manifest validatefor Registry Manifest, reports the deprecated version as a warning - HTTP responses carry
DeprecationandSunsetheaders (RFC 9745 and RFC 8594), and the OpenAPI document marks the route or fielddeprecated: true - the release note carries a
Deprecatedentry naming the surface, its replacement, the earliest release that may remove it, and copyable upgrade steps - the docs page for the surface notes
since vX.Yand names the replacement
A removal turns a retired configuration key into a refusal, never a silently ignored key, and its release note repeats the migration steps.
A security fix may tighten or remove surface without the full window when keeping the surface would leave deployments exploitable. The release notes document the removal, the shortened window, and the migration steps without details that put unpatched deployments at more risk.
Changes made before v1.0.0, including the
Registry Relay retirement, predate these
rules. A docs page with status: deprecated frontmatter is a superseded page, not a scheduled
removal.
Clients and servers
Section titled “Clients and servers”A client must ignore response members it does not recognise, and must not fail on a problem code
it does not recognise; it handles that problem by its HTTP status. That rule is what lets a minor
release add members and codes.
Signed payloads and governed, digest-verified artifacts keep their own closed formats. Casework clients keep review policy closures and their dependencies intact for digest verification before use.
For Base Registry Engine metadata, requiredCapabilities is the must-understand gate. An engine
addition that changes how an existing member must be interpreted or executed must add a new
requiredCapabilities value; every other additive member is ignorable. A client disables only the
operation that names a capability it does not understand. The engine still authorises every request
at execution time.
Servers stay strict on requests and configuration: an unknown request member or configuration key is refused, not ignored. A configuration file that uses a key a later release introduced fails to load on an earlier binary, so pin configuration to the release you deploy.
Registry Evidence Version 1 contracts
Section titled “Registry Evidence Version 1 contracts”Registry Evidence’s frozen Version 1 contracts under products/evidence/contracts/ are the
artifacts that define its configuration and HTTP surfaces. Frozen means they change only under the
rules on this page: Registry Evidence has the same promise and the same deprecation rule as the
other promised products.
Base Registry Engine WASM action handlers
Section titled “Base Registry Engine WASM action handlers”A WASM action handler is promised within the limits the WASM action handler guide states:
- the project keys
handler.type: wasm, themodulepath, and handler ABIregistry.action-plan/v1 - the guest byte ABI: a wasm32 core module with zero imports; the exports
alloc,handle,result_ptr,result_len, andmemory; thehandlestatus codes0(success),1(malformed request), and2(internal error); the{"inputs": ...}request document; and the one JSON outcome document - the runtime
wasmExecutionkeysmaximumModuleBytes,maximumGuestMemoryBytes, andbackend, with their documented ranges and defaults
Raising a limit is additive; lowering one is breaking. The fuel budget, which limit stops a call first, performance, backend speed, and the Wasmtime version are not promised. WASM hook handlers and the WASM handler SDK are outside the promise.
Upgrades and state
Section titled “Upgrades and state”The native Base Registry Engine (BReg) Record type, Action, and Proposal replacement is a fresh-install boundary. It provides no conversion of state recorded by earlier Base Registry Engine releases. Normal package evolution applies within the native model.
For retained state contracts, each release reads the state its immediate
predecessor wrote, except for the fresh baselines described in this section and
v1.0.0. v1.0.0 is a fresh install, and no upgrade from a v0.x release to it
is supported. For
a minor release, the immediate predecessor is the last release of the previous line. For a patch
release, it is the previous release of its own line; a patch release promises no direct path from a
release before its line. Upgrade one release at a time, and complete each release’s upgrade steps
before you start the next.
v0.40.0 does not upgrade state v0.39.0 wrote in place. Rewrite the
configuration you carry over, rebuild packages, and apply them to new databases as the
upgrade runbook describes.
The forward state path starts at v0.40.0; subsequent pre-1.0 releases read the state their
immediate predecessor wrote, subject to the documented state boundaries below. The predecessor
rehearsal starts at the release that Enforcement names.
Evidence’s normalised v0.42.0 model starts a new baseline. Retired split
question/source projects and targets with bundled authority have no in-place conversion.
Retain the previous deployment and audit, author evidence.yaml, a target, and complete target
authority with the current tooling, then package and verify a fresh synthetic assertion before
cutover. v0.43.0 continued this forward path from v0.42.0. v0.45.0 retired the tagged
Source form (http-json, sqlite-extract) for Adapter packs: it refuses a v0.44.0 project with
evidence.project.source-acquisition-retired, and the project moves forward only by the
retired Source project steps.
For the transition from v0.48.0, retain the previous Evidence authority store and the active
and sealed files for both the service and activation audit streams byte-intact. Read authority
history with the matching binary and inspect the JSON Lines against that release’s audit contracts.
Migrate a copy of the authored project and target, rebuild the bundle, activate regenerated authority
in a fresh root, and start fresh audit streams as the upgrade runbook
describes. The current predecessor rehearsal starts at v0.48.0. Bring older retained state
through each intervening release first.
Casework’s review-only replacement requires a fresh database. It refuses the retired database containing WorkItem tables without converting or deleting its state. Drain or cancel old reviews, retain the old deployment and audit journal for reconciliation, and install the current model in a fresh database as the Casework upgrade step describes. The forward-state rehearsal does not claim that this replacement preserves old Casework work in place.
Messaging’s and Scheduling’s v0.42.0 schemas start new baselines. Each installs its complete
schema as one baseline, and its plan, apply, and startup refuse a database whose ledger holds a
pre-1.0 version, naming the fresh-install recovery. Retain the previous database and audit journal
for reconciliation, and apply the current package to a fresh database as
the upgrade runbook describes.
Messages still queued, and Scheduling holds and appointments, in the previous database are not
carried forward.
v0.44.0 starts Casework and Scheduling at a fresh baseline again. Each installs schema version
200, and its plan, apply, and startup refuse a ledger below version 200 as a pre-1.0 schema.
BReg in v0.44.0 refuses a database holding the v0.43.0 attachment verification tables, at
startup and in bregctl doctor with the code startup.database.pre-1-0-schema, and in
bregctl plan and apply with apply.database.pre-1-0-schema. For each, retain the previous
database and audit journal, and apply the current package to a fresh database; for BReg, rebuild
the package with the v0.44.0 bregctl test and bregctl package
(Check, test, package), then run
bregctl apply --package DIR --initial. Casework reviews, Scheduling holds
and appointments, and BReg records in the previous database are not carried forward. Messaging
keeps its baseline: messagingctl apply migrates a v0.43.0 database forward in place.
Registry Coordinator’s protected state schema version 7 is a fresh baseline in the same way. Each
earlier layout, version 6 and below, was replaced without conversion. coordinatorctl apply
creates the namespace at version 7 on a fresh database identity, and apply and startup refuse a
namespace at any other version (apply reports coordinator.command.schema-version). Settle
the retained runs with the matching binary, then apply the current package to a fresh namespace and
database identity, as Deploy Registry Coordinator
describes.
Upgrades are forward-only: no release reads state a later release wrote. An ordinary release’s
apply migrates the database in place, so to roll back, restore the backup taken before the
upgrade and run the previous release. A fresh-baseline release such as v0.42.0 leaves the
previous database untouched: run the previous release against it, and restore a backup only when
it is damaged, as Roll back describes.
Registry Evidence, Registry Discovery, and Registry Manifest have no migrated state. Base Registry
Engine, Casework, Scheduling, and Messaging each own migrated PostgreSQL state, and Registry
Coordinator owns the protected state described above:
bregctl apply activates a package and runs
its migration, caseworkctl apply activates a
Casework package and runs its migrations, and schedulingctl apply activates a Scheduling package
and runs its migrations. messagingctl apply activates a Messaging package and runs its migrations.
Read each release’s notes for the migration steps it needs. The v0.40.0 exception above applies to
the first four.
The forward state path holds for an experimental surface, such as
Scheduling or Messaging, while a release ships it, and a release that removes one says in its
release notes what happens to the state that surface wrote.
Base Registry Engine’s deployment conditions are under
What you need on its deployment page.
Enforcement
Section titled “Enforcement”The promise is machine-checked where a checker exists:
- Registry Evidence: root CI’s
evidence-contractsjob runsproducts/evidence/scripts/check-contracts.sh, which regenerates every contract artifact and fails on any byte difference from the committed copies.products/evidence/scripts/check-config-key-paths.shholds the configuration reference in exact parity with the frozen schemas. - Registry Manifest: schema and renderer tests pin accepted inputs and deterministic artifacts.
- Forward state path: the release upgrade rehearsal workflow runs
release/scripts/rehearse-upgrade.pyon every pull request that changes a release manifest, and on manual dispatch. It verifies the previous release’s binaries against the signedSHA256SUMS, then rehearses with the binaries built from the pull request. For Evidence, it compares the predecessor’s authority and audit files byte-for-byte, reads the retained authority history with the predecessor, and verifies fresh production activation, a signed assertion and the corresponding audit pairs. For Messaging, it uses disposable PostgreSQL and fails when views differ, retained tables lose rows, or either continued audit stream has too few entries. It starts from the newest published release at or below the workspace version, so it rehearses the immediate predecessor. It refuses to start from a release beforev0.48.0.v0.43.0continued the path from thev0.42.0Evidence, Messaging, and Scheduling baselines;v0.44.0retained Evidence and Messaging state while starting the product baselines above;v0.45.0retained Messaging state and moved Evidence projects to Adapter packs.v0.46.0retained Evidence and Messaging state and renamed Messaging’sroletoactsAs, so Messaging projects fromv0.45.0are re-authored as the Messaging changelog describes.v0.47.0retained both products’ state and moved Messaging’s keyed collections to mappings.v0.48.0retained both products’ state without a migration. While no release from that floor onward is published, the rehearsal uses the binaries under test on both sides and reports that it has no published predecessor. This exercises the scenarios with the same build; it does not demonstrate compatibility between releases. Once a release on the forward state path is published, the default run downloads eligible product binaries from it. Default omissions record the unsupported transition; a focused unsupported product request refuses. BReg, Casework, Scheduling, and Coordinator state are not rehearsed. BReg and Casework have separate current-schema operator checks.
A change that a gate flags as breaking lands only in a release whose version permits it, with the deprecation and migration steps this page requires.
Cookies on Registry Stack
We use optional cookies to understand how you use the main Registry Stack website and this documentation. If you contact us, we may link this activity to your enquiry. You can change your choice at any time. Read the privacy policy.
Your browser asks sites not to track you, so optional tracking stays off.
We could not use or save that choice. Optional tracking remains off.