Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
2217bab
feat: support payment collections as native workflow steps
jeremi Nov 12, 2026
0d481a1
fix: enforce payment integration validation boundaries
jeremi Nov 12, 2026
f80733e
fix(breg): preserve operational database diagnostics
jeremi Nov 12, 2026
d6d629a
feat(platform): bind legacy RSA signatures to pinned Transit keys
jeremi Nov 12, 2026
49413e3
feat(adapter): add governed G2P API and mapped payment packs
jeremi Nov 12, 2026
d66567e
docs(payments): align typed disbursement and recovery contracts
jeremi Nov 12, 2026
35733a1
test(ci): cover mapped payment provider dependencies
jeremi Nov 12, 2026
6d2e199
docs(adapter): publish payment fixture replay help
jeremi Nov 12, 2026
0e9cc6f
fix(adapter): validate every configured payment provider pack
jeremi Nov 12, 2026
2daf77a
feat(adapter): enforce Mifos Bulk signatures and Operations bearer ac…
jeremi Nov 12, 2026
43b6786
fix(identifiers): register payment provider schemas
jeremi Nov 12, 2026
c4fe142
fix(platform): decode Transit RSA public keys with pkcs1 0.8
jeremi Nov 19, 2026
809b246
fix(adapter): preserve payment file diagnostics
jeremi Nov 12, 2026
f682bb0
fix(adapter): bound signed disbursement auth variants
jeremi Nov 12, 2026
3db1c8f
docs(adapter): clarify offline payment fixture help
jeremi Nov 12, 2026
d022e18
test(coordinator): include both payment workflow examples
jeremi Nov 12, 2026
2191010
feat: add hosted payment page, return URL and per-payer outcomes to t…
jeremi Nov 18, 2026
6f7bdfe
docs: describe the hosted payment page, cancelled outcome and payer r…
jeremi Nov 18, 2026
badde47
fix: settle payer-rule requests at creation
jeremi Nov 18, 2026
20306ad
docs: move payment contracts to the docs site
jeremi Nov 19, 2026
2f7219a
chore: regenerate payment schemas and identifier catalogue
jeremi Nov 19, 2026
498e820
fix(adapter): refuse live collection providers
jeremi Nov 19, 2026
4283213
fix(payments): treat a simulator payer cancellation as a failed colle…
jeremi Nov 19, 2026
3e69672
docs(adapter): list the disbursement table grants
jeremi Nov 19, 2026
3210aff
docs(adapter): say the operator supplies the Mifos provider pack
jeremi Nov 19, 2026
05bf276
docs(coordinator): say the disbursement example runs offline only
jeremi Nov 19, 2026
baf69b0
docs(adapter): describe disbursements in the release notes
jeremi Nov 19, 2026
3fa0b13
docs(payments): explain resuming an unresolved payment run
jeremi Nov 19, 2026
3411773
fix(coordinator): point a held receipt-backed mutation to reconcile
jeremi Nov 19, 2026
c42873c
fix(adapter): audit accepted payment requests under their attempt
jeremi Nov 19, 2026
60c0d21
docs(payments): document disbursement routes and Mifos set-up
jeremi Nov 19, 2026
a489909
fix(breg): limit the issuer to the bill fields issuance needs
jeremi Nov 19, 2026
a5e86cb
chore: regenerate the identifier catalogue
jeremi Nov 19, 2026
31c71ec
chore(payments): sync artifacts with the 0.49 workspace
jeremi Nov 26, 2026
68c1a3f
test(payments): verify legacy signing with OpenBao Transit
jeremi Nov 26, 2026
ca05ea8
docs(payments): distinguish signing tests from sandbox acceptance
jeremi Nov 26, 2026
cebcf12
fix(payments): update native acceptance for Registry Stack 0.49
jeremi Nov 26, 2026
5ea40fe
docs(payments): list payment support under unreleased
jeremi Nov 26, 2026
6279a40
test(payments): serve the OpenBao fixture over its Unix socket
jeremi Nov 26, 2026
0e46e14
fix(payments): enforce bounded JSON request objects
jeremi Nov 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/scripts/ci_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@
"registry-adapter-connectors",
"registry-adapter-job",
"registry-adapterctl",
"registry-payment-protocol",
"registry-payment-client",
"registry-payment-simulator-connector",
"registry-payment-mifos-connector",
),
"stack-client": ("registry-record", "registry-stack-client"),
"evidence": (
Expand Down
22 changes: 22 additions & 0 deletions .github/scripts/test_ci_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1267,6 +1267,7 @@ def test_adapter_crates_and_product_select_its_shard(self) -> None:
"crates/registry-adapter/src/lib.rs",
"crates/registry-adapter-job/src/pass.rs",
"crates/registry-adapterctl/src/main.rs",
"crates/registry-payment-mifos-connector/src/lib.rs",
):
with self.subTest(path=path):
outputs = classify(self.workspace, (path,))
Expand Down Expand Up @@ -1298,6 +1299,25 @@ def test_shared_adapter_engine_selects_evidence_consumers(self) -> None:
self.assertTrue(outputs["evidence_postgres"])
self.assertTrue(outputs["adapter_contracts"])

