Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
136 commits
Select commit Hold shift + click to select a range
82fcbbe
feat(platform): add a database provisioning crate and the PostgreSQL …
jeremi Nov 27, 2026
33eb28c
test: characterise token admission in every runtime with a shared tok…
jeremi Nov 27, 2026
8d9f343
feat(platform): check every static key set with one public-key rule
jeremi Nov 27, 2026
8e28069
feat(platform): give loopback one definition and name the probe paths…
jeremi Nov 27, 2026
bf0fcac
feat(platform): add the provisioning command, its print mode and its …
jeremi Nov 27, 2026
c618a78
feat(platform): name every failed check and bound the refusal log
jeremi Nov 27, 2026
14a1e1b
feat(platform): add a shared block that derives allowed clients from …
jeremi Nov 27, 2026
0301c9c
refactor(rstack-dev): provision development databases through the sha…
jeremi Nov 27, 2026
5ffc99b
feat(breg): check the static key set with the shared public-key rule
jeremi Nov 27, 2026
0a6f6ae
test(platform): add the acceptance journey tables and their shared li…
jeremi Nov 27, 2026
83f3b5b
feat(scheduling): answer a grant with too much lifetime left with its…
jeremi Nov 27, 2026
6b86f20
fix(platform): take the provision report format from the tool's own flag
jeremi Nov 27, 2026
fac6cad
feat(breg): give the client hook verifiers a default freshness window
jeremi Nov 27, 2026
00307a5
test(platform): add the rstack dev acceptance journey and its observe…
jeremi Nov 27, 2026
954d526
feat: add provision to caseworkctl, coordinatorctl and documentsctl o…
jeremi Nov 27, 2026
d88f05c
test(platform): add observed ThunderID 1.1.0 and Supabase shapes to t…
jeremi Nov 27, 2026
b237ba6
feat(scheduling): add schedulingctl provision for roles and the database
jeremi Nov 27, 2026
b7385b6
test(platform): add the own-provider acceptance journey and its obser…
jeremi Nov 27, 2026
07f18d9
feat(messaging): add messagingctl provision for roles and the database
jeremi Nov 27, 2026
57350b0
test(platform): add the promote journey and journey assists, and run …
jeremi Nov 27, 2026
4b269bf
fix(platform): name each token refusal's cause and type the refusal t…
jeremi Nov 27, 2026
da6b39c
feat(breg): add bregctl provision for roles, schemas and the database
jeremi Nov 27, 2026
7aa83f6
fix(platform): keep loopback in a crate with no HTTP server dependency
jeremi Nov 27, 2026
0e0376c
feat(platform): add the posture crate that reads --posture and REGIST…
jeremi Nov 27, 2026
28560fb
fix(platform): keep the crypto stack out of HTTP-only services and na…
jeremi Nov 27, 2026
11cd4a3
feat(platform): let a development-only value learn where it sits whil…
jeremi Nov 27, 2026
9f1b89a
feat(adapter): grant the runtime role its table privileges at startup
jeremi Nov 27, 2026
bc5f080
feat(platform): gate development-only values behind a declared posture
jeremi Nov 27, 2026
f4f74ba
feat: answer /health and /ready with the shared bodies in four runtimes
jeremi Nov 27, 2026
b15584a
feat: accept JSON probe bodies in the clients and package requesters …
jeremi Nov 27, 2026
c7c01bd
chore(ci): run each product's provisioning journey against the TLS Po…
jeremi Nov 27, 2026
7e9121f
feat: count and log every refused request in Coordinator, BReg and Ca…
jeremi Nov 27, 2026
3e37487
feat(adapter): grant the runtime role its payment table privileges at…
jeremi Nov 27, 2026
0b71e39
feat: count and log every refused request under its check in the othe…
jeremi Nov 27, 2026
389deba
feat(documents): admit the package's requester clients with allowedCl…
jeremi Nov 27, 2026
437c6e6
feat(adapter): count refused requests and align the security pages
jeremi Nov 27, 2026
7beeba8
fix: count Scheduling and Evidence refusals under their precise checks
jeremi Nov 27, 2026
f932829
fix(platform): refuse unsafe provisioning targets and report what ran
jeremi Nov 27, 2026
de10128
fix: count each refusal under its own check in five runtimes
jeremi Nov 27, 2026
98a2f3f
fix(platform): read loopback in identity and authoring tooling with t…
jeremi Nov 27, 2026
1c83016
fix(breg): refuse a non-bool freshness flag in the Python hook verifier
jeremi Nov 27, 2026
7f54b98
fix(adapter): refuse a binding on a reserved facade path when authoring
jeremi Nov 27, 2026
4e27b2d
docs(messaging): record the provision verb and test its refusals
jeremi Nov 27, 2026
069cf85
fix(platform): read the failed check in the acceptance journeys
jeremi Nov 27, 2026
dd5ba24
docs: record the provision verb in Scheduling and BReg and test its r…
jeremi Nov 27, 2026
c99455c
refactor(platform): remove the stage-labelled authentication log helpers
jeremi Nov 27, 2026
6dea940
docs(platform): show the printed provision scripts and catalog the pr…
jeremi Nov 27, 2026
8f3565d
feat(platform): load runtime files under a declared posture
jeremi Nov 27, 2026
be809db
feat(platform): let a scope refusal line name the declared scope
jeremi Nov 27, 2026
a9b09ad
fix(evidence): classify bearer headers and name declared scope on ref…
jeremi Nov 27, 2026
5da9289
docs: explain where authority lives across token, configuration and r…
jeremi Nov 27, 2026
3215b8e
fix(scheduling): count non-attendable refusals as visibility and name…
jeremi Nov 27, 2026
c41b426
fix: name declared scope on Render, Adapter and MCP edge scope refusals
jeremi Nov 27, 2026
abf50de
fix(platform): refuse URI database names and redirecting role default…
jeremi Nov 27, 2026
991d91c
test(platform): key the journey and token tables on change names
jeremi Nov 27, 2026
d77c566
feat(release): add a held Adapter image and an opt-in arm64 image build
jeremi Nov 27, 2026
244fe8e
fix: name declared scope on Documents and Coordinator refusals and ac…
jeremi Nov 27, 2026
ae72bd4
fix: name declared scope on BReg and Casework refusals and build each…
jeremi Nov 27, 2026
6f68c29
fix: name declared scope on Messaging refusals and hold tooling issue…
jeremi Nov 27, 2026
742a5e2
fix: bring side lockfiles and four tests in line with the branch
jeremi Nov 27, 2026
53657a5
feat(platform): mark development responses in the shared security hea…
jeremi Nov 27, 2026
985588d
docs(breg): introduce the engine's short name before the refusal metric
jeremi Nov 27, 2026
1a63dad
test(mcp-edge): rebuild the tracing interest cache before asserting t…
jeremi Nov 27, 2026
fd991d7
feat(platform): add loopback-plaintext termination and a development …
jeremi Nov 27, 2026
3c93fcb
test: expect the Adapter release image and a refused start for a rese…
jeremi Nov 27, 2026
a7780af
feat(adapter): create the Adapter database and roles with adapterctl …
jeremi Nov 27, 2026
c954185
docs(evidence): cite the OID4VCI service security header call by its …
jeremi Nov 27, 2026
250864b
docs: state that the hook verifier refuses a stale delivery
jeremi Nov 27, 2026
1424749
docs: state the platforms Messaging, Render and the BReg citizen serv…
jeremi Nov 27, 2026
9352fbb
docs(casework): scope the current-source read sentences to their path
jeremi Nov 27, 2026
1da44cc
docs: add discovery and discoveryctl to the CLI reference as drafts
jeremi Nov 27, 2026
3d22665
docs(discovery): state the platforms and installer the release ships
jeremi Nov 27, 2026
d8299d6
ci: run the adapterctl provisioning journey in the TLS PostgreSQL lane
jeremi Nov 27, 2026
67bc4e0
feat(platform): let httputil refuse a development peer and name one l…
jeremi Nov 27, 2026
cd8d2cc
feat(platform): read secret files under one rule and name the failed …
jeremi Nov 27, 2026
e2d0fc3
fix(ci): run the release image test and refresh two side lockfiles
jeremi Nov 27, 2026
7e98c27
feat(platform): record the declared posture in the activation ledger
jeremi Nov 27, 2026
f0cb20c
fix: point contracts and tests at the current secret and schema rules
jeremi Nov 27, 2026
520736e
feat(platform): refuse task authority from a development peer
jeremi Nov 27, 2026
a0925c2
test(platform): assert the MCP edge refusal line whichever thread log…
jeremi Nov 27, 2026
04d5291
fix(identifiers): pin the current Casework report schema
jeremi Nov 27, 2026
dfc5d2f
feat(breg): let projects say common rules once and draft migrations
jeremi Nov 27, 2026
bbf7a6e
feat(platform): record the declared posture on every audit journal line
jeremi Nov 27, 2026
f3405ea
chore(platform): record the posture dependency in the fuzz lockfile
jeremi Nov 27, 2026
f5f4d2f
docs(evidence): use a straight apostrophe in the operator contract
jeremi Nov 27, 2026
987acb6
test(render): expect the shared advice for an unsafe seal key file
jeremi Nov 27, 2026
ca4faed
feat(platform): let products resolve the posture through the config c…
jeremi Nov 27, 2026
25cf954
test(casework): corrupt a signature character that is never padding
jeremi Nov 27, 2026
839b76d
chore(identifiers): regenerate the catalog for the provision posture …
jeremi Nov 27, 2026
4c03bed
fix(breg): resolve row boundary sets only where a row reach is written
jeremi Nov 27, 2026
6e41f91
fix(bregctl): say what migration draft accepts beside compatible-addi…
jeremi Nov 27, 2026
9cff1e1
docs: fix the M5 page examples and installer snippets
jeremi Nov 27, 2026
2fd3b39
chore(release): say when the arm64 dispatch builds nothing
jeremi Nov 27, 2026
4b5e29b
docs(adapter): make the installer snippet paste cleanly
jeremi Nov 27, 2026
f98481d
test: keep secret values out of assertion messages
jeremi Nov 27, 2026
fa929c8
chore(identifiers): regenerate the catalog for the provision CLI source
jeremi Nov 27, 2026
909de9e
test(docs): stop counting the skipped Messaging installer fence
jeremi Nov 27, 2026
0497798
feat(platform): add Standard Webhooks delivery signatures
jeremi Nov 27, 2026
9b61527
feat(platform): add previous URL hook signing key reference
jeremi Nov 27, 2026
bd21c10
feat(platform): add a Standard Webhooks request template
jeremi Nov 27, 2026
460bb4d
feat(platform): send and verify Standard Webhooks deliveries
jeremi Nov 27, 2026
a570e2c
fix(platform): address Standard Webhooks review findings
jeremi Nov 27, 2026
a478f51
feat(documents): validate and document Standard Webhooks delivery
jeremi Nov 27, 2026
f76e35f
feat(casework): sign review completion webhooks
jeremi Nov 27, 2026
5d2f611
feat(adapter): sign job events with Standard Webhooks
jeremi Nov 27, 2026
5e39b9b
fix(documents): report full webhook signing key paths
jeremi Nov 27, 2026
c24fbcc
fix(documents): correct same-destination key rotation guidance
jeremi Nov 27, 2026
bba4aa5
fix(platform): say how to fix a repeated delivery key
jeremi Nov 27, 2026
72449f5
fix(documents): print key paths without quoting in rotation refusals
jeremi Nov 27, 2026
4bafec0
feat(platform): document Standard Webhooks receivers
jeremi Nov 27, 2026
ad91a65
fix(platform): clarify delivery key handling and verify receiver diag…
jeremi Nov 27, 2026
5066792
ci: test the Go delivery receiver example against the shared vectors
jeremi Nov 27, 2026
363dec8
fix(casework): validate completion signing keys consistently
jeremi Nov 27, 2026
6aac910
fix(adapter): validate signed job keys across destinations
jeremi Nov 27, 2026
23abace
feat(coordinator): verify ingress with Standard Webhooks
jeremi Nov 27, 2026
8e2a94b
test(adapter): bind native Coordinator webhook keys
jeremi Nov 27, 2026
6e0b4fc
fix(coordinator): preserve webhook key refusal details
jeremi Nov 27, 2026
84be82d
feat(scheduling): sign reminder deliveries with Standard Webhooks
jeremi Nov 27, 2026
b9c7fed
fix(scheduling): validate activated delivery signing keys
jeremi Nov 27, 2026
f80e6f0
feat(breg): verify Standard Webhooks in clients and receivers
jeremi Nov 27, 2026
0cbe85c
test(breg): expect native refusal of malformed hook subjects
jeremi Nov 27, 2026
97b29ba
fix(breg): validate receiver keys and support rotation
jeremi Nov 27, 2026
3e8cc32
docs: record signed deliveries in the product changelogs
jeremi Nov 27, 2026
a2e1e7d
feat(breg): authenticate deliveries with Standard Webhooks
jeremi Nov 27, 2026
5683082
fix(breg): enforce delivery key separation and retain inbox receipts
jeremi Nov 27, 2026
ba697bd
docs(breg): record signed deliveries and completion keys in the chang…
jeremi Nov 27, 2026
62bfea9
fix(breg): answer every authentication refusal with one sentence
jeremi Nov 27, 2026
1745d49
fix(breg): finish key recovery and refusal text in development and test
jeremi Nov 27, 2026
e3bff5f
chore: regenerate contracts and catalogs for signed deliveries
jeremi Nov 27, 2026
01fa465
test(adapter): compare the shared BReg bearer scheme
jeremi Nov 27, 2026
616677a
chore: regenerate contracts and catalogs over the posture base
jeremi Nov 27, 2026
89ef040
test(breg): keep canaries out of assertion messages and call a portab…
jeremi Nov 27, 2026
c878062
test(docs): compare the event header table with the signed delivery h…
jeremi Nov 27, 2026
1338f54
fix(breg): use the receiver keys only once they are read
jeremi Nov 27, 2026
2a489ba
test(release): count the changes job among the pinned Go setups
jeremi Nov 27, 2026
3c1950e
docs(breg): say that Revise reopens a draft and Submit sends the corr…
jeremi Nov 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
128 changes: 127 additions & 1 deletion .github/scripts/ci_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,12 @@
"registry-platform-hooks",
"registry-platform-httpsec",
"registry-platform-httputil",
"registry-platform-loopback",
"registry-platform-metrics",
"registry-platform-objectstore",
"registry-platform-oidc",
"registry-platform-posture",
"registry-platform-provision",
"registry-platform-ratelimit",
"registry-platform-resilience",
"registry-platform-script",
Expand Down Expand Up @@ -167,6 +170,66 @@
# change to either host runs them; the shard builds both before it tests.
RSTACK_DEV_HOST_PACKAGES = frozenset({"registry-bregctl", "registry-caseworkctl"})

