Phase C · Application Architecture
Hero Screen — Interactive Mockup
SCR-CLM-001Onboarding Pipeline
agent:aib-identityRelationship Manager
In Progress2Pending Documents1Pending Review1Approved7Rejected0
Open Onboarding Cases
WorkflowClientTypeChannelCurrent StepSLAStatus
SIM-WF-009Elektra Holdings Ltdentity_re_kyccorrespondencecompliance_reviewD-2pending_review
SIM-WF-010Marta Lindqvistnew_clientvideo_iddocument_collectionD-18in_progress
SIM-WF-011Bergmann Familienstiftungnew_clientintroducerubo_identificationD-11in_progress
SIM-WF-012Lukas Brunnernew_clientdigital_ekycdocument_collectionoverduepending_documents
Selected Case — SIM-WF-009 · Elektra Holdings Ltd
escalation: sanctions near-match (UBO)
Client
SIM-C-008
Entity
Elektra Holdings Ltd
Client Type
legal_entity
KYC Status
review_required
Risk Class
high
KYC Tier
CDD → EDD (proposed)
Deadline
2026-06-13
Documents
6 / 8 verified
Step Checklist (PROC-001)
Identity Verification (SPG Art. 4)✓ 2026-06-02
Document Collection (SPG Art. 7)✓ 2026-06-04
Sanctions Screening✓ 2026-06-05
PEP Check✓ 2026-06-05
UBO Identification✓ 2026-06-06
Risk Rating✓ 2026-06-08
Compliance Review (CCO gate)pending
Account Opening (BankG Art. 9)pending
Compliance gate: account cannot open before CCO approval (SPG Art. 3).
Simulation — mock data (SIM-*)Agents propose · humans dispose (P11)

SCR-CLM — Client Lifecycle & Onboarding Screens

Version: 1.0 · Date: 2026-06-11 · Owner: Head of Private Banking (lifecycle) / CCO (compliance gates) Related: PROC-001 (KYC Onboarding), PROC-012 (Client Exit & Retention), aib-identity-service-api, aib-compliance-service-api Primary agent(s): agent:aib-identity, agent:aib-compliance · Human roles: Relationship Manager (RM), CCO, Head of Private Banking, COO

Function Overview

Client Lifecycle covers the full arc from prospect intake to account closure and 10-year retention: identification (SPG Art. 4), document collection and verification (SPG Art. 7), the stepped onboarding workflow, account opening (BankG Art. 9), authority structures (powers of attorney, signatories), and exit with retention clock per SPG Art. 22 (10 years from end of business relationship).

Agents do the processing: agent:aib-identity maintains client master data, contacts, signatories and drives the onboarding_workflow step tracker via the aib-identity service; agent:aib-compliance executes screening, document verification, and risk-rating steps via the aib-compliance service. Per Principle P11 and the Agent Register operating rule, agents propose — every record they draft commits only after human approval. Humans use these screens for that disposal: the RM curates the pipeline and client relationship, the CCO approves the compliance gate (step_compliance_review), and account opening requires compliance clearance before account.status can move to active (SPG Art. 3: no account without completed KYC).

The CRUD matrices below show both halves: what the agent creates/updates via API and what the human can read, approve, or override on the screen.

Screen Map

SCR-CLM-001 — Onboarding Pipeline

Purpose: Kanban-style queue of all open onboarding_workflow records, grouped by overall_status, with SLA countdown against deadline_date (default target_completion_days = 30). Personas: RM (own book), Head of Private Banking (all), CCO (compliance view)

Data Sources

TableRole in screen
onboarding_workflowprimary record — one card per case, step checklist rendered from step_* timestamps
clientcard header: name/entity, client_type, client_segment, kyc_status
documentper-case document completeness count (verified = 1 vs received)

CRUD Matrix

Tableagent:aib-identity (via API)agent:aib-compliance (via API)RMHead of PB
onboarding_workflowC R U (step timestamps)R U (screening/review steps)R U (blocking_reason, reassign)R
clientC R U (draft master data)R U (kyc_status, risk_class)RR
documentC R (intake)R U (verified, verification_method)RR

(No D — onboarding records are retained per SPG Art. 22 even for rejected/abandoned cases.)

