<?xml version='1.0' encoding='UTF-8'?>
<mxfile host="app.diagrams.net" agent="nishtnr Architecture Design System" version="24.7.17" type="device">
  <diagram id="NR-002-v1-1" name="The reasoning–execution boundary">
    <mxGraphModel dx="1440" dy="840" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1440" pageHeight="840" math="0" shadow="0" background="#FFFFFF">
      <root>
        <mxCell id="0"/>
        <mxCell id="1" parent="0"/>
        <mxCell id="page-white" parent="1" vertex="1" style="rounded=0;strokeColor=none;fillColor=#FFFFFF;" value="">
          <mxGeometry x="0" y="0" width="1440" height="840" as="geometry"/>
        </mxCell>
        <mxCell id="header-id" parent="1" vertex="1" style="text;html=1;whiteSpace=wrap;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;fontFamily=Arial;fontColor=#325C72;fontSize=15;fontStyle=1;spacing=0;" value="NR-002   /   ARCHITECTURE REFERENCE">
          <mxGeometry x="70" y="24" width="900" height="26" as="geometry"/>
        </mxCell>
        <mxCell id="title" parent="1" vertex="1" style="text;html=1;whiteSpace=wrap;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;fontFamily=Arial;fontColor=#233640;fontSize=32;fontStyle=1;spacing=0;" value="The reasoning–execution boundary">
          <mxGeometry x="70" y="60" width="1300" height="46" as="geometry"/>
        </mxCell>
        <mxCell id="dek" parent="1" vertex="1" style="text;html=1;whiteSpace=wrap;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;fontFamily=Arial;fontColor=#586B77;fontSize=17;fontStyle=0;spacing=0;" value="Probabilistic systems may propose actions. Deterministic services decide whether to commit them.">
          <mxGeometry x="70" y="111" width="1300" height="44" as="geometry"/>
        </mxCell>
        <mxCell id="header-rule" parent="1" vertex="1" style="strokeColor=none;fillColor={RULE};" value="">
          <mxGeometry x="70" y="166" width="1300" height="1" as="geometry"/>
        </mxCell>
        <mxCell id="edge-0" style="edgeStyle=orthogonalEdgeStyle;orthogonalLoop=1;jettySize=auto;rounded=0;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#8294A3;strokeWidth=2.25;endArrow=block;endFill=1;endSize=9;dashed=0;" edge="1" parent="1" source="intent" target="reason" value="">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="edge-1" style="edgeStyle=orthogonalEdgeStyle;orthogonalLoop=1;jettySize=auto;rounded=0;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#8294A3;strokeWidth=2.25;endArrow=block;endFill=1;endSize=9;dashed=0;" edge="1" parent="1" source="reason" target="schema" value="">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="edge-2" style="edgeStyle=orthogonalEdgeStyle;orthogonalLoop=1;jettySize=auto;rounded=0;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#8294A3;strokeWidth=2.25;endArrow=block;endFill=1;endSize=9;dashed=0;" edge="1" parent="1" source="schema" target="policy" value="">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="edge-3" style="edgeStyle=orthogonalEdgeStyle;orthogonalLoop=1;jettySize=auto;rounded=0;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#8294A3;strokeWidth=2.25;endArrow=block;endFill=1;endSize=9;dashed=0;" edge="1" parent="1" source="policy" target="approval" value="">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="edge-4" style="edgeStyle=orthogonalEdgeStyle;orthogonalLoop=1;jettySize=auto;rounded=0;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#8294A3;strokeWidth=2.25;endArrow=block;endFill=1;endSize=9;dashed=0;" edge="1" parent="1" source="approval" target="execute" value="">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="edge-5" style="edgeStyle=orthogonalEdgeStyle;orthogonalLoop=1;jettySize=auto;rounded=0;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#C57A90;strokeWidth=2.25;endArrow=block;endFill=1;endSize=9;dashed=0;" edge="1" parent="1" source="policy" target="reject" value="">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="edge-6" style="edgeStyle=orthogonalEdgeStyle;orthogonalLoop=1;jettySize=auto;rounded=0;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;entryPerimeter=0;strokeColor=#8294A3;strokeWidth=2.25;endArrow=block;endFill=1;endSize=9;dashed=0;" edge="1" parent="1" source="execute" target="audit" value="">
          <mxGeometry relative="1" as="geometry"/>
        </mxCell>
        <mxCell id="intent" parent="1" vertex="1" style="rounded=1;arcSize=13;html=1;whiteSpace=wrap;shadow=0;fillColor=#F4F6F8;strokeColor=#B6C3D0;strokeWidth=1.65;fontColor=#233640;fontFamily=Arial;fontSize=19;align=center;verticalAlign=middle;spacing=7;" value="&lt;div style=&quot;font-size:19px;font-weight:600;line-height:1.25;&quot;&gt;01 / Intent&lt;/div&gt;&lt;div style=&quot;font-size:14px;color:#586B77;line-height:1.5;margin-top:8px;&quot;&gt;Actor  •  context&lt;/div&gt;">
          <mxGeometry x="72" y="286" width="198" height="125" as="geometry"/>
        </mxCell>
        <mxCell id="reason" parent="1" vertex="1" style="rounded=1;arcSize=13;html=1;whiteSpace=wrap;shadow=0;fillColor=#E6F0FB;strokeColor=#83ACDA;strokeWidth=1.65;fontColor=#233640;fontFamily=Arial;fontSize=19;align=center;verticalAlign=middle;spacing=7;" value="&lt;div style=&quot;font-size:19px;font-weight:600;line-height:1.25;&quot;&gt;02 / Reason&lt;/div&gt;&lt;div style=&quot;font-size:14px;color:#586B77;line-height:1.5;margin-top:8px;&quot;&gt;Interpret &amp;amp; propose&lt;/div&gt;">
          <mxGeometry x="286" y="286" width="198" height="125" as="geometry"/>
        </mxCell>
        <mxCell id="schema" parent="1" vertex="1" style="rounded=1;arcSize=13;html=1;whiteSpace=wrap;shadow=0;fillColor=#F0EAF9;strokeColor=#A98AD3;strokeWidth=1.65;fontColor=#233640;fontFamily=Arial;fontSize=19;align=center;verticalAlign=middle;spacing=7;" value="&lt;div style=&quot;font-size:19px;font-weight:600;line-height:1.25;&quot;&gt;03 / Contract&lt;/div&gt;&lt;div style=&quot;font-size:14px;color:#586B77;line-height:1.5;margin-top:8px;&quot;&gt;Typed action &amp;amp; evidence&lt;/div&gt;">
          <mxGeometry x="500" y="286" width="198" height="125" as="geometry"/>
        </mxCell>
        <mxCell id="policy" parent="1" vertex="1" style="rounded=1;arcSize=13;html=1;whiteSpace=wrap;shadow=0;fillColor=#FFF4E2;strokeColor=#DCAD6D;strokeWidth=1.65;fontColor=#233640;fontFamily=Arial;fontSize=19;align=center;verticalAlign=middle;spacing=7;" value="&lt;div style=&quot;font-size:19px;font-weight:600;line-height:1.25;&quot;&gt;04 / Policy&lt;/div&gt;&lt;div style=&quot;font-size:14px;color:#586B77;line-height:1.5;margin-top:8px;&quot;&gt;Identity  •  rules  •  risk&lt;/div&gt;">
          <mxGeometry x="714" y="286" width="198" height="125" as="geometry"/>
        </mxCell>
        <mxCell id="approval" parent="1" vertex="1" style="rounded=1;arcSize=13;html=1;whiteSpace=wrap;shadow=0;fillColor=#FFF4E2;strokeColor=#DCAD6D;strokeWidth=1.65;fontColor=#233640;fontFamily=Arial;fontSize=19;align=center;verticalAlign=middle;spacing=7;" value="&lt;div style=&quot;font-size:19px;font-weight:600;line-height:1.25;&quot;&gt;05 / Approval&lt;/div&gt;&lt;div style=&quot;font-size:14px;color:#586B77;line-height:1.5;margin-top:8px;&quot;&gt;Only when required&lt;/div&gt;">
          <mxGeometry x="928" y="286" width="198" height="125" as="geometry"/>
        </mxCell>
        <mxCell id="execute" parent="1" vertex="1" style="rounded=1;arcSize=13;html=1;whiteSpace=wrap;shadow=0;fillColor=#E6F5F4;strokeColor=#68B7B5;strokeWidth=1.65;fontColor=#233640;fontFamily=Arial;fontSize=19;align=center;verticalAlign=middle;spacing=7;" value="&lt;div style=&quot;font-size:19px;font-weight:600;line-height:1.25;&quot;&gt;06 / Execute&lt;/div&gt;&lt;div style=&quot;font-size:14px;color:#586B77;line-height:1.5;margin-top:8px;&quot;&gt;Idempotent domain command&lt;/div&gt;">
          <mxGeometry x="1142" y="286" width="226" height="125" as="geometry"/>
        </mxCell>
        <mxCell id="reject" parent="1" vertex="1" style="rounded=1;arcSize=13;html=1;whiteSpace=wrap;shadow=0;fillColor=#FCEAEC;strokeColor=#D18FA2;strokeWidth=1.65;fontColor=#233640;fontFamily=Arial;fontSize=19;align=center;verticalAlign=middle;spacing=7;" value="&lt;div style=&quot;font-size:19px;font-weight:600;line-height:1.25;&quot;&gt;Reject / request clarification&lt;/div&gt;&lt;div style=&quot;font-size:14px;color:#586B77;line-height:1.5;margin-top:8px;&quot;&gt;Validation failure, denial or stale state&lt;/div&gt;">
          <mxGeometry x="714" y="507" width="412" height="104" as="geometry"/>
        </mxCell>
        <mxCell id="audit" parent="1" vertex="1" style="rounded=1;arcSize=13;html=1;whiteSpace=wrap;shadow=0;fillColor=#E6F5F4;strokeColor=#68B7B5;strokeWidth=1.65;fontColor=#233640;fontFamily=Arial;fontSize=19;align=center;verticalAlign=middle;spacing=7;" value="&lt;div style=&quot;font-size:19px;font-weight:600;line-height:1.25;&quot;&gt;Outcome evidence&lt;/div&gt;&lt;div style=&quot;font-size:14px;color:#586B77;line-height:1.5;margin-top:8px;&quot;&gt;Commit; event; audit&lt;/div&gt;">
          <mxGeometry x="1142" y="507" width="226" height="104" as="geometry"/>
        </mxCell>
        <mxCell id="boundary" parent="1" vertex="1" style="rounded=1;arcSize=13;html=1;whiteSpace=wrap;shadow=0;fillColor=#FFFFFF;strokeColor=#DAE3EA;strokeWidth=1.65;fontColor=#233640;fontFamily=Arial;fontSize=19;align=center;verticalAlign=middle;spacing=7;" value="&lt;div style=&quot;font-size:19px;font-weight:600;line-height:1.25;&quot;&gt;Hard execution boundary&lt;/div&gt;&lt;div style=&quot;font-size:14px;color:#586B77;line-height:1.5;margin-top:8px;&quot;&gt;Proposal ≠ permission ≠ committed transaction&lt;/div&gt;">
          <mxGeometry x="72" y="507" width="626" height="104" as="geometry"/>
        </mxCell>
        <mxCell id="note-0" parent="1" vertex="1" style="text;html=1;whiteSpace=wrap;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;fontFamily=Arial;fontColor=#325C72;fontSize=16;fontStyle=1;spacing=0;" value="DESIGN FOR FAILURE, NOT JUST THE HAPPY PATH">
          <mxGeometry x="72" y="207" width="1180" height="32" as="geometry"/>
        </mxCell>
        <mxCell id="note-1" parent="1" vertex="1" style="text;html=1;whiteSpace=wrap;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;fontFamily=Arial;fontColor=#233640;fontSize=18;fontStyle=1;spacing=0;" value="Never grant authority based on confidence scores, prompts or model-generated justifications.">
          <mxGeometry x="72" y="679" width="1180" height="32" as="geometry"/>
        </mxCell>
        <mxCell id="footer-rule" parent="1" vertex="1" style="strokeColor=none;fillColor={RULE};" value="">
          <mxGeometry x="70" y="773" width="1300" height="1" as="geometry"/>
        </mxCell>
        <mxCell id="footer-brand" parent="1" vertex="1" style="text;html=1;whiteSpace=wrap;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;fontFamily=Arial;fontColor=#325C72;fontSize=13;fontStyle=1;spacing=0;" value="nishantr  ·  nishantr.tech">
          <mxGeometry x="70" y="790" width="730" height="26" as="geometry"/>
        </mxCell>
        <mxCell id="footer-meta" parent="1" vertex="1" style="text;html=1;whiteSpace=wrap;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;fontFamily=Arial;fontColor=#586B77;fontSize=12;fontStyle=0;spacing=0;" value="NR-002  •  v1.1  •  REFERENCE / ILLUSTRATIVE">
          <mxGeometry x="930" y="790" width="440" height="26" as="geometry"/>
        </mxCell>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>
