Illustrate how architecture decisions guide and evolve through agent memory

This commit is contained in:
rUv committed 2026-11-19 20:25:37 -05:00
1 parent d398f090b2
commit f9be6de006
1 file changed
+26 -11
+26 -11
View File
@@ -1,5 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="448" viewBox="0 0 400 448" role="img" aria-labelledby="title desc">
<title id="title">ruPro workspace · learning across runs</title><desc id="desc">Claude proposes a retry rule, Codex tests it, and the owner approves lesson M17. Catalog recalls M17 on a new read timeout. A simulated Catalog replay compares six passing cases without memory to eight with the lesson. Billing then checks a timed out payment against its receipt and records the owner’s decision.</desc>
<title id="title">ruPro workspace · learning across runs</title><desc id="desc">Claude proposes a retry rule, Codex tests it, and the owner approves lesson M17. Catalog recalls M17 on a new read timeout. A simulated Catalog replay compares six passing cases without memory to eight with the lesson. Billing then checks a timed out payment against its receipt and records the owner’s decision. An architecture decision record preserves the reason for the rule. A later replay reveals a missed deadline and the owner approves a successor.</desc>
<defs><radialGradient id="ambient" cx=".55" cy=".04" r="1"><stop stop-color="#123038"/><stop offset="1" stop-color="#091316"/></radialGradient><linearGradient id="bars" x2="0" y2="1"><stop stop-color="#9ce7eb"/><stop offset="1" stop-color="#17b9cb"/></linearGradient></defs>
<style>
#memory-recall:target ~ g .scene {animation:none;opacity:0}
@@ -7,10 +7,10 @@
#memory-recall:target ~ g .recall .appear {animation:none;opacity:1}
.scene,.pending{opacity:0}.poster{opacity:1}
@media(prefers-reduced-motion:no-preference){
.scene{animation:tab 64s steps(1,end) var(--phase) infinite}.cursor{animation:blink 1.2s steps(1,end) infinite}
.scene{animation:tab 88s steps(1,end) var(--phase) infinite}.cursor{animation:blink 1.2s steps(1,end) infinite}
.appear{animation:var(--name) 8s linear infinite}.pending{animation:pending 8s steps(1,end) infinite}
.grow{transform-box:fill-box;transform-origin:center bottom;animation:grow 8s ease-out infinite}
@keyframes tab{0%{opacity:1}12.5%,100%{opacity:0}}@keyframes r1{0%,2.50%{opacity:0}4.50%,100%{opacity:1}}@keyframes r2{0%,9.38%{opacity:0}11.38%,100%{opacity:1}}@keyframes r3{0%,20.63%{opacity:0}22.63%,100%{opacity:1}}@keyframes r4{0%,27.50%{opacity:0}29.50%,100%{opacity:1}}@keyframes r5{0%,2.25%{opacity:0}4.25%,100%{opacity:1}}@keyframes r6{0%,7.87%{opacity:0}9.87%,100%{opacity:1}}@keyframes r7{0%,13.50%{opacity:0}15.50%,100%{opacity:1}}@keyframes r8{0%,19.13%{opacity:0}21.13%,100%{opacity:1}}@keyframes r9{0%,24.75%{opacity:0}26.75%,100%{opacity:1}}@keyframes r10{0%,30.37%{opacity:0}32.38%,100%{opacity:1}}@keyframes r11{0%,36.00%{opacity:0}38.00%,100%{opacity:1}}@keyframes r12{0%,40.00%{opacity:0}42.00%,100%{opacity:1}}
@keyframes tab{0%{opacity:1}9.0909091%,100%{opacity:0}}@keyframes r1{0%,2.50%{opacity:0}4.50%,100%{opacity:1}}@keyframes r2{0%,9.38%{opacity:0}11.38%,100%{opacity:1}}@keyframes r3{0%,20.63%{opacity:0}22.63%,100%{opacity:1}}@keyframes r4{0%,27.50%{opacity:0}29.50%,100%{opacity:1}}@keyframes r5{0%,2.25%{opacity:0}4.25%,100%{opacity:1}}@keyframes r6{0%,7.87%{opacity:0}9.87%,100%{opacity:1}}@keyframes r7{0%,13.50%{opacity:0}15.50%,100%{opacity:1}}@keyframes r8{0%,19.13%{opacity:0}21.13%,100%{opacity:1}}@keyframes r9{0%,24.75%{opacity:0}26.75%,100%{opacity:1}}@keyframes r10{0%,30.37%{opacity:0}32.38%,100%{opacity:1}}@keyframes r11{0%,36.00%{opacity:0}38.00%,100%{opacity:1}}@keyframes r12{0%,40.00%{opacity:0}42.00%,100%{opacity:1}}
@keyframes pending{0%{opacity:1}40%,100%{opacity:0}}@keyframes blink{0%,100%{opacity:1}62%{opacity:0}}@keyframes grow{0%{transform:scaleY(.03)}32%,100%{transform:scaleY(1)}}}
#scope-check:target ~ g .scene{animation:none;opacity:0}
#scope-check:target ~ g .scope-check{opacity:1}
@@ -24,22 +24,37 @@
#owner-review:target ~ g .owner-review{opacity:1}
#owner-review:target ~ g .owner-review .appear{animation:none;opacity:1}
#owner-review:target ~ g .owner-review .pending{animation:none;opacity:0}
#adr-decision:target ~ g .scene{animation:none;opacity:0}
#adr-decision:target ~ g .adr-decision,#adr-decision:target ~ g .adr-decision .appear{animation:none;opacity:1}
#adr-decision:target ~ g .adr-decision .pending{animation:none;opacity:0}
#adr-recall:target ~ g .scene{animation:none;opacity:0}
#adr-recall:target ~ g .adr-recall,#adr-recall:target ~ g .adr-recall .appear{animation:none;opacity:1}
#adr-recall:target ~ g .adr-recall .pending{animation:none;opacity:0}
#adr-revision:target ~ g .scene{animation:none;opacity:0}
#adr-revision:target ~ g .adr-revision,#adr-revision:target ~ g .adr-revision .appear{animation:none;opacity:1}
#adr-revision:target ~ g .adr-revision .pending{animation:none;opacity:0}
</style>
<g id="scope-check"/>
<g id="verify-receipt"/>
<g id="owner-review"/>
<g id="adr-decision"/>
<g id="adr-recall"/>
<g id="adr-revision"/>
<g id="memory-recall"/>
<rect x="0" y="0" width="400" height="448" rx="0" fill="url(#ambient)" stroke="none" /><rect x="21" y="12" width="358" height="426" rx="15" fill="#0d1019" stroke="#20454f" />
<g font-family="Avenir Next, Century Gothic, Arial, sans-serif"><path d="M22 49h356M22 85h356M22 414h356" stroke="#272933"/>
<circle cx="39" cy="30" r="3.5" fill="#ae827c"/><circle cx="51" cy="30" r="3.5" fill="#c1a775"/><circle cx="63" cy="30" r="3.5" fill="#7da68e"/><circle cx="361" cy="30" r="2.8" fill="#86d1aa"/>
<text x="200" y="34" font-size="12" fill="#bec1cb" font-family="Menlo, Consolas, monospace" text-anchor="middle">ruPro / workspace</text>
<text x="36" y="430" font-size="10.4" fill="#9ba4b4" font-family="Menlo, Consolas, monospace">Sample data · native actions simulated</text>
<g class="scene poster" style="--phase:-64s"><text x="34" y="74" font-size="13.5" fill="#e8f3f7" >Agents</text><text x="92" y="74" font-size="13.5" fill="#9ba4b4" >Terminal</text><text x="161" y="74" font-size="13.5" fill="#9ba4b4" >Review</text><text x="218" y="74" font-size="13.5" fill="#9ba4b4" >Analytics</text><rect x="34" y="84" width="39" height="2" rx="1" fill="#26d3e2" stroke="none" /><rect x="31" y="96" width="338" height="149" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="106" width="54" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="120" font-size="12" fill="#b3eef2" font-weight="650">Claude</text><text x="357" y="121" font-size="12" fill="#9ba4b4" text-anchor="end">Checkout · run 1</text><rect x="62" y="133" width="295" height="29" rx="8" fill="#14323a" stroke="none" /><text x="71" y="152" font-size="12.5" fill="#e8f3f7" >Why did the second read succeed?</text><rect x="42" y="170" width="306" height="64" rx="8" fill="#1c1e27" stroke="none" /><g class="appear" style="--name:r1"><text x="51" y="191" font-size="12.5" fill="#d6d4e2" >The first GET timed out. A retry worked.</text></g><g class="appear" style="--name:r2"><text x="51" y="211" font-size="12.5" fill="#d6d4e2" >Try one retry on reads only.</text><rect x="52" y="217" width="5" height="10" rx="0" fill="#26d3e2" stroke="none" class="cursor"/></g><rect x="31" y="253" width="338" height="149" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="263" width="54" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="277" font-size="12" fill="#b3eef2" font-weight="650">Codex</text><text x="357" y="278" font-size="12" fill="#9ba4b4" text-anchor="end">Checkout · same trace</text><rect x="62" y="290" width="295" height="29" rx="8" fill="#14323a" stroke="none" /><text x="71" y="309" font-size="12.5" fill="#e8f3f7" >Test Claude’s rule before we reuse it.</text><rect x="42" y="327" width="306" height="64" rx="8" fill="#1c1e27" stroke="none" /><g class="appear" style="--name:r3"><text x="51" y="348" font-size="12.5" fill="#d6d4e2" >Checking reads, writes and repeat timeouts.</text></g><g class="appear" style="--name:r4"><text x="51" y="368" font-size="12.5" fill="#d6d4e2" >I’ll attach the results for review.</text><rect x="52" y="374" width="5" height="10" rx="0" fill="#26d3e2" stroke="none" class="cursor"/></g><text x="360" y="430" text-anchor="end" font-size="10" fill="#9ba4b4">1/8</text></g>
<g class="scene" style="--phase:-56s"><text x="34" y="74" font-size="13.5" fill="#9ba4b4" >Agents</text><text x="92" y="74" font-size="13.5" fill="#e8f3f7" >Terminal</text><text x="161" y="74" font-size="13.5" fill="#9ba4b4" >Review</text><text x="218" y="74" font-size="13.5" fill="#9ba4b4" >Analytics</text><rect x="92" y="84" width="48" height="2" rx="1" fill="#26d3e2" stroke="none" /><rect x="31" y="96" width="338" height="201" rx="10" fill="#090a0e" stroke="#262830" /><rect x="42" y="108" width="70" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="122" font-size="12" fill="#b3eef2" font-weight="650">Terminal</text><text x="358" y="122" font-size="11" fill="#9ba4b4" text-anchor="end">Checkout · simulated session</text><g class="appear" style="--name:r5"><text x="42" y="154" font-size="13" fill="#26d3e2" font-family="Menlo, Consolas, monospace">$</text><text x="62" y="154" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">npx ruflo@latest init</text></g><g class="appear" style="--name:r6"><text x="42" y="173" font-size="13" fill="#26d3e2" font-family="Menlo, Consolas, monospace">›</text><text x="62" y="173" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">/ruflo · Claude Code</text></g><g class="appear" style="--name:r7"><text x="42" y="192" font-size="13" fill="#26d3e2" font-family="Menlo, Consolas, monospace">$</text><text x="62" y="192" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">npm test -- retry</text></g><g class="appear" style="--name:r8"><text x="42" y="211" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">✓</text><text x="62" y="211" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">GET timeout: retry once</text></g><g class="appear" style="--name:r9"><text x="42" y="230" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">✓</text><text x="62" y="230" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">POST timeout: stop</text></g><g class="appear" style="--name:r10"><text x="42" y="249" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">✓</text><text x="62" y="249" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">Second timeout: stop</text></g><g class="appear" style="--name:r11"><text x="42" y="268" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace"></text><text x="62" y="268" font-size="12.6" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">3 rule checks passed</text></g><rect x="42" y="277" width="5" height="10" rx="0" fill="#26d3e2" stroke="none" class="cursor"/><text x="360" y="430" text-anchor="end" font-size="10" fill="#9ba4b4">2/8</text></g>
<g class="scene" style="--phase:-48s"><text x="34" y="74" font-size="13.5" fill="#9ba4b4" >Agents</text><text x="92" y="74" font-size="13.5" fill="#9ba4b4" >Terminal</text><text x="161" y="74" font-size="13.5" fill="#e8f3f7" >Review</text><text x="218" y="74" font-size="13.5" fill="#9ba4b4" >Analytics</text><rect x="161" y="84" width="42" height="2" rx="1" fill="#26d3e2" stroke="none" /><rect x="31" y="96" width="338" height="244" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="108" width="60" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="122" font-size="12" fill="#b3eef2" font-weight="650">Review</text><text x="357" y="122" font-size="12" fill="#9ba4b4" text-anchor="end">Review before saving</text><rect x="42" y="136" width="316" height="51" rx="8" fill="#1c1e27" stroke="none" /><rect x="50" y="141" width="110" height="20" rx="10" fill="#14323a" stroke="none" /><text x="59" y="155" font-size="12" fill="#b3eef2" font-weight="650">Codex · Checkout</text><text x="51" y="178" font-size="12.5" fill="#e8f3f7" >Trace and three checks attached.</text><rect x="42" y="197" width="316" height="62" rx="8" fill="#090a0e" stroke="none" /><text x="51" y="216" font-size="13" fill="#ec9ea8" font-family="Menlo, Consolas, monospace">− on timeout: stop</text><text x="51" y="234" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">+ GET: retry once</text><text x="51" y="252" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">+ writes: never retry</text><rect x="42" y="269" width="316" height="39" rx="8" fill="#13151b" stroke="#2d3038" /><text x="52" y="293" font-size="13" fill="#e8f3f7" >Owner decision</text><rect x="261" y="275" width="90" height="26" rx="7" fill="#26d3e2" stroke="none" /><g class="pending"><text x="306" y="293" font-size="13" fill="#071216" font-weight="650" text-anchor="middle">Approve</text></g><g class="appear" style="--name:r12"><text x="306" y="293" font-size="13" fill="#071216" font-weight="650" text-anchor="middle">✓ Approved</text><text x="42" y="328" font-size="12.5" fill="#9ddbbe" >Lesson M17 saved with its test evidence.</text></g><text x="360" y="430" text-anchor="end" font-size="10" fill="#9ba4b4">3/8</text></g>
<g class="scene recall" style="--phase:-40s"><text x="34" y="74" font-size="13.5" fill="#e8f3f7" >Agents</text><text x="92" y="74" font-size="13.5" fill="#9ba4b4" >Terminal</text><text x="161" y="74" font-size="13.5" fill="#9ba4b4" >Review</text><text x="218" y="74" font-size="13.5" fill="#9ba4b4" >Analytics</text><rect x="34" y="84" width="39" height="2" rx="1" fill="#26d3e2" stroke="none" /><rect x="31" y="96" width="338" height="149" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="106" width="54" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="120" font-size="12" fill="#b3eef2" font-weight="650">Claude</text><text x="357" y="121" font-size="12" fill="#9ba4b4" text-anchor="end">Catalog · memory recall</text><rect x="62" y="133" width="295" height="29" rx="8" fill="#14323a" stroke="none" /><text x="71" y="152" font-size="12.5" fill="#e8f3f7" >A catalog read timed out. Any prior lesson?</text><rect x="42" y="170" width="306" height="64" rx="8" fill="#1c1e27" stroke="none" /><g class="appear" style="--name:r1"><text x="51" y="191" font-size="12.5" fill="#d6d4e2" >Found M17 in Checkout’s approved lessons.</text></g><g class="appear" style="--name:r2"><text x="51" y="211" font-size="12.5" fill="#d6d4e2" >It applies to a timed out GET.</text><rect x="52" y="217" width="5" height="10" rx="0" fill="#26d3e2" stroke="none" class="cursor"/></g><rect x="31" y="253" width="338" height="149" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="263" width="54" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="277" font-size="12" fill="#b3eef2" font-weight="650">Codex</text><text x="357" y="278" font-size="12" fill="#9ba4b4" text-anchor="end">Catalog · replay</text><rect x="62" y="290" width="295" height="29" rx="8" fill="#14323a" stroke="none" /><text x="71" y="309" font-size="12.5" fill="#e8f3f7" >Apply M17 to this read.</text><rect x="42" y="327" width="306" height="64" rx="8" fill="#1c1e27" stroke="none" /><g class="appear" style="--name:r3"><text x="51" y="348" font-size="12.5" fill="#d6d4e2" >The retry returned 200. Writes stay untouched.</text></g><g class="appear" style="--name:r4"><text x="51" y="368" font-size="12.5" fill="#d6d4e2" >Now replay all eight cases with and without M17.</text><rect x="52" y="374" width="5" height="10" rx="0" fill="#26d3e2" stroke="none" class="cursor"/></g><text x="360" y="430" text-anchor="end" font-size="10" fill="#9ba4b4">4/8</text></g>
<g class="scene" style="--phase:-32s"><text x="34" y="74" font-size="13.5" fill="#9ba4b4" >Agents</text><text x="92" y="74" font-size="13.5" fill="#9ba4b4" >Terminal</text><text x="161" y="74" font-size="13.5" fill="#9ba4b4" >Review</text><text x="218" y="74" font-size="13.5" fill="#e8f3f7" >Analytics</text><rect x="218" y="84" width="56" height="2" rx="1" fill="#26d3e2" stroke="none" /><rect x="31" y="96" width="125" height="20" rx="10" fill="#14323a" stroke="none" /><text x="40" y="110" font-size="12" fill="#b3eef2" font-weight="650">Learning analytics</text><text x="367" y="111" font-size="12" fill="#9ba4b4" text-anchor="end">Catalog · run 2</text><rect x="31" y="123" width="338" height="128" rx="10" fill="#13151b" stroke="#292b32" /><text x="42" y="144" font-size="14" fill="#e8f3f7" font-weight="650">Passing cases by replay</text><rect x="42" y="204" width="12" height="7" rx="2" fill="#535967" stroke="none" /><rect x="55" y="204" width="13" height="7" rx="2" fill="url(#bars)" stroke="none" class="grow"/><rect x="82" y="197" width="12" height="14" rx="2" fill="#535967" stroke="none" /><rect x="95" y="197" width="13" height="14" rx="2" fill="url(#bars)" stroke="none" class="grow"/><rect x="122" y="197" width="12" height="14" rx="2" fill="#535967" stroke="none" /><rect x="135" y="190" width="13" height="21" rx="2" fill="url(#bars)" stroke="none" class="grow"/><rect x="162" y="190" width="12" height="21" rx="2" fill="#535967" stroke="none" /><rect x="175" y="183" width="13" height="28" rx="2" fill="url(#bars)" stroke="none" class="grow"/><rect x="202" y="183" width="12" height="28" rx="2" fill="#535967" stroke="none" /><rect x="215" y="176" width="13" height="35" rx="2" fill="url(#bars)" stroke="none" class="grow"/><rect x="242" y="176" width="12" height="35" rx="2" fill="#535967" stroke="none" /><rect x="255" y="169" width="13" height="42" rx="2" fill="url(#bars)" stroke="none" class="grow"/><rect x="282" y="176" width="12" height="35" rx="2" fill="#535967" stroke="none" /><rect x="295" y="162" width="13" height="49" rx="2" fill="url(#bars)" stroke="none" class="grow"/><rect x="322" y="169" width="12" height="42" rx="2" fill="#535967" stroke="none" /><rect x="335" y="155" width="13" height="56" rx="2" fill="url(#bars)" stroke="none" class="grow"/><text x="42" y="235" font-size="12" fill="#636a79" >■</text><text x="56" y="235" font-size="11.5" fill="#9ba4b4" >Without memory</text><text x="194" y="235" font-size="12" fill="#26d3e2" >■</text><text x="208" y="235" font-size="11.5" fill="#9ba4b4" >With M17</text><rect x="31" y="260" width="165" height="91" rx="10" fill="#13151b" stroke="#292b32" /><text x="41" y="282" font-size="13" fill="#e8f3f7" font-weight="650">Without memory</text><text x="41" y="313" font-size="23" fill="#afb4c1" font-weight="650">6 / 8</text><rect x="41" y="327" width="142" height="6" rx="3" fill="#292c34" stroke="none" /><rect x="41" y="327" width="106" height="6" rx="3" fill="#afb4c1" stroke="none" class="grow"/><rect x="204" y="260" width="165" height="91" rx="10" fill="#13151b" stroke="#292b32" /><text x="214" y="282" font-size="13" fill="#e8f3f7" font-weight="650">With lesson M17</text><text x="214" y="313" font-size="23" fill="#8de0e8" font-weight="650">8 / 8</text><rect x="214" y="327" width="142" height="6" rx="3" fill="#292c34" stroke="none" /><rect x="214" y="327" width="142" height="6" rx="3" fill="#8de0e8" stroke="none" class="grow"/><text x="32" y="374" font-size="12" fill="#9ba4b4" >Both runs replay the same eight fresh cases.</text><text x="360" y="430" text-anchor="end" font-size="10" fill="#9ba4b4">5/8</text></g>
<g class="scene scope-check" style="--phase:-24s"><text x="34" y="74" font-size="13.5" fill="#e8f3f7" >Agents</text><text x="92" y="74" font-size="13.5" fill="#9ba4b4" >Terminal</text><text x="161" y="74" font-size="13.5" fill="#9ba4b4" >Review</text><text x="218" y="74" font-size="13.5" fill="#9ba4b4" >Analytics</text><rect x="34" y="84" width="39" height="2" rx="1" fill="#26d3e2" stroke="none" /><rect x="31" y="96" width="338" height="149" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="106" width="54" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="120" font-size="12" fill="#b3eef2" font-weight="650">Claude</text><text x="357" y="121" font-size="12" fill="#9ba4b4" text-anchor="end">Billing · run 3</text><rect x="62" y="133" width="295" height="29" rx="8" fill="#14323a" stroke="none" /><text x="71" y="152" font-size="12.5" fill="#e8f3f7" >A payment timed out. Can we retry?</text><rect x="42" y="170" width="306" height="64" rx="8" fill="#1c1e27" stroke="none" /><g class="appear" style="--name:r1"><text x="51" y="191" font-size="12.5" fill="#d6d4e2" >M17 covers reads. This was a POST.</text></g><g class="appear" style="--name:r2"><text x="51" y="211" font-size="12.5" fill="#d6d4e2" >The payment may already have settled.</text><rect x="52" y="217" width="5" height="10" rx="0" fill="#26d3e2" stroke="none" class="cursor"/></g><rect x="31" y="253" width="338" height="149" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="263" width="54" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="277" font-size="12" fill="#b3eef2" font-weight="650">Codex</text><text x="357" y="278" font-size="12" fill="#9ba4b4" text-anchor="end">Billing · payment trace</text><rect x="62" y="290" width="295" height="29" rx="8" fill="#14323a" stroke="none" /><text x="71" y="309" font-size="12.5" fill="#e8f3f7" >Check the receipt before doing anything.</text><rect x="42" y="327" width="306" height="64" rx="8" fill="#1c1e27" stroke="none" /><g class="appear" style="--name:r3"><text x="51" y="348" font-size="12.5" fill="#d6d4e2" >I’ll read the ledger by payment ID.</text></g><g class="appear" style="--name:r4"><text x="51" y="368" font-size="12.5" fill="#d6d4e2" >The original charge appears once.</text><rect x="52" y="374" width="5" height="10" rx="0" fill="#26d3e2" stroke="none" class="cursor"/></g><text x="360" y="430" text-anchor="end" font-size="10" fill="#9ba4b4">6/8</text></g>
<g class="scene verify-receipt" style="--phase:-16s"><text x="34" y="74" font-size="13.5" fill="#9ba4b4" >Agents</text><text x="92" y="74" font-size="13.5" fill="#e8f3f7" >Terminal</text><text x="161" y="74" font-size="13.5" fill="#9ba4b4" >Review</text><text x="218" y="74" font-size="13.5" fill="#9ba4b4" >Analytics</text><rect x="92" y="84" width="48" height="2" rx="1" fill="#26d3e2" stroke="none" /><rect x="31" y="96" width="338" height="201" rx="10" fill="#090a0e" stroke="#262830" /><rect x="42" y="108" width="70" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="122" font-size="12" fill="#b3eef2" font-weight="650">Terminal</text><text x="358" y="122" font-size="11" fill="#9ba4b4" text-anchor="end">Billing · simulated replay</text><g class="appear" style="--name:r5"><text x="42" y="154" font-size="13" fill="#26d3e2" font-family="Menlo, Consolas, monospace">$</text><text x="62" y="154" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">npm test -- payment-timeout</text></g><g class="appear" style="--name:r6"><text x="42" y="173" font-size="13" fill="#26d3e2" font-family="Menlo, Consolas, monospace">✓</text><text x="62" y="173" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">Response lost after charge</text></g><g class="appear" style="--name:r7"><text x="42" y="192" font-size="13" fill="#26d3e2" font-family="Menlo, Consolas, monospace">✓</text><text x="62" y="192" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">Payment lookup found receipt</text></g><g class="appear" style="--name:r8"><text x="42" y="211" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">✓</text><text x="62" y="211" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">Charge attempts: 1</text></g><g class="appear" style="--name:r9"><text x="42" y="230" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">✓</text><text x="62" y="230" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">Duplicate charges: 0</text></g><g class="appear" style="--name:r10"><text x="42" y="249" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">✓</text><text x="62" y="249" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">Owner review requested</text></g><g class="appear" style="--name:r11"><text x="42" y="268" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace"></text><text x="62" y="268" font-size="12.6" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">Receipt attached to the run</text></g><rect x="42" y="277" width="5" height="10" rx="0" fill="#26d3e2" stroke="none" class="cursor"/><text x="360" y="430" text-anchor="end" font-size="10" fill="#9ba4b4">7/8</text></g>
<g class="scene owner-review" style="--phase:-8s"><text x="34" y="74" font-size="13.5" fill="#9ba4b4" >Agents</text><text x="92" y="74" font-size="13.5" fill="#9ba4b4" >Terminal</text><text x="161" y="74" font-size="13.5" fill="#e8f3f7" >Review</text><text x="218" y="74" font-size="13.5" fill="#9ba4b4" >Analytics</text><rect x="161" y="84" width="42" height="2" rx="1" fill="#26d3e2" stroke="none" /><rect x="31" y="96" width="338" height="244" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="108" width="60" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="122" font-size="12" fill="#b3eef2" font-weight="650">Review</text><text x="357" y="122" font-size="12" fill="#9ba4b4" text-anchor="end">Billing · decision</text><rect x="42" y="136" width="316" height="51" rx="8" fill="#1c1e27" stroke="none" /><rect x="50" y="141" width="110" height="20" rx="10" fill="#14323a" stroke="none" /><text x="59" y="155" font-size="12" fill="#b3eef2" font-weight="650">Codex · Billing</text><text x="51" y="178" font-size="12.5" fill="#e8f3f7" >Payment ID matched one ledger entry.</text><rect x="42" y="197" width="316" height="62" rx="8" fill="#090a0e" stroke="none" /><text x="51" y="216" font-size="13" fill="#ec9ea8" font-family="Menlo, Consolas, monospace"> request: POST /charge</text><text x="51" y="234" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace"> receipt: settled</text><text x="51" y="252" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace"> action: keep original charge</text><rect x="42" y="269" width="316" height="39" rx="8" fill="#13151b" stroke="#2d3038" /><text x="52" y="293" font-size="13" fill="#e8f3f7" >Owner decision</text><rect x="261" y="275" width="90" height="26" rx="7" fill="#26d3e2" stroke="none" /><g class="pending"><text x="306" y="293" font-size="13" fill="#071216" font-weight="650" text-anchor="middle">Confirm</text></g><g class="appear" style="--name:r12"><text x="306" y="293" font-size="13" fill="#071216" font-weight="650" text-anchor="middle">✓ Confirmed</text><text x="42" y="328" font-size="12.5" fill="#9ddbbe" >Receipt and decision saved with run 3.</text></g><text x="360" y="430" text-anchor="end" font-size="10" fill="#9ba4b4">8/8</text></g>
<g class="scene poster" style="--phase:-88s"><text x="34" y="74" font-size="13.5" fill="#e8f3f7" >Agents</text><text x="92" y="74" font-size="13.5" fill="#9ba4b4" >Terminal</text><text x="161" y="74" font-size="13.5" fill="#9ba4b4" >Review</text><text x="218" y="74" font-size="13.5" fill="#9ba4b4" >Analytics</text><rect x="34" y="84" width="39" height="2" rx="1" fill="#26d3e2" stroke="none" /><rect x="31" y="96" width="338" height="149" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="106" width="54" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="120" font-size="12" fill="#b3eef2" font-weight="650">Claude</text><text x="357" y="121" font-size="12" fill="#9ba4b4" text-anchor="end">Checkout · run 1</text><rect x="62" y="133" width="295" height="29" rx="8" fill="#14323a" stroke="none" /><text x="71" y="152" font-size="12.5" fill="#e8f3f7" >Why did the second read succeed?</text><rect x="42" y="170" width="306" height="64" rx="8" fill="#1c1e27" stroke="none" /><g class="appear" style="--name:r1"><text x="51" y="191" font-size="12.5" fill="#d6d4e2" >The first GET timed out. A retry worked.</text></g><g class="appear" style="--name:r2"><text x="51" y="211" font-size="12.5" fill="#d6d4e2" >Try one retry on reads only.</text><rect x="52" y="217" width="5" height="10" rx="0" fill="#26d3e2" stroke="none" class="cursor"/></g><rect x="31" y="253" width="338" height="149" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="263" width="54" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="277" font-size="12" fill="#b3eef2" font-weight="650">Codex</text><text x="357" y="278" font-size="12" fill="#9ba4b4" text-anchor="end">Checkout · same trace</text><rect x="62" y="290" width="295" height="29" rx="8" fill="#14323a" stroke="none" /><text x="71" y="309" font-size="12.5" fill="#e8f3f7" >Test Claude’s rule before we reuse it.</text><rect x="42" y="327" width="306" height="64" rx="8" fill="#1c1e27" stroke="none" /><g class="appear" style="--name:r3"><text x="51" y="348" font-size="12.5" fill="#d6d4e2" >Checking reads, writes and repeat timeouts.</text></g><g class="appear" style="--name:r4"><text x="51" y="368" font-size="12.5" fill="#d6d4e2" >I’ll attach the results for review.</text><rect x="52" y="374" width="5" height="10" rx="0" fill="#26d3e2" stroke="none" class="cursor"/></g><text x="360" y="430" text-anchor="end" font-size="10" fill="#9ba4b4">1/11</text></g>
<g class="scene" style="--phase:-80s"><text x="34" y="74" font-size="13.5" fill="#9ba4b4" >Agents</text><text x="92" y="74" font-size="13.5" fill="#e8f3f7" >Terminal</text><text x="161" y="74" font-size="13.5" fill="#9ba4b4" >Review</text><text x="218" y="74" font-size="13.5" fill="#9ba4b4" >Analytics</text><rect x="92" y="84" width="48" height="2" rx="1" fill="#26d3e2" stroke="none" /><rect x="31" y="96" width="338" height="201" rx="10" fill="#090a0e" stroke="#262830" /><rect x="42" y="108" width="70" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="122" font-size="12" fill="#b3eef2" font-weight="650">Terminal</text><text x="358" y="122" font-size="11" fill="#9ba4b4" text-anchor="end">Checkout · simulated session</text><g class="appear" style="--name:r5"><text x="42" y="154" font-size="13" fill="#26d3e2" font-family="Menlo, Consolas, monospace">$</text><text x="62" y="154" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">npx ruflo@latest init</text></g><g class="appear" style="--name:r6"><text x="42" y="173" font-size="13" fill="#26d3e2" font-family="Menlo, Consolas, monospace">›</text><text x="62" y="173" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">/ruflo · Claude Code</text></g><g class="appear" style="--name:r7"><text x="42" y="192" font-size="13" fill="#26d3e2" font-family="Menlo, Consolas, monospace">$</text><text x="62" y="192" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">npm test -- retry</text></g><g class="appear" style="--name:r8"><text x="42" y="211" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">✓</text><text x="62" y="211" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">GET timeout: retry once</text></g><g class="appear" style="--name:r9"><text x="42" y="230" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">✓</text><text x="62" y="230" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">POST timeout: stop</text></g><g class="appear" style="--name:r10"><text x="42" y="249" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">✓</text><text x="62" y="249" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">Second timeout: stop</text></g><g class="appear" style="--name:r11"><text x="42" y="268" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace"></text><text x="62" y="268" font-size="12.6" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">3 rule checks passed</text></g><rect x="42" y="277" width="5" height="10" rx="0" fill="#26d3e2" stroke="none" class="cursor"/><text x="360" y="430" text-anchor="end" font-size="10" fill="#9ba4b4">2/11</text></g>
<g class="scene" style="--phase:-72s"><text x="34" y="74" font-size="13.5" fill="#9ba4b4" >Agents</text><text x="92" y="74" font-size="13.5" fill="#9ba4b4" >Terminal</text><text x="161" y="74" font-size="13.5" fill="#e8f3f7" >Review</text><text x="218" y="74" font-size="13.5" fill="#9ba4b4" >Analytics</text><rect x="161" y="84" width="42" height="2" rx="1" fill="#26d3e2" stroke="none" /><rect x="31" y="96" width="338" height="244" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="108" width="60" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="122" font-size="12" fill="#b3eef2" font-weight="650">Review</text><text x="357" y="122" font-size="12" fill="#9ba4b4" text-anchor="end">Review before saving</text><rect x="42" y="136" width="316" height="51" rx="8" fill="#1c1e27" stroke="none" /><rect x="50" y="141" width="110" height="20" rx="10" fill="#14323a" stroke="none" /><text x="59" y="155" font-size="12" fill="#b3eef2" font-weight="650">Codex · Checkout</text><text x="51" y="178" font-size="12.5" fill="#e8f3f7" >Trace and three checks attached.</text><rect x="42" y="197" width="316" height="62" rx="8" fill="#090a0e" stroke="none" /><text x="51" y="216" font-size="13" fill="#ec9ea8" font-family="Menlo, Consolas, monospace">− on timeout: stop</text><text x="51" y="234" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">+ GET: retry once</text><text x="51" y="252" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">+ writes: never retry</text><rect x="42" y="269" width="316" height="39" rx="8" fill="#13151b" stroke="#2d3038" /><text x="52" y="293" font-size="13" fill="#e8f3f7" >Owner decision</text><rect x="261" y="275" width="90" height="26" rx="7" fill="#26d3e2" stroke="none" /><g class="pending"><text x="306" y="293" font-size="13" fill="#071216" font-weight="650" text-anchor="middle">Approve</text></g><g class="appear" style="--name:r12"><text x="306" y="293" font-size="13" fill="#071216" font-weight="650" text-anchor="middle">✓ Approved</text><text x="42" y="328" font-size="12.5" fill="#9ddbbe" >Lesson M17 saved with its test evidence.</text></g><text x="360" y="430" text-anchor="end" font-size="10" fill="#9ba4b4">3/11</text></g>
<g class="scene recall" style="--phase:-64s"><text x="34" y="74" font-size="13.5" fill="#e8f3f7" >Agents</text><text x="92" y="74" font-size="13.5" fill="#9ba4b4" >Terminal</text><text x="161" y="74" font-size="13.5" fill="#9ba4b4" >Review</text><text x="218" y="74" font-size="13.5" fill="#9ba4b4" >Analytics</text><rect x="34" y="84" width="39" height="2" rx="1" fill="#26d3e2" stroke="none" /><rect x="31" y="96" width="338" height="149" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="106" width="54" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="120" font-size="12" fill="#b3eef2" font-weight="650">Claude</text><text x="357" y="121" font-size="12" fill="#9ba4b4" text-anchor="end">Catalog · memory recall</text><rect x="62" y="133" width="295" height="29" rx="8" fill="#14323a" stroke="none" /><text x="71" y="152" font-size="12.5" fill="#e8f3f7" >A catalog read timed out. Any prior lesson?</text><rect x="42" y="170" width="306" height="64" rx="8" fill="#1c1e27" stroke="none" /><g class="appear" style="--name:r1"><text x="51" y="191" font-size="12.5" fill="#d6d4e2" >Found M17 in Checkout’s approved lessons.</text></g><g class="appear" style="--name:r2"><text x="51" y="211" font-size="12.5" fill="#d6d4e2" >It applies to a timed out GET.</text><rect x="52" y="217" width="5" height="10" rx="0" fill="#26d3e2" stroke="none" class="cursor"/></g><rect x="31" y="253" width="338" height="149" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="263" width="54" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="277" font-size="12" fill="#b3eef2" font-weight="650">Codex</text><text x="357" y="278" font-size="12" fill="#9ba4b4" text-anchor="end">Catalog · replay</text><rect x="62" y="290" width="295" height="29" rx="8" fill="#14323a" stroke="none" /><text x="71" y="309" font-size="12.5" fill="#e8f3f7" >Apply M17 to this read.</text><rect x="42" y="327" width="306" height="64" rx="8" fill="#1c1e27" stroke="none" /><g class="appear" style="--name:r3"><text x="51" y="348" font-size="12.5" fill="#d6d4e2" >The retry returned 200. Writes stay untouched.</text></g><g class="appear" style="--name:r4"><text x="51" y="368" font-size="12.5" fill="#d6d4e2" >Now replay all eight cases with and without M17.</text><rect x="52" y="374" width="5" height="10" rx="0" fill="#26d3e2" stroke="none" class="cursor"/></g><text x="360" y="430" text-anchor="end" font-size="10" fill="#9ba4b4">4/11</text></g>
<g class="scene" style="--phase:-56s"><text x="34" y="74" font-size="13.5" fill="#9ba4b4" >Agents</text><text x="92" y="74" font-size="13.5" fill="#9ba4b4" >Terminal</text><text x="161" y="74" font-size="13.5" fill="#9ba4b4" >Review</text><text x="218" y="74" font-size="13.5" fill="#e8f3f7" >Analytics</text><rect x="218" y="84" width="56" height="2" rx="1" fill="#26d3e2" stroke="none" /><rect x="31" y="96" width="125" height="20" rx="10" fill="#14323a" stroke="none" /><text x="40" y="110" font-size="12" fill="#b3eef2" font-weight="650">Learning analytics</text><text x="367" y="111" font-size="12" fill="#9ba4b4" text-anchor="end">Catalog · run 2</text><rect x="31" y="123" width="338" height="128" rx="10" fill="#13151b" stroke="#292b32" /><text x="42" y="144" font-size="14" fill="#e8f3f7" font-weight="650">Passing cases by replay</text><rect x="42" y="204" width="12" height="7" rx="2" fill="#535967" stroke="none" /><rect x="55" y="204" width="13" height="7" rx="2" fill="url(#bars)" stroke="none" class="grow"/><rect x="82" y="197" width="12" height="14" rx="2" fill="#535967" stroke="none" /><rect x="95" y="197" width="13" height="14" rx="2" fill="url(#bars)" stroke="none" class="grow"/><rect x="122" y="197" width="12" height="14" rx="2" fill="#535967" stroke="none" /><rect x="135" y="190" width="13" height="21" rx="2" fill="url(#bars)" stroke="none" class="grow"/><rect x="162" y="190" width="12" height="21" rx="2" fill="#535967" stroke="none" /><rect x="175" y="183" width="13" height="28" rx="2" fill="url(#bars)" stroke="none" class="grow"/><rect x="202" y="183" width="12" height="28" rx="2" fill="#535967" stroke="none" /><rect x="215" y="176" width="13" height="35" rx="2" fill="url(#bars)" stroke="none" class="grow"/><rect x="242" y="176" width="12" height="35" rx="2" fill="#535967" stroke="none" /><rect x="255" y="169" width="13" height="42" rx="2" fill="url(#bars)" stroke="none" class="grow"/><rect x="282" y="176" width="12" height="35" rx="2" fill="#535967" stroke="none" /><rect x="295" y="162" width="13" height="49" rx="2" fill="url(#bars)" stroke="none" class="grow"/><rect x="322" y="169" width="12" height="42" rx="2" fill="#535967" stroke="none" /><rect x="335" y="155" width="13" height="56" rx="2" fill="url(#bars)" stroke="none" class="grow"/><text x="42" y="235" font-size="12" fill="#636a79" >■</text><text x="56" y="235" font-size="11.5" fill="#9ba4b4" >Without memory</text><text x="194" y="235" font-size="12" fill="#26d3e2" >■</text><text x="208" y="235" font-size="11.5" fill="#9ba4b4" >With M17</text><rect x="31" y="260" width="165" height="91" rx="10" fill="#13151b" stroke="#292b32" /><text x="41" y="282" font-size="13" fill="#e8f3f7" font-weight="650">Without memory</text><text x="41" y="313" font-size="23" fill="#afb4c1" font-weight="650">6 / 8</text><rect x="41" y="327" width="142" height="6" rx="3" fill="#292c34" stroke="none" /><rect x="41" y="327" width="106" height="6" rx="3" fill="#afb4c1" stroke="none" class="grow"/><rect x="204" y="260" width="165" height="91" rx="10" fill="#13151b" stroke="#292b32" /><text x="214" y="282" font-size="13" fill="#e8f3f7" font-weight="650">With lesson M17</text><text x="214" y="313" font-size="23" fill="#8de0e8" font-weight="650">8 / 8</text><rect x="214" y="327" width="142" height="6" rx="3" fill="#292c34" stroke="none" /><rect x="214" y="327" width="142" height="6" rx="3" fill="#8de0e8" stroke="none" class="grow"/><text x="32" y="374" font-size="12" fill="#9ba4b4" >Both runs replay the same eight fresh cases.</text><text x="360" y="430" text-anchor="end" font-size="10" fill="#9ba4b4">5/11</text></g>
<g class="scene scope-check" style="--phase:-48s"><text x="34" y="74" font-size="13.5" fill="#e8f3f7" >Agents</text><text x="92" y="74" font-size="13.5" fill="#9ba4b4" >Terminal</text><text x="161" y="74" font-size="13.5" fill="#9ba4b4" >Review</text><text x="218" y="74" font-size="13.5" fill="#9ba4b4" >Analytics</text><rect x="34" y="84" width="39" height="2" rx="1" fill="#26d3e2" stroke="none" /><rect x="31" y="96" width="338" height="149" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="106" width="54" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="120" font-size="12" fill="#b3eef2" font-weight="650">Claude</text><text x="357" y="121" font-size="12" fill="#9ba4b4" text-anchor="end">Billing · run 3</text><rect x="62" y="133" width="295" height="29" rx="8" fill="#14323a" stroke="none" /><text x="71" y="152" font-size="12.5" fill="#e8f3f7" >A payment timed out. Can we retry?</text><rect x="42" y="170" width="306" height="64" rx="8" fill="#1c1e27" stroke="none" /><g class="appear" style="--name:r1"><text x="51" y="191" font-size="12.5" fill="#d6d4e2" >M17 covers reads. This was a POST.</text></g><g class="appear" style="--name:r2"><text x="51" y="211" font-size="12.5" fill="#d6d4e2" >The payment may already have settled.</text><rect x="52" y="217" width="5" height="10" rx="0" fill="#26d3e2" stroke="none" class="cursor"/></g><rect x="31" y="253" width="338" height="149" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="263" width="54" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="277" font-size="12" fill="#b3eef2" font-weight="650">Codex</text><text x="357" y="278" font-size="12" fill="#9ba4b4" text-anchor="end">Billing · payment trace</text><rect x="62" y="290" width="295" height="29" rx="8" fill="#14323a" stroke="none" /><text x="71" y="309" font-size="12.5" fill="#e8f3f7" >Check the receipt before doing anything.</text><rect x="42" y="327" width="306" height="64" rx="8" fill="#1c1e27" stroke="none" /><g class="appear" style="--name:r3"><text x="51" y="348" font-size="12.5" fill="#d6d4e2" >I’ll read the ledger by payment ID.</text></g><g class="appear" style="--name:r4"><text x="51" y="368" font-size="12.5" fill="#d6d4e2" >The original charge appears once.</text><rect x="52" y="374" width="5" height="10" rx="0" fill="#26d3e2" stroke="none" class="cursor"/></g><text x="360" y="430" text-anchor="end" font-size="10" fill="#9ba4b4">6/11</text></g>
<g class="scene verify-receipt" style="--phase:-40s"><text x="34" y="74" font-size="13.5" fill="#9ba4b4" >Agents</text><text x="92" y="74" font-size="13.5" fill="#e8f3f7" >Terminal</text><text x="161" y="74" font-size="13.5" fill="#9ba4b4" >Review</text><text x="218" y="74" font-size="13.5" fill="#9ba4b4" >Analytics</text><rect x="92" y="84" width="48" height="2" rx="1" fill="#26d3e2" stroke="none" /><rect x="31" y="96" width="338" height="201" rx="10" fill="#090a0e" stroke="#262830" /><rect x="42" y="108" width="70" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="122" font-size="12" fill="#b3eef2" font-weight="650">Terminal</text><text x="358" y="122" font-size="11" fill="#9ba4b4" text-anchor="end">Billing · simulated replay</text><g class="appear" style="--name:r5"><text x="42" y="154" font-size="13" fill="#26d3e2" font-family="Menlo, Consolas, monospace">$</text><text x="62" y="154" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">npm test -- payment-timeout</text></g><g class="appear" style="--name:r6"><text x="42" y="173" font-size="13" fill="#26d3e2" font-family="Menlo, Consolas, monospace">✓</text><text x="62" y="173" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">Response lost after charge</text></g><g class="appear" style="--name:r7"><text x="42" y="192" font-size="13" fill="#26d3e2" font-family="Menlo, Consolas, monospace">✓</text><text x="62" y="192" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">Payment lookup found receipt</text></g><g class="appear" style="--name:r8"><text x="42" y="211" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">✓</text><text x="62" y="211" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">Charge attempts: 1</text></g><g class="appear" style="--name:r9"><text x="42" y="230" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">✓</text><text x="62" y="230" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">Duplicate charges: 0</text></g><g class="appear" style="--name:r10"><text x="42" y="249" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">✓</text><text x="62" y="249" font-size="12.6" fill="#dedbe8" font-family="Menlo, Consolas, monospace">Owner review requested</text></g><g class="appear" style="--name:r11"><text x="42" y="268" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace"></text><text x="62" y="268" font-size="12.6" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">Receipt attached to the run</text></g><rect x="42" y="277" width="5" height="10" rx="0" fill="#26d3e2" stroke="none" class="cursor"/><text x="360" y="430" text-anchor="end" font-size="10" fill="#9ba4b4">7/11</text></g>
<g class="scene owner-review" style="--phase:-32s"><text x="34" y="74" font-size="13.5" fill="#9ba4b4" >Agents</text><text x="92" y="74" font-size="13.5" fill="#9ba4b4" >Terminal</text><text x="161" y="74" font-size="13.5" fill="#e8f3f7" >Review</text><text x="218" y="74" font-size="13.5" fill="#9ba4b4" >Analytics</text><rect x="161" y="84" width="42" height="2" rx="1" fill="#26d3e2" stroke="none" /><rect x="31" y="96" width="338" height="244" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="108" width="60" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="122" font-size="12" fill="#b3eef2" font-weight="650">Review</text><text x="357" y="122" font-size="12" fill="#9ba4b4" text-anchor="end">Billing · decision</text><rect x="42" y="136" width="316" height="51" rx="8" fill="#1c1e27" stroke="none" /><rect x="50" y="141" width="110" height="20" rx="10" fill="#14323a" stroke="none" /><text x="59" y="155" font-size="12" fill="#b3eef2" font-weight="650">Codex · Billing</text><text x="51" y="178" font-size="12.5" fill="#e8f3f7" >Payment ID matched one ledger entry.</text><rect x="42" y="197" width="316" height="62" rx="8" fill="#090a0e" stroke="none" /><text x="51" y="216" font-size="13" fill="#ec9ea8" font-family="Menlo, Consolas, monospace"> request: POST /charge</text><text x="51" y="234" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace"> receipt: settled</text><text x="51" y="252" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace"> action: keep original charge</text><rect x="42" y="269" width="316" height="39" rx="8" fill="#13151b" stroke="#2d3038" /><text x="52" y="293" font-size="13" fill="#e8f3f7" >Owner decision</text><rect x="261" y="275" width="90" height="26" rx="7" fill="#26d3e2" stroke="none" /><g class="pending"><text x="306" y="293" font-size="13" fill="#071216" font-weight="650" text-anchor="middle">Confirm</text></g><g class="appear" style="--name:r12"><text x="306" y="293" font-size="13" fill="#071216" font-weight="650" text-anchor="middle">✓ Confirmed</text><text x="42" y="328" font-size="12.5" fill="#9ddbbe" >Receipt and decision saved with run 3.</text></g><text x="360" y="430" text-anchor="end" font-size="10" fill="#9ba4b4">8/11</text></g>
<g class="scene adr-decision" style="--phase:-24s"><text x="34" y="74" font-size="13.5" fill="#9ba4b4" >Agents</text><text x="92" y="74" font-size="13.5" fill="#9ba4b4" >Terminal</text><text x="161" y="74" font-size="13.5" fill="#e8f3f7" >Review</text><text x="218" y="74" font-size="13.5" fill="#9ba4b4" >Analytics</text><rect x="161" y="84" width="42" height="2" rx="1" fill="#26d3e2" stroke="none" /><rect x="31" y="96" width="338" height="244" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="108" width="60" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="122" font-size="12" fill="#b3eef2" font-weight="650">ADR</text><text x="357" y="122" font-size="12" fill="#9ba4b4" text-anchor="end">Architecture decision record</text><rect x="42" y="136" width="316" height="51" rx="8" fill="#1c1e27" stroke="none" /><rect x="50" y="141" width="110" height="20" rx="10" fill="#14323a" stroke="none" /><text x="59" y="155" font-size="12" fill="#b3eef2" font-weight="650">A1 · Retry policy</text><text x="51" y="178" font-size="12.5" fill="#e8f3f7" >Why: repeating a charge can bill twice.</text><rect x="42" y="197" width="316" height="62" rx="8" fill="#090a0e" stroke="none" /><text x="51" y="216" font-size="13" fill="#ec9ea8" font-family="Menlo, Consolas, monospace">Reads: retry once on timeout</text><text x="51" y="234" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">Writes: look up the receipt</text><text x="51" y="252" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">Evidence: M17 + Billing trace</text><rect x="42" y="269" width="316" height="39" rx="8" fill="#13151b" stroke="#2d3038" /><text x="52" y="293" font-size="13" fill="#e8f3f7" >Owner decision</text><rect x="261" y="275" width="90" height="26" rx="7" fill="#26d3e2" stroke="none" /><g class="pending"><text x="306" y="293" font-size="13" fill="#071216" font-weight="650" text-anchor="middle">Accept</text></g><g class="appear" style="--name:r12"><text x="306" y="293" font-size="13" fill="#071216" font-weight="650" text-anchor="middle">✓ Accepted</text><text x="42" y="328" font-size="12.5" fill="#9ddbbe" >ADR A1 accepted. Lesson M17 cites A1.</text></g><text x="360" y="430" text-anchor="end" font-size="10" fill="#9ba4b4">9/11</text></g>
<g class="scene adr-recall" style="--phase:-16s"><text x="34" y="74" font-size="13.5" fill="#e8f3f7" >Agents</text><text x="92" y="74" font-size="13.5" fill="#9ba4b4" >Terminal</text><text x="161" y="74" font-size="13.5" fill="#9ba4b4" >Review</text><text x="218" y="74" font-size="13.5" fill="#9ba4b4" >Analytics</text><rect x="34" y="84" width="39" height="2" rx="1" fill="#26d3e2" stroke="none" /><rect x="31" y="96" width="338" height="149" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="106" width="54" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="120" font-size="12" fill="#b3eef2" font-weight="650">Claude</text><text x="357" y="121" font-size="12" fill="#9ba4b4" text-anchor="end">Orders · run 4</text><rect x="62" y="133" width="295" height="29" rx="8" fill="#14323a" stroke="none" /><text x="71" y="152" font-size="12.5" fill="#e8f3f7" >A read timed out. What did Checkout learn?</text><rect x="42" y="170" width="306" height="64" rx="8" fill="#1c1e27" stroke="none" /><g class="appear" style="--name:r1"><text x="51" y="191" font-size="12.5" fill="#d6d4e2" >Memory found M17, backed by ADR A1.</text></g><g class="appear" style="--name:r2"><text x="51" y="211" font-size="12.5" fill="#d6d4e2" >One retry is allowed for this GET.</text><rect x="52" y="217" width="5" height="10" rx="0" fill="#26d3e2" stroke="none" class="cursor"/></g><rect x="31" y="253" width="338" height="149" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="263" width="54" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="277" font-size="12" fill="#b3eef2" font-weight="650">Codex</text><text x="357" y="278" font-size="12" fill="#9ba4b4" text-anchor="end">Orders · replay</text><rect x="62" y="290" width="295" height="29" rx="8" fill="#14323a" stroke="none" /><text x="71" y="309" font-size="12.5" fill="#e8f3f7" >Did the retry help before the deadline?</text><rect x="42" y="327" width="306" height="64" rx="8" fill="#1c1e27" stroke="none" /><g class="appear" style="--name:r3"><text x="51" y="348" font-size="12.5" fill="#d6d4e2" >The retry succeeded after the caller left.</text></g><g class="appear" style="--name:r4"><text x="51" y="368" font-size="12.5" fill="#d6d4e2" >Record the late result as a failed case.</text><rect x="52" y="374" width="5" height="10" rx="0" fill="#26d3e2" stroke="none" class="cursor"/></g><text x="360" y="430" text-anchor="end" font-size="10" fill="#9ba4b4">10/11</text></g>
<g class="scene adr-revision" style="--phase:-8s"><text x="34" y="74" font-size="13.5" fill="#9ba4b4" >Agents</text><text x="92" y="74" font-size="13.5" fill="#9ba4b4" >Terminal</text><text x="161" y="74" font-size="13.5" fill="#e8f3f7" >Review</text><text x="218" y="74" font-size="13.5" fill="#9ba4b4" >Analytics</text><rect x="161" y="84" width="42" height="2" rx="1" fill="#26d3e2" stroke="none" /><rect x="31" y="96" width="338" height="244" rx="10" fill="#13151b" stroke="#292b32" /><rect x="42" y="108" width="60" height="20" rx="10" fill="#14323a" stroke="none" /><text x="51" y="122" font-size="12" fill="#b3eef2" font-weight="650">Review</text><text x="357" y="122" font-size="12" fill="#9ba4b4" text-anchor="end">ADR revision · proposed</text><rect x="42" y="136" width="316" height="51" rx="8" fill="#1c1e27" stroke="none" /><rect x="50" y="141" width="110" height="20" rx="10" fill="#14323a" stroke="none" /><text x="59" y="155" font-size="12" fill="#b3eef2" font-weight="650">A2 · Deadline</text><text x="51" y="178" font-size="12.5" fill="#e8f3f7" >Replay: the old rule missed the caller deadline.</text><rect x="42" y="197" width="316" height="62" rx="8" fill="#090a0e" stroke="none" /><text x="51" y="216" font-size="13" fill="#ec9ea8" font-family="Menlo, Consolas, monospace"> A1: retry a timed out GET</text><text x="51" y="234" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace">+ A2: check remaining time</text><text x="51" y="252" font-size="13" fill="#9ddbbe" font-family="Menlo, Consolas, monospace"> Keep the write restriction</text><rect x="42" y="269" width="316" height="39" rx="8" fill="#13151b" stroke="#2d3038" /><text x="52" y="293" font-size="13" fill="#e8f3f7" >Owner decision</text><rect x="261" y="275" width="90" height="26" rx="7" fill="#26d3e2" stroke="none" /><g class="pending"><text x="306" y="293" font-size="13" fill="#071216" font-weight="650" text-anchor="middle">Approve</text></g><g class="appear" style="--name:r12"><text x="306" y="293" font-size="13" fill="#071216" font-weight="650" text-anchor="middle">✓ Approved</text><text x="42" y="328" font-size="12.5" fill="#9ddbbe" >A2 supersedes A1. M17 now cites A2.</text></g><text x="360" y="430" text-anchor="end" font-size="10" fill="#9ba4b4">11/11</text></g>
</g></svg>

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 32 KiB