Key Flows

  1. agent:aib-identity creates onboarding_workflow on client submission (PROC-001 step 1), computes deadline_date from target_completion_days, and stamps each step_* column as evidence arrives.
  2. agent:aib-compliance runs step_sanctions_screening, step_pep_check, step_adverse_media_check, step_risk_rating and posts proposed outcomes; cards with hits show an escalation badge.
  3. RM reviews cards in pending_documents, records blocking_reason, chases the client; cases hitting sla_overdue = 1 surface at the top and notify Head of PB.
  4. When all steps before step_compliance_review are stamped, the case moves to pending_review and routes to SCR-CLM-003.

States & Gates

  • overall_status: in_progress → pending_documents → pending_review → approved / approved_with_conditions / rejected / abandoned (terminal states set only via SCR-CLM-003).
  • SLA timer: deadline_date (PROC-001 SLA 2–5 business days target, 30-day hard cap); sla_overdue flag drives queue ordering.
  • Gate: a card cannot enter pending_review until step_identity_verification, step_document_collection, step_sanctions_screening, step_pep_check, and step_ubo_identification are all non-null.

Validation

  • onboarding_workflow.onboarding_type CHECK: 'new_client','entity_re_kyc','trigger_review','product_add_on'.
  • onboarding_workflow.onboarding_channel CHECK: 'branch','video_id','digital_ekyc','introducer','correspondence' — introducer channel requires client.introducer_verified = 1 (SPG Art. 6 introduced business).
  • onboarding_workflow.overall_status CHECK enumerates the seven pipeline states; UNIQUE (client_id, onboarding_type, initiated_at) prevents duplicate cases.

SCR-CLM-002 — Client 360 Detail

Purpose: Single-client console aggregating master data, accounts, balances, authority structure, documents, and communication log. Read-heavy; edits limited to contact data and communication entries. Personas: RM, CCO (compliance tab), Head of Private Banking

Data Sources

TableRole in screen
clientprimary record — identity, tax residency, kyc_status, risk_class, next_review_date
client_contactcontact panel with is_primary and validity window
account / account_balanceaccounts tab: type, service_model, status, multi-currency balances (balance, available, blocked)
power_of_attorneyauthority tab: active PoAs with scope and verification state
authorized_signatoryauthority tab: signing rules (auth_level A / B / advisory_only)
documentdocument vault with expiry warnings (expiry_date)
client_communicationtimeline; MiFID II advice flags (advice_given, recommendation)

CRUD Matrix

Tableagent:aib-identity (via API)RMCCO
clientC R U (proposed updates)R; U limited to non-KYC fields via change requestR U (kyc/risk fields, approve)
client_contactC R UR U (approve agent-proposed change)R
account / account_balanceR (balances written by aib-operations)RR
power_of_attorneyC R (draft from intake)RR U (verified_by, status to active)
authorized_signatoryC R U (revocation proposals)R U (initiate revocation)R U (approve verification)
client_communicationC R (auto-logged comms)C R U (own entries)R

Key Flows

  1. agent:aib-identity proposes contact mutations (new address, email) from inbound channels; RM approves — the write commits only then (P11).
  2. PoA intake: agent drafts power_of_attorney in pending_verification with poa_document_id; CCO confirms identity_of_attorney_verified and notarised/apostille evidence, then sets status active.
  3. Signatory revocation: RM triggers revoked = 1 with revocation_reason; screen requires notified_at to be stamped (client notified of change).
  4. Document expiry: vault highlights document.expiry_date within 90 days; one click opens a trigger_review onboarding case (SCR-CLM-001).

States & Gates

  • power_of_attorney.status: pending_verification → active → expired / revoked; activation gated on CCO verification (SPG Art. 7).
  • authorized_signatory: A+B accounts enforce dual signature downstream; changing auth_level requires CCO approval.
  • client.kyc_status = suspended renders the whole client read-only except the compliance tab.

Validation

  • client.client_type CHECK: 'individual','legal_entity','trust','foundation','partnership'; client_segment CHECK: 'UHNW','HNW','affluent'; aml_risk_rating CHECK: 'A','B','C','D'.
  • client_contact.type CHECK: 'email','phone_mobile','phone_office','address_postal','fax'.
  • power_of_attorney.poa_type CHECK: 'general','limited_investment','limited_account_access','irrevocable','enduring','springing'; identity_verification_method CHECK: 'original_document','certified_copy','video_id','notary_attestation'; revocation_reason CHECK includes 'death_of_principal','court_order','incapacity_of_principal'.
  • authorized_signatory.auth_level CHECK: 'A','B','advisory_only'.
  • client_communication.direction CHECK: 'inbound','outbound','internal'; if advice_given = 1 the screen requires recommendation text (MiFID II record of advice).