def test_payment_components_select_their_tests_and_consumers(self) -> None:
for package in (
"registry-payment-protocol",
"registry-payment-client",
"registry-payment-simulator-connector",
):
with self.subTest(package=package):
outputs = classify(self.workspace, (f"crates/{package}/src/lib.rs",))
selected = {
name
for row in outputs["rust_matrix"]["include"]
for name in row["packages"]
}
self.assertIn(package, selected)
if package != "registry-payment-client":
self.assertTrue(outputs["adapter_contracts"])
if package != "registry-payment-simulator-connector":
self.assertTrue(outputs["coordinator"])

def test_adapter_contract_job_runs_the_facade_recovery_runner(self) -> None:
steps = self.workflow_jobs["adapter-contracts"]["steps"]
runner = next(
Expand Down Expand Up @@ -3925,6 +3945,7 @@ def test_lock_selection_follows_build_and_dev_edges_to_every_consumer(
change.members,
frozenset(
{
"registry-adapter",
"registry-adapter-engine",
"registry-breg",
"registry-coordinator",
Expand All @@ -3938,6 +3959,7 @@ def test_lock_selection_follows_build_and_dev_edges_to_every_consumer(
),
)
outputs = classify(self.workspace, ("Cargo.lock",), lock_change=change)
self.assertTrue(outputs["adapter_contracts"])
self.assertTrue(outputs["platform"])
self.assertTrue(outputs["breg_contracts"])
self.assertTrue(outputs["evidence_contracts"])
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1414,6 +1414,8 @@ jobs:
env:
CARGO_TARGET_DIR: ${{ github.workspace }}/target
ADAPTER_CONTRACTS_CLEAN_BETWEEN_LANES: "1"
ADAPTER_TEST_OPENBAO_TRANSIT: ${{ needs.changes.outputs.full_sweep == 'true' || github.event_name == 'merge_group' || contains(github.event.pull_request.labels.*.name, 'ci:full') }}
OPENBAO_PULL: "true"
run: products/adapter/scripts/check-contracts.sh

- name: Registry Adapter facade recovery runner
Expand Down
24 changes: 20 additions & 4 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,14 @@ not products of their own.
| `products/documents` | Document Store product contracts, starter example, generated schemas and OpenAPI document, and contributor check scripts |
| `crates/registry-adapter-core` | Source-neutral Adapter model, wire DTOs, `adapter.*` problem codes, and pure authoring checks |
| `crates/registry-adapter-engine` | Shared bounded integration execution, compilation, components and replay; no listener, PostgreSQL client or product runtime |
| `crates/registry-adapter` | Adapter facade: serving, caller admission, write custody and audit journal over the shared engine |
| `crates/registry-adapter` | Adapter host: record-facade serving and custody over the shared engine, plus the optional typed payment module and its separate PostgreSQL attempts |
| `crates/registry-payment-protocol` | Runtime-free exact-money payment intents, observations, receipts and problem vocabulary |
| `crates/registry-payment-client` | Bounded typed HTTP client for the Adapter payment contract |
| `crates/registry-payment-simulator-connector` | Standalone synthetic P2G provider connector; no Adapter, Coordinator or product runtime dependency |
| `crates/registry-payment-mifos-connector` | Bounded Mifos Payment Hub EE wire and legacy signature profile; key custody belongs to the payment host |
| `crates/registry-adapterctl` | Adapter authoring and operator tooling and the `adapterctl` binary |
| `crates/registry-adapter-job` | Adapter ingestion-job host and the `adapter-job` binary: item table, pass, interval and authenticated hook triggers, and destination seam; identity and position only, never payloads |
| `crates/registry-adapter-connectors` | BReg connector over `registry-breg-client`, reachable only through the job host's explicit off-by-default `direct-breg` feature; never through the engine or facade; the dependency gate enforces this boundary |
| `crates/registry-adapter-connectors` | Ingestion BReg connector over `registry-breg-client`, reachable only through the job host's explicit off-by-default `direct-breg` feature; never through the engine or facade; distinct from the payment host's direct public BReg client dependency; the dependency gate enforces this boundary |
| `products/adapter` | Adapter schemas, profiles, packs, examples, fixtures, the Camel port table, and contributor check scripts |
| `crates/registry-discovery` | Immutable Registry Discovery index runtime and the `discovery` binary |
| `crates/registry-discovery-profile` | Closed provider-publication profile implemented by Evidence; published v1alpha1 resources retain their historical broader vocabulary |
Expand Down Expand Up @@ -289,8 +293,11 @@ and its bindings) owns its reviewed workflow packages, durable run state,
prepared commands, waits, and audit journal, and never product authority,
data, eligibility, or capacity. A wait never renews an approval or creates
downstream authority. The runtime may depend on product clients, product
cores, `registry-record`, and `registry-platform-*`, never on a product
runtime, adopter tooling, a supporting service, or a binding; it reaches
cores, `registry-record`, and `registry-platform-*`. It may depend directly on
the runtime-free `registry-review-protocol` handoff contract and may reach
`registry-payment-protocol` only through `registry-payment-client`; these do
not admit other protocol crates. It never depends on a product runtime,
adopter tooling, a supporting service, or a binding; it reaches
Casework through `registry-casework-client` alone; its client reaches
`registry-platform-*` only. No product crate depends on a Coordinator crate
(only `registry-cli-docs` may), and the Casework, Scheduling, and Messaging
Expand Down Expand Up @@ -330,6 +337,15 @@ never reaches a product runtime, CLI, database crate, or any Coordinator
crate, and
`products/adapter/scripts/check_dependency_direction.py` enforces that
split. The adapter inherits no authorization
from any product. The optional payment module is a separate approved host
exception: `registry-adapter` may use `registry-payment-protocol`, the
standalone simulator and Mifos provider connectors, and the public
`registry-breg-client` for authoritative bill and instruction reads and
restricted binding and reporting Actions. The source-neutral core, engine and
generic job host gain no payment dependencies.
The payment host retains original attempt bindings and grants no authority
to Coordinator or callers to assert financial facts. The record facade
inherits no authorization
from any product and grants none to any source: upstream calls run under
the deployment's own credential, or without an application credential for
numeric loopback, HTTPS with mTLS, or a fixed HTTPS source carrying the
Expand Down
74 changes: 74 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ members = [
"crates/registry-coordinator-client-py",
"crates/registry-review-client",
"crates/registry-review-protocol",
"crates/registry-payment-protocol",
"crates/registry-payment-client",
"crates/registry-payment-simulator-connector",
"crates/registry-payment-mifos-connector",
"crates/registry-casework-client-node",
"crates/registry-casework-client-py",
"crates/registry-casework",
Expand Down Expand Up @@ -126,6 +130,10 @@ registry-cli-api = { path = "crates/registry-cli-api", version = "0.49.0" }
registry-cli-report = { path = "crates/registry-cli-report", version = "0.49.0" }
registry-review-client = { path = "crates/registry-review-client", version = "0.49.0" }
registry-review-protocol = { path = "crates/registry-review-protocol", version = "0.49.0" }
registry-payment-protocol = { path = "crates/registry-payment-protocol", version = "0.49.0" }
registry-payment-client = { path = "crates/registry-payment-client", version = "0.49.0" }
registry-payment-simulator-connector = { path = "crates/registry-payment-simulator-connector", version = "0.49.0" }
registry-payment-mifos-connector = { path = "crates/registry-payment-mifos-connector", version = "0.49.0" }
registry-thunderid-tooling = { path = "crates/registry-thunderid-tooling", version = "0.49.0" }
registry-casework = { path = "crates/registry-casework", version = "0.49.0" }
registry-caseworkctl = { path = "crates/registry-caseworkctl", version = "0.49.0" }
Expand Down
19 changes: 18 additions & 1 deletion crates/registry-adapter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ postgres-test = [
# refuses at compile under adapter.job.component-unavailable.
job-file = ["registry-adapter-engine/job-file"]
job-postgres = ["registry-adapter-engine/job-postgres"]
schema = [
"dep:schemars",
"registry-adapter-core/schema",
"registry-payment-protocol/schema",
"registry-payment-simulator-connector/schema",
"registry-payment-mifos-connector/schema",
"registry-platform-yaml/schema",
]

[dependencies]
# The continuation cursor codec: XChaCha20-Poly1305
Expand All @@ -54,10 +62,18 @@ url.workspace = true
tokio-postgres.workspace = true
registry-adapter-core.workspace = true
registry-adapter-engine.workspace = true
registry-payment-protocol.workspace = true
registry-payment-simulator-connector.workspace = true
registry-payment-mifos-connector.workspace = true
registry-breg-client.workspace = true
uuid = { workspace = true, features = ["serde"] }
schemars = { workspace = true, optional = true }
async-trait.workspace = true
registry-platform-buildinfo.workspace = true
registry-platform-config.workspace = true
registry-platform-crypto.workspace = true
registry-platform-crypto = { workspace = true, features = ["transit"] }
registry-platform-httputil.workspace = true
registry-platform-script.workspace = true
registry-platform-httpsec = { workspace = true, features = ["server"] }
registry-platform-metrics.workspace = true
registry-platform-oidc.workspace = true
Expand All @@ -67,6 +83,7 @@ clap.workspace = true
jsonwebtoken.workspace = true
registry-platform-authcommon.workspace = true
rustls.workspace = true
rhai.workspace = true
serde.workspace = true
thiserror.workspace = true
tokio-postgres-rustls.workspace = true
Expand Down
Loading
Loading