# The acceptance journeys start every runtime and `*ctl` tool in their product
# column (products/platform/journeys/products.yaml; test_ci_changes.py checks
# this set against it), `rstack dev`, and the ThunderID tooling the product
# tools link for their development issuer. The starters the journeys copy
# live in product directories and product crates, whose paths already seed
# these packages.
JOURNEY_PACKAGES = frozenset(
{
"registry-adapter",
"registry-adapter-job",
"registry-adapterctl",
"registry-breg",
"registry-breg-mcp",
"registry-breg-review",
"registry-bregctl",
"registry-casework",
"registry-caseworkctl",
"registry-coordinator",
"registry-discovery",
"registry-discoveryctl",
"registry-documents",
"registry-documentsctl",
"registry-evidence",
"registry-evidence-oid4vci",
"registry-evidence-oid4vp",
"registry-evidencectl",
"registry-mcp",
"registry-messaging",
"registry-messagingctl",
"registry-render",
"registry-scheduling",
"registry-schedulingctl",
"registry-thunderid-tooling",
}
) | RSTACK_DEV_HARNESS_PACKAGES
# The journey scripts, their tables, the realm and the per-product inputs.
JOURNEY_INPUTS = ("products/platform/journeys/**",)

# The token fixture corpus, read by the corpus test in
# registry-platform-testing and by the token characterisation test of every
# runtime that verifies a token. The corpus is not a crate, so its path names
# those crates directly instead of relying on the reverse-dependency closure.
TOKEN_FIXTURE_CORPUS = "products/platform/conformance/tokens/"
TOKEN_FIXTURE_PACKAGES = frozenset(
{
"registry-platform-testing",
"registry-adapter",
"registry-breg",
"registry-casework",
"registry-coordinator",
"registry-documents",
"registry-evidence",
"registry-evidence-oid4vci",
"registry-mcp-edge",
"registry-messaging",
"registry-render",
"registry-scheduling",
}
)

