payment → reconcile trigger adapter wiring (ADR 0037 P4) #14
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-payment#14
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Part of the event-driven reconcile trigger (ADR 0037). Phase 4: payment adapter wiring.
What
After any Keycloak group and role write (subscription success, cancel, failure), the payment service calls the reconcile auth shim with its
paymentbearer token, which prompts a reconcile. Contract: key and "reconcile please" only, never desired state.Done already
tier_prowrite posts to the shim with a bearer token.vault_payments_webhook_tokenis set and billing is enabled.Left
tier_progrant showskick reason=paymentin the shim log.ReconcileEventPathSilentalert counts only kicks from the web container, so a dead billing-to-shim path raises no alert (see bitborg-infra#533, "Alerting gap").Board grooming 2026-10-03: dropped
blocked. The dependency has cleared: the auth shimv0.1.2is live in production since 2026-09-29. Until this is wired, the 5-minute reconcile tick applies a tier change.Board pass 2026-10-04. The payment side shipped in #73 (v0.4.0): every
tier_prowrite posts to the shim with a bearer token. The infra side merged as bitborg-infra#533 and is inert untilvault_payments_webhook_tokenis set and billing is enabled.Left before this closes:
ReconcileEventPathSilentalert counts only kicks from the web container, so a dead billing-to-shim path raises no alert (see bitborg-infra#533, "Alerting gap").tier_progrant showskick reason=paymentin the shim log.The firewall allowlist item is moot: billing and the shim share one host and podman network. mTLS was considered and not added.
Retarget: Kanidm is being replaced by Keycloak before launch (bitborg/bitborg-docs#127). Entitlement writes go to Keycloak roles and groups.