State model
Shared case state uses explicit field ownership. Specialist private state remains local; only contract-approved facts, summaries and open work may be promoted.
An estate case receives certificates, grants, instructions and correspondence over time, with products requiring different authority evidence.
The coordinator maintains an evidence graph, detects superseded documents and sequences product-specific work without collapsing legal authority into a single status.
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.
A shared authority core coordinates independently owned capability cells, domain systems 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.
Several specialist capabilities contribute to one journey while the customer should experience one conversation and one accountable owner.
Every effect checks the authority record and product-specific prerequisites effective at execution time.
A deterministic outer workflow contains model-led work inside typed, observable calls. Dashed messages remain proposals until policy or a human grants authority.
Shared case state uses explicit field ownership. Specialist private state remains local; only contract-approved facts, summaries and open work may be promoted.
Use versioned request, response, error and artefact envelopes. Every edge declares caller, represented subject, purpose, expiry and allowed capability.
One writer owns each shared field. Parallel branches return proposals that the orchestrator merges through deterministic conflict rules.
These roles are deliberately vendor-neutral. Each can be independently owned, versioned and replaced.
Accepts a typed evidence request and returns the minimum permitted facts with source, event time, observation time, validity and exclusions.
Returns candidate entities and typed relationships with match features, contradictions, effective dates and non-merge evidence.
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.
Evaluates identity, purpose, capability, amount, risk tier and policy version; returns allow, deny, step-up or human-review with reasons.
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.
Prefetch stable, purpose-safe facts; acquire volatile facts on demand against a time-qualified snapshot.
Load a broad customer profile at session start.
Cost acceptedThe selected design adds source calls and latency, but reduces stale data, excess exposure and accidental reuse.
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.
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.
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.
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.
downstream_calls = routed_turns x average_branch_fanoutp95_route = classifier + max(parallel_branches) + merge + validationreview_load = ambiguous_routes + rejected_handoffs + policy_stepupsTransfer 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
Document provenance, authority relationships, product worklist, supersession events, action receipts and custody history.
Estate specialists determine authority and approve account effects.
Begin with deterministic routing and explicit handoff. Add dynamic selection and parallel delegation only after edge contracts, loop tests and shared-state ownership are proven.
Servicing operations, product, complaints, legal and records owners set the operating controls.