{
  "action_kinds": {
    "clear_to_close": "issue clear to close",
    "deliver_loan_estimate": "send or record the Loan Estimate",
    "finalize_credit_decision": "finalize a denial / counteroffer",
    "record_underwriting_recommendation": "record the AI recommendation",
    "send_adverse_action_notice": "send the adverse action notice",
    "send_closing_disclosure": "send or record the Closing Disclosure"
  },
  "buyer": "Mortgage lenders and brokers using AI to move loan files",
  "case_fields": {
    "adverse_action": {
      "required": false,
      "type": "dict"
    },
    "decision": {
      "required": true,
      "type": "str"
    },
    "lender": {
      "required": true,
      "type": "str"
    },
    "loan": {
      "required": true,
      "type": "dict"
    },
    "model_inputs": {
      "required": true,
      "type": "list"
    }
  },
  "field": "Mortgage origination",
  "field_no": 8,
  "id": "mortgage",
  "job": "Take a loan file and the AI's recommendation, propose disclosures, decision steps and closing, and decide each action under TRID, ECOA / Reg B and clear-to-close rules",
  "limits": "Decisions only: the desk proposes work for the case you sent and decides each action under its published rules. Nothing is executed and no real system is touched. The record proves what was decided on that input, not that the input is true. CAIN-42 is governed AGI infrastructure, not yet AGI; these desks are deterministic rule engines, not general intelligence. Not legal, compliance, medical or insurance advice.",
  "name": "CAIN-42 VAGI Loan File Agent",
  "price_proposal": "Proposal: $12 per loan file; $1,500/mo minimum per lender",
  "recommended_2027": false,
  "references": [
    "TILA-RESPA Integrated Disclosure rule (12 CFR 1026.19(e), (f))",
    "Equal Credit Opportunity Act / Regulation B (12 CFR 1002.4, 1002.9)",
    "CFPB Circular 2022-03 (adverse action notices and complex algorithms)"
  ],
  "rule_set": [
    {
      "id": "MG-1",
      "text": "Loan Estimate within 3 business days of application: late (DENY), at the limit (HOLD)."
    },
    {
      "id": "MG-2",
      "text": "No prohibited basis in model inputs (DENY); likely proxies get fair-lending review (HOLD)."
    },
    {
      "id": "MG-3",
      "text": "DTI above 50% needs ability-to-repay documentation (HOLD)."
    },
    {
      "id": "MG-4",
      "text": "Denials and counteroffers are finalized by a human underwriter (HOLD)."
    },
    {
      "id": "MG-5",
      "text": "Adverse action notices need specific, non-generic principal reasons and go out within 30 days, counted from the application date as a proxy for the completed application (DENY)."
    },
    {
      "id": "MG-6",
      "text": "Closing Disclosure received at least 3 business days before consummation (DENY under, HOLD at the limit); APR increase over 0.125 points needs a new CD (HOLD)."
    },
    {
      "id": "MG-7",
      "text": "No clear to close with open conditions (DENY) or without a clean CD record (HOLD)."
    }
  ],
  "rule_set_sha256": "1884a21bbddbbb838e0684b43e2f2d3434d64044fc35c2beec5ba0cf6c9b2876",
  "rules": 7,
  "sample_cases": {
    "clean-approval": {
      "case": {
        "decision": "approve",
        "lender": "Example Home Loans",
        "loan": {
          "application_date": "2026-10-05",
          "as_of": "2026-11-05",
          "cd_received_date": "2026-11-02",
          "consummation_date": "2026-11-09",
          "dti": 36.0,
          "le_delivered_date": "2026-10-06",
          "loan_type": "conventional",
          "ltv": 80.0,
          "open_conditions": 0
        },
        "model_inputs": [
          "credit_score",
          "dti",
          "ltv",
          "income_verified",
          "assets_reserves_months",
          "employment_months"
        ]
      },
      "expect": "ALLOW",
      "title": "On-time disclosures, clean inputs, approved"
    },
    "fair-lending-review": {
      "case": {
        "decision": "approve",
        "lender": "Example Home Loans",
        "loan": {
          "application_date": "2026-10-05",
          "apr_increase_after_cd": 0.2,
          "as_of": "2026-11-05",
          "cd_received_date": "2026-11-02",
          "consummation_date": "2026-11-09",
          "dti": 52.5,
          "le_delivered_date": "2026-10-06",
          "loan_type": "conventional",
          "ltv": 80.0,
          "open_conditions": 0
        },
        "model_inputs": [
          "credit_score",
          "dti",
          "ltv",
          "income_verified",
          "assets_reserves_months",
          "employment_months",
          "zip_code"
        ]
      },
      "expect": "HOLD_FOR_HUMAN",
      "title": "ZIP code in the model, DTI 52.5%, APR jump after CD"
    },
    "risky-denial": {
      "case": {
        "adverse_action": {
          "notice_date": "2026-11-20",
          "specific_reasons": [
            "internal standards"
          ]
        },
        "decision": "deny",
        "lender": "Example Home Loans",
        "loan": {
          "application_date": "2026-10-05",
          "as_of": "2026-11-20",
          "cd_received_date": "2026-11-02",
          "consummation_date": "2026-11-09",
          "dti": 36.0,
          "le_delivered_date": "2026-10-12",
          "loan_type": "conventional",
          "ltv": 80.0,
          "open_conditions": 0
        },
        "model_inputs": [
          "credit_score",
          "dti",
          "ltv",
          "income_verified",
          "assets_reserves_months",
          "employment_months",
          "age",
          "marital_status"
        ]
      },
      "expect": "DENY",
      "title": "Late LE, age and marital status in the model, generic denial reason"
    }
  },
  "samples": [
    "clean-approval",
    "fair-lending-review",
    "risky-denial"
  ],
  "why_proof": "Fair-lending exams ask what the model used and why each applicant was denied, and TRID timing errors are costly. A signed record per file shows the AI's inputs were screened and every disclosure was on time."
}