<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="eli.ai" agent="eli.ai diagram exporter" version="1">
  <diagram id="capability-locked-agent-flow-9adcef5f" name="Capability-locked agent flow">
    <mxGraphModel dx="1600" dy="1200" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1600" pageHeight="1200" math="0" shadow="0">
      <root>
        <mxCell id="0"/>
        <object id="1" label="Capability-locked agent flow" schemaVersion="1" diagramId="capability-locked-agent-flow-9adcef5f" canonicalAppearanceKey="tsx:src/app/(docs)/docs/workspace/page.tsx:WORKSPACE_AGENT_FLOW#1" sourceSha256="9adcef5fb0cc0ea4695812a34aa1c726888c345b2beb93251227b8a48571354d" metadataPayloadSha256="2fc5553f3b8b09cef9d2d14a499248f50da31765e28dede83cb9577ba38411f2" generationKey="448c81373be31c82ad7d9487270f8b0fa91aa734634163d721319c50782cc0e4" concepts="[&quot;Workspace agent flow&quot;,&quot;Workspace current diagrams&quot;,&quot;Workspace&quot;]" keywords="[&quot;documents · graph · data · ...&quot;,&quot;Agent builder&quot;,&quot;Immutable agent version&quot;,&quot;Capability lock&quot;,&quot;Workspace chat harness&quot;,&quot;Exactly scoped tools&quot;,&quot;HITL policy&quot;,&quot;reviews + gates + drift&quot;,&quot;approve · reject · edit · autopilot&quot;,&quot;/api/mcp/agents&quot;,&quot;{slug}&quot;,&quot;slug&quot;,&quot;Crucible&quot;]" application="{&quot;name&quot;:&quot;eli-ai&quot;,&quot;version&quot;:&quot;0.1.0&quot;}" packages="{&quot;mermaid&quot;:&quot;11.16.0&quot;,&quot;mermaidCli&quot;:&quot;11.16.0&quot;,&quot;playwright&quot;:&quot;1.62.1&quot;,&quot;playwrightCore&quot;:&quot;1.62.1&quot;,&quot;puppeteer&quot;:&quot;25.6.0&quot;,&quot;puppeteerCore&quot;:&quot;25.6.0&quot;}" environment="{&quot;architecture&quot;:&quot;x64&quot;,&quot;containerImage&quot;:&quot;playwright:v1.62.1-noble@sha256:c091b21d9fae78c76e85cd4356431e9b018402f172a214fc7d7a5e9a7e29d8ac+node:26.3.1-bookworm-slim@sha256:209558c3e5e40e8adff68959d3c2ba7cd73723e716d89196878a0c362fa1e109&quot;,&quot;node&quot;:&quot;v26.3.1&quot;,&quot;platform&quot;:&quot;linux&quot;,&quot;yarn&quot;:&quot;4.17.1&quot;}" renderer="{&quot;browser&quot;:{&quot;executableSha256&quot;:&quot;0b20b130e7edd9dd51873be867761295fe0cfad490c2b9a64f95bd3cfc08fa71&quot;,&quot;name&quot;:&quot;chromium&quot;,&quot;revision&quot;:&quot;1234&quot;,&quot;version&quot;:&quot;151.0.7922.34&quot;},&quot;font&quot;:{&quot;family&quot;:&quot;Eli Diagram Inter Variable&quot;,&quot;fileSha256&quot;:&quot;3100e775e8616cd2611beecfa23a4263d7037586789b43f035236a2e6fbd4c62&quot;,&quot;licenseSha256&quot;:&quot;3b0a5fca3d17942cde889069889dedbbbd075e9b599968c82a95f4d944e9b345&quot;},&quot;mermaidConfigSha256&quot;:&quot;68c10966fe84406ee626034d58bfabd555df9f65f691204b7c46db24038da101&quot;,&quot;themeCssSha256&quot;:&quot;c80287a78d80ad63d27bd5ca348b2ef9a7e2f44da289e436be6484ea28a1b033&quot;}" adapterVersions="{&quot;diagramGenerator&quot;:&quot;2&quot;,&quot;drawioFlowchart&quot;:&quot;1&quot;,&quot;drawioGantt&quot;:&quot;1&quot;,&quot;drawioSequence&quot;:&quot;1&quot;,&quot;drawioState&quot;:&quot;1&quot;}" mermaidType="flowchart" direction="LR" generatedAt="2026-08-12T23:37:10.924Z" mermaidSource="flowchart LR&#10;  builder[&quot;Agent builder&quot;] --&gt; version[&quot;Immutable agent version&quot;]&#10;  version --&gt; lock[&quot;Capability lock&lt;br/&gt;documents · graph · data · ...&quot;]&#10;  lock --&gt; chat[&quot;Workspace chat harness&quot;]&#10;  lock --&gt; mcp[&quot;/api/mcp/agents/{slug}&quot;]&#10;  chat --&gt; tools[&quot;Exactly scoped tools&quot;]&#10;  mcp --&gt; tools&#10;  tools --&gt; hitl[&quot;HITL policy&lt;br/&gt;approve · reject · edit · autopilot&quot;]&#10;  hitl --&gt; evals[&quot;Crucible&lt;br/&gt;reviews + gates + drift&quot;]">
          <mxCell parent="0"/>
        </object>
        <object id="n:builder" label="Agent builder" mermaidId="builder" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="8" y="59" width="157.53125" height="52" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:version" label="Immutable agent version" mermaidId="version" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="215.53125" y="59" width="242.296875" height="52" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:lock" label="Capability lockdocuments · graph · data · ..." mermaidId="lock" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="507.828125" y="35" width="256" height="100" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:chat" label="Workspace chat harness" mermaidId="chat" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="813.828125" y="8" width="243.671875" height="52" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:mcp" label="/api/mcp/agents/{slug}" mermaidId="mcp" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="820.15625" y="110" width="231.015625" height="52" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:tools" label="Exactly scoped tools" mermaidId="tools" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="1107.5" y="59" width="212.34375" height="52" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:hitl" label="HITL policyapprove · reject · edit · autopilot" mermaidId="hitl" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="1369.84375" y="35" width="256" height="100" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:evals" label="Cruciblereviews + gates + drift" mermaidId="evals" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="1675.84375" y="47" width="225.5" height="76" as="geometry"/>
          </mxCell>
        </object>
        <object id="e:L_builder_version_0" label="" mermaidId="L_builder_version_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:builder" target="n:version" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="165.53125" y="85" as="sourcePoint"/>
              <mxPoint x="215.53125" y="85" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="190.53125" y="85"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_version_lock_0" label="" mermaidId="L_version_lock_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:version" target="n:lock" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="457.828125" y="85" as="sourcePoint"/>
              <mxPoint x="507.828125" y="85" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="482.828125" y="85"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_lock_chat_0" label="" mermaidId="L_lock_chat_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:lock" target="n:chat" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="763.828125" y="42.333333" as="sourcePoint"/>
              <mxPoint x="813.828125" y="34" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="788.828125" y="34"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_lock_mcp_0" label="" mermaidId="L_lock_mcp_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:lock" target="n:mcp" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="763.828125" y="127.666667" as="sourcePoint"/>
              <mxPoint x="820.15625" y="136" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="788.828125" y="136"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_chat_tools_0" label="" mermaidId="L_chat_tools_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:chat" target="n:tools" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="1057.5" y="34" as="sourcePoint"/>
              <mxPoint x="1146.799939" y="59" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="1082.5" y="34"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_mcp_tools_0" label="" mermaidId="L_mcp_tools_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:mcp" target="n:tools" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="1051.171875" y="136" as="sourcePoint"/>
              <mxPoint x="1146.799939" y="111" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="1082.5" y="136"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_tools_hitl_0" label="" mermaidId="L_tools_hitl_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:tools" target="n:hitl" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="1319.84375" y="85" as="sourcePoint"/>
              <mxPoint x="1369.84375" y="85" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="1344.84375" y="85"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_hitl_evals_0" label="" mermaidId="L_hitl_evals_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:hitl" target="n:evals" edge="1" style="edgeStyle=orthogonalEdgeStyle;endArrow=block;endFill=1;html=1;jettySize=auto;orthogonalLoop=1;rounded=0;strokeColor=#333333;">
            <mxGeometry relative="1" as="geometry">
              <mxPoint x="1625.84375" y="85" as="sourcePoint"/>
              <mxPoint x="1675.84375" y="85" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="1650.84375" y="85"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>
