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.
A request can fall outside the assistant's certified scope while still containing a safe, useful component and a time-sensitive need for human support.
The recovery route identifies the unsupported boundary, completes only independently authorised steps, explains the limit plainly and creates a structured handoff for the remaining work.
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 router selects a certified route and context envelope. It does not inherit the selected specialist's business authority.
Consistency rulePreserve atomic intents, active journey, current custodian and route version across every turn and modality change.
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.
Partial fulfilment is permitted only when it cannot prejudice the unresolved request, alter its deadline or imply that the whole request was completed.
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.
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.
Serves owned, audience-qualified and effective-dated content; exposes supersession, withdrawal and dependency metadata.
Durable records carry provenance, authority, effect and custody without turning a transcript into an uncontrolled memory store.
Preserve atomic intents, active journey, current custodian and route version across every turn and modality change.
The selected design is not universally superior. It is the safer fit for this boundary and failure cost.
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.
Federate authoring while centralising lifecycle metadata, validation and serving rules.
Create one centrally authored knowledge corpus.
Cost acceptedFederation requires stronger contracts and owner discipline, but preserves domain accountability and release velocity.
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_stepupsFilter candidates and context before model classification so unauthorised capability descriptions or customer facts do not enter the prompt.
A design is production-ready only when teams can prove what happened, recover it and change it safely.
multi-intent and overlap test
low-confidence clarification
loop and maximum-hop test
unsupported-route and queue-rejection recovery
Capability check, supported and unsupported spans, completed steps, preserved deadline, customer notice, handoff packet and acceptance.
The receiving team accepts custody and determines the unsupported portion.
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.
Journey, routing, conduct, channel and assisted-service owners define route and handoff policy.