{
  "type": "excalidraw",
  "version": 2,
  "source": "https://docs.planovi.app",
  "elements": [
    {
      "id": "ATebGTL3ng_jt5dRtxWj_",
      "type": "text",
      "x": 40,
      "y": 24,
      "width": 763,
      "height": 39,
      "strokeColor": "#32CA42",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roundness": null,
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 79848179,
      "version": 1,
      "versionNonce": 257722577,
      "index": "a000",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": null,
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "text:flow-deploy-and-docs:title",
        "role": "heading"
      },
      "fontSize": 28,
      "fontFamily": 1,
      "text": "How Code Reaches DEV, PROD & Live Documentation",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "How Code Reaches DEV, PROD & Live Documentation",
      "autoResize": true,
      "lineHeight": 1.38
    },
    {
      "id": "_9dYJsC-gxg1FlN_Mlu14",
      "type": "text",
      "x": 40,
      "y": 62,
      "width": 757,
      "height": 21,
      "strokeColor": "#A1A1AA",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roundness": null,
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 798756,
      "version": 1,
      "versionNonce": 22242416,
      "index": "a001",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": null,
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "text:flow-deploy-and-docs:subtitle",
        "role": "text"
      },
      "fontSize": 15,
      "fontFamily": 1,
      "text": "Push to develop = DEV environment   •   Push to main = PROD + Automatic Docs Rolling PR",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "Push to develop = DEV environment   •   Push to main = PROD + Automatic Docs Rolling PR",
      "autoResize": true,
      "lineHeight": 1.38
    },
    {
      "id": "y4LG1AiUuIbfMs9PUK-JT",
      "type": "rectangle",
      "x": 40,
      "y": 180,
      "width": 230,
      "height": 115,
      "strokeColor": "#38BDF8",
      "backgroundColor": "#18181B",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roundness": {
        "type": 3
      },
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 82141404,
      "version": 1,
      "versionNonce": 214939496,
      "index": "a002",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": [
        {
          "id": "qZWNG_MqXoBSVwNbjjAex",
          "type": "text"
        }
      ],
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "cd:1-git",
        "role": "node",
        "title": "1. Git Push / Merge"
      }
    },
    {
      "id": "qZWNG_MqXoBSVwNbjjAex",
      "type": "text",
      "x": 54,
      "y": 194,
      "width": 202,
      "height": 88,
      "strokeColor": "#F4F4F5",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roundness": null,
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 256055882,
      "version": 1,
      "versionNonce": 46278460,
      "index": "a003",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": null,
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "cd:1-git:label",
        "role": "node-text"
      },
      "fontSize": 15,
      "fontFamily": 1,
      "text": "1. Git Push / Merge\ndevelop / dev -> DEV\nmain -> PROD\n(HMAC Webhook)",
      "textAlign": "center",
      "verticalAlign": "middle",
      "containerId": "y4LG1AiUuIbfMs9PUK-JT",
      "originalText": "1. Git Push / Merge\ndevelop / dev -> DEV\nmain -> PROD\n(HMAC Webhook)",
      "autoResize": true,
      "lineHeight": 1.38
    },
    {
      "id": "zbp65aDSVwTY4Vogqh8jv",
      "type": "rectangle",
      "x": 345,
      "y": 180,
      "width": 270,
      "height": 115,
      "strokeColor": "#32CA42",
      "backgroundColor": "#18181B",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roundness": {
        "type": 3
      },
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 106784003,
      "version": 1,
      "versionNonce": 180860028,
      "index": "a004",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": [
        {
          "id": "tX1Sl-mZc67gIiGikbLNu",
          "type": "text"
        }
      ],
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "cd:2-deployer",
        "role": "node",
        "title": "2. vps-deployer (:9000)"
      }
    },
    {
      "id": "tX1Sl-mZc67gIiGikbLNu",
      "type": "text",
      "x": 359,
      "y": 194,
      "width": 242,
      "height": 88,
      "strokeColor": "#F4F4F5",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roundness": null,
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 116621638,
      "version": 1,
      "versionNonce": 229489773,
      "index": "a005",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": null,
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "cd:2-deployer:label",
        "role": "node-text"
      },
      "fontSize": 15,
      "fontFamily": 1,
      "text": "2. vps-deployer (:9000)\nPulls repo into /opt/vps-apps\nBuilds Flutter / Edge / Firmware\nAuto-Rollback on any error",
      "textAlign": "center",
      "verticalAlign": "middle",
      "containerId": "zbp65aDSVwTY4Vogqh8jv",
      "originalText": "2. vps-deployer (:9000)\nPulls repo into /opt/vps-apps\nBuilds Flutter / Edge / Firmware\nAuto-Rollback on any error",
      "autoResize": true,
      "lineHeight": 1.38
    },
    {
      "id": "uXGuVcxAJyhYkxUJrg7N2",
      "type": "rectangle",
      "x": 690,
      "y": 140,
      "width": 250,
      "height": 100,
      "strokeColor": "#32CA42",
      "backgroundColor": "#18181B",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roundness": {
        "type": 3
      },
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 248128616,
      "version": 1,
      "versionNonce": 56550509,
      "index": "a006",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": [
        {
          "id": "YE8d-Cw0StBj6kz-pAGC4",
          "type": "text"
        }
      ],
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "cd:3-live",
        "role": "node",
        "title": "3a. Live Services + Chat"
      }
    },
    {
      "id": "YE8d-Cw0StBj6kz-pAGC4",
      "type": "text",
      "x": 704,
      "y": 157,
      "width": 222,
      "height": 66,
      "strokeColor": "#F4F4F5",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roundness": null,
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 67087245,
      "version": 1,
      "versionNonce": 9983453,
      "index": "a007",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": null,
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "cd:3-live:label",
        "role": "node-text"
      },
      "fontSize": 15,
      "fontFamily": 1,
      "text": "3a. Live Services + Chat\nNginx DNS reload\nDeploy status -> Google Chat",
      "textAlign": "center",
      "verticalAlign": "middle",
      "containerId": "uXGuVcxAJyhYkxUJrg7N2",
      "originalText": "3a. Live Services + Chat\nNginx DNS reload\nDeploy status -> Google Chat",
      "autoResize": true,
      "lineHeight": 1.38
    },
    {
      "id": "TxBawcTb0vOwGCUlgyVBe",
      "type": "rectangle",
      "x": 690,
      "y": 295,
      "width": 250,
      "height": 115,
      "strokeColor": "#A855F7",
      "backgroundColor": "#18181B",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roundness": {
        "type": 3
      },
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 8045777,
      "version": 1,
      "versionNonce": 86288163,
      "index": "a008",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": [
        {
          "id": "hodHjd9GrEXy1RG7ow-4w",
          "type": "text"
        }
      ],
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "cd:4-docssync",
        "role": "node",
        "title": "3b. docs-sync (:9100)"
      }
    },
    {
      "id": "hodHjd9GrEXy1RG7ow-4w",
      "type": "text",
      "x": 704,
      "y": 309,
      "width": 222,
      "height": 88,
      "strokeColor": "#F4F4F5",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roundness": null,
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 44669022,
      "version": 1,
      "versionNonce": 120202502,
      "index": "a009",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": null,
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "cd:4-docssync:label",
        "role": "node-text"
      },
      "fontSize": 15,
      "fontFamily": 1,
      "text": "3b. docs-sync (:9100)\nRead-only (:ro) code scan\nExcalidraw+ Sync & SVG Render\nAstro Build + Secret Gate",
      "textAlign": "center",
      "verticalAlign": "middle",
      "containerId": "TxBawcTb0vOwGCUlgyVBe",
      "originalText": "3b. docs-sync (:9100)\nRead-only (:ro) code scan\nExcalidraw+ Sync & SVG Render\nAstro Build + Secret Gate",
      "autoResize": true,
      "lineHeight": 1.38
    },
    {
      "id": "Jpsz9I2RMZDZ5BDUZbsh6",
      "type": "rectangle",
      "x": 1010,
      "y": 295,
      "width": 240,
      "height": 115,
      "strokeColor": "#A855F7",
      "backgroundColor": "#18181B",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roundness": {
        "type": 3
      },
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 217964532,
      "version": 1,
      "versionNonce": 78433151,
      "index": "a00a",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": [
        {
          "id": "Q1M6vY1VGHeQJOQWgXcMs",
          "type": "text"
        }
      ],
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "cd:5-pr",
        "role": "node",
        "title": "4. Rolling PR -> Live Docs"
      }
    },
    {
      "id": "Q1M6vY1VGHeQJOQWgXcMs",
      "type": "text",
      "x": 1024,
      "y": 309,
      "width": 212,
      "height": 88,
      "strokeColor": "#F4F4F5",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roundness": null,
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 79458924,
      "version": 1,
      "versionNonce": 3120709,
      "index": "a00b",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": null,
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "cd:5-pr:label",
        "role": "node-text"
      },
      "fontSize": 15,
      "fontFamily": 1,
      "text": "4. Rolling PR -> Live Docs\nPR docs/auto-sync -> GitHub Bot\nCloudflare Pages Preview\n1-Click Merge -> docs.planovi.app",
      "textAlign": "center",
      "verticalAlign": "middle",
      "containerId": "Jpsz9I2RMZDZ5BDUZbsh6",
      "originalText": "4. Rolling PR -> Live Docs\nPR docs/auto-sync -> GitHub Bot\nCloudflare Pages Preview\n1-Click Merge -> docs.planovi.app",
      "autoResize": true,
      "lineHeight": 1.38
    },
    {
      "id": "MGYAMtDvoXIFH_nDjh23d",
      "type": "arrow",
      "x": 270,
      "y": 237,
      "width": 75,
      "height": 0,
      "strokeColor": "#38BDF8",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2.5,
      "strokeStyle": "solid",
      "roundness": {
        "type": 2
      },
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 65052049,
      "version": 1,
      "versionNonce": 170315046,
      "index": "a00c",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": null,
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "arrow:cd1",
        "role": "arrow",
        "label": "Webhook"
      },
      "points": [
        [
          0,
          0
        ],
        [
          75,
          0
        ]
      ],
      "startBinding": null,
      "endBinding": null,
      "startArrowhead": null,
      "endArrowhead": "arrow"
    },
    {
      "id": "xgUmCMyp9qWRLl0ewudEU",
      "type": "text",
      "x": 281,
      "y": 217,
      "width": 53,
      "height": 18,
      "strokeColor": "#A1A1AA",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roundness": null,
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 202112276,
      "version": 1,
      "versionNonce": 170569375,
      "index": "a00d",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": null,
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "text:arrow-lbl:cd1",
        "role": "heading"
      },
      "fontSize": 13,
      "fontFamily": 1,
      "text": "Webhook",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "Webhook",
      "autoResize": true,
      "lineHeight": 1.38
    },
    {
      "id": "GDCGUgthaHGDS1aLcuSd5",
      "type": "arrow",
      "x": 615,
      "y": 215,
      "width": 75,
      "height": 25,
      "strokeColor": "#32CA42",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2.5,
      "strokeStyle": "solid",
      "roundness": {
        "type": 2
      },
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 141696899,
      "version": 1,
      "versionNonce": 155437579,
      "index": "a00e",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": null,
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "arrow:cd2",
        "role": "arrow",
        "label": "Deploy OK"
      },
      "points": [
        [
          0,
          0
        ],
        [
          75,
          -25
        ]
      ],
      "startBinding": null,
      "endBinding": null,
      "startArrowhead": null,
      "endArrowhead": "arrow"
    },
    {
      "id": "ikHZJRbxRpJKbZQxTfWI8",
      "type": "text",
      "x": 618,
      "y": 183,
      "width": 68,
      "height": 18,
      "strokeColor": "#A1A1AA",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roundness": null,
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 221227669,
      "version": 1,
      "versionNonce": 13753017,
      "index": "a00f",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": null,
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "text:arrow-lbl:cd2",
        "role": "heading"
      },
      "fontSize": 13,
      "fontFamily": 1,
      "text": "Deploy OK",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "Deploy OK",
      "autoResize": true,
      "lineHeight": 1.38
    },
    {
      "id": "Kr_sZ8ERXN5TQtlL6tJe5",
      "type": "arrow",
      "x": 615,
      "y": 265,
      "width": 75,
      "height": 80,
      "strokeColor": "#A855F7",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2.5,
      "strokeStyle": "dashed",
      "roundness": {
        "type": 2
      },
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 120688232,
      "version": 1,
      "versionNonce": 87190139,
      "index": "a00g",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": null,
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "arrow:cd3",
        "role": "arrow",
        "label": "Async (main)"
      },
      "points": [
        [
          0,
          0
        ],
        [
          75,
          80
        ]
      ],
      "startBinding": null,
      "endBinding": null,
      "startArrowhead": null,
      "endArrowhead": "arrow"
    },
    {
      "id": "DNZILEjKJCpqruObdcA_9",
      "type": "text",
      "x": 607,
      "y": 285,
      "width": 90,
      "height": 18,
      "strokeColor": "#A1A1AA",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roundness": null,
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 170078125,
      "version": 1,
      "versionNonce": 18048618,
      "index": "a00h",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": null,
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "text:arrow-lbl:cd3",
        "role": "heading"
      },
      "fontSize": 13,
      "fontFamily": 1,
      "text": "Async (main)",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "Async (main)",
      "autoResize": true,
      "lineHeight": 1.38
    },
    {
      "id": "xA7QQY0ABkzBfMKsnmVZj",
      "type": "arrow",
      "x": 940,
      "y": 352,
      "width": 70,
      "height": 0,
      "strokeColor": "#A855F7",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2.5,
      "strokeStyle": "solid",
      "roundness": {
        "type": 2
      },
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 214237453,
      "version": 1,
      "versionNonce": 202729073,
      "index": "a00i",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": null,
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "arrow:cd4",
        "role": "arrow",
        "label": "Update PR"
      },
      "points": [
        [
          0,
          0
        ],
        [
          70,
          0
        ]
      ],
      "startBinding": null,
      "endBinding": null,
      "startArrowhead": null,
      "endArrowhead": "arrow"
    },
    {
      "id": "XCoZMw5bXj5TUCJhMgtsF",
      "type": "text",
      "x": 941,
      "y": 332,
      "width": 68,
      "height": 18,
      "strokeColor": "#A1A1AA",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roundness": null,
      "roughness": 0,
      "opacity": 100,
      "angle": 0,
      "seed": 250418388,
      "version": 1,
      "versionNonce": 129252560,
      "index": "a00j",
      "isDeleted": false,
      "groupIds": [],
      "frameId": null,
      "boundElements": null,
      "updated": 1732360000000,
      "link": null,
      "locked": false,
      "customData": {
        "nodeId": "text:arrow-lbl:cd4",
        "role": "heading"
      },
      "fontSize": 13,
      "fontFamily": 1,
      "text": "Update PR",
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "Update PR",
      "autoResize": true,
      "lineHeight": 1.38
    }
  ],
  "appState": {
    "viewBackgroundColor": "#09090B",
    "lockedMultiSelections": {}
  },
  "files": {}
}
