{
  "schema_version": 2,
  "diagram_type": "workflow",
  "meta": {
    "title": "Ghim phiên bản, chạy shadow, rồi mới bật",
    "quality_profile": "showcase",
    "legend": { "mode": "hidden" },
    "views": [
      { "id": "rollout", "label": "Đưa Jev vào", "focus": ["pin", "shadow", "compare", "on"], "note": "Một tuần Jev chỉ gán nhãn, luồng cũ vẫn quyết; chỉ bật các dải độ tin cậy đã khớp." }
    ]
  },
  "lanes": [
    { "id": "jev", "label": "Jev" },
    { "id": "old", "label": "Luồng cũ" }
  ],
  "phases": [
    { "id": "p1", "label": "Chuẩn bị", "fromCol": 0, "toCol": 0 },
    { "id": "p2", "label": "Shadow 1 tuần", "fromCol": 1, "toCol": 2, "variant": "dashed" },
    { "id": "p3", "label": "Bật", "fromCol": 3, "toCol": 3, "variant": "emphasis" }
  ],
  "mainPath": ["pin", "shadow", "compare", "on"],
  "nodes": [
    { "id": "pin", "lane": "jev", "col": 0, "type": "database", "label": "Ghim phiên bản", "sublabel": "jev-1.13.0", "width": 150 },
    { "id": "shadow", "lane": "jev", "col": 1, "type": "backend", "label": "Jev gán nhãn", "sublabel": "chưa được quyết", "width": 150 },
    { "id": "decide", "lane": "old", "col": 1, "type": "backend", "label": "Luồng cũ quyết", "sublabel": "như trước", "width": 150 },
    { "id": "compare", "lane": "jev", "col": 2, "type": "security", "label": "So khớp", "sublabel": "theo dải tin cậy", "width": 150 },
    { "id": "on", "lane": "jev", "col": 3, "type": "frontend", "label": "Bật dải đã khớp", "sublabel": "tự quyết", "width": 160 }
  ],
  "edges": [
    { "id": "e1", "from": "pin", "to": "shadow", "variant": "emphasis" },
    { "id": "e2", "from": "shadow", "to": "compare", "variant": "emphasis" },
    { "id": "e3", "from": "decide", "to": "compare", "variant": "dashed" },
    { "id": "e4", "from": "compare", "to": "on", "variant": "emphasis" }
  ]
}
