{
  "format": "minctrl.process/v1",
  "graph": {
    "edges": [
      {
        "id": "e0___start____intake",
        "source": "__start__",
        "target": "intake"
      },
      {
        "id": "e1_intake__split-checks",
        "source": "intake",
        "target": "split-checks"
      },
      {
        "id": "e2_split-checks__classify",
        "source": "split-checks",
        "target": "classify"
      },
      {
        "id": "e3_split-checks__screen",
        "source": "split-checks",
        "target": "screen"
      },
      {
        "id": "e4_classify__join-checks",
        "source": "classify",
        "target": "join-checks"
      },
      {
        "id": "e5_screen__join-checks",
        "source": "screen",
        "target": "join-checks"
      },
      {
        "id": "e6_join-checks__triage",
        "source": "join-checks",
        "target": "triage"
      },
      {
        "id": "e7_triage__broker-signoff",
        "label": "clean / low-risk straight-through",
        "source": "triage",
        "target": "broker-signoff"
      },
      {
        "id": "e8_triage__broker-review",
        "label": "flagged (restricted HS / high-value / UFLPA)",
        "source": "triage",
        "target": "broker-review"
      },
      {
        "id": "e9_triage__remediate",
        "label": "denied-party / UFLPA hit — curable",
        "source": "triage",
        "target": "remediate"
      },
      {
        "id": "e10_remediate__join-checks",
        "source": "remediate",
        "target": "join-checks"
      },
      {
        "id": "e11_broker-review__broker-signoff",
        "source": "broker-review",
        "target": "broker-signoff"
      },
      {
        "id": "e12_broker-signoff__file",
        "source": "broker-signoff",
        "target": "file"
      },
      {
        "id": "e13_file__monitor",
        "source": "file",
        "target": "monitor"
      },
      {
        "id": "e14_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 shipment documents (invoice, packing list, BOL) and extract line items",
        "position": {
          "x": 0,
          "y": 120
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "ocr"
        ]
      },
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": "parallel",
        "human": null,
        "id": "split-checks",
        "interrupt_before": false,
        "kind": "gateway",
        "label": "Run classification and party screening concurrently",
        "position": {
          "x": 0,
          "y": 240
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "gateway",
        "tools": []
      },
      {
        "agent": "classifier",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "classify",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Classify the goods (HS / HTSUS) and compute the value and duty",
        "position": {
          "x": 0,
          "y": 360
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "hs-classify",
          "duty-calc"
        ]
      },
      {
        "agent": "compliance",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "screen",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Screen the parties against denied-party / OFAC / Entity List; apply reasonable care + UFLPA",
        "position": {
          "x": 0,
          "y": 480
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "denied-party",
          "sanctions-screen"
        ]
      },
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": "parallel",
        "human": null,
        "id": "join-checks",
        "interrupt_before": false,
        "kind": "gateway",
        "label": "Merge classification and screening results",
        "position": {
          "x": 0,
          "y": 600
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "gateway",
        "tools": []
      },
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": "exclusive",
        "human": null,
        "id": "triage",
        "interrupt_before": false,
        "kind": "gateway",
        "label": "Clearance risk: clean low-risk vs. flagged (restricted HS, high-value, party hit, UFLPA exposure)?",
        "position": {
          "x": 0,
          "y": 720
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "gateway",
        "tools": []
      },
      {
        "agent": "compliance",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "remediate",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Request supply-chain / origin docs to cure the screening or UFLPA hit, then re-screen",
        "position": {
          "x": 0,
          "y": 840
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "medium",
        "tools": [
          "denied-party",
          "sanctions-screen"
        ]
      },
      {
        "agent": "compliance",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "broker-review",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Broker reviews the flagged classification, valuation and screening exposure before signing",
        "position": {
          "x": 0,
          "y": 960
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "medium",
        "tools": [
          "hs-classify",
          "denied-party"
        ]
      },
      {
        "agent": null,
        "confidential": false,
        "gate": "gate:broker-of-record-signoff",
        "gateway": null,
        "human": "Licensed customs broker (broker of record)",
        "id": "broker-signoff",
        "interrupt_before": true,
        "kind": "gate",
        "label": "A licensed customs broker signs the entry of record",
        "position": {
          "x": 0,
          "y": 1080
        },
        "reversible": false,
        "sla": null,
        "sla_spec": null,
        "tier": "high",
        "tools": []
      },
      {
        "agent": "submit",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "file",
        "interrupt_before": false,
        "kind": "agent",
        "label": "File the CBP entry via ACE / ABI",
        "position": {
          "x": 0,
          "y": 1200
        },
        "reversible": false,
        "sla": null,
        "sla_spec": null,
        "tier": "high",
        "tools": [
          "customs-entry"
        ]
      },
      {
        "agent": "monitor",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "monitor",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Track the entry, post-summary correction and duty drawback",
        "position": {
          "x": 0,
          "y": 1320
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "customs-entry:check-status"
        ]
      },
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "__end__",
        "interrupt_before": false,
        "kind": "terminal",
        "label": "Done",
        "position": {
          "x": 0,
          "y": 1440
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "terminal",
        "tools": []
      }
    ]
  },
  "hash": "ff0a3ea724069828d674421e164d7eef243e4356bb36af1472cf00d33776b34c",
  "name": "Customs-clearance autopilot",
  "slug": "customs",
  "source": "example",
  "version": null,
  "violations": []
}
