GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • RSRegistry StackDocsDevelopment (unreleased)
  • GitHub ↗
  • Four ways to adopt
  • How the products fit together
  • Overview
  • Your first assertion
  • How Evidence works
  • Return a governed value
  • Control who can request evidence
  • Assert a role-bound relationship
  • Request evidence as an SD-JWT VC
  • Request an assertion
  • Request an access token
  • Verify an assertion

This view

  • Original page
  • New address

GeezerVison is showing docs.registrystack.org — Registry Coordinator overview

Unreleased documentation. These pages follow the main branch and can change before the next release. For supported guidance, use v0.48.0.

Registry Coordinator overview

View as Markdown

Registry Coordinator runs a reviewed sequence of calls to other Registry Stack products and to external HTTP services an operator configured. It keeps the sequence going across waits of days or weeks, service outages, and restarts. Use it when a sequence such as “ask a reviewer, wait for the decision, then send the applicant a notice” has to continue without a person or a script holding it open.

Coordinator is optional. An application can prepare a Base Registry Engine (BReg) Proposal, obtain an exact Casework review, and apply it through BReg without running Coordinator. Use the application adoption path for that composition.

What you write, and what runs

Section titled “What you write, and what runs”

You write a workflow: a finite graph of steps in YAML, checked offline and packaged into an immutable artifact that an operator pins by digest. workflow.yaml names the operations the workflow may call, the typed input it accepts, and the steps from start to every finish. Each operation alias binds one exact versioned host operation, such as casework.submit-review-request/v1, to a logical connection name.

Each start of that workflow is a run, which Coordinator keeps in its own PostgreSQL 17 or newer database. A run keeps the definition it was admitted under, so a later upgrade never changes a run in flight. A later Coordinator version that cannot restore that definition holds the run.

A workflow is built from five step types:

  • call runs one product operation.
  • choose routes on one typed value, on a pure Function written in bounded Rhai, or on a compare of typed values that needs no Function. In a compare, a value that is missing or of the wrong type fails the run instead of routing to unmatched. The present test is the exception, because it reads absence.
  • wait-until waits for an instant.
  • wait-for waits for a named result, such as a Casework review decision.
  • finish ends the run with a declared outcome and the output the workflow chooses to publish.

coordinatorctl check compiles the project offline. It proves that each step a mapping reads has run on every route that reaches it, and it checks each path against the declared schemas. Values a schema leaves open, and values a Function computes, are left to scenarios and the runtime. coordinatorctl package freezes the project into an immutable package whose digest the deployment pins.

How a run starts and waits

Section titled “How a run starts and waits”

An authorised caller starts a run with POST /v1/runs, giving the expected workflow revision, its input, and an idempotency key. An authored event trigger can also start one from a signed product event at POST /v1/events/{workflow}/{trigger}, and an authored calendar trigger starts one on a schedule with no caller. The same key with the same revision and input returns the same run, and the API reference states what a conflicting reuse gets.

A wait is durable state, not a sleeping process. A wait-for has a required timeoutSeconds and an optional onTimeout and onCancel route. Coordinator reads the awaited result on a schedule, and a Casework completion event only brings the next read forward. It carries no result and starts no run. Author a Coordinator workflow gives the read timings.

A timeout means the workflow stopped waiting, not that the review stopped.

What stays with each product

Section titled “What stays with each product”

Every product a run calls keeps its own authority. Coordinator calls each one over its public HTTP API with a service identity the operator configured, and that product decides, under its current policy, whether to allow the call. Being allowed to start a workflow grants nothing downstream. A wait, retry, or restart never renews an approval or widens its scope.

Coordinator keeps the progress, the prepared commands, the waits, and its own audit journal. It never writes another product’s database, and it never reverses an effect a product accepted by itself. A workflow can call an operation that cancels one, such as scheduling.cancel-appointment/v1. It is not a review provider: when a workflow needs a human decision, it submits its own request to Casework.

Coordinator never approves, rejects, or applies a BReg Proposal. BReg and its reviewers decide. A workflow can start or submit a Proposal with the breg.start-proposal/v1 and breg.submit-proposal/v1 operations. It can cancel one that its own run started or submitted, with breg.cancel-proposal/v1, and it follows the Proposal by reading it. check refuses a Proposal Action bound to breg.invoke-action/v1 with coordinator.operation.proposal-action.

A product refusal is a fact about the product’s policy. A call whose product declares a no-effect refusal may route it through onDeclaredRefusal. Any other refusal fails the run with a code that names it, such as product-forbidden, product-not-found, or product-refused. The exception is two records in force on one date, which holds the run for a person to correct the register. Author a Coordinator workflow lists which operations declare a no-effect refusal.

Uncertain calls and recovery

Section titled “Uncertain calls and recovery”

When a call that changes something might have reached the product but no answer came back, the effect is uncertain. Coordinator puts the run in attention for an operator rather than guessing. It reads again by itself when the uncertain call was only a read. When the product answers with a definite, retryable failure instead, Coordinator resends the same saved command within the original deadline. Three operations have a receipt for the original idempotency key: messaging.submit-message/v1, scheduling.create-appointment/v1, and scheduling.confirm-hold/v1. coordinatorctl reconcile can settle an uncertain call to one of them against it. Other calls have none, so a record read or an operator’s word does not settle them. A decision-evaluation call (evaluation.evaluate/v1) that may have been sent is never repeated.

Do not start an ordinary worker on a restored database, because a backup can predate effects that products already accepted. Nothing detects a restore, so the operator starts coordinator --recovery-only, which admits and dispatches nothing. Deploy Registry Coordinator covers retry-same, cancel, and the restore hold, and the API reference lists the run states.

When to look elsewhere

Section titled “When to look elsewhere”

Coordinator has no SQL steps, no loops, no number of calls decided at run time, no arbitrary HTTP methods or destinations, no automatic compensation, and no distributed rollback. It is pre-1.0: use the binaries and documentation of one source version together.

Next

Section titled “Next”
  • Review an application and send an approval notice runs one workflow through a human review to a delivered notice, on your machine.
  • Author a Coordinator workflow
  • Deploy Registry Coordinator
  • Registry Coordinator configuration reference
Last reviewed 2026-11-20Edit this pageReport an issue
Was this helpful?

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.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.