{
  "format": "minctrl.process/v1",
  "graph": {
    "edges": [
      {
        "id": "e0___start____intake",
        "source": "__start__",
        "target": "intake"
      },
      {
        "id": "e1_intake__gw-diag",
        "source": "intake",
        "target": "gw-diag"
      },
      {
        "id": "e2_gw-diag__probe-inv",
        "source": "gw-diag",
        "target": "probe-inv"
      },
      {
        "id": "e3_gw-diag__probe-addr",
        "source": "gw-diag",
        "target": "probe-addr"
      },
      {
        "id": "e4_probe-inv__gw-join",
        "source": "probe-inv",
        "target": "gw-join"
      },
      {
        "id": "e5_probe-addr__gw-join",
        "source": "probe-addr",
        "target": "gw-join"
      },
      {
        "id": "e6_gw-join__diagnose",
        "source": "gw-join",
        "target": "diagnose"
      },
      {
        "id": "e7_diagnose__gw-sla",
        "source": "diagnose",
        "target": "gw-sla"
      },
      {
        "id": "e8_gw-sla__gw-type",
        "label": "order fallout age < 24h — proceed with type classification",
        "source": "gw-sla",
        "target": "gw-type"
      },
      {
        "id": "e9_gw-sla__stage",
        "label": "order fallout age >= 24h — SLA breached, auto-escalate to fulfillment lead",
        "source": "gw-sla",
        "target": "stage"
      },
      {
        "id": "e10_gw-type__reconciler",
        "label": "auto-correctable mismatch (transient or config/address/inventory error)",
        "source": "gw-type",
        "target": "reconciler"
      },
      {
        "id": "e11_gw-type__stage",
        "label": "needs customer-facing commitment change (install date, price/plan, credit, or serviceability waiver)",
        "source": "gw-type",
        "target": "stage"
      },
      {
        "id": "e12_reconciler__gw-cleared",
        "source": "reconciler",
        "target": "gw-cleared"
      },
      {
        "id": "e13_gw-cleared__signoff",
        "label": "fallout cleared",
        "source": "gw-cleared",
        "target": "signoff"
      },
      {
        "id": "e14_gw-cleared__diagnose",
        "label": "still failing — transient error, retry count < 3",
        "source": "gw-cleared",
        "target": "diagnose"
      },
      {
        "id": "e15_gw-cleared__stage",
        "label": "permanent error — auto-correction cannot resolve, escalate to fulfillment lead",
        "source": "gw-cleared",
        "target": "stage"
      },
      {
        "id": "e16_stage__signoff",
        "source": "stage",
        "target": "signoff"
      },
      {
        "id": "e17_signoff__submit",
        "source": "signoff",
        "target": "submit"
      },
      {
        "id": "e18_submit__monitor",
        "source": "submit",
        "target": "monitor"
      },
      {
        "id": "e19_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": "Pull the stuck/errored order and its cross-system error logs from CRM, order management and provisioning",
        "position": {
          "x": 0,
          "y": 120
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "amdocs",
          "netcracker",
          "servicenow",
          "splunk"
        ]
      },
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": "parallel",
        "human": null,
        "id": "gw-diag",
        "interrupt_before": false,
        "kind": "gateway",
        "label": "Fan out independent root-cause probes across the order-to-activate chain",
        "position": {
          "x": 0,
          "y": 240
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "gateway",
        "tools": []
      },
      {
        "agent": "analyzer",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "probe-inv",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Correlate OSS/inventory and provisioning error codes to localize the inventory/config mismatch",
        "position": {
          "x": 0,
          "y": 360
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "oss-inventory",
          "netcracker",
          "splunk"
        ]
      },
      {
        "agent": "analyzer",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "probe-addr",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Validate the service address and serviceability against the order to localize address mismatches",
        "position": {
          "x": 0,
          "y": 480
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "address-validation",
          "amdocs"
        ]
      },
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": "parallel",
        "human": null,
        "id": "gw-join",
        "interrupt_before": false,
        "kind": "gateway",
        "label": "Join the parallel probes once both have returned",
        "position": {
          "x": 0,
          "y": 600
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "gateway",
        "tools": []
      },
      {
        "agent": "analyzer",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "diagnose",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Synthesize probe results into a single root-cause diagnosis; classify error as transient (retriable) or permanent (escalate to fulfillment lead); classify fallout type (inventory_mismatch, address_mismatch, config_mismatch, serviceability_waiver_needed, customer_commitment_change)",
        "position": {
          "x": 0,
          "y": 720
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "oss-inventory",
          "netcracker",
          "amdocs",
          "address-validation"
        ]
      },
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": "exclusive",
        "human": null,
        "id": "gw-sla",
        "interrupt_before": false,
        "kind": "gateway",
        "label": "Check order fallout age against SLA threshold (24 h); auto-escalate to fulfillment lead if breached",
        "position": {
          "x": 0,
          "y": 840
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "gateway",
        "tools": []
      },
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": "exclusive",
        "human": null,
        "id": "gw-type",
        "interrupt_before": false,
        "kind": "gateway",
        "label": "Fallout type?",
        "position": {
          "x": 0,
          "y": 960
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "gateway",
        "tools": []
      },
      {
        "agent": "reconciler",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "reconciler",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Auto-correct address, inventory and config mismatches in OSS/inventory with idempotent, revertible writes",
        "position": {
          "x": 0,
          "y": 1080
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "medium",
        "tools": [
          "oss-inventory",
          "netcracker",
          "address-validation"
        ]
      },
      {
        "agent": null,
        "confidential": false,
        "gate": null,
        "gateway": "exclusive",
        "human": null,
        "id": "gw-cleared",
        "interrupt_before": false,
        "kind": "gateway",
        "label": "Did the auto-correction clear the fallout?",
        "position": {
          "x": 0,
          "y": 1200
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "gateway",
        "tools": []
      },
      {
        "agent": "router",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "stage",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Stage the required customer-facing commitment change — new install date, price/plan change, credit, or serviceability waiver — with customer impact for review",
        "position": {
          "x": 0,
          "y": 1320
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "medium",
        "tools": [
          "amdocs",
          "address-validation"
        ]
      },
      {
        "agent": null,
        "confidential": false,
        "gate": "gate:customer-commitment-signoff",
        "gateway": null,
        "human": "Order fulfillment lead (manager, customer ops)",
        "id": "signoff",
        "interrupt_before": true,
        "kind": "gate",
        "label": "A fulfillment lead signs the customer impact and approves the order re-commit before it is re-submitted",
        "position": {
          "x": 0,
          "y": 1440
        },
        "reversible": false,
        "sla": null,
        "sla_spec": null,
        "tier": "high",
        "tools": []
      },
      {
        "agent": "submit",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "submit",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Re-commit and re-submit the corrected order downstream to provisioning/activation",
        "position": {
          "x": 0,
          "y": 1560
        },
        "reversible": false,
        "sla": null,
        "sla_spec": null,
        "tier": "high",
        "tools": [
          "netcracker",
          "amdocs",
          "oss-inventory"
        ]
      },
      {
        "agent": "monitor",
        "confidential": false,
        "gate": null,
        "gateway": null,
        "human": null,
        "id": "monitor",
        "interrupt_before": false,
        "kind": "agent",
        "label": "Verify the order clears fallout and activates; log the diagnosis, correction, and approval actor to audit trail for compliance (FCC 47 CFR § 64.1600); track SLA resolution time",
        "position": {
          "x": 0,
          "y": 1680
        },
        "reversible": true,
        "sla": "audit-retention:7y; fallout-resolution-target:24h",
        "sla_spec": null,
        "tier": "low",
        "tools": [
          "servicenow",
          "netcracker: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": 1800
        },
        "reversible": true,
        "sla": null,
        "sla_spec": null,
        "tier": "terminal",
        "tools": []
      }
    ]
  },
  "hash": "7f7290703b546579e1dd6a10878e13538a81a9d97300975a44c53b8e71a1d677",
  "name": "Order fallout auto-diagnosis & remediation autopilot",
  "slug": "order-fallout",
  "source": "example",
  "version": null,
  "violations": []
}
