adl.iddesk · ADL 0.5.1 Identity Desk
AI checks documents and scores risk. People decide every account.
KYC and customer onboarding review where AI models inspect identity documents, match live selfies, and propose risk tiers with plain-English factors while signed-in analysts and compliance officers decide every account: sanctions and PEP watchlist hits block approval until compliance clears them independently, high-risk tiers require enhanced due diligence, tier overrides record a written reason, and every declined applicant is told why.
applicant → onboarding (submitted → assign [analyst] → in_review → approve | decline [declineReason] | requestInfo [infoRequested → 30d nightly expire] | escalate) · verification (document | selfie_match | database | address | device | sanctions | pep [pass | fail | review | hit]) · assessment (AI draft [model + score + aiTier + factors] → accept | override [finalTier + reviewNote]) · escalation (open [assignee != escalatedBy] → clear [finding] | confirm [finding → blocks approval])
Why Identity Desk Exists
Fintechs, challenger banks, brokerages, crypto exchanges, and marketplaces run automated document readers, selfie matchers, database lookups, watchlist screens, and ML risk models on every account application. Those tools move clean onboarding files in minutes rather than days — yet BSA/AML officers, partner-bank sponsors, and regulatory examiners always ask the same first question: can a model wave through a watchlist match, approve a high-risk account, or silently reject a customer on its own?
In Identity Desk, the answer enforced by the Kalos server is never:
- AI checks and scores; signed-in people own every account decision: Automated
documentandselfie_matchchecks report confidence scores inside dashed violet cards, and modelkyc-risk-3writes a dasheddraftassessmentwith a0–100score,aiTier, and plain-Englishfactors. RuledecideOnlyOnAReviewedScoreblocksonboarding.approveuntil an analyst or compliance officer explicitly accepts the tier or overrides it with a mandatoryreviewNote. - Watchlist hits and high-risk tiers require independent compliance clearance: Sanctions and PEP partial name matches are common across everyday customers, so
hitsNeedClearanceblocks approval on anyhituntil compliance records aclearedescalation finding. HighfinalTierfiles likewise require compliance sign-off (highRiskNeedsCompliance),escalateToSomeoneElseprevents an analyst from assigning an escalation to themselves, andconfirmedBlockspermanently bars approval whenever compliance confirms a concern. - Privacy-minimized records and explained customer outcomes: No raw government ID numbers are stored anywhere in the schema, watchlist notices describe abstract matching points rather than real listed individuals, every
declinecaptures the exactdeclineReasoncommunicated to the applicant into history, and unanswered document requests retire cleanly via a nightly schedule rather than branding the customer a confirmed risk.
The entire application — 5 audited resources, 3 RBAC roles, 3 coordinated state machines, 7 cross-resource AEL rejection rules, resource field validation, 3 declarative operational views, a nightly 30-day expiry schedule, and merged onboarding-and-escalation history timelines — runs from a single ADL 0.5.1 suite (adl.iddesk) on Kalos and PostgreSQL.
Inside the 26-Application Demonstration Ledger
Every state transition and role-scoped create in seeds/seed.yaml (generated deterministically by seeds/gen_seed.py with uuid5 IDs) executes under privileges: user as the actual staff member who performs that job (analyst1, analyst2, compliance1, or compliance2). All 26 applicants, emails, and +1-704-555-xxxx phone numbers are fictional across 26 onboardings (ONB-51200–ONB-51225), 96 verification checks, 24 kyc-risk-3 assessments, and 10 compliance escalations spanning checking, card, crypto wallet, brokerage, and business accounts:
- 14 Approved Accounts Across Four Governance Paths (
ONB-51200–ONB-51213):- 7 clean approvals (
ONB-51200–ONB-51206) with passing document, selfie, sanctions, and database checks and acceptedlowormediumAI risk tiers. - 4 cleared watchlist false positives (
ONB-51207–ONB-51210, including hero fileONB-51208) whereanalyst1oranalyst2escalated a partial sanctions name/birth-year match andcompliance1orcompliance2verified that date of birth, nationality, and address history differed before approving. - 2 cleared high-risk EDD approvals (
ONB-51211,ONB-51212) where compliance traced third-party exchange funding to the applicant’s own verified account. - 1 written human tier override (
ONB-51213, Nikhil Rao) whereanalyst2overrode an82/100highAI tier tomediumafter documenting that the flagged “shared device” was a public library computer and all identity documents were clean.
- 7 clean approvals (
- 4 Documented Declines (
ONB-51214–ONB-51217): Two applications (ONB-51214,ONB-51215) declined by analysts after31%-confidence document checks flagged altered MRZ checksums (noApprovalOverFailedChecks),ONB-51216declined aftercompliance1confirmed a three-point watchlist match, andONB-51217declined aftercompliance2confirmed unestablished source of funds (confirmedBlocks) — each recording its applicant-facingdeclineReason. - 2 Open Compliance Escalations (
ONB-51218,ONB-51219):ONB-51218(Sofia Rossi, partial sanctions hit routedanalyst1 → compliance1) andONB-51219(Tomás Ortega,82/100high risk tier routedanalyst2 → compliance2) sit live incomplianceQueueso evaluators can testhitsNeedClearanceandhighRiskNeedsCompliancefirsthand. - 6 Active Analyst Queue Files (
ONB-51220–ONB-51225):ONB-51220andONB-51221sitin_reviewwith unrevieweddraftAI risk scores (decideOnlyOnAReviewedScore);ONB-51222andONB-51223wait ininfo_requestedfor 90-day proofs of address; andONB-51224andONB-51225sit newlysubmittedwaiting to be claimed.
How ADL Enforces CIP, Sanctions & Model-Risk Governance
When a partner bank’s BSA officer, internal audit team, or financial regulator inspects an onboarding file, five declarative mechanisms in backend/domain.yaml guarantee that every control held at the server boundary:
- Core CIP checks & hard failure blocks (
approveNeedsCoreChecks,noApprovalOverFailedChecks,hitsAreScreenings): Before anyonboarding.approvetransition commits, Kalos queriesverificationrows for$record.applicantto ensure passingdocumentandselfie_matchchecks plus a completedsanctionsscreen are on file, rejects immediately if any check hasresult == 'fail', and validates at write time thatresult == 'hit'only occurs onsanctionsorpepscreenings. - Human gate & audit view over AI risk scoring (
decideOnlyOnAReviewedScore&aiRiskAgreement): Modelkyc-risk-3writesassessmentrecords indraft. Approving an onboarding while a draft exists — or when noacceptedoroverriddenassessment is on file — returns422 "Review the AI risk assessment first."ChoosingoverrideenforcesrequiredFields: [finalTier, reviewNote], setsreviewedBy: $user.id, and surfaces every divergence inviews/aiRiskAgreement. - Independent compliance EDD & watchlist clearance (
hitsNeedClearance,highRiskNeedsCompliance,escalateToSomeoneElse): Creating anescalationwith$record.assignee == $record.escalatedByfails with422 "Assign the escalation to a different person."Only[compliance, admin]hold permission toclearorconfirman open escalation (each requiring a writtenfinding) or decide anescalatedonboarding, and neither a watchlisthitnorfinalTier == 'high'can reachapprovedwithout aclearedescalation on that onboarding. - Irreversible confirmed-concern blocks & customer-facing decline reasons (
confirmedBlocks&history): Once compliance transitions an escalation toconfirmed,confirmedBlocksrejects any subsequentonboarding.approve(422 "Compliance confirmed a concern. Decline instead."), whileonboarding.declinerequiresdeclineReasonand writesDeclined: {declineReason}alongsideCleared: {finding}andConfirmed: {finding}into immutable resource history. - Non-punitive 30-day information expiry (
expireUnansweredRequests): The daily03:30schedule queriesstatus == 'info_requested' && submittedAt < dateSub(now(), 30, 'day')and firesexpire— retiring abandoned document requests cleanly without recording an adverse compliance finding against the applicant.
Zero Sign-Up · Live Kalos Sessions
Sit at a Bench and Try It Live
Each card below signs directly into a real role-scoped JWT session on the production Kalos backend so you can test role queues, transitions, and server refusals immediately.
analyst as analyst1 KYC Analyst · Bench 1
Work reviewQueue, review the unreviewed 48/100 kyc-risk-3 draft on ONB-51220 (testing decideOnlyOnAReviewedScore and escalateToSomeoneElse), claim submitted ONB-51224, or track proof-of-address requests on ONB-51222.
Launch analyst1 bench ↗analyst as analyst2 KYC Analyst · Bench 2
Review the unreviewed 17/100 AI risk draft on card application ONB-51221, inspect analyst2's written public-library tier override on ONB-51213, or claim submitted checking application ONB-51225.
Launch analyst2 bench ↗compliance as compliance1 Compliance Officer · Bench 1
Investigate open watchlist escalation ONB-51218 in complianceQueue, test why approving ONB-51218 before clearing the hit returns HTTP 422 (hitsNeedClearance), inspect cleared ONB-51208, and audit aiRiskAgreement.
Launch compliance1 bench ↗compliance as compliance2 Compliance Officer · Bench 2
Conduct enhanced due diligence on open high-risk brokerage escalation ONB-51219 (testing highRiskNeedsCompliance), review confirmed source-of-funds decline ONB-51217, and oversee resolved watchlist findings.
Launch compliance2 bench ↗Production Interface Walkthrough
Inside Identity Desk — Screen by Screen
Captured directly from the live Kalos deployment. Click any screenshot to inspect full resolution or jump straight to that screen in the running application.
Declarative Server Enforcement
What the Kalos Server Refuses — Whoever Asks
These invariants live in the ADL domain definition, not in client-side UI JavaScript. Every REST request is checked by Kalos before touching PostgreSQL, and any violation returns a structured error naming the rule.
| Attempted Operation | Enforced ADL Rule / Guard | Regulatory Alignment |
|---|---|---|
| Approve an onboarding without a passing document check, passing selfie match, and completed sanctions screening | approveNeedsCoreChecks | Core CIP / KYC identity verification baseline |
| Approve an onboarding when any verification check on the applicant failed | noApprovalOverFailedChecks | Hard block on altered or failed identity evidence |
| Approve an onboarding over a sanctions or PEP watchlist hit without a cleared compliance escalation | hitsNeedClearance · verification.hitsAreScreenings | OFAC / PEP screening & independent false-positive clearance |
| Approve an onboarding after compliance confirmed an escalated watchlist or source-of-funds concern | confirmedBlocks | Permanent approval block on confirmed BSA/AML risk |
| Approve an onboarding while the AI risk assessment is missing or still unreviewed in draft | decideOnlyOnAReviewedScore | Mandatory human-in-the-loop model risk governance |
| Override the AI's proposed risk tier without recording a written explanation | assessment.override (requiredFields: [finalTier, reviewNote]) | Auditable AI-vs-human risk tier overrides in aiRiskAgreement |
| Approve an applicant with a high final risk tier without compliance clearance | highRiskNeedsCompliance | Enhanced due diligence (EDD) for high-risk accounts |
| Assign an enhanced-due-diligence escalation to the same analyst who raised it | escalateToSomeoneElse | Four-eyes separation between intake triage and compliance clearance |
| Decline an applicant without stating the plain-English reason communicated to the customer | onboarding.decline (requiredFields: [declineReason]) | Transparent adverse-decision notices & customer audit history |
Domain Footprint
ADL Suite Inventory
Resources (5)
applicantonboardingverificationassessmentescalation RBAC Roles (3)
analystcomplianceadmin Declarative Views (3)
reviewQueuecomplianceQueueaiRiskAgreement