<?xml version="1.0" encoding="UTF-8"?>
<mxfile host="eli.ai" agent="eli.ai diagram exporter" version="1">
  <diagram id="export-destruction-1d1e0a40" name="Export — destruction">
    <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="Export — destruction" schemaVersion="1" diagramId="export-destruction-1d1e0a40" canonicalAppearanceKey="tsx:src/app/(docs)/docs/capabilities/export/page.tsx:destructionChart#1" sourceSha256="1d1e0a40a89a0803b13a384012f044c74283cad96ec04c09f039849ad98a3192" metadataPayloadSha256="12786f58a1a2bbdd4b70ead5bfd160079a30d1546c66139f231b9c97f10207a4" generationKey="0132ff5a08591cd15038e6329d46f3e0d95c3e7bdc04f68762393ba383e68770" concepts="[&quot;Capabilities&quot;,&quot;Export&quot;,&quot;Destruction&quot;]" keywords="[&quot;same TX: delete SSO providers&quot;,&quot;schema registry&quot;,&quot;live PostgreSQL catalog&quot;,&quot;exactly matches?&quot;,&quot;fail closed&quot;,&quot;nothing purged&quot;,&quot;FK-ordered purge&quot;,&quot;remove workspace vault&quot;,&quot;recount all 77 tables&quot;,&quot;ok: true receipt&quot;,&quot;ok: false&quot;,&quot;failure stage&quot;,&quot;ready export, retained prior proof&quot;,&quot;or explicit admin bypass&quot;,&quot;claims + linked account tokens&quot;,&quot;zero rows AND vault removed?&quot;,&quot;retain audit + destruction record&quot;,&quot;identity are explicit boundaries&quot;,&quot;anchors/export/backups&quot;,&quot;no&quot;,&quot;yes&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:38:43.230Z" mermaidSource="flowchart LR&#10;  A[&quot;ready export, retained prior proof,&lt;br/&gt;or explicit admin bypass&quot;] --&gt; B[&quot;schema registry&lt;br/&gt;79 workspace tables&quot;]&#10;  B --&gt; C{&quot;live PostgreSQL catalog&lt;br/&gt;exactly matches?&quot;}&#10;  C --&gt;|&quot;no&quot;| X[&quot;fail closed&lt;br/&gt;nothing purged&quot;]&#10;  C --&gt;|&quot;yes&quot;| D[&quot;FK-ordered purge&lt;br/&gt;77 non-retained tables&quot;]&#10;  D --&gt; S[&quot;same TX: delete SSO providers,&lt;br/&gt;claims + linked account tokens&quot;]&#10;  S --&gt; E[&quot;remove workspace vault&quot;]&#10;  E --&gt; F[&quot;recount all 77 tables&quot;]&#10;  F --&gt; G{&quot;zero rows AND vault removed?&quot;}&#10;  G --&gt;|&quot;yes&quot;| H[&quot;ok: true receipt&quot;]&#10;  G --&gt;|&quot;no&quot;| I[&quot;ok: false&lt;br/&gt;failure stage&quot;]&#10;  H --&gt; R[&quot;retain audit + destruction record&lt;br/&gt;identity anchors/export/backups are explicit boundaries&quot;]&#10;  I --&gt; R">
          <mxCell parent="0"/>
        </object>
        <object id="n:A" label="ready export, retained prior proof,or explicit admin bypass" mermaidId="A" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="8" y="86.15625" width="256" height="100" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:B" label="schema registry79 workspace tables" mermaidId="B" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="314" y="98.15625" width="212.875" height="76" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:C" label="live PostgreSQL catalogexactly matches?" mermaidId="C" mermaidShape="diamond">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;perimeter=rhombusPerimeter;shape=rhombus;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="577.375" y="8" width="256.3125" height="256.3125" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:X" label="fail closednothing purged" mermaidId="X" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="937.398438" y="35.15625" width="171.34375" height="76" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:D" label="FK-ordered purge77 non-retained tables" mermaidId="D" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="909.640625" y="161.15625" width="226.859375" height="76" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:S" label="same TX: delete SSO providers,claims + linked account tokens" mermaidId="S" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="1186.5" y="137.15625" width="256" height="124" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:E" label="remove workspace vault" mermaidId="E" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="1492.5" y="173.15625" width="241.40625" height="52" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:F" label="recount all 77 tables" mermaidId="F" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="1783.90625" y="173.15625" width="208.375" height="52" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:G" label="zero rows AND vault removed?" mermaidId="G" mermaidShape="diamond">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;perimeter=rhombusPerimeter;shape=rhombus;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="2042.78125" y="61.15625" width="276" height="276" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:H" label="ok: true receipt" mermaidId="H" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="2394.734375" y="116.15625" width="170.5" height="52" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:I" label="ok: falsefailure stage" mermaidId="I" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="2405.3125" y="218.15625" width="149.34375" height="76" as="geometry"/>
          </mxCell>
        </object>
        <object id="n:R" label="retain audit + destruction recordidentity anchors/export/backups are explicit boundaries" mermaidId="R" mermaidShape="rectangle">
          <mxCell parent="1" vertex="1" style="fillColor=#ECECFF;fontColor=#333333;html=1;rounded=0;strokeColor=#9370DB;whiteSpace=wrap;">
            <mxGeometry x="2615.234375" y="125.15625" width="256" height="148" as="geometry"/>
          </mxCell>
        </object>
        <object id="e:L_A_B_0" label="" mermaidId="L_A_B_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:A" target="n:B" 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="264" y="136.15625" as="sourcePoint"/>
              <mxPoint x="314" y="136.15625" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="289" y="136.15625"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_B_C_0" label="" mermaidId="L_B_C_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:B" target="n:C" 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="526.875" y="136.15625" as="sourcePoint"/>
              <mxPoint x="576.875" y="136.15625" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="551.875" y="136.15625"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_C_X_0" label="no" mermaidId="L_C_X_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:C" target="n:X" 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="797.98938" y="100.95813" as="sourcePoint"/>
              <mxPoint x="937.398438" y="73.15625" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="871.414063" y="73.15625"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_C_D_0" label="yes" mermaidId="L_C_D_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:C" target="n:D" 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="797.98938" y="171.35437" as="sourcePoint"/>
              <mxPoint x="909.640625" y="199.15625" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="871.414063" y="199.15625"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_D_S_0" label="" mermaidId="L_D_S_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:D" target="n:S" 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="1136.5" y="199.15625" as="sourcePoint"/>
              <mxPoint x="1186.5" y="199.15625" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="1161.5" y="199.15625"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_S_E_0" label="" mermaidId="L_S_E_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:S" target="n:E" 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="1442.5" y="199.15625" as="sourcePoint"/>
              <mxPoint x="1492.5" y="199.15625" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="1467.5" y="199.15625"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_E_F_0" label="" mermaidId="L_E_F_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:E" target="n:F" 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="1733.90625" y="199.15625" as="sourcePoint"/>
              <mxPoint x="1783.90625" y="199.15625" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="1758.90625" y="199.15625"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_F_G_0" label="" mermaidId="L_F_G_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:F" target="n:G" 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="1992.28125" y="199.15625" as="sourcePoint"/>
              <mxPoint x="2042.28125" y="199.15625" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="2017.28125" y="199.15625"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_G_H_0" label="yes" mermaidId="L_G_H_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:G" target="n:H" 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="2284.554388" y="165.429388" as="sourcePoint"/>
              <mxPoint x="2394.734375" y="142.15625" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="2356.507813" y="142.15625"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_G_I_0" label="no" mermaidId="L_G_I_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:G" target="n:I" 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="2284.554388" y="232.883112" as="sourcePoint"/>
              <mxPoint x="2405.3125" y="256.15625" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="2356.507813" y="256.15625"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_H_R_0" label="" mermaidId="L_H_R_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:H" target="n:R" 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="2565.234375" y="142.15625" as="sourcePoint"/>
              <mxPoint x="2615.234375" y="151.469975" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="2590.234375" y="142.15625"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
        <object id="e:L_I_R_0" label="" mermaidId="L_I_R_0" mermaidKind="relationship">
          <mxCell parent="1" source="n:I" target="n:R" 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="2554.65625" y="256.15625" as="sourcePoint"/>
              <mxPoint x="2615.234375" y="246.842525" as="targetPoint"/>
              <Array as="points">
                <mxPoint x="2590.234375" y="256.15625"/>
              </Array>
            </mxGeometry>
          </mxCell>
        </object>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>