# The runtime configuration conformance gate reads the sources of the runtimes
# it holds rows for, their generated runtime schemas, and the canonical shared
# configuration blocks schema. A product that joins the gate joins this set.
Expand Down Expand Up @@ -544,6 +607,49 @@
# spread across parallel `postgres:i/N` shard lanes — the runner's owned
# target lists cover every test exactly once across the shard set.
BREG_POSTGRES_SHARDS = 3
# The packages whose provisioning journey runs against the contracts-journeys
# lane's TLS-only PostgreSQL service, and the inputs that select that lane.
PROVISION_JOURNEY_PACKAGES = (
"registry-adapterctl",
"registry-bregctl",
"registry-caseworkctl",
"registry-coordinator",
"registry-documentsctl",
"registry-messagingctl",
"registry-schedulingctl",
)
PROVISION_JOURNEY_INPUTS = (
*(f"crates/{package}/src/provision.rs" for package in PROVISION_JOURNEY_PACKAGES),
# Each journey's test file. The database-free `provision_cli.rs` stays out.
*(
f"crates/{package}/tests/provision_postgres.rs"
for package in PROVISION_JOURNEY_PACKAGES
if package != "registry-caseworkctl"
),
"crates/registry-caseworkctl/tests/provision.rs",
"crates/registry-casework/migrations/**",
"crates/registry-documents/migrations/**",
"crates/registry-messaging/migrations/**",
"crates/registry-scheduling/migrations/**",
# What `apply` grants and what the start check reads, per product.
# The Adapter migrates and grants when it serves, not in a separate apply.
"crates/registry-adapter/src/serve.rs",
"crates/registry-casework/src/activation.rs",
"crates/registry-documents/src/activation.rs",
"crates/registry-messaging/src/activation.rs",
"crates/registry-scheduling/src/store/activation.rs",
# The Coordinator keeps its DDL in code, and dispatches its tool from cli.rs.
"crates/registry-coordinator/src/deployment.rs",
"crates/registry-coordinator/src/store.rs",
"crates/registry-coordinator/src/cli.rs",
# The tool dispatch of every other product.
*(
f"crates/{package}/src/lib.rs"
for package in PROVISION_JOURNEY_PACKAGES
if package != "registry-coordinator"
),
)

