{
  "format": "minctrl.process/v1",
  "graph": {
    "edges": [
      {
        "id": "e0___start____intake",
        "source": "__start__",
        "target": "intake"
      },
      {
        "id": "e1_intake__checks",
        "source": "intake",
        "target": "checks"
      },
      {
        "id": "e2_checks__income",
        "source": "checks",
        "target": "income"
      },
      {
        "id": "e3_checks__credit",
        "source": "checks",
        "target": "credit"
      },
      {
        "id": "e4_checks__aus",
        "source": "checks",
        "target": "aus"
      },
      {
        "id": "e5_income__aus-result",
        "source": "income",
        "target": "aus-result"
      },
      {
        "id": "e6_credit__aus-result",
        "source": "credit",
        "target": "aus-result"
      },
      {
        "id": "e7_aus__aus-result",
        "source": "aus",
        "target": "aus-result"
      },
      {
        "id": "e8_aus-result__auto-clear",
        "label": "Approve / Eligible (in policy)",
        "source": "aus-result",
        "target": "auto-clear"
      },
      {
        "id": "e9_aus-result__manual-uw",
        "label": "Refer / Refer-with-Caution",
        "source": "aus-result",
        "target": "manual-uw"
      },
      {
        "id": "e10_auto-clear__compliance",
        "source": "auto-clear",
        "target": "compliance"
      },
      {
        "id": "e11_manual-uw__compliance",
        "source": "manual-uw",
        "target": "compliance"
      },
      {
        "id": "e12_compliance__conditions",
        "source": "compliance",
        "target": "conditions"
      },
      {
        "id": "e13_conditions__income",
        "label": "Missing / stale docs — rework",
        "source": "conditions",
        "target": "income"
      },
      {
        "id": "e14_conditions__uw-signoff",
        "label": "All conditions cleared",
        "source": "conditions",
        "target": "uw-signoff"
      },
      {
        "id": "e15_uw-signoff__clear-to-close",
        "source": "uw-signoff",
        "target": "clear-to-close"
      },
      {
        "id": "e16_clear-to-close__monitor",
        "source": "clear-to-close",
        "target": "monitor"
      },
      {
        "id": "e17_monitor____end__",
        "source": "monitor",
        "target": "__end__"
      }
    ],
    "nodes": [
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "__start__",
        "interrupt_before": false,
        "kind": "terminal",
        "label": "Start",
        "position": {
          "x": 0,
          "y": 0
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "terminal",
        "tools": []
      },
      {
        "agent": "intake",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "intake",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Intake the application (1003) and borrower documents",
        "position": {
          "x": 0,
          "y": 120
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "los",
          "doc-intake"
        ]
      },
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": "parallel",
        "human": null,
        "id": "checks",
        "interrupt_before": false,
        "kind": "gateway",
        "label": "Run verifications concurrently",
        "position": {
          "x": 0,
          "y": 240
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "gateway",
        "tools": []
      },
      {
        "agent": "process",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "income",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Verify income and assets against agency guidelines",
        "position": {
          "x": 0,
          "y": 360
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "income-verify"
        ]
      },
      {
        "agent": "process",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "credit",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Pull credit and tradelines from the bureaus",
        "position": {
          "x": 0,
          "y": 480
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "credit-bureau"
        ]
      },
      {
        "agent": "process",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "aus",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Run automated underwriting (DU / LPA)",
        "position": {
          "x": 0,
          "y": 600
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "medium",
        "tools": [
          "aus"
        ]
      },
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": "exclusive",
        "human": null,
        "id": "aus-result",
        "interrupt_before": false,
        "kind": "gateway",
        "label": "AUS recommendation?",
        "position": {
          "x": 0,
          "y": 720
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "gateway",
        "tools": []
      },
      {
        "agent": "process",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "auto-clear",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Auto-build the in-policy approve/eligible file from AUS findings",
        "position": {
          "x": 0,
          "y": 840
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "los",
          "aus"
        ]
      },
      {
        "agent": "process",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "manual-uw",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Manually underwrite the referred file and document compensating factors",
        "position": {
          "x": 0,
          "y": 960
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "medium",
        "tools": [
          "los",
          "income-verify"
        ]
      },
      {
        "agent": "compliance",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "compliance",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Apply investor overlays, run ECOA / fair-lending + TRID checks, and build the condition list",
        "position": {
          "x": 0,
          "y": 1080
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "los"
        ]
      },
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": "exclusive",
        "human": null,
        "id": "conditions",
        "interrupt_before": false,
        "kind": "gateway",
        "label": "Conditions cleared?",
        "position": {
          "x": 0,
          "y": 1200
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "gateway",
        "tools": []
      },
      {
        "agent": null,
        "confidential": false,
        "gate": "gate:underwriter-signoff",
        "gateway": null,
        "human": "DE-authorized underwriter",
        "id": "uw-signoff",
        "interrupt_before": true,
        "kind": "gate",
        "label": "A DE-authorized underwriter signs the approval and clear-to-close",
        "position": {
          "x": 0,
          "y": 1320
        },
        "reversible": false,
        "sla": null,
        "sla_spec": null,
        "tier": "high",
        "tools": []
      },
      {
        "agent": "execute",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "clear-to-close",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Issue the approval and clear the loan to close",
        "position": {
          "x": 0,
          "y": 1440
        },
        "reversible": false,
        "sla": null,
        "sla_spec": null,
        "tier": "high",
        "tools": [
          "los"
        ]
      },
      {
        "agent": "monitor",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "monitor",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Monitor conditions, early-payment-default and HMDA reporting",
        "position": {
          "x": 0,
          "y": 1560
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "los"
        ]
      },
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "__end__",
        "interrupt_before": false,
        "kind": "terminal",
        "label": "Done",
        "position": {
          "x": 0,
          "y": 1680
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "terminal",
        "tools": []
      }
    ]
  },
  "hash": "f8dc2b3e09d51bbf03bc2031c498eda6cd58eaf689ece1513ad57f4d1577d40c",
  "name": "Mortgage-underwriting autopilot",
  "slug": "mortgage",
  "source": "example",
  "version": null,
  "violations": []
}
