Released docs. You are viewing the documentation published with v0.48.0. Development docs are available at Latest.
Use this runbook when you move a deployment of Base Registry Engine (BReg), Registry Casework, Evidence, Registry Scheduling, and Registry Messaging to a new release, or take it out of service. Each product’s own guide carries its upgrade command; this page gives the order across products, the version rule that order enforces, and what each product must leave behind when it is retired.
Run one release everywhere
Section titled “Run one release everywhere”Every Registry Stack artifact of a release shares one version: the runtimes, their adopter tooling, and the Rust, Node.js, and Python clients. Run the same release on every side. There is no supported version-skew window, between two runtimes or between a client and a runtime, and a rolling upgrade that mixes releases is not supported:
- Casework pins the BReg context contract. The read-only provider checks the exact registry revision, context contract, and Proposal identity. A changed contract requires re-pairing; see plan, apply, and serve.
- Adopter tooling is checked.
evidencectlrefuses anevidenceorbregctlbinary of another version. - Clients are not checked. Clients send no version, and runtimes accept any caller. Pre-1.0 client and wire contracts can change incompatibly between releases, so upgrade each client to the same release as the runtime it calls.
- BReg activation is not rolling. Once
bregctl applyactivates a successor, everybregprocess still running the previous package fails readiness until it restarts onto the successor. Plan the restart as part of the activation, not after it.
Read the target release’s state and package requirements before applying. v0.42.0 starts a
fresh baseline for every product that keeps state: BReg, Casework, Scheduling, and Messaging carry
no state forward from v0.41.0, and Evidence requires its normalised authored project and target.
An upgrade from v0.41.0 is therefore a fresh install beside the deployment it replaces. You stop
each v0.41.0 runtime, keep its database untouched for reconciliation and rollback, and apply the
v0.42.0 package to a fresh database. No product converts v0.41.0 state in place. Casework,
Scheduling, and Messaging refuse a database a pre-1.0 release wrote at plan, apply, and
startup, naming the fresh-install recovery. BReg names no such refusal, so point it only at a
fresh database. See Upgrades and state.
v0.44.0 starts Casework and Scheduling at a fresh baseline again: each installs schema version
200 and refuses a v0.43.0 database at plan, apply, and startup as a pre-1.0 schema. BReg in
v0.44.0 refuses a database holding the v0.43.0 attachment verification tables, at startup, in
bregctl doctor (startup.database.pre-1-0-schema), and in bregctl plan and apply
(apply.database.pre-1-0-schema). For these three, an upgrade from v0.43.0 is a fresh install:
keep the v0.43.0 database untouched, and apply a v0.44.0 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. Messaging migrates a v0.43.0
database forward in place when you run messagingctl apply.
Upgrade in this order
Section titled “Upgrade in this order”BReg goes first, because Casework and Evidence both read it. Pair Casework with the resulting exact BReg context contract before starting its runtime. Evidence and its wallet-facing front end come next. Scheduling and Messaging read none of them and upgrade independently, before the clients. Read the target release’s notes for every deployed product. Complete their required drains and outcome reconciliation before you stop that product’s v0.41.0 runtime, because work left in its database is not carried to the fresh one, and make the listed project and runtime-file changes in its upgrade step. Rehearse the whole sequence on a restored copy first, as Run a disaster-recovery drill describes.
Version-specific procedures in released notes apply to that release’s contracts. They do not establish a conversion path for a retired model. On native Linux, require glibc 2.34 or newer. The four product installers start every staged Linux binary before selecting the new toolset, so a binary that cannot run leaves the installed toolset selected.
-
Back up every database. Take the BReg and Casework
pg_dumps, and the Scheduling and Messaging ones when they run. Copy those products’ packages and runtime files, and keep the previous release’s binaries. The v0.41.0 databases themselves are the way back, so leave them in place and unchanged; the dumps protect them against damage. Each product’s step below refreshes its dump after its v0.41.0 runtime stops, so the copy you keep holds its final writes. See Roll back. -
Stop
evidence-oid4vci, when it runs. Its outstanding offers end here; see Serve. -
Pause and drain Evidence traffic for every question that reads BReg, or pause the whole instance when you cannot drain one question at a time. Keep the previous Evidence candidate.
-
Upgrade BReg. v0.42.0 carries no BReg state forward from v0.41.0: records, revision history, change requests, and pending webhook deliveries stay in the v0.41.0 database. Records you reload into v0.42.0 are created anew and get new record IDs. Record URLs and IDs that clients or other products hold do not survive the reload, and relationship fields that carry old IDs must be remapped to the new ones. v0.42.0 has no identity-preserving path, so when consumers depend on stable record IDs, plan the reload as re-registration with that remap, or do not cut a production registry over in this release.
- Pause every caller, readers as well as writers and import runs, until step 9 resumes
traffic; only Casework’s context-provider reads and the review results
bregconsumes from Casework continue, until item 2 stops Casework. Then close the import authorities still open withbregctl import-authority close. - When Casework reviews this registry’s change requests or reads it through its context provider, drain and stop v0.41.0 Casework now, as step 5 describes, so every late decision is applied before the export and Casework never reads the v0.42.0 registry.
- Finish, cancel, or record each draft, submitted, or review-pending change request. One that must continue is re-entered as a v0.42.0 Proposal after the cutover.
- Let the running v0.41.0
bregdeliver pending webhooks, and replay eligible dead letters withbregctl webhook replay. Continue whenbregctl webhook listshows no pending delivery, or record the deliveries you accept losing, since they stop with the runtime. - While v0.41.0 still serves, export every Record type the fresh registry needs with
bregctl data export, naming with--fieldevery field the reload needs, since it exports only the fields you name, as Export with a checkpoint describes. An entity with no export-enabled access profile cannot be exported this way; take its records from another verified source. - Stop every v0.41.0
breg, take a finalpg_dumpof its database, and keep the database, package, runtime file, audit files, and binaries unchanged. - Rewrite the project as
recordTypesand Actions, then test and package it with the v0.42.0 tooling. In the runtime file, move retention windows into the top-levelretentionblock and rename ataskGrantStatusentry’scaseworkResourcetostatusResource; each old key is refused withconfig.removed-keynaming its new path. - Point the runtime file at a fresh UTF8 database on PostgreSQL 17 or later, prepared as
Provision PostgreSQL describes, and activate the package
there with
bregctl planandbregctl apply --initial, as Activate and serve describes. A first activation requires a database that has never held a package, so pointing it at the v0.41.0 database fails. Start everybregon the exact active package and verify readiness. - Turn each exported line into a
createitem for its v0.42.0 Record type and load the Record types in dependency order, so each referenced record exists first. Use Validate the input and Import with a checkpoint; a type whose loading profile holds animportgrant also needs an open import authority, as Load records through an import window describes. Acreateitem cannot carry the old ID, andbregctl data importreports counts only, so it gives you no map from old IDs to new ones. Build the map yourself: after loading a Record type, export it from the v0.42.0 registry withbregctl data exportand match old and new records on a field the project holds unique. Only then rewrite the relationship fields of the types that reference it, and load those. A Record type with no unique field to match on, or with populated self-references or cycles that its enforced foreign keys refuse in one pass, cannot be reloaded with its relationships intact by the shipped tooling: do not cut such a registry over in this release.
- Pause every caller, readers as well as writers and import runs, until step 9 resumes
traffic; only Casework’s context-provider reads and the review results
-
Upgrade Casework. v0.42.0 Casework installs its complete schema as baseline version 100 and refuses a v0.41.0 database:
caseworkctl planandapplyreportcasework.activation.beta-schema, and readiness and startup refuse with the same fresh-database instruction. Reviews open in the v0.41.0 database are not carried forward, so before you stop it, pause producer submissions, let staff decide or producers cancel the open reviews through each bound producer’s supported interface, and record any that remain. A completion wake-up carries no result and retries from the outbox, so keep v0.41.0 serving until each producer has fetched every terminal result, or record each undelivered result for manual reconciliation. Record the directory’s teams, members, supervisors, and served queues withGET /v1/directory, its absences withGET /v1/directory/absences, and each holiday-set revision your clocks use withGET /v1/directory/holidays/{id}/revisions/{revision}, then pause staff mutations, stop the v0.41.0 runtime, take a finalpg_dumpof its database, and keep the database, package, runtime file, and audit until its work and accountability obligations are resolved. When Casework reviews or reads BReg, do this during step 4, before the BReg export, and start v0.42.0 Casework only after pairing it with the new context export. Rewrite the project in the v0.42.0 format;caseworkctl checknames each old spelling and its replacement. Pair the v0.42.0 BReg context export withcaseworkctl provider pairand verify the exact contract before packaging. Point the runtime file at a fresh database prepared as Provision PostgreSQL describes, runcaseworkctl plan --runtime-config FILEandcaseworkctl apply --runtime-config FILE, thencaseworkctl doctorwith the same runtime file, package, and database. Require readiness before resuming staff traffic; see plan, apply, and serve. The fresh database has an empty directory, andcaseworkctldoes not recreate it: bootstrap the recorded teams and served queues, then post the absences and holiday-set revisions to the same routes, as Establish directory authority describes, and resume producer submissions only once a reviewer can see a task. -
Upgrade Evidence. Author the normalised
evidence.yaml, target, and target authority for the current tooling; retired split authoring documents are refused. Re-import changed BReg source exports into that project, review the source changes, and run check and fixtures before packaging the candidate with its explicit target. Runevidence check --runtime-config FILE --require-runtime-dependencieson the target host, adding--without-audit-lockwhile the previous instance still runs. Stop the previous runtime, start the matchedevidence, and verify a fresh synthetic assertion before restarting its wallet-facing adapter. -
Upgrade Scheduling, when it runs. The current release installs its complete schema as a fresh baseline and refuses a database a pre-1.0 release wrote at
plan,apply, and startup. Holds and appointments recorded in the previous database are not carried forward: retain that database, its package, runtime file, and audit journal for reconciliation. Dropping booked appointments this way is acceptable only before production.Before the cut, stop new hold and appointment admissions, let in-flight requests resolve, and let every live hold be confirmed, released, or expire; holds cannot be listed, so wait out the longest hold lifetime. Then record every appointment that must still be honoured.
schedulingctlhas no export command, so take apg_dumpafter the previous runtime stops, and have each booking product list its own appointments withGET /v1/appointments, which returns only the caller’s appointments for one exact external reference. An appointment booked without an external reference cannot be listed that way: take it from the booking product’s own records, and do not cut over while an appointment you must honour cannot be accounted for. Tell the products that show those appointments, and the people who hold them, that they will not appear in the upgraded deployment until rebooked. After you apply, re-establish supply withschedulingctl records applyso the carried bookings are not sold twice: publish each affected window’sunitsnet of them, add aclosureexception for the time they occupy, or have the owning products rebook them before you open booking traffic.The runtime file requires a top-level
taskGrantStatus, and each entry names its resourcestatusResource. Replaceretention.attemptReceiptRetentionDayswithretention.receiptRetentionDays, reviewing the value and reducing it to at most 365 days; each old key is refused withconfig.removed-key. Theauthentication.oidcscope defaults are nowscope,scheduling:read, andscheduling:explain, so setscopeClaim,readsScope, orexplainScopewhen your issuer emits the earlier spellings. List the task authorities whenever Scheduling must check current status or revocation, and when it accepts deferred work. ThetaskGrantStatus: unchecked-final-fifteen-minutespath checks only remaining lifetime because a signed token does not identify its original grant mode. It admits any grant with at most 900 seconds remaining without checking revocation, including the final 900 seconds of a deferred grant. Use it only when the deployment accepts that stale-authority window. Runschedulingctl check PROJECT --runtime-config FILE. Keep the previous runtime serving long enough for its reminder and observer deliveries to run; no command shows pending deliveries (schedulingctl intentslists only the ones the sweep stopped carrying), and shutdown abandons the rest, so record the deliveries you accept losing before you stop it. Point the runtime file at a fresh database, then runschedulingctl plan --runtime-config FILEandschedulingctl apply --runtime-config FILE. Apply the environment records withschedulingctl records apply --runtime-config FILE RECORDS, startscheduling, then useschedulingctl status --runtime-config FILEto confirm the activation. -
Upgrade Messaging, when it runs. The current release installs its complete schema as a fresh baseline and refuses a database a pre-1.0 release wrote at
plan,apply, and startup. Messages still queued in the previous database are not carried forward, so drain them first when they must still be sent, as step 1 of Retire Messaging describes. Stop new submissions, and let in-flight senders finish retrying submissions whose answers they lost.Provider callbacks for messages the previous deployment sent keep arriving at the callback URL. The current runtime answers a verified callback that names no message it holds with
204, stores nothing, and counts it asunmatchedinmessaging_provider_callbacks_total. A provider does not retry a204, so that delivery report never reaches Messaging. Choose one of two paths before you stop the previous runtime. To keep the reports, leave it serving callbacks, with submissions stopped and its queue empty, through each callback provider’s documented reporting cutoff, as step 2 of Retire Messaging describes. To cut over at once, accept that late reports are lost to Messaging, and reconcile them afterwards: compare each provider’s records with the retained database, read through the previousmessagingctl messages showwhile the previous runtime stays stopped.Then stop every previous
messagingruntime, giving graceful shutdown time to finish sends already in flight. Refresh thepg_dumpafter every earlier runtime stops, and retain the previous database and audit journal for reconciliation.Replace
retention.submissionReceiptRetentionDayswithretention.receiptRetentionDaysin the runtime file, reviewing the value and reducing it to at most 365 days and at mostrecordRetentionDays; the old key is refused withconfig.removed-key.authentication.oidc.scopeClaimnow defaults toscope, so set it explicitly when your issuer emitsregistry_scopes. Rebuild the package when the release notes require it, updatepackage.root, and repinpackage.expectedDigestwhen set. Point the runtime file at a fresh database prepared as Provision PostgreSQL describes, then runmessagingctl plan --runtime-config FILEandmessagingctl apply --runtime-config FILE. Confirm the activation withmessagingctl status --runtime-config FILE, start the currentmessaging, and requireGET /readyto answer200before you resume submissions. -
Upgrade clients, then resume traffic. Install the v0.42.0 client packages, which still require Python 3.11 or later and Node.js 24.11.0 or later, and update applications for these changes:
- BReg. Proposals replace Requests: use
startProposal,prepareProposal,executeProposal, andrecoverProposal(snake case in Rust and Python),actionsandselectActionin place of the immediate-Action methods, andrevisionin place ofcontractFingerprint. The client refuses BReg metadata older than version 2, so regenerate project packages and clients together. The Proposal list takeslimitinstead oftop, and ingestion run listings page withcursorandnextCursor. Every Proposal carriesturn, and a Proposal whose Review is rejected ends inrejectedand answers further commands with409proposal.rejected. Drop any branch on the removed recovery values:terminalinBRegRecoveryHint, andrefreshandreceipt-onlyinBRegApplicationRecoveryHint. - Casework. A review decision names its
outcome: an approve without one is refused with400request.invalidand reasonoutcome-not-declared, and the clients refuse a decision receipt without one. TheAssignmentContextexport is removed./v1/work-items, with its prepared attempts and source actions, is removed in favour of review requests, tasks, decisions, and results;/v1/review-kindsbecomes/v1/review-policies, and/v1/holdingsbecomes/v1/review-tasks/holdings. - Discovery.
validateSelectionandvalidate_selectionare removed; callvalidateSelectionStructureorvalidate_selection_structure, which behave the same. - Scheduling. Reminder receivers parse the shared hook envelope that appointment observers
receive, sent as
content-type: application/json.
Roll out every application that embeds a Registry Stack client at v0.42.0 before it calls the upgraded runtimes, then resume traffic.
- BReg. Proposals replace Requests: use
Upgrade the Evidence definitions response
Section titled “Upgrade the Evidence definitions response”Evidence keeps the registry.evidence-definitions/v1 identity while its closed response evolves
before v1.0.
The current shape adds the effective audience, a stable complete-definition handle, effective
response formats, stable concept handles, required-output status and bounded-list form metadata.
It also makes maximumHolderBoundBatchSize explicit.
A concept’s form is a mapping named by type: {type: boolean}, or a list with its members
beside the tag:
type: listitems: stringminimumItems: 1maximumItems: 8unique: trueThis is a breaking change for strict readers. A client or validator built against an older schema rejects the added members, because that schema refuses unknown members.
Upgrade Evidence and every Evidence client or protocol adapter that reads its definitions response together:
- The batch ceiling has one spelling. It was published as
holderBoundBatchMaxSizebefore the configuration conventions release and ismaximumHolderBoundBatchSizefrom it on, with no alias on either side. The current client refuses a response carrying the old member as it refuses any unknown member, and an older strict client refuses the new one the same way. There is no interoperation window across the rename. - A missing ceiling reads as 1. The current client reads a response with no ceiling member as
1, the only safe inference for a deployment that predates batch-ceiling discovery. That default does not make a client able to read a response written for the other spelling. bounded-identifierneeds a matching version. The governedbounded-identifierconcept form gives exact, source-owned JSON string outputs with an immutable prefix and byte bounds. Discovery and the client contract describe it asstring, so a relying party that compares a request field must compare the complete value exactly. A deployment using the form needs an Evidence and authoring-tool version that recognises its bundle declaration. Existing controlled categories remain finite reviewed codelists.- Access attribution is a pack protocol. Forwarding the requester and purpose belongs to the
reviewed protected-read host protocol that a pack endpoint selects, and it needs a provider that
explicitly trusts the authenticated Evidence service to supply the reserved headers. The retired
inline
forwardAccessAttributionSource member is not a configuration alias for that protocol.
Roll back
Section titled “Roll back”No product migrates backwards, and in v0.42.0 none needs to: the upgrade never touched the v0.41.0 databases you kept in steps 4 to 8. To roll back a product, stop its v0.42.0 runtime and restart the previous binary, package, and runtime file against the retained database. Never point a v0.41.0 runtime at a v0.42.0 database: Casework, Scheduling, and Messaging v0.41.0 refuse schema version 100 as newer than they know. Everything the upgraded deployment accepted after the cutover exists only in its v0.42.0 database, so keep that database unchanged and reconcile its work into the retained one before the previous runtime resumes traffic. Before it does, redeploy each application that calls it with its v0.41.0 client, since no client may run ahead of its runtime and a v0.42.0 client calls routes the previous release does not serve.
- BReg. Stop consumer traffic to the v0.42.0
breg, and while it still serves, record what it accepted after the cutover. Export Records withbregctl data exportwhere a profile allows it (see Export with a checkpoint); it exports Records only. Read Proposals through the client’s Proposal list and submission reads (listProposalsandreadProposalSubmission) under a grant that may read them. When no grant can read a Proposal, it cannot be carried back, so either accept losing it or roll forward instead. Let its pending webhooks deliver, replaying eligible dead letters withbregctl webhook replayuntilbregctl webhook listshows none, or record the deliveries you accept losing. Stop every v0.42.0bregand keep its database. Start the previousbregwith the previous package and runtime file against the retained database; the v0.42.0 tools cannot read the earlier package or runtime file. Re-enter the recorded changes through the previous release’s interfaces. When the retained database itself is damaged, restore the finalpg_dumptaken in step 4 into a fresh database instead, point a copy of the previous runtime file at it, and adopt its claim with the previous release’sbregctl instance-claim adopt --runtime-config FILE --acknowledge-original-retiredbefore startingbreg; see After a logical restore for why. To undo only a model change within one release, roll forward to a successor that reverts it; see Roll back by rolling forward. - Casework. Pause producer submissions and staff mutations to v0.42.0 Casework, and while it
still serves, record the reviews it accepted and decided after the cutover.
caseworkctlhas no review export, so read them through the Casework API under an authorised supervisory grant (supervisory review tasks, review results, and review history), or from each producer’s own records. Then stop the v0.42.0 runtime, keep its database, and start the previous binary, package, and runtime file against the retained database. Producers must resubmit the open reviews to the previous deployment, and a decision taken after the cutover must be taken again there. BReg and Casework roll back together, because each refuses the other’s review results across the release boundary. - Evidence. Stop
evidence-oid4vcifirst, since it holds v0.42.0 offers in memory, then restart the previous Evidence binary with the previous bundle and runtime file, and the previous adapter after it. Keep the v0.42.0 signing keys’ public key set available to relying parties, because assertions it issued stay valid for up tomaximumAssertionValiditySeconds; keep it for that period plus the verifier clock skew, as step 2 of Retire Evidence describes. - Messaging. Stop new submissions, let in-flight senders finish retrying the submissions
whose answers they lost, then stop the v0.42.0 runtime and keep its database
unchanged. With the upgraded
messagingctl messages listandmessages show, the audit archive, and provider records, record every message the v0.42.0 deployment accepted, sent, or settled. Keep the previous runtime stopped while you inspect the retained database with the previousmessagingctl messages listandmessages show. Its supported actions can retryfailed, settleunknown, or cancelqueuedmessages; apply one only when the retained dispatch state is eligible and provider evidence supports the decision, because the previous worker resumes queued dispatch as soon as it starts. The retained database holds no idempotency record for a key spent against v0.42.0, so a sender that retries such a key against v0.41.0 sends that message a second time: before traffic resumes, make sure no sender will retry a post-cutover key. Then start the previous binary with the previous package and runtime file against the retained database, and resubmit through it any post-cutover message that was accepted but never sent. A message the v0.42.0 deployment sent stays recorded only in its database, and its later provider callbacks reach whichever runtime serves the callback URL; the previous runtime answers them asunmatched. - Scheduling. Stop new hold and appointment admissions, let in-flight requests resolve, and
while v0.42.0 still serves, enumerate every appointment it accepted after the
cutover from each booking product’s own records, since
GET /v1/appointmentsneeds an exact external reference; if any cannot be accounted for, do not roll Scheduling back, because its capacity could be sold twice. Then stop the v0.42.0 runtime and keep its database for inspection; no restore is needed. Every hold and appointment it accepted after the cutover is absent from the retained database, except one rebooked from that database at the cutover, which it still holds and must not be rebooked again. Reconcile each one before the previous runtime resumes booking: rebook it there through its owning product, or reduce the affected window’s supply with the previousschedulingctl records apply, and tell the people who hold it. Then start the previous binary, package, and runtime file against the retained database.
A rolled-back Scheduling deployment does not know the appointments the upgraded one confirmed. If you resume booking traffic before you reconcile them, it sells that capacity again and double-books it.
Because the release rule holds in both directions, rolling back one product means rolling back every product that must match it: Casework refuses a BReg that went back without it.
Retire a deployment
Section titled “Retire a deployment”Retire the products in the reverse of the upgrade order, so nothing still running depends on what you have removed. Retiring a product leaves records behind: signatures others still verify, decisions others may challenge, and audit entries your retention policy holds. None of the products has a decommission command, so the steps below are yours.
Retire Messaging
Section titled “Retire Messaging”Messaging has no runtime or database dependency on another Registry Stack product, so retire it independently after its callers stop submitting.
- Stop routing new submissions to Messaging. Let the runtime drain queued work. Run
messagingctl messages list --runtime-config FILE --status unknown --limit 500, settle each returned message from the provider’s record, and repeat until the filtered list is empty. Settlingnot-sentqueues another send, so drain that work too. When the metrics listener runs, require thepending,leased, andunknownmessaging_dispatch_jobsgauges all to reach zero. Without metrics, check thatmessages list --status queued,--status sending, and--status unknown, each with--runtime-config FILE, return empty. - For each callback provider, keep its callback endpoint live through the provider’s documented
reporting cutoff. Compare the provider’s records with
messagingctl messages show, and record any submitted messages whose delivery report remains unresolved at the cutoff. Empty dispatch gauges prove sends have finished, not that every delivery report has arrived. SMTP has no delivery receipts, so its messages remainsubmitted. - Stop
messaginggracefully. It claims no more messages and finishes sends already in flight; give it time to finish before the service manager kills it. - After final provider reconciliation and shutdown, remove callback registrations for this deployment and revoke its dedicated outbound provider credentials. When a credential is shared with a system that remains live, rebind that system to another credential before revoking the retired one.
- Ship the active file and every sealed segment for both
audit.pathand itsmessagingctlsibling. Keep the secret named byaudit.hashKeyRefsecurely through the final archive sweep and for as long as your policy requires correlation with known callers or recipients. Destroying that secret permanently prevents recomputing their audit pseudonyms. - Messaging has no export command. After the process stops, take a final
pg_dump, and retain the active package, runtime file, and both matching binaries,messagingandmessagingctl, while your policy holds the records. A full dump also holds recipient contacts, rendered parts, and submission receipts; a stopped dump never runs the retention sweep. At each remaining payload or receipt expiry, restore the dump into an isolated database with the runtime stopped. Point a copy of the retained runtime file at that database, keeping its retention values. Preview and apply the matchingmessagingctl retention erase-expired --runtime-config FILE --before TIMESTAMP, using an RFC 3339 cutoff no later than the operator host’s or database’s clock. Make a replacement dump and destroy the superseded copies. See Erase expired data on demand for the preview and--applyprocedure. Ship the tool’s active audit file and every sealed segment after each applied sweep. Repeat only through the remaining payload and receipt periods; the content-free archive can then remain for the applicable record period.
Retire Scheduling
Section titled “Retire Scheduling”Scheduling reads no other product and no other product reads it, so it can retire at any point in this sequence.
- Stop routing booking requests to Scheduling, and tell the callers holding appointments how those appointments will be honoured.
- Stop
scheduling. Reminder and observer-hook deliveries are outbox work its own workers send, so every delivery still pending stops with it and is not sent. - Scheduling has no export command. Keep a final
pg_dumpfor as long as your policy holds its appointment records. - Ship the final audit file, its sealed files, and the
schedulingctlsibling ofaudit.path.
Retire Evidence
Section titled “Retire Evidence”- Stop
evidence-oid4vci, then stop routing requests to Evidence. - Keep the published public keys available. An assertion Evidence issued stays valid for up to
maximumAssertionValiditySeconds(at most one year), and the JWKS is served only by the running process, so publish the key set elsewhere or give it to each relying party, and keep it until that period and the verifier clock skew have passed since the last issuance. - Ship the final audit files after the process stops, and keep every audit master whose pseudonyms an investigation may still need; see Rotate the audit master.
- Retire the signing key in Transit only after step 2’s period ends; see Retire the predecessor.
- Retire or rebind the Evidence provider in every BReg project whose governed actions call it, since an action that resolves against a retired provider fails.
Retire Casework
Section titled “Retire Casework”- Stop new producer submissions and staff mutations. Finish pending review rounds, or cancel them through each bound producer’s supported interface. Confirm that consumers have correlated the terminal results before removing their review authority.
- Preserve the retained results and accountability your institution requires. A final
pg_dumpcontains the retained database state; Casework exposes no general export or source-attempt settlement command. Apply the pinned retention policy while the service is still maintained. - Stop the runtime, archive its external audit files and key under your retention policy, and keep the matching package and binary with retained backups. A database backup does not contain the external audit journal.
- Revoke Casework’s status-reader and institutional-agent credentials in the relevant issuers. Keep source application credentials under their separate owner’s retirement procedure.
Retire Base Registry Engine
Section titled “Retire Base Registry Engine”- Stop every consumer, then close the import authorities still open with
bregctl import-authority close. - Export what must outlive the registry.
bregctl data exportexports one entity through one access profile, checkpointed; a finalpg_dumpis the only complete copy. See Export with a checkpoint. - Erase what your policy does not let you keep, before that final backup: see Erase retained history and Erase expired Evidence uses.
- Stop
breg. Pending webhook deliveries stop with it and are not sent; checkbregctl hook listfirst if receivers must see them. - Ship the final audit files and the
bregctlcompanion file. - Keep the field-encryption key for as long as you keep any backup that holds sealed values, and the audit hash key for as long as you keep the audit archive. Destroy each only when the last record that needs it is gone.
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.