Skip to content

v0.51.0: journeys, dev runtime and Session, contracts and diagnostics - #2938

Merged
jeremi merged 55 commits into
mainfrom
jeremi/v051-replacement
Dec 2, 2026
Merged

jeremi merged 55 commits into
mainfrom
jeremi/v051-replacement

Conversation

@jeremi

@jeremi jeremi commented Dec 2, 2026

Copy link
Copy Markdown
Member

v0.51.0: journeys, dev runtime and Session, contracts and diagnostics

This pull request replaces #2928 as the integration for v0.51.0. The earlier integration replaced #2913 (BReg and Casework journeys), #2911 (dev runtime, previews and Session) and #2912 (contracts and diagnostics). Those replaced #2887, #2885 and #2886. Each lane's reviewed commits were replayed onto the v0.50.0 release source in that order and then folded into commits of one issue or one coherent slice. Each folded commit lists the reviewed commits it contains. The folded tree is identical to the replay.

Closes #2805, #2808, #2809, #2816, #2818, #2820, #2823, #2825, #2828, #2840, #2841, #2842, #2843, #2844, #2845, #2846, #2847, #2849, #2850, #2851, #2852, #2853, #2869, #2870, #2874, #2875, #2877, #2878, #2879, #2881, #2882, #2888, #2889, #2890, #2891, #2892, #2894, #2895, #2896, #2926.
Part of #2817, #2822, #2835, #2855, #2880, #2893 (see "Not verified").

