{
  "schema_version": 2,
  "diagram_type": "workflow",
  "meta": {
    "title": "設定異動與稽核",
    "quality_profile": "showcase",
    "legend": { "entries": { "frontend": { "label": "輸入／入口" }, "backend": { "label": "處理結果" }, "security": { "label": "條件／分支" } } }
  },
  "lanes": [
    {
      "id": "main",
      "label": "本概念主線"
    },
    {
      "id": "alternate",
      "label": "另一結果",
      "variant": "exception"
    }
  ],
  "mainPath": [
    "system-diagnostics-input",
    "system-diagnostics-gate",
    "system-diagnostics-result"
  ],
  "nodes": [
    {
      "id": "system-diagnostics-input",
      "lane": "main",
      "col": 0,
      "type": "frontend",
      "label": "合法設定異動",
      "sublabel": "global／override 分開",
      "width": 164
    },
    {
      "id": "system-diagnostics-gate",
      "lane": "main",
      "col": 2,
      "type": "security",
      "label": "真變更已 commit？",
      "sublabel": "非 no-op／conflict",
      "width": 164
    },
    {
      "id": "system-diagnostics-result",
      "lane": "main",
      "col": 4,
      "type": "backend",
      "label": "可查安全 audit",
      "sublabel": "non-secret facts",
      "width": 164
    },
    {
      "id": "system-diagnostics-alternate",
      "lane": "alternate",
      "col": 2,
      "type": "security",
      "label": "無 mutation audit",
      "sublabel": "no-op／rollback",
      "width": 164
    }
  ],
  "edges": [
    {
      "id": "system-diagnostics-check",
      "from": "system-diagnostics-input",
      "to": "system-diagnostics-gate",
      "label": "核對",
      "role": "main"
    },
    {
      "id": "system-diagnostics-yes",
      "from": "system-diagnostics-gate",
      "to": "system-diagnostics-result",
      "label": "通過",
      "variant": "emphasis",
      "role": "main"
    },
    {
      "id": "system-diagnostics-no",
      "from": "system-diagnostics-gate",
      "to": "system-diagnostics-alternate",
      "label": "未通過",
      "variant": "security",
      "role": "branch"
    }
  ]
}