SCR-CLM-003 — Onboarding Case Review & Approval

Purpose: The human disposal point for PROC-001 step 8: full case file with agent-computed risk rating, screening results, and document evidence; CCO (or delegate) approves, conditions, or rejects. Personas: CCO (decision), Compliance Officer (preparation), RM (read-only)

Data Sources

TableRole in screen
onboarding_workflowprimary record — step evidence, proposed decision
clientproposed kyc_tier (SDD/CDD/EDD per SPG Art. 14/15/16-18), risk_class, risk_score
documentevidence panel: verification state per document

CRUD Matrix

Tableagent:aib-compliance (via API)CCORM
onboarding_workflowR U (propose decision draft)R U (overall_status, approved_by, conditions, rejection_reason)R
clientR U (propose kyc_tier, risk_class)R U (confirm; sets kyc_status = approved, approved_by, approved_at)R
documentR U (verified)RR

Key Flows

  1. agent:aib-compliance assembles the decision draft: composite risk_score (0–100), proposed risk_class and kyc_tier, screening summaries.
  2. CCO reviews; for approved_with_conditions the screen forces structured conditions (JSON list) with follow-up dates.
  3. EDD cases (kyc_tier = EDD or risk_class = pep) cannot be approved here — the screen routes to SCR-KYC-003 (SPG Art. 18 para 3 senior sign-off).
  4. On approval, client.kyc_status → approved and the account-opening task is created (SCR-CLM-004); on rejection, rejection_reason is mandatory and the client record is retained (no delete).

States & Gates

  • Decision gate: 4-eyes — the approving human must differ from the human who cleared step_compliance_review preparation; agent identity can never appear in approved_by.
  • client.kyc_status transitions allowed here: in_progress → approved / rejected / review_required.
  • EDD escalation gate: client.kyc_tier = EDD requires SCR-KYC-003 outcome before this screen unlocks.

Validation

  • client.kyc_status CHECK: 'pending','in_progress','approved','rejected','review_required','suspended'; kyc_tier CHECK: 'SDD','CDD','EDD'; risk_class CHECK: 'low','standard','high','pep'.
  • onboarding_workflow.rejection_reason required by screen when overall_status = rejected; conditions required when approved_with_conditions.
  • document.verification_method CHECK: 'original','certified_copy','electronic_certified','third_party_verified','video_ident' — at least one identity document with verified = 1 before approval (SPG Art. 7).

SCR-CLM-004 — Account Opening Approval

Purpose: Approve creation/activation of accounts after KYC clearance; enforce the BankG Art. 9 / SPG Art. 3 prerequisite chain and the MiFID II Art. 25(2) suitability gate for DPM/advisory. Personas: COO delegate (operations approval), CCO (compliance clearance), RM (request)

Data Sources

TableRole in screen
accountprimary record — pending accounts awaiting activation
clientprerequisite check: kyc_status must be approved
account_balanceinitialized zero-balance rows per currency

CRUD Matrix

Tableagent:aib-identity (via API)CCOCOO delegateRM
accountC R (draft in pending)R U (compliance_cleared_by/_at)R U (status → active, opened_date)R (request only)
account_balanceC R (zero rows)RRR
clientRRRR

Key Flows

  1. RM requests account; agent:aib-identity drafts account in status pending with account_type, service_model, base_currency, custodian routing (IBAN/BIC).
  2. CCO records compliance clearance (compliance_cleared_by, compliance_cleared_at) — blocked unless client.kyc_status = approved (SPG Art. 3).
  3. For service_model IN (DPM,advisory) the screen verifies suitability_id is set (MiFID II Art. 25(2): no DPM/advisory without completed suitability).
  4. COO delegate activates: status → active, opened_date stamped, opened_by recorded.

States & Gates

  • account.status: pending → active; later dormant / blocked / closed (closure via SCR-CLM-005).
  • Dual gate: compliance clearance (CCO) and operational activation (COO line) are separate actions by separate humans.
  • Suitability gate: activation button disabled for DPM/advisory accounts with NULL suitability_id.