Applicant flows (#2800, #2801, #2802) and organisation stewardship (#2839, #2861, #2867, #2868) moved to v0.52.0 and are not in this pull request.

What each issue delivers

BReg and Casework journeys

Issue Delivers
#2828 Casework PostgreSQL lease observation reads fresh activity with a bounded wait. Test only.
#2874 The missing array claim fixture expects the observed 403 profile.not-authorized at profile admission. Test only.
#2881 A served synthetic licence public check against checksum-pinned released v0.49.0 bregctl and Evidence binaries, with five public HTTP cases and nine reviewed export hash pins. Test only.
#2869 Record permissions and read paths can select readable fields with readableFields.upToClassification. The compiler resolves the ceiling to stored field IDs and runs the existing checks on the resolved list. Consent-gated permissions must keep explicit lists.
#2879 bregctl generate identity-facts reports the exact bytes it wrote, refuses to overwrite its output, and has a generated report schema registered with a positive example.
#2875 An unassigned role that names an unknown product fails with identity.deployment.unknown-product at the exact product key.
#2877 rstack dev check verifies each owner tool's offline report and, for Messaging, pins the tool, runtime and package digests around facts generation.
#2823 The token corpus gains a BReg Review browser callback column and asserts the four Coordinator ID-token cells as refusals in both postures.

Dev runtime, previews and Session

Issue Delivers
#2825 Promotion journeys for BReg, Adapter and Evidence under strict checks. The stock Keycloak expected-failure row is retired after an observed native pass.
#2844 Signed product hook journeys for Documents and Scheduling, managed and standalone, including a managed Scheduling binding to one live task authority.
#2853 registry-session generates one checked, loopback-only Envoy configuration with stable routes and exact numeric upstreams.
#2870 A versioned, checked Session route inventory and a strict exporter. The inventory is routing data only.
#2892 Numbered releases ship registry-session for Linux amd64, Linux arm64 and macOS arm64 as a standalone release asset. rstack does not install it.
#2882 An explicit production setting, secretProviders.file.mountPolicy: compose-native, for Compose's native secret mounts. Every runtime reads static JWKS and CA bundles as public documents.
#2893 BReg Start reaches the business-registration preview, and the first BReg tutorial reads its dev files from the scaffold. The "Preview a business registration service" page stays a draft until it is replayed against the published tag and npm client.
#2895 Date-only Scheduling materialisation in the starter, configuration guide and examples.
#2845 The Casework starter keeps its generated files, and the tutorial staffs the queue through the administrator HTTP bootstrap.
#2890 Developer guide and Adopt page updates, and preview guidance on when a service needs a flow.
#2820 Evidence store provisioning (evidencectl provision) with split roles. No new serving mode.
#2855 (part) First-hour journey counters, Messaging startup-read receipts and Casework missing-scope diagnostics.
#2878 rstack dev check reads saved Casework and BReg identity-facts reports structurally, with bounded, redacted diagnostics.
#2835 (part) A native holder-authorized Action fixture, and the @registrystack/client/holder-function export, so a trusted host runs a holder's BReg Action while the declared function only prepares projected inputs.
#2818 Hook-only external BReg attachment, and an explicit development-only private-network PostgreSQL transport for Compose.
#2866 Preview function handlers receive a request copy without Authorization, Cookie or Proxy-Authorization.
#2888 Coordinator service.invoke-function/v1: a named service function call with no product authority, a function-host key, and the managed rstack dev wiring.
#2894 One product inventory for dev and service plans. Token audiences move to audiences keyed by project ID.
#2891 The permit-review preview: one Coordinator run waits for a Casework officer decision, calls a named function as a recorded step, then records the BReg decision under the Coordinator's grant.

Contracts and diagnostics

Issue Delivers
#2850 TypeScript task response fixtures are validated against the generated OpenAPI contracts and follow the served Proposal operations.
#2840 OpenAPI problem responses declare the development diagnostic field per response, and the docs renderer projects prohibited properties safely.
#2816 Retired configuration spellings are listed once and refused in format files and docs pages, except in migration notes.
#2808 Exported problem codes follow one grammar and malformed codes are rejected.
#2805 BReg import, ingestion and batch inputs that still use recordIdentifier are refused with a diagnostic that names recordId.
#2809 Record, history, relationship and External View lists use limit and cursor across BReg, its OpenAPI, its references and the Rust, Node, Deno and Python clients.
#2841 Coordinator client refusals name the Idempotency-Key header, and Payment problems emit canonical Adapter HTTPS type URIs.
#2843 Generated clients use descriptive lower-camel-case route parameters, and a check refuses unpublished route names. Bounded BReg revision routes reach the generated preview binding.
#2842 Render calls authentication.apiKeyRef the shared API key and states its lifecycle.
#2846 bregctl, caseworkctl and evidencectl name production closure checks the same way.
#2852 The Rust gate inventory is checked structurally.
#2849, #2851 A scheduled and opt-in CI job runs the TypeScript live suite under Node, Deno and Chromium, plus the opt-in authoring verification.
#2889 Bounded product logic gets product names: BReg Action Plans, Evidence Derivations and Coordinator Transforms, distinct from service functions.
#2847 A generated lookup table for posture diagnostics, with CI routing that rebuilds the docs when a declaration changes.
#2896 Nightly security reports advisory exceptions close to expiry.
#2926 rstack dev reports a product or application that exits during the last readiness probe as an exit, not as a missed deadline. A deterministic test covers it.
#2880 (part) BReg warning and duplicate-key controls and synthetic operator canaries are pinned with exact positions.
#2822 (part) Full live verification requires Deno.
#2817 (part) Discovery, BReg signed webhooks, Messaging, Evidence wallet delivery, Coordinator outbound calls, Adapter sources and signed events, and Render timestamp delivery take their transport from the shared outbound selector.

Fixed

Regressions found while running the v0.51 managed Scheduling journey. No issue is filed for them.

  • rstack dev declares a hook destination for each Scheduling URL observer in the owner facts runtime, built from the same entries start binds. Before, every Scheduling project with a URL observer was refused with scheduling.runtime.unbound-hook-destination. A unit test covers it and failed before the fix.
  • The managed Scheduling journey writes its plan in the v0.51 roles model: the task agent holds the reader role plus a service role that reads Scheduling, and the plan names its products and audiences as maps.

Breaking changes and migrations

Each product CHANGELOG has the full entry.

  • rstack update to v0.51.0 from v0.44.0 to v0.50.0. Those rstack versions do not recognise the new registry-session release asset and refuse the update. Run the v0.51.0 rstack installer as for a first installation, naming the components you use. Later updates work from v0.51.0.
  • rstack dev check takes either a project directory or --owner-report FILE --owner-report-format ..., not both.
  • dev.yaml product inventory (Use one authored product inventory shape for dev and service plans #2894). rstack dev refuses the old list form with rstack.dev.products-list. Replace each - {product: KIND, project: PATH, audience: AUDIENCE} entry with products.KIND.projects.KIND.path: PATH (BReg, Coordinator, Evidence) or products.KIND.path: PATH (other products), and move the audience to audiences.KIND: AUDIENCE.
  • BReg Action Plans (Use consistent names for service functions and embedded logic #2889). In registry.yaml and module.yaml, rename functions to actionPlans. In an Action's plan, change type: function to type: scripted and rename function to actionPlan. Diagnostics move from breg.function.* to breg.action-plan.* and from breg.action.function-* to breg.action.plan-*.
  • BReg package upgrade (One pagination vocabulary #2809, Use consistent names for service functions and embedded logic #2889). Strict bregctl check --package refuses a sealed v0.49 package whose generated OpenAPI uses $top, with breg.package.generated-artifacts-refused. Keep the old package and its tools until cutover, update the authored keys, then package with --baseline-package ACTIVE, check the successor, and run bregctl plan and the reviewed bregctl apply.
  • BReg resealed artifacts (Use consistent names for service functions and embedded logic #2889). A generated artifact changed and then resealed reports breg.package.generated-artifacts-refused. A sealed source that mixes historical and current Action Plan spellings reports breg.package.integrity-refused.
  • Evidence Derivations (Use consistent names for service functions and embedded logic #2889). Rename functions to derivations and derive.function to derive.derivation. Authoring codes move from evidence.project.function-* to evidence.project.derivation-*. Regenerate typed bindings with evidencectl types.
  • Coordinator Transforms (Use consistent names for service functions and embedded logic #2889). Rename functions to transforms, use type: transform with a transform member, and read coordinator.transform.* diagnostics.
  • Generated client path arguments (Use consistent route parameter names in generated API clients #2843). Casework, Scheduling, Messaging, OID4VP, Render and Adapter breg-records path arguments use lower-camel-case names. Operation names and HTTP URLs are unchanged. Refresh a Live Effective Contract and its pinned digest together.
  • Payment problem identifiers (Harmonize problem identifiers across product APIs #2841). Payment problems use canonical Adapter HTTPS type URIs. Upgrade strict payment clients with or before the payment host.
  • Render timestamp authority (Every product chooses outbound transport through the shared destination selector #2817). Render refuses a loopback answer for a host name, and link-local, multicast, unspecified or cloud metadata addresses. A refused literal fails registry-render check and startup with render.runtime.timestamp-address-refused. A caBundleRef on an http URL is reported as render.runtime.seal-timestamp-ca-bundle-requires-https.
  • Adapter signed event destinations. adapter-job check now applies the signed-event origin policy that activation already applied, so a baseUrl with a path, or loopback in allowedPrivateCidrs, fails check as it failed at startup.
  • Pagination (One pagination vocabulary #2809). Not breaking on the server, which still reads the earlier query spellings during upgrades. Clients write limit and cursor.

Security review notes

These changes touch authentication, disclosure, governed-package integrity, release provenance, deployment defaults or secret handling. Each had an independent review, and a second independent review where stated.

Classification ceilings (#2869)

  • The ceiling moves a control from the author to the operator. A later field addition or reclassification at or below the ceiling widens the compiled grant under the same authored permission. The compiled grant is still explicit, so every runtime check is unchanged.
  • A successor package that widens a direct grant appears in bregctl diff --package as widening. A widened read path appears as review-required with the nested readable set.
  • The compiler refuses a ceiling on any direct grant or read path of a permission with requireConsent (breg.consent.readable-fields-explicit-required, BREG-SEC-245).
  • Revisions project through the current grant, so lowering a classification exposes earlier values to a ceiling profile with history access. The BReg security model adds operator obligation 23 for this.
  • Independent review and a second independent review: GO with conditions, all met.

Token corpus (#2823)

  • No cell is settled by widening what a token is accepted for. Bearer expectations, token fixtures, the loader and the driver are unchanged.
  • The callback column is scoped to the ID-token member of the Review code response and grants no bearer use.
  • Independent review: no P1 or P2.

Session route inventory and Envoy assembly (#2853, #2870)

  • The exporter refuses stale, swapped, aliased or mismatched inputs before it writes any file. Deferred per-module sign-ins, per-page sign-in and unsafe page prefixes are refused. TLS minimum is 1.2.
  • Independent review and a second independent review: GO after fixes. The managed preview keeps refusing Session until the checked route path is wired end to end.

Managed Scheduling task-grant binding (#2844)

  • Development posture only. It binds one task agent to one Casework assertion issuer, with a separate status client and key and exact numeric loopback endpoints. Reusing private key material under a different key ID or file is refused.
  • Independent review and a second independent review: GO.

Compose native secret mounts and public documents (#2882)

  • mountPolicy: compose-native is an explicit production setting. It admits only a root-owned, single-link regular file with mode exactly 0444 under the declared root, and startup and check report platform.posture.compose-native-secret-mount. Default production still refuses that shape.
  • Static JWKS and CA bundles go through one shared public-document read that drops only the group and world read checks. Owner, link count, write and execute bits and the root-confined walk still apply.
  • Evidence, OID4VCI and OID4VP refuse the setting under their frozen v1 key rule. CLI connection and task connection files use a strict provider block that refuses it.
  • Residuals: with the setting, every user in the container can read the mounted secrets, so the guide limits it to a container that runs one service under one runtime identity. A root-owned 0440 file is still refused.
  • Independent review and a second independent review: GO with fixes, all carried.

One product inventory (#2894)

  • The token audience a development run issues for each product moves to audiences. Protection is unchanged, and a missing or extra audience is refused as before. No role, access profile, grant, claim or scope changes.
  • An independent review parsed all 26 standalone dev.yaml fixtures before and after the change, and each resolves to the same product, project and audience set.

Holder function binding (#2835) and preview handler credentials (#2866)

  • The trusted host holds the person's credential and performs the declared BReg Action. The application function receives only declared projected inputs and holds no credential.
  • Handlers receive a fresh request copy without credentials, and two interleaved calls prove per-request isolation in the typed client.
  • Independent review (four rounds) and a second independent review: GO.

Coordinator service functions and the review-producer binding (#2888, #2891)

  • A service function call carries no product authority. Every declared product credential is refused on a function host, and the function host key never reaches a product.
  • Residuals: reusing an external HTTP credential for a service function is an accepted residual with an operator obligation, and refusal is planned for v0.52. In a preview run, one run key admits both the gateway and the Coordinator as callers of the function host. A preview function bound to the Coordinator can also be called from the page (Tell a preview function binding whether the Coordinator or a page called it #2901).
  • The development-only Coordinator to Casework review-producer binding names one issuer for one producer profile. A separate development-only binding gives one Coordinator BReg connection its own identity for one test person's grant.
  • The preview serves one page to several actors through one gateway origin per actor, a listed development substitution until the managed preview signs people in through Session.
  • Independent review and a second independent review: GO with conditions, all closed.

Package verification (#2889)

  • Strict startup, integrity inspection, check and apply-target verification require the current Action Plan spelling in sealed sources. Predecessor planning and rehearsal may translate the historical spelling only after envelope, manifest and per-file digest verification, and only in memory. A file that mixes or doubles the spellings is refused as an integrity failure.
  • The expected package digest, the activation ledger and strict generated-artifact comparison continue to bind the installed package and database.

Outbound destinations (#2817)

  • Render resolves only the timestamp authority's host and refuses loopback answers for a host name and unsafe address classes, and check applies the same rule as the seal's client.
  • Adapter sources stay HTTPS or loopback only. The Adapter job check now applies the signed-event origin policy that activation already applied.

CI workflow

Integration

  • The replacement builds on main after the Adapter port fix (test(adapter): wait for the split-role adapter to announce its port #2933) and CI hardening (ci: pin the toolchain and isolate the path classification step #2934). The final CI result requires repository checks and enforces TypeScript live when that lane is selected. The aggregate inventory covers all 50 direct dependencies.
  • BReg ingestion-run continuation helpers carry the original filters and limit with the cursor. The permit-review preview resumes interrupted submission and status requests with the original attempt keys and bodies.
  • The lanes were replayed in order onto the v0.50.0 release source. Commits that two lanes both carried were applied once.
  • The folded branch was then rebased onto main after the v0.50.0 closeout. Only the generated TypeScript client headers conflicted, and the clients were regenerated for the 0.51.0 development line.
  • Conflicts were resolved by keeping both sides: changelog entries stay under Unreleased, the rstack dev identity-facts loader takes both the offline check flag and the review producer completion destination, the BReg security model keeps both new sections, and the Evidence composition harness uses the Derivation key in the helper another lane moved.
  • One integration fix passes the new completion destination argument in the offline Messaging facts test.
  • Seam fixes after the first full CI run: the BReg tool schema test expects the bregctl report schema once, the posture diagnostics data is regenerated, the release binary build assigns the Session roster answer before testing it, and the release workflow structure tests follow the assigned roster form. Test harness fixes resolve the CodeQL findings: TLS 1.2 or later for the test timestamp authority, owner-only fixture files, and no side effect inside an assert.
  • Generated outputs were not hand-merged. Every schema generator, the BReg example artifacts, the Coordinator and Evidence contracts, the CLI catalog, the TypeScript clients and the identifier catalog were regenerated once at the end. The BReg compiled revision pins and the eight registered BReg examples already matched and needed no change.

Verification

At the replacement head, 251 classifier tests, 19 event-routing tests, 265 release and journey tests, and all 780 Node tests passed. Generated-client drift, workflow lint and the focused permit retry browser test also passed. Hosted CI covers the installed native multi-product permit journey.

On the replacement head, the generated TypeScript client drift check and all 780 Node tests passed. The focused Chromium permit retry regression passed with the built preview page and simulated product responses. The CI classifier (251 tests), event routing (19 tests), release workflow and journey tests (265 tests), and the pinned actionlint check also passed.

Before this replacement, the integrated tree passed the following checks:

  • cargo fmt --check, workspace cargo check --all-targets and workspace Clippy with warnings denied.
  • registry-rstack-dev and registry-rstack tests, including 67 native dev_run tests with the development hosts built.
  • registry-bregctl and registry-coordinator tests, the adapter-job posture and file-host tests, and the Casework secret diagnostics.
  • BReg compiled DDL pins and the registered example tests (explain contract, ODRL export, evidence source).
  • Drift gates: BReg generated artifacts, Coordinator schemas and OpenAPI, runtime configuration conformance (--check-generated), configuration conventions, generated TypeScript clients, client package sync, and the identifier catalog with reference closure.
  • TypeScript client tests (779 of 779), CI change classifier tests, journey tables, and the composition harness unit tests.
  • After the seam fixes: docs site script tests (1003 of 1003), the Release tooling job's commands (52 of 53, the OCI label smoke needs a newer buildx than the local host has), the composition harness with and without python -O, Render signed delivery and the OpenBao Transit delivery check, and the registry-rstack-dev unit tests with Clippy.
  • After the rebase onto main: full regeneration with no further drift, the identifier catalog, compiled DDL pins and registered BReg examples, the workspace, client package and fuzz lock version validators at 0.51.0, the release, upgrade rehearsal and release plan tests, registry-release validate-current, the client package sync, workspace cargo check --all-targets and the TypeScript client tests (779 of 779).

Each lane's earlier verification, run on its reviewed head, still applies to the folded commits:

  • Journeys: docs site tests, the served v0.49.0 public check, the nine-owner offline matrix, the Review callback cases and the Casework PostgreSQL observer tests.
  • Dev runtime: native promotion, signed hook, managed Scheduling and tutorial journeys, a paired preview and production browser run, a native Messaging run with root-owned 0444 mounts in a container, the permit-review browser journey, and the Adapter and Casework PostgreSQL suites.
  • Contracts: BReg package verification and PostgreSQL package assertions, bregctl CLI, Evidence, Casework, Scheduling and language server suites, Render schema and serve tests, and the docs build.

The root workspace test gate (cargo test --workspace, cargo deny) was not run locally. Hosted CI runs it.

Not verified

jeremi added 30 commits December 2, 2026 19:45
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Folds these reviewed commits:

- test(breg): qualify the released licence public check
- test(breg): let the released launcher cancel public-check startup

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Folds these reviewed commits:

- feat(breg): select stored readable fields by classification
- fix(breg): scope classification ceilings to owned stored fields
- test(breg): cover module ceilings and default traversal
- fix(breg): keep consent-scoped field grants explicit
- test(breg): bind consent ceiling guidance to apply controls

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…hema

Folds these reviewed commits:

- test(breg): verify the native role facts writer against compiled grants
- feat(bregctl): publish completed identity facts report schema

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Folds these reviewed commits:

- fix(identity): validate product references in unused roles
- fix(identity): point role diagnostics to their authoring inputs

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Folds these reviewed commits:

- feat(rstack-dev): verify offline owner role evidence
- test(rstack-dev): pin offline reports to owner formats

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Folds these reviewed commits:

- test(auth): cover browser callback tokens in both postures
- docs(auth): scope negative token fixtures to bearer admission

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
… BReg Action

Folds these reviewed commits:

- test(breg): prove holder renewal and crossed authority refusals
- feat(rstack): bind holder preparation to one BReg action

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Folds these reviewed commits:

- test(breg): bind the public check to its release fixtures
- test(docs): classify the bregctl report schema among BReg tool schemas
- test(rstack): name the holder test attempt without a secret keyword
- chore(identifiers): catalog the completed BReg identity facts report schema
- test(bregctl): hold the explain report example to current output
- test(breg-mcp): enable token fixtures for the native citizen test
- test(rstack): give the synthetic caseworkctl its complete owner report

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…ur endpoints

Folds these reviewed commits:

- fix(journeys): report unexercised local hooks accurately [skip ci]
- test(render): qualify signed document delivery
- docs(scheduling): qualify Keycloak catalogue access
- test(render): qualify Transit and HTTPS timestamp delivery
- test(discovery): pin catalog transport behavior
- fix(journeys): complete Render promotion with zero refusals
- fix(journeys): verify Adapter promotion and count production refusals
- fix(journeys): report verified first-hour endpoints
- test(journeys): gate hook reporting through the real local walk
- refactor(discovery): select numeric loopback catalog transport
- docs(platform): document integrity checks for public trust files
- fix(journeys): bind both standalone Casework issuer defaults
- fix(journeys): pair Evidence checks with the selected runtime
- test(journeys): correlate the local BReg hook receipt
- docs(dev): explain when to use a function or a flow

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Folds these reviewed commits:

- feat(session): generate a checked standalone Envoy configuration
- fix(casework): align the standalone starter and development issuer
- feat(dev): attach BReg hooks without replacing the managed issuer
- refactor(messaging): select HTTP provider transports centrally

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Folds these reviewed commits:

- feat(coordinator): name in-flow Rhai computations transforms
- fix(coordinator): align generated path parameter names
- fix(coordinator-client): name the Idempotency-Key header in refusals
- chore(coordinator): regenerate explicit path parameter contracts
- docs(dev): describe the available external flow call

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Folds these reviewed commits:

- chore(release): wire the held Session binary into the native roster
- feat(dev): admit explicitly selected private PostgreSQL transport
- fix(coordinator): align conformance inputs with transforms

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…ooks

Folds these reviewed commits:

- fix(journeys): qualify BReg against stock Keycloak
- fix(journeys): clean up explicitly kept fixture inputs
- feat(dev): capture signed Documents and Scheduling observer hooks
- test(journeys): verify retained Documents version-ready delivery
- feat(dev): check saved Casework reports offline
- docs(dev): describe private PostgreSQL startup and cleanup
- fix(journeys): tighten BReg fixture proof and promotion input
- fix(release): keep Session numbered assembly and nightlies aligned
- fix(scheduling): date fresh starters from initialization
- fix(dev): narrow and verify private PostgreSQL attachment
- fix(dev): exercise saved report refusals in strict conformance
- fix(dev): classify private PostgreSQL lookup failures as operational
- fix(scheduling): verify starter freshness and fold dates

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Folds these reviewed commits:

- feat(session): export routes from checked standalone HTTPS
- docs: explain when to choose a service function or flow
- docs(breg): reach a business preview from BReg Start
- feat(deploy): add business registration reference host
- fix(deploy): require checked route export before starting Envoy
- docs(coordinator): align route labels with OpenAPI
- test(coordinator): check transform fields in the configuration reference

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Folds these reviewed commits:

- test(journeys): record native Keycloak BReg qualification
- feat(dev): check saved BReg identity-facts reports offline
- feat(evidence): provision databases for held Evidence stores
- fix(journeys): shorten managed paths to the first read
- feat(dev): bind managed Scheduling to one live task authority
- test(journeys): verify managed Scheduling appointment hooks
- fix(session): check literal route bindings and their assembly digest
- fix(evidence): make store provisioning checks conform to the operator contract
- docs(evidence): publish the store provisioning reference

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…d Session sign-in routes

Folds these reviewed commits:

- refactor(adapter): select signed event transport before activation
- fix(journeys): read the Messaging starter receipt at T1
- refactor(breg): select signed webhook transport centrally
- fix(session): bind checked inventory to live sign-in routes
- fix(rstack): separate Scheduling and BReg status credentials
- test(journeys): exercise managed BReg Compose attachments
- fix(journeys): reap managed Scheduling startup before cleanup
- refactor(evidence): centralize wallet delivery transport checks
- fix(journeys): reap promotion startup and validate Adapter checks
- test(session): verify module sign-in drift and prefix refusal
- test(rstack): check task status identity separation through plans
- test(deploy): prove isolated registrar sign-out
- fix(journeys): preserve aligned Casework starter files
- docs(casework): staff the starter queue without replacing its files
- fix(rstack): scope lint expectation to the JSON Schema callback
- test(journeys): measure Casework missing-scope diagnostics

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Folds these reviewed commits:

- fix(release): classify the Session binary as a distribution-only asset
- feat(release): ship the Session binary from v0.51.0

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…ic documents as public

Folds these reviewed commits:

- feat(platform): accept Compose secret mounts explicitly and read public documents as public
- fix(evidence): classify provision as a JSON-reporting command

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…e bounded BReg revision routes

Folds these reviewed commits:

- fix(dev): check the external Scheduling caller after roles resolve
- chore: regenerate the CLI catalogue, dev schema and Coordinator client on the rebased lane
- docs(previews): show when a service needs a flow
- fix(preview): generate and admit bounded BReg revision routes
- docs(messaging): lead the Compose guide with the explicit native secret mount
- docs(breg): read the first tutorial's dev files from the scaffold
- test(dev): box the saved-report test diagnostic
- fix(identifiers): catalogue the ctl-report, store-provision and Session route inventory schemas
- fix(session): state the port check without a double negation

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…t read

Folds these reviewed commits:

- test(platform-config): pin that mountPolicy switches the resolver
- feat(platform-config): expose whether the file provider states compose-native
- fix(evidence): refuse compose-native secret mounts under the Version 1 key rule
- feat(platform-config): add a strict secret provider block for operator-local files
- fix(cli-api,thunderid-tooling): refuse mountPolicy in connection files
- fix(evidencectl): refuse the Compose mount policy in doctor, as the runtime does
- fix(schedulingctl): read secrets through the runtime's own resolver
- feat(platform-config): name database members and render explicit settings
- feat(provision): read each database member by kind and print explicit settings
- fix(platform-config): word public-document refusals for public documents
- fix(breg): refuse a private member in the Evidence trusted key set
- docs(platform-config): describe the strict provider block in plain words
- chore: regenerate the store-provision and connection schemas
- feat(registry-mcp): report explicit production settings in check
- feat(registry-session): report explicit production settings in check
- test: pin the Compose mount policy and public reads at product call sites
- fix(render): name secretProviders when a static key set's provider fails
- docs(platform-config): word the mountPolicy description without position
- docs: document the Compose mount policy and public-document reads per product
- chore: regenerate schemas

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…s written

Folds these reviewed commits:

- test(evidence-oid4vci): write the schema test's reference offers as issuer entries
- fix(preview): load business registration assets by relative URL
- fix(deploy): assign reference registrars through service roles
- test(deploy): run the reference host's Node tests in the deployment suite
- docs(deploy): make the business registration reference runnable as written
- fix(deploy): keep issuer key material read-only and PostgreSQL unprivileged
- docs(deploy): correct the reference steps a Compose run exposed

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Folds these reviewed commits:

- feat(platform): use one product inventory for dev and service plans
- fix(platform): finish the dev.yaml inventory migration from review
- fix(dev): place projected plan diagnostics at their authored keys
- chore(identifiers): regenerate the catalogue for the carried schema changes

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Folds these reviewed commits:

- fix(evidence): keep mountPolicy out of the wallet adapters' published schemas
- docs: add the Compose mount caveat to Session and Adapter, and state where it applies
- fix(platform): refuse OpenPGP private key blocks in public documents
- fix(platform): fail provision when its explicit-setting notice cannot be written
- refactor(platform): share the explicit-setting report line with registry-mcp and session
- test: pin the mountPolicy refusal pointer and a second provision notice
- chore(identifiers): regenerate the catalogue for the wallet adapter schemas
- fix(platform): publish the strict secret providers as a shared block
- chore(identifiers): regenerate the catalogue for the strict secret provider block
- docs(platform): state the public-document rule on the strict file provider

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…ority

Folds these reviewed commits:

- feat(coordinator): call a named service function without product authority
- feat(coordinator): accept a function host key as the service function credential
- fix(coordinator): refuse every declared product credential on a function host
- feat(dev): bind Coordinator service functions to the preview function host
- fix(client): keep the caller credential out of preview function handlers
- fix(client): give preview handlers a fresh request without credentials
- fix(coordinator): keep the function host key at the host and off every other key

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Folds these reviewed commits:

- feat(dev): bind the Coordinator as one Casework review producer
- fix(dev): close the Coordinator review producer binding's widening paths
- feat(dev): give one Coordinator BReg connection a development identity
- fix(dev): keep the Coordinator BReg identity dedicated to the Coordinator
- feat(dev): serve one preview page to several actors
- fix(dev): pin the Coordinator BReg client's whole replacement and recheck
- fix(dev): pin each preview actor's isolation and report its origins
- fix(dev): configure the review producer's completion destination for identity facts
- feat(dev): add the permit-review service preview
- fix(coordinator): compare function host keys as bytes
- fix(dev): review and decide only the permit application the Coordinator reads
- docs(dev): state the permit-review decision guard invariant and test identities
- fix(coordinator): compare a function host key without its trailing newlines
- test(dev): drive the permit-review preview in two browser contexts

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
The permit-review preview starts Casework and the Coordinator. CI now
routes the browser previews on changes to those crates, builds their
binaries beside BReg, and passes their paths to the driver, with five
more minutes for the third preview. The release-candidate install smoke
installs Casework and the Coordinator whenever the roster ships the
Coordinator binaries, so such a candidate must pass permit-review; only a
release without them sets RSTACK_PREVIEW_SKIP_PERMIT_REVIEW. The routing
test pins both roster gates.

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…rors

The Evidence store provisioning test reads the shared provisioning environment, so the TLS PostgreSQL lane now runs it and checks its own journey line, because those stores provision and serve nothing. Release candidate steps assign each roster answer before testing it, so a roster error fails the step instead of reading as not in release.

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…elector

Folds these reviewed commits:

- test(dev): pin every preview route parameter and the generator diagnostic order
- test(coordinator): pin the external, decision and token transport rules
- refactor(coordinator): select outbound transport through the shared selector

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…cts runtime

The runtime rstack dev renders for the owning tool's identity facts gave Scheduling no destinations.hooks, so schedulingctl refused any project with a URL observer as scheduling.runtime.unbound-hook-destination and no hooked Scheduling project could start. The facts runtime now declares one destination per observer destination the project names, built by the same helpers start uses to bind them to its signed hook sink.

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
…model

rstack dev refuses a person's grants and a products list, so the managed Scheduling journey stopped at its own plan. The task agent now holds a reader role that the service inventory declares for Scheduling, and the plan names its products and audiences as mappings. The binding check reads the audience from the new place.

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
@jeremi jeremi added this to the v0.51.0 milestone Dec 2, 2026
@jeremi jeremi added the ci:full Run the heavy integration tier on this pull request label Dec 2, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-02T20:19:54.606344Z 72e8193 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment