State model
A durable saga record owns step status, retries, deadlines, compensation and custody. Source systems retain legal business state.
Reactivation combines identity, dormancy cause, ownership, restrictions, unclaimed-assets rules and possible fraud signals.
A staged workflow gathers evidence, revalidates the account state and releases only the next permitted action at each assurance level.
Organisations, systems and operating conditions are intentionally anonymised and recomposed. The design demonstrates engineering and banking-domain reasoning; it does not represent a named client estate, vendor product or measured production result.
Five operating planes separate interaction, identity, decision control, authoritative state and operating evidence.
Permitted workThe AI layer may diagnose, prepare and coordinate. Core servicing effects, remediation and complaint outcomes remain policy-controlled actions.
Consistency ruleKeep one durable case state and explicit custodian while source effects reconcile asynchronously.
Hard boundaryThe model is not a system of record, identity provider, policy authority or proof that an external effect occurred.
The journey can change account, payment, case or document state across systems that do not share one transaction boundary.
The model cannot remove a restriction, update identity or transfer funds.
A deterministic outer workflow contains model-led work inside typed, observable calls. Dashed messages remain proposals until policy or a human grants authority.
A durable saga record owns step status, retries, deadlines, compensation and custody. Source systems retain legal business state.
Mutating calls pass through typed capability contracts. Events notify downstream services, but command acceptance and effect readback remain distinct.
Use idempotent local transactions and eventual cross-system consistency. Unknown outcome is a first-class state, not an exception hidden by retry.
These roles are deliberately vendor-neutral. Each can be independently owned, versioned and replaced.
Returns candidate entities and typed relationships with match features, contradictions, effective dates and non-merge evidence.
Evaluates identity, purpose, capability, amount, risk tier and policy version; returns allow, deny, step-up or human-review with reasons.
Runs a versioned state machine with explicit waits, deadlines, retries, compensations, human tasks and terminal states.
Appends request, versions, policy result, model proposal, approval, action receipt, readback, correction and custody events under one correlation key.
Durable records carry provenance, authority, effect and custody without turning a transcript into an uncontrolled memory store.
Keep one durable case state and explicit custodian while source effects reconcile asynchronously.
The selected design is not universally superior. It is the safer fit for this boundary and failure cost.
Bias consequential journeys against false merge and retain unresolved candidates.
Automatically merge the highest-scoring candidate.
Cost acceptedMore cases require clarification, but one person's authority or risk cannot silently attach to another.
Compile stable decision logic and retain retrieval for explanation and residual ambiguity.
Ask a model to interpret the source document for every request.
Cost acceptedRule compilation needs controlled change, but creates repeatable decisions, regression tests and clear exceptions.
Keep consequential state transitions deterministic and use models inside bounded steps.
Let the model choose the complete path and recovery sequence.
Cost acceptedThe shell reduces flexibility, but makes deadlines, retries, permissions and recovery testable.
Use append-only events plus a rebuildable current-state projection.
Overwrite the case row with its latest status.
Cost acceptedReplay and storage are more complex, but point-in-time reconstruction and correction lineage remain possible.
Retries are bounded by knowledge of business effect; unknown outcome remains visible, owned and independently reconciled.
Actual thresholds belong to accountable service owners. The design exposes the equations and observables that those owners must baseline.
peak_action_rate = requests_per_second x steps_per_requestreconciliation_load = timed_out_actions + mismatched_readbacksrecovery_capacity = open_unknown_outcomes / owner_resolution_rateTransfer only case-relevant evidence between teams and retain communication history according to the case class.
A design is production-ready only when teams can prove what happened, recover it and change it safely.
partial completion and retry test
timer and deadline preservation
case handoff acceptance
customer communication readback
Identity chain, restriction reasons, policy results, reviewer approvals, reactivation receipt and monitoring plan.
Identity and operations specialists approve reactivation and subsequent release.
Automate reversible steps first. Expand authority only after duplicate, timeout, compensation and operator-recovery tests pass under peak load.
Servicing operations, product, complaints, legal and records owners set the operating controls.