Validation

  • account.account_type CHECK: 'custody','cash','securities','lombard','internal_nostro'; service_model CHECK: 'DPM','advisory','execution_only'; status CHECK: 'pending','active','dormant','blocked','closed'.
  • account.base_currency FK → ref_currency(code); screen restricts to bank-supported currencies.
  • account_balance: balance, available, blocked NOT NULL DEFAULT 0; available displayed as balance − blocked.

SCR-CLM-005 — Client Exit & Retention Console

Purpose: Manage relationship termination (PROC-012): account closure, retention-clock start (SPG Art. 22, 10 years), dormancy review, and end-of-retention purge authorization. Personas: RM (initiate), CCO (compliance sign-off), COO delegate (closure execution), DPO (purge review)

Data Sources

TableRole in screen
clientprimary record — closed_date, closure_reason, relationship_end_date, retain_until
accountper-account closure state, dormancy fields (dormant_since, dormant_review_due)
account_balancezero-balance precondition check
client_communicationexit correspondence log
documentretention ledger (retain_until per document)

CRUD Matrix

Tableagent:aib-identity (via API)RMCCOCOO delegate
clientR U (compute retain_until = relationship_end_date + 10yr)R U (initiate exit)R U (approve)R
accountR U (propose closed_date, dormancy flags)RR U (approve closure)R U (execute, closed_by)
account_balanceRRRR
client_communicationC RC RRR

(D only via the purge job after retain_until — never from this screen; legal review per PROC-012 step 3.)

Key Flows

  1. RM initiates exit with closure_reason; agent verifies all account_balance.balance = 0 and no open orders, then proposes account closures.
  2. CCO checks for open AML cases/STRs — exit blocked while an aml_investigation_case is open on the client (visible only as a generic "compliance hold", never STR detail — SPG Art. 16).
  3. COO delegate executes: each account.status → closed, then client.relationship_end_date stamped and retain_until computed (+10yr).
  4. Dormancy lane: accounts with stale last_activity_date get dormant_since set by the agent; humans schedule dormant_review_due.
  5. Retention lane: records past retain_until enter the purge-authorization queue; DPO + legal review before batch purge (PROC-012 steps 3–5).

States & Gates

  • Exit gate sequence: zero balances → compliance hold check → CCO approval → COO execution. Each step a different actor.
  • Retention timer: retain_until = relationship_end_date + 10 years (SPG Art. 22); purge before that date is impossible from any screen.
  • Dormant accounts (status = dormant) require review before reactivation; reactivation generates an aml_alert of type dormant_account_reactivation (see SCR-AML-001).

Validation

  • client.closure_reason and closed_date required together; retain_until computed, not editable.
  • account.status CHECK forbids any value outside 'pending','active','dormant','blocked','closed'; closure requires closure_reason and closed_by.
  • document.retain_until follows the client clock (SPG Art. 22: relationship_end_date + 10yr); screen shows per-document retention only, no early-delete control.

Access Control Notes

ScreenRMHead of PBCCOCOO delegateDPO
CLM-001 Pipelineown bookallall——
CLM-002 Client 360own bookallall (compliance tab edit)readread (privacy tab)
CLM-003 Case Reviewreadreaddecide——
CLM-004 Account Openingrequestreadclearanceactivate—
CLM-005 Exit & Retentioninitiatereadapproveexecutepurge review
  • Segregation of duties: preparer ≠ approver on CLM-003; compliance clearance ≠ operational activation on CLM-004; initiator ≠ approver ≠ executor on CLM-005.
  • Compliance holds caused by open STRs render as generic holds to RM/Head of PB — STR existence is never exposed to client-facing roles (SPG Art. 16).
  • Agents have no screen login; all agent writes arrive via service APIs and surface as proposals pending human action (P11).

Cross-References

  • Processes: PROC-001 (KYC Onboarding), PROC-012 (Client Exit & Retention), PROC-006 (periodic review trigger)
  • Service APIs: aib-identity-service-api, aib-compliance-service-api, aib-audit-service-api (all mutations logged)
  • Data ownership: aib-data-ownership-matrix.md
  • Adjacent screens: SCR-KYC (review/EDD), SCR-AML (holds, dormancy alerts), SCR-PRV (DSR on exit)

References

Referenced by