{
  "type": "excalidraw",
  "version": 2,
  "source": "https://excalidraw.com",
  "elements": [
    {
      "id": "actor-agent",
      "type": "rectangle",
      "x": 0,
      "y": 0,
      "width": 200,
      "height": 52,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "#AFC1F0",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "a0",
      "roundness": {
        "type": 3
      },
      "seed": 2010345867,
      "version": 2,
      "versionNonce": 671669867,
      "isDeleted": false,
      "boundElements": [
        {
          "type": "text",
          "id": "lL1TgSWlM4x8jNdZDUDgf"
        }
      ],
      "updated": 1791921365540,
      "link": null,
      "locked": false
    },
    {
      "id": "aUKFVG2296i-fxQm8CMJL",
      "type": "line",
      "x": 100,
      "y": 64,
      "width": 100,
      "height": 0,
      "angle": 0,
      "strokeColor": "#9A9384",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "dashed",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "a1",
      "roundness": null,
      "seed": 914260133,
      "version": 2,
      "versionNonce": 1615516101,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "points": [
        [
          0,
          0
        ],
        [
          0,
          494
        ]
      ],
      "lastCommittedPoint": null,
      "startBinding": null,
      "endBinding": null,
      "startArrowhead": null,
      "endArrowhead": null
    },
    {
      "id": "actor-hook",
      "type": "rectangle",
      "x": 230,
      "y": 0,
      "width": 200,
      "height": 52,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "#F2B5D4",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "a2",
      "roundness": {
        "type": 3
      },
      "seed": 1461913643,
      "version": 2,
      "versionNonce": 1004001547,
      "isDeleted": false,
      "boundElements": [
        {
          "type": "text",
          "id": "NYmWHp5KtxTJ8d5ckcDOX"
        }
      ],
      "updated": 1791921365540,
      "link": null,
      "locked": false
    },
    {
      "id": "ro5lAZDBl0zG9mFN-sAEL",
      "type": "line",
      "x": 330,
      "y": 64,
      "width": 100,
      "height": 0,
      "angle": 0,
      "strokeColor": "#9A9384",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "dashed",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "a3",
      "roundness": null,
      "seed": 1720787973,
      "version": 2,
      "versionNonce": 1895190821,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "points": [
        [
          0,
          0
        ],
        [
          0,
          494
        ]
      ],
      "lastCommittedPoint": null,
      "startBinding": null,
      "endBinding": null,
      "startArrowhead": null,
      "endArrowhead": null
    },
    {
      "id": "actor-db",
      "type": "rectangle",
      "x": 460,
      "y": 0,
      "width": 200,
      "height": 52,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "#F2D35B",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "a4",
      "roundness": {
        "type": 3
      },
      "seed": 1636223691,
      "version": 2,
      "versionNonce": 2100199339,
      "isDeleted": false,
      "boundElements": [
        {
          "type": "text",
          "id": "_a5iMdkKcC0m1fVAJhtv2"
        }
      ],
      "updated": 1791921365540,
      "link": null,
      "locked": false
    },
    {
      "id": "732GXIlgcEPdxG063NWjz",
      "type": "line",
      "x": 560,
      "y": 64,
      "width": 100,
      "height": 0,
      "angle": 0,
      "strokeColor": "#9A9384",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "dashed",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "a5",
      "roundness": null,
      "seed": 2000182117,
      "version": 2,
      "versionNonce": 314238085,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "points": [
        [
          0,
          0
        ],
        [
          0,
          494
        ]
      ],
      "lastCommittedPoint": null,
      "startBinding": null,
      "endBinding": null,
      "startArrowhead": null,
      "endArrowhead": null
    },
    {
      "id": "NNxwy5jHu01lwfw1u0uJV",
      "type": "arrow",
      "x": 104,
      "y": 112,
      "width": 222,
      "height": 0,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "a6",
      "roundness": null,
      "seed": 2073639275,
      "version": 2,
      "versionNonce": 909595211,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "points": [
        [
          0.5,
          0
        ],
        [
          221.5,
          0
        ]
      ],
      "lastCommittedPoint": null,
      "startBinding": null,
      "endBinding": null,
      "startArrowhead": null,
      "endArrowhead": "arrow",
      "elbowed": false
    },
    {
      "id": "axCAN3dF-icy89zuOrXSR",
      "type": "text",
      "x": 114,
      "y": 90,
      "width": 165.498046875,
      "height": 17.5,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "a7",
      "roundness": null,
      "seed": 281126597,
      "version": 2,
      "versionNonce": 1767246821,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "text": "UserPromptSubmit {prompt}",
      "fontSize": 14,
      "fontFamily": 5,
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "UserPromptSubmit {prompt}",
      "autoResize": true,
      "lineHeight": 1.25
    },
    {
      "id": "LkZ7W6yX_gyRILZlF0lxQ",
      "type": "arrow",
      "x": 334,
      "y": 170,
      "width": 222,
      "height": 0,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "a8",
      "roundness": null,
      "seed": 312792075,
      "version": 2,
      "versionNonce": 130863339,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "points": [
        [
          0.5,
          0
        ],
        [
          221.5,
          0
        ]
      ],
      "lastCommittedPoint": null,
      "startBinding": null,
      "endBinding": null,
      "startArrowhead": null,
      "endArrowhead": "arrow",
      "elbowed": false
    },
    {
      "id": "aZDxhyhzh68PjsUCMamQM",
      "type": "text",
      "x": 344,
      "y": 148,
      "width": 190.4970703125,
      "height": 17.5,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "a9",
      "roundness": null,
      "seed": 1976206885,
      "version": 2,
      "versionNonce": 1154828101,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "text": "close open turn → observe_queue",
      "fontSize": 14,
      "fontFamily": 5,
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "close open turn → observe_queue",
      "autoResize": true,
      "lineHeight": 1.25
    },
    {
      "id": "O5_u3wjenQEPoKFKdxMa_",
      "type": "arrow",
      "x": 334,
      "y": 228,
      "width": 222,
      "height": 0,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "aA",
      "roundness": null,
      "seed": 111418027,
      "version": 2,
      "versionNonce": 326728587,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "points": [
        [
          0.5,
          0
        ],
        [
          221.5,
          0
        ]
      ],
      "lastCommittedPoint": null,
      "startBinding": null,
      "endBinding": null,
      "startArrowhead": null,
      "endArrowhead": "arrow",
      "elbowed": false
    },
    {
      "id": "h_6kK10kni3rUN9qFf9Y1",
      "type": "text",
      "x": 344,
      "y": 206,
      "width": 129.431640625,
      "height": 17.5,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "aB",
      "roundness": null,
      "seed": 960526725,
      "version": 2,
      "versionNonce": 395712165,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "text": "INSERT turns(prompt)",
      "fontSize": 14,
      "fontFamily": 5,
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "INSERT turns(prompt)",
      "autoResize": true,
      "lineHeight": 1.25
    },
    {
      "id": "HLmvmRa7uF3rS1wRpMF1a",
      "type": "arrow",
      "x": 330,
      "y": 268,
      "width": 46,
      "height": 22,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "aC",
      "roundness": null,
      "seed": 1413582155,
      "version": 2,
      "versionNonce": 1702351403,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "points": [
        [
          -0.5,
          0
        ],
        [
          46,
          0
        ],
        [
          46,
          22
        ],
        [
          4.5,
          22
        ]
      ],
      "lastCommittedPoint": null,
      "startBinding": null,
      "endBinding": null,
      "startArrowhead": null,
      "endArrowhead": "arrow",
      "elbowed": false
    },
    {
      "id": "Tj0NBgjeDf-ZHAYqSsDXB",
      "type": "text",
      "x": 386,
      "y": 270,
      "width": 208.5302734375,
      "height": 17.5,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "aD",
      "roundness": null,
      "seed": 878772453,
      "version": 2,
      "versionNonce": 742783493,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "text": "corrections, X instead of Y, decisions",
      "fontSize": 14,
      "fontFamily": 5,
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "corrections, X instead of Y, decisions",
      "autoResize": true,
      "lineHeight": 1.25
    },
    {
      "id": "piRi9tLd97ssj6eFuNCoA",
      "type": "arrow",
      "x": 334,
      "y": 344,
      "width": 222,
      "height": 0,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "aE",
      "roundness": null,
      "seed": 2128063467,
      "version": 2,
      "versionNonce": 515003595,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "points": [
        [
          0.5,
          0
        ],
        [
          221.5,
          0
        ]
      ],
      "lastCommittedPoint": null,
      "startBinding": null,
      "endBinding": null,
      "startArrowhead": null,
      "endArrowhead": "arrow",
      "elbowed": false
    },
    {
      "id": "VRexe41WaRUTOZ3E_nxb1",
      "type": "text",
      "x": 344,
      "y": 322,
      "width": 170.802734375,
      "height": 17.5,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "aF",
      "roundness": null,
      "seed": 1018797125,
      "version": 2,
      "versionNonce": 467824997,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "text": "search(prompt): FTS5 + graph",
      "fontSize": 14,
      "fontFamily": 5,
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "search(prompt): FTS5 + graph",
      "autoResize": true,
      "lineHeight": 1.25
    },
    {
      "id": "EPhkpxsq4FWYfGEeOHqzY",
      "type": "arrow",
      "x": 556,
      "y": 402,
      "width": 222,
      "height": 0,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "dashed",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "aG",
      "roundness": null,
      "seed": 980481675,
      "version": 2,
      "versionNonce": 1589871467,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "points": [
        [
          -0.5,
          0
        ],
        [
          -221.5,
          0
        ]
      ],
      "lastCommittedPoint": null,
      "startBinding": null,
      "endBinding": null,
      "startArrowhead": null,
      "endArrowhead": "arrow",
      "elbowed": false
    },
    {
      "id": "6c_j_1KXDL90VkLdxb25f",
      "type": "text",
      "x": 344,
      "y": 380,
      "width": 20.2275390625,
      "height": 17.5,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "aH",
      "roundness": null,
      "seed": 438815653,
      "version": 2,
      "versionNonce": 62454981,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "text": "hits",
      "fontSize": 14,
      "fontFamily": 5,
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "hits",
      "autoResize": true,
      "lineHeight": 1.25
    },
    {
      "id": "IXhRMZvHrXbokHlkhQHUN",
      "type": "arrow",
      "x": 330,
      "y": 442,
      "width": 46,
      "height": 22,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "aI",
      "roundness": null,
      "seed": 1439165739,
      "version": 2,
      "versionNonce": 1844829707,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "points": [
        [
          -0.5,
          0
        ],
        [
          46,
          0
        ],
        [
          46,
          22
        ],
        [
          4.5,
          22
        ]
      ],
      "lastCommittedPoint": null,
      "startBinding": null,
      "endBinding": null,
      "startArrowhead": null,
      "endArrowhead": "arrow",
      "elbowed": false
    },
    {
      "id": "MO-k4ES96mOVXyqAyQdnw",
      "type": "text",
      "x": 386,
      "y": 444,
      "width": 134.1484375,
      "height": 17.5,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "aJ",
      "roundness": null,
      "seed": 1020858117,
      "version": 2,
      "versionNonce": 2070354981,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "text": "keep confident hits only",
      "fontSize": 14,
      "fontFamily": 5,
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "keep confident hits only",
      "autoResize": true,
      "lineHeight": 1.25
    },
    {
      "id": "pytbMrwN14e9p0MScDC-B",
      "type": "arrow",
      "x": 326,
      "y": 518,
      "width": 222,
      "height": 0,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 1,
      "strokeStyle": "dashed",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "aK",
      "roundness": null,
      "seed": 1682378699,
      "version": 2,
      "versionNonce": 658760875,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "points": [
        [
          -0.5,
          0
        ],
        [
          -221.5,
          0
        ]
      ],
      "lastCommittedPoint": null,
      "startBinding": null,
      "endBinding": null,
      "startArrowhead": null,
      "endArrowhead": "arrow",
      "elbowed": false
    },
    {
      "id": "I3juBxq-wk7NoHaSO_fTF",
      "type": "text",
      "x": 114,
      "y": 496,
      "width": 161.7587890625,
      "height": 17.5,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "aL",
      "roundness": null,
      "seed": 860546661,
      "version": 2,
      "versionNonce": 1255821189,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "text": "additionalContext or nothing",
      "fontSize": 14,
      "fontFamily": 5,
      "textAlign": "left",
      "verticalAlign": "top",
      "containerId": null,
      "originalText": "additionalContext or nothing",
      "autoResize": true,
      "lineHeight": 1.25
    },
    {
      "id": "lL1TgSWlM4x8jNdZDUDgf",
      "type": "text",
      "x": 80.44921875,
      "y": 16,
      "width": 39.1015625,
      "height": 20,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "aM",
      "roundness": null,
      "seed": 576198475,
      "version": 3,
      "versionNonce": 187873067,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "text": "Agent",
      "fontSize": 16,
      "fontFamily": 5,
      "textAlign": "center",
      "verticalAlign": "middle",
      "containerId": "actor-agent",
      "originalText": "Agent",
      "autoResize": true,
      "lineHeight": 1.25
    },
    {
      "id": "NYmWHp5KtxTJ8d5ckcDOX",
      "type": "text",
      "x": 276.015625,
      "y": 16,
      "width": 107.96875,
      "height": 20,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "aN",
      "roundness": null,
      "seed": 495777259,
      "version": 3,
      "versionNonce": 2144855301,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "text": "agent-mem hook",
      "fontSize": 16,
      "fontFamily": 5,
      "textAlign": "center",
      "verticalAlign": "middle",
      "containerId": "actor-hook",
      "originalText": "agent-mem hook",
      "autoResize": true,
      "lineHeight": 1.25
    },
    {
      "id": "_a5iMdkKcC0m1fVAJhtv2",
      "type": "text",
      "x": 523.859375,
      "y": 16,
      "width": 72.28125,
      "height": 20,
      "angle": 0,
      "strokeColor": "#1e1e1e",
      "backgroundColor": "transparent",
      "fillStyle": "solid",
      "strokeWidth": 2,
      "strokeStyle": "solid",
      "roughness": 1,
      "opacity": 100,
      "groupIds": [],
      "frameId": null,
      "index": "aO",
      "roundness": null,
      "seed": 669843595,
      "version": 3,
      "versionNonce": 1976080843,
      "isDeleted": false,
      "boundElements": null,
      "updated": 1791921365540,
      "link": null,
      "locked": false,
      "text": "memory.db",
      "fontSize": 16,
      "fontFamily": 5,
      "textAlign": "center",
      "verticalAlign": "middle",
      "containerId": "actor-db",
      "originalText": "memory.db",
      "autoResize": true,
      "lineHeight": 1.25
    }
  ],
  "appState": {
    "viewBackgroundColor": "#F8F4EA"
  },
  "files": {}
}