{
  "type": "excalidraw",
  "version": 2,
  "source": "claude",
  "elements": [
    {
      "type": "text",
      "id": "title",
      "x": 160,
      "y": 20,
      "width": 580,
      "height": 70,
      "text": "Agentic Workflow Lifecycle",
      "fontSize": 28,
      "fontFamily": 1,
      "strokeColor": "#000000",
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "text",
      "id": "subtitle",
      "x": 160,
      "y": 88,
      "width": 580,
      "height": 35,
      "text": "PR event → read-only analysis → buffered write → safe output",
      "fontSize": 14,
      "fontFamily": 1,
      "strokeColor": "#000000",
      "textAlign": "left",
      "verticalAlign": "top"
    },
    {
      "type": "rectangle",
      "id": "trigger",
      "x": 60,
      "y": 140,
      "width": 160,
      "height": 60,
      "strokeColor": "#1864ab",
      "backgroundColor": "#a5d8ff",
      "fillStyle": "hachure",
      "strokeWidth": 2,
      "roundness": { "type": 3 },
      "boundElements": [{ "type": "text", "id": "trigger-text" }]
    },
    {
      "type": "text",
      "id": "trigger-text",
      "x": 60,
      "y": 140,
      "width": 160,
      "height": 60,
      "text": "PR Event\n(opened / sync)",
      "fontSize": 13,
      "fontFamily": 1,
      "strokeColor": "#000000",
      "textAlign": "center",
      "verticalAlign": "middle",
      "containerId": "trigger"
    },
    {
      "type": "arrow",
      "id": "arr-trig-screen",
      "x": 220,
      "y": 170,
      "width": 60,
      "height": 0,
      "strokeColor": "#495057",
      "strokeWidth": 2,
      "points": [[0,0],[60,0]]
    },
    {
      "type": "rectangle",
      "id": "screen",
      "x": 280,
      "y": 140,
      "width": 160,
      "height": 60,
      "strokeColor": "#e67700",
      "backgroundColor": "#fff3bf",
      "fillStyle": "hachure",
      "strokeWidth": 2,
      "roundness": { "type": 3 },
      "boundElements": [{ "type": "text", "id": "screen-text" }]
    },
    {
      "type": "text",
      "id": "screen-text",
      "x": 280,
      "y": 140,
      "width": 160,
      "height": 60,
      "text": "PR Filter\n(label / branch check)",
      "fontSize": 13,
      "fontFamily": 1,
      "strokeColor": "#000000",
      "textAlign": "center",
      "verticalAlign": "middle",
      "containerId": "screen"
    },
    {
      "type": "arrow",
      "id": "arr-screen-agent",
      "x": 440,
      "y": 170,
      "width": 60,
      "height": 0,
      "strokeColor": "#495057",
      "strokeWidth": 2,
      "points": [[0,0],[60,0]]
    },
    {
      "type": "rectangle",
      "id": "agent-job",
      "x": 500,
      "y": 120,
      "width": 180,
      "height": 100,
      "strokeColor": "#2f9e44",
      "backgroundColor": "#b2f2bb",
      "fillStyle": "hachure",
      "strokeWidth": 2,
      "roundness": { "type": 3 },
      "boundElements": [{ "type": "text", "id": "agent-job-text" }]
    },
    {
      "type": "text",
      "id": "agent-job-text",
      "x": 500,
      "y": 120,
      "width": 180,
      "height": 100,
      "text": "Agent Job\n(read-only)\ngh aw run\ncopilot agent",
      "fontSize": 13,
      "fontFamily": 1,
      "strokeColor": "#000000",
      "textAlign": "center",
      "verticalAlign": "middle",
      "containerId": "agent-job"
    },
    {
      "type": "arrow",
      "id": "arr-agent-buf",
      "x": 680,
      "y": 170,
      "width": 60,
      "height": 0,
      "strokeColor": "#495057",
      "strokeWidth": 2,
      "points": [[0,0],[60,0]]
    },
    {
      "type": "rectangle",
      "id": "buffer",
      "x": 740,
      "y": 140,
      "width": 160,
      "height": 60,
      "strokeColor": "#862e9c",
      "backgroundColor": "#f3d9fa",
      "fillStyle": "hachure",
      "strokeWidth": 2,
      "roundness": { "type": 3 },
      "boundElements": [{ "type": "text", "id": "buffer-text" }]
    },
    {
      "type": "text",
      "id": "buffer-text",
      "x": 740,
      "y": 140,
      "width": 160,
      "height": 60,
      "text": "Output Buffer\n(threat detection)",
      "fontSize": 13,
      "fontFamily": 1,
      "strokeColor": "#000000",
      "textAlign": "center",
      "verticalAlign": "middle",
      "containerId": "buffer"
    },
    {
      "type": "arrow",
      "id": "arr-buf-down",
      "x": 820,
      "y": 200,
      "width": 0,
      "height": 40,
      "strokeColor": "#495057",
      "strokeWidth": 2,
      "points": [[0,0],[0,40]]
    },
    {
      "type": "rectangle",
      "id": "write-job",
      "x": 700,
      "y": 240,
      "width": 240,
      "height": 60,
      "strokeColor": "#0c8599",
      "backgroundColor": "#99e9f2",
      "fillStyle": "hachure",
      "strokeWidth": 2,
      "roundness": { "type": 3 },
      "boundElements": [{ "type": "text", "id": "write-job-text" }]
    },
    {
      "type": "text",
      "id": "write-job-text",
      "x": 700,
      "y": 240,
      "width": 240,
      "height": 60,
      "text": "Safe Output Job\nadd-comment (hides older) / label PR",
      "fontSize": 13,
      "fontFamily": 1,
      "strokeColor": "#000000",
      "textAlign": "center",
      "verticalAlign": "middle",
      "containerId": "write-job"
    },
    {
      "type": "text",
      "id": "skip-label",
      "x": 340,
      "y": 220,
      "width": 160,
      "height": 50,
      "text": "skip if no\nfindings",
      "fontSize": 12,
      "fontFamily": 1,
      "strokeColor": "#495057",
      "textAlign": "center",
      "verticalAlign": "top"
    },
    {
      "type": "text",
      "id": "tiers-label",
      "x": 60,
      "y": 330,
      "width": 880,
      "height": 100,
      "text": "Tier 1 workflows: issue-triage · retro-facilitator · self-healing-ci\nTier 2 workflows: code-review-agent · release-impact-advisor · security-analyst\n\nAll agent jobs are read-only. Only the safe-output job writes (comments/labels).",
      "fontSize": 13,
      "fontFamily": 1,
      "strokeColor": "#000000",
      "textAlign": "left",
      "verticalAlign": "top"
    }
  ],
  "appState": { "viewBackgroundColor": "#ffffff" }
}
