State model
A decision snapshot binds period, entity hierarchy, measures, formula versions, assumptions and source cut-offs. Scenarios never overwrite actuals.
A variance can mix volume, price, timing, model change and one-off events, while executives need a concise explanation they can challenge.
The system decomposes the variance deterministically, retrieves the supporting business events and drafts a narrative with alternative explanations and unresolved gaps.
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 system reconciles measures and explains drivers. Accounting entries, forecast ownership and investment decisions remain controlled finance processes.
Consistency ruleResolve period, currency, entity, product hierarchy and measure definition before comparison or aggregation.
Hard boundaryThe model is not a system of record, identity provider, policy authority or proof that an external effect occurred.
A business operator needs a reconciled view, explanation or scenario from several data products while retaining ownership of the business decision.
The narrative cannot replace the signed forecast or invent a causal explanation when only correlation is available.
A deterministic outer workflow contains model-led work inside typed, observable calls. Dashed messages remain proposals until policy or a human grants authority.
A decision snapshot binds period, entity hierarchy, measures, formula versions, assumptions and source cut-offs. Scenarios never overwrite actuals.
Read from curated analytical products rather than operational tables. Use drill-through links for source detail and typed write-back only for approved decisions.
Definitions and units are resolved before aggregation. Missing data stays missing; mixed grains and double-counted entities fail reconciliation.
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.
Appends request, versions, policy result, model proposal, approval, action receipt, readback, correction and custody events under one correlation key.
Chooses an approved model route by task, risk, evidence quality, latency budget and cost ceiling; enforces structured outputs.
Serves owned, audience-qualified and effective-dated content; exposes supersession, withdrawal and dependency metadata.
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.
Resolve period, currency, entity, product hierarchy and measure definition before comparison or aggregation.
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.
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.
Reserve larger models for residual reasoning after deterministic and smaller-model gates.
Send every request to the most capable available model.
Cost acceptedRouting adds evaluation work and operational complexity, but controls cost, latency and unnecessary data exposure.
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.
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.
query_load = active_users x decisions_per_hour x source_scansscenario_work = entities x periods x assumptions x alternativesreview_value = avoided_rework + decision_gain - compute - human_effortRestrict management, employee and customer-level data to the smallest analytical grain needed for the decision.
A design is production-ready only when teams can prove what happened, recover it and change it safely.
ledger and subledger tie-out
definition and unit consistency
actual versus assumption separation
narrative-to-measure citation
Variance bridge, source cut-offs, event citations, assumptions, unresolved items and approver edits.
Finance business partners approve the explanation and outlook change.
Begin with explanation and transparent calculations. Add recommendation only where decision rights, counterfactual evaluation and outcome measurement are established.
Finance, business performance, data-product and investment owners approve measures and decisions.