BREG_CONTRACTS_LANES = (
"contracts",
"contracts-journeys",
Expand Down Expand Up @@ -1237,6 +1343,8 @@ def classify(
seeds.update(MANIFEST_PACKAGES)
elif path.startswith("products/platform/"):
seeds.update(PLATFORM_PACKAGES)
if path.startswith(TOKEN_FIXTURE_CORPUS):
seeds.update(TOKEN_FIXTURE_PACKAGES)
elif path.startswith("products/breg/"):
seeds.update(BREG_PACKAGES)
elif path.startswith("products/casework/"):
Expand Down Expand Up @@ -1565,6 +1673,12 @@ def classify(
or bool(affected & BREG_EVIDENCE_COMPOSITION_PACKAGES)
)

acceptance_journeys = integration and (
complete
or any(matches(path, *JOURNEY_INPUTS) for path in paths)
or bool(affected & JOURNEY_PACKAGES)
)

matrix = []
for shard_name, shard_packages in SHARDS.items():
selected = sorted(affected.intersection(shard_packages))
Expand Down Expand Up @@ -1595,6 +1709,17 @@ def classify(
for path in paths
)
)
# The provisioning PostgreSQL suite runs in the contracts-journeys lane,
# after that lane's TLS proof makes its PostGIS 17 service TLS-only. It
# joins only the breg_contracts output: breg_integration and
# casework_postgres read the selection above, so the provisioning crate
# on its own does not select them.
# Each product's provisioning journey runs in the same lane after the
# suite, so a product's provision command, its journey, its migrations, its
# apply and start check or its tool's dispatch select the lane too.
provision_postgres = "registry-platform-provision" in affected or any(
matches(path, *PROVISION_JOURNEY_INPUTS) for path in paths
)

outputs = {
"full_sweep": full_sweep,
Expand All @@ -1616,7 +1741,7 @@ def classify(
or bool(affected & DISCOVERY_PACKAGES)
or any(matches(path, *DISCOVERY_PROVIDER_INPUTS) for path in paths)
or any(matches(path, *DISCOVERY_TUTORIAL_INPUTS) for path in paths),
"breg_contracts": breg_contracts,
"breg_contracts": breg_contracts or provision_postgres,
"evidence_contracts": bool(affected & EVIDENCE_PACKAGES),
"evidence_assurance": evidence_assurance,
"evidence_postgres": bool(affected & EVIDENCE_POSTGRES_PACKAGES),
Expand Down Expand Up @@ -1659,6 +1784,7 @@ def classify(
"render_tutorial": render_tutorial,
"scheduling_tutorial": scheduling_tutorial,
"breg_evidence_composition": breg_evidence_composition,
"acceptance_journeys": acceptance_journeys,
"identifiers": identifiers,
}
return outputs
Expand Down
Loading
Loading