State model
Batch and partition manifests remain immutable; reruns create new attempts. Published views point to the exact successful attempt and source cut-offs.
Exposure moves across products, netting sets and legal entities, while senior decision-makers need a concise explanation that remains traceable.
The system constructs a reconciled exposure view, identifies material drivers and drafts a narrative that links each claim to the relevant trade, agreement or risk calculation.
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 design may reconcile positions and simulate options. Booking, limit consumption, valuation approval and market action remain controlled systems and roles.
Consistency ruleUse event time, valuation time, legal-entity scope and source cut-offs; label forecast, pending and settled state separately.
Hard boundaryThe model is not a system of record, identity provider, policy authority or proof that an external effect occurred.
Several sources must agree on balances, positions, costs or outcomes before a reporting or management decision can rely on them.
Narrative generation cannot alter risk measures or suppress incomplete populations.
A deterministic outer workflow contains model-led work inside typed, observable calls. Dashed messages remain proposals until policy or a human grants authority.
Batch and partition manifests remain immutable; reruns create new attempts. Published views point to the exact successful attempt and source cut-offs.
Use file or event arrival to trigger orchestration. Separate raw landing, canonical transformation, control calculation and consumer serving.
A consumer sees one qualified batch version. Mixed source cut-offs or partial partitions cannot be presented as a complete period.
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.
Appends request, versions, policy result, model proposal, approval, action receipt, readback, correction and custody events under one correlation key.
Builds time-qualified projections from source events and reconciliations without becoming the legal system of record.
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.
Use event time, valuation time, legal-entity scope and source cut-offs; label forecast, pending and settled state separately.
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.
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.
Use event-fed projections for scale and direct readback for consequential effects.
Fan out to all systems of record for every interaction.
Cost acceptedRead models introduce lag and reconciliation work, but reduce source load and make cross-system views feasible.
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.
required_throughput = input_rows / available_batch_windowreconciliation_work = partitions x independent_control_setsrerun_headroom = remaining_window x spare_processing_rateRestrict sensitive position and counterparty data to entitled desks and exclude it from reusable prompts or broad telemetry.
A design is production-ready only when teams can prove what happened, recover it and change it safely.
late market or position event test
limit breach under stale data test
valuation-source reconciliation
dual-authorisation and booking readback
Entity hierarchy, netting basis, exposure calculations, driver decomposition, completeness checks and signed commentary.
Counterparty-risk owners approve the interpretation and limits response.
Move high-value changes to event-driven refresh only after the batch control set can reconcile the new path against the established baseline.
Treasury or desk, market risk, operations, finance and technology owners accept the design.