pwn 0.5.779 → 0.5.781

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -3
  3. data/documentation/AI-Integration.md +4 -4
  4. data/documentation/AWS.md +10 -9
  5. data/documentation/Agent-Tool-Registry.md +20 -17
  6. data/documentation/Blockchain.md +3 -2
  7. data/documentation/Bounty.md +8 -6
  8. data/documentation/BurpSuite.md +6 -10
  9. data/documentation/CLI-Drivers.md +7 -4
  10. data/documentation/Capability-Broker-Sandbox.md +1 -1
  11. data/documentation/Configuration.md +23 -15
  12. data/documentation/Contributing.md +3 -3
  13. data/documentation/Cron.md +3 -2
  14. data/documentation/Diagrams.md +9 -3
  15. data/documentation/Drivers.md +12 -6
  16. data/documentation/Extrospection.md +25 -5
  17. data/documentation/FFI.md +15 -25
  18. data/documentation/Fuzzing.md +13 -13
  19. data/documentation/General-PWN-Usage.md +7 -4
  20. data/documentation/Harness-Evaluation.md +90 -3
  21. data/documentation/Home.md +6 -5
  22. data/documentation/How-PWN-Works.md +9 -10
  23. data/documentation/Installation.md +12 -11
  24. data/documentation/Metasploit.md +13 -19
  25. data/documentation/Mistakes.md +2 -2
  26. data/documentation/NmapIt.md +6 -3
  27. data/documentation/Operability.md +99 -0
  28. data/documentation/Persistence.md +3 -2
  29. data/documentation/Plugin-Degradation.md +4 -2
  30. data/documentation/Plugins.md +4 -11
  31. data/documentation/Policy-Benchmark.md +4 -0
  32. data/documentation/Reinforcement-Learning.md +19 -3
  33. data/documentation/Reporting.md +6 -5
  34. data/documentation/SAST.md +15 -10
  35. data/documentation/SDR-Decoder-Coverage.md +10 -4
  36. data/documentation/SDR.md +28 -40
  37. data/documentation/Session-Workflow.md +25 -12
  38. data/documentation/Sessions.md +7 -0
  39. data/documentation/Skills-Memory-Learning.md +11 -4
  40. data/documentation/Swarm.md +6 -0
  41. data/documentation/Transparent-Browser.md +1 -1
  42. data/documentation/Troubleshooting.md +6 -3
  43. data/documentation/What-is-PWN.md +4 -4
  44. data/documentation/Why-PWN.md +1 -1
  45. data/documentation/diagrams/agent-tool-registry.svg +219 -180
  46. data/documentation/diagrams/ai-integration-tool-calling.svg +35 -34
  47. data/documentation/diagrams/code-scanning-sast.svg +78 -78
  48. data/documentation/diagrams/cron-scheduling.svg +165 -145
  49. data/documentation/diagrams/dot/_THEME.md +6 -4
  50. data/documentation/diagrams/dot/agent-tool-registry.dot +6 -2
  51. data/documentation/diagrams/dot/ai-integration-tool-calling.dot +1 -1
  52. data/documentation/diagrams/dot/code-scanning-sast.dot +8 -8
  53. data/documentation/diagrams/dot/cron-scheduling.dot +2 -0
  54. data/documentation/diagrams/dot/driver-framework.dot +1 -1
  55. data/documentation/diagrams/dot/extrospection-world-awareness.dot +2 -2
  56. data/documentation/diagrams/dot/fuzzing-workflow.dot +3 -3
  57. data/documentation/diagrams/dot/history-to-drivers.dot +1 -1
  58. data/documentation/diagrams/dot/memory-skills-detailed.dot +3 -3
  59. data/documentation/diagrams/dot/mistakes-negative-feedback.dot +2 -2
  60. data/documentation/diagrams/dot/overall-pwn-architecture.dot +33 -121
  61. data/documentation/diagrams/dot/persistence-filesystem.dot +2 -2
  62. data/documentation/diagrams/dot/plugin-ecosystem.dot +2 -2
  63. data/documentation/diagrams/dot/pwn-ai-feedback-learning-loop.dot +31 -167
  64. data/documentation/diagrams/dot/pwn-repl-prototyping.dot +1 -1
  65. data/documentation/diagrams/dot/reinforcement-learning.dot +15 -7
  66. data/documentation/diagrams/dot/reporting-pipeline.dot +5 -3
  67. data/documentation/diagrams/dot/reverse-engineering-flow.dot +3 -3
  68. data/documentation/diagrams/dot/sdr-radio-flow.dot +5 -5
  69. data/documentation/diagrams/dot/sessions-cron-automation.dot +1 -1
  70. data/documentation/diagrams/dot/swarm-multi-agent.dot +3 -3
  71. data/documentation/diagrams/dot/task-summarizer.dot +2 -2
  72. data/documentation/diagrams/dot/web-application-testing.dot +4 -3
  73. data/documentation/diagrams/dot/zero-day-research-flow.dot +4 -3
  74. data/documentation/diagrams/driver-framework.svg +1 -1
  75. data/documentation/diagrams/extrospection-world-awareness.svg +178 -178
  76. data/documentation/diagrams/fuzzing-workflow.svg +58 -58
  77. data/documentation/diagrams/history-to-drivers.svg +42 -42
  78. data/documentation/diagrams/memory-skills-detailed.svg +210 -210
  79. data/documentation/diagrams/mistakes-negative-feedback.svg +116 -116
  80. data/documentation/diagrams/overall-pwn-architecture.svg +248 -404
  81. data/documentation/diagrams/persistence-filesystem.svg +143 -143
  82. data/documentation/diagrams/plugin-ecosystem.svg +100 -100
  83. data/documentation/diagrams/pwn-ai-feedback-learning-loop.svg +233 -752
  84. data/documentation/diagrams/pwn-repl-prototyping.svg +27 -27
  85. data/documentation/diagrams/reinforcement-learning.svg +295 -221
  86. data/documentation/diagrams/reporting-pipeline.svg +94 -80
  87. data/documentation/diagrams/reverse-engineering-flow.svg +31 -31
  88. data/documentation/diagrams/sdr-radio-flow.svg +157 -155
  89. data/documentation/diagrams/sessions-cron-automation.svg +13 -13
  90. data/documentation/diagrams/swarm-multi-agent.svg +86 -86
  91. data/documentation/diagrams/task-summarizer.svg +57 -57
  92. data/documentation/diagrams/web-application-testing.svg +81 -75
  93. data/documentation/diagrams/zero-day-research-flow.svg +101 -92
  94. data/documentation/pwn-REPL.md +5 -3
  95. data/documentation/pwn-ai-Agent.md +18 -14
  96. data/documentation/pwn_silent_help_learn_demo.gif +0 -0
  97. data/etc/default_skills/pwn/ai/agent/learning/SKILL.md +1 -0
  98. data/lib/pwn/ai/agent/learning.rb +46 -1
  99. data/lib/pwn/ai/agent/loop.rb +6 -3
  100. data/lib/pwn/ai/agent/policy_evaluation.rb +5 -1
  101. data/lib/pwn/ai/agent/reward.rb +9 -0
  102. data/lib/pwn/version.rb +1 -1
  103. data/spec/fixtures/harness/completion_regressions.json +10 -0
  104. data/spec/fixtures/harness/completion_regressions.json.sha256 +1 -0
  105. data/spec/integration/harness_evaluation_spec.rb +13 -0
  106. data/spec/lib/pwn/ai/agent/learning_spec.rb +22 -0
  107. data/spec/lib/pwn/ai/agent/loop_spec.rb +39 -0
  108. data/spec/lib/pwn/ai/agent/policy_evaluation_spec.rb +6 -1
  109. data/spec/lib/pwn/ai/agent/reward_spec.rb +21 -0
  110. data/spec/support/harness/evaluate.rb +1 -1
  111. data/third_party/pwn_rdoc.jsonl +2 -1
  112. metadata +10 -7
@@ -4,32 +4,32 @@
4
4
  <!-- Generated by graphviz version 14.1.2 (0)
5
5
  -->
6
6
  <!-- Title: PWN_Mistakes_Negative_Feedback Pages: 1 -->
7
- <svg width="1042pt" height="908pt"
8
- viewBox="0.00 0.00 1042.00 908.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
7
+ <svg width="1068pt" height="908pt"
8
+ viewBox="0.00 0.00 1068.00 908.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
9
9
  <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(43.2 864.64)">
10
10
  <title>PWN_Mistakes_Negative_Feedback</title>
11
- <polygon fill="#0f172a" stroke="none" points="-43.2,43.2 -43.2,-864.64 999.2,-864.64 999.2,43.2 -43.2,43.2"/>
12
- <text xml:space="preserve" text-anchor="start" x="227.88" y="-799.44" font-family="sans-Serif" font-weight="bold" font-size="20.00" fill="#e2e8f0">PWN::AI::Agent::Mistakes &#45; Negative&#45;Feedback Loop</text>
13
- <text xml:space="preserve" text-anchor="start" x="301.75" y="-787.99" font-family="sans-Serif" font-size="11.00" fill="#94a3b8">learn from mistakes · do NOT repeat them · cross&#45;session · self&#45;correcting</text>
11
+ <polygon fill="#0f172a" stroke="none" points="-43.2,43.2 -43.2,-864.64 1025.2,-864.64 1025.2,43.2 -43.2,43.2"/>
12
+ <text xml:space="preserve" text-anchor="start" x="240.88" y="-799.44" font-family="sans-Serif" font-weight="bold" font-size="20.00" fill="#e2e8f0">PWN::AI::Agent::Mistakes &#45; Negative&#45;Feedback Loop</text>
13
+ <text xml:space="preserve" text-anchor="start" x="314.75" y="-787.99" font-family="sans-Serif" font-size="11.00" fill="#94a3b8">learn from mistakes · do NOT repeat them · cross&#45;session · self&#45;correcting</text>
14
14
  <g id="clust1" class="cluster">
15
15
  <title>cluster_in</title>
16
- <path fill="#450a0a" stroke="#b91c1c" stroke-dasharray="5,2" d="M20,-678.69C20,-678.69 936,-678.69 936,-678.69 942,-678.69 948,-684.69 948,-690.69 948,-690.69 948,-762.44 948,-762.44 948,-768.44 942,-774.44 936,-774.44 936,-774.44 20,-774.44 20,-774.44 14,-774.44 8,-768.44 8,-762.44 8,-762.44 8,-690.69 8,-690.69 8,-684.69 14,-678.69 20,-678.69"/>
17
- <text xml:space="preserve" text-anchor="middle" x="478" y="-751.44" font-family="sans-Serif" font-size="20.00" fill="#fecaca">Five ingest paths</text>
16
+ <path fill="#450a0a" stroke="#b91c1c" stroke-dasharray="5,2" d="M20,-678.69C20,-678.69 962,-678.69 962,-678.69 968,-678.69 974,-684.69 974,-690.69 974,-690.69 974,-762.44 974,-762.44 974,-768.44 968,-774.44 962,-774.44 962,-774.44 20,-774.44 20,-774.44 14,-774.44 8,-768.44 8,-762.44 8,-762.44 8,-690.69 8,-690.69 8,-684.69 14,-678.69 20,-678.69"/>
17
+ <text xml:space="preserve" text-anchor="middle" x="491" y="-751.44" font-family="sans-Serif" font-size="20.00" fill="#fecaca">Five ingest paths</text>
18
18
  </g>
19
19
  <g id="clust3" class="cluster">
20
20
  <title>cluster_fp</title>
21
- <path fill="#022c22" stroke="#047857" stroke-width="2" d="M185,-536.44C185,-536.44 605,-536.44 605,-536.44 611,-536.44 617,-542.44 617,-548.44 617,-548.44 617,-620.19 617,-620.19 617,-626.19 611,-632.19 605,-632.19 605,-632.19 185,-632.19 185,-632.19 179,-632.19 173,-626.19 173,-620.19 173,-620.19 173,-548.44 173,-548.44 173,-542.44 179,-536.44 185,-536.44"/>
22
- <text xml:space="preserve" text-anchor="middle" x="395" y="-609.19" font-family="sans-Serif" font-size="20.00" fill="#a7f3d0">Fingerprint &#160;(stable across sessions)</text>
21
+ <path fill="#022c22" stroke="#047857" stroke-width="2" d="M198,-536.44C198,-536.44 618,-536.44 618,-536.44 624,-536.44 630,-542.44 630,-548.44 630,-548.44 630,-620.19 630,-620.19 630,-626.19 624,-632.19 618,-632.19 618,-632.19 198,-632.19 198,-632.19 192,-632.19 186,-626.19 186,-620.19 186,-620.19 186,-548.44 186,-548.44 186,-542.44 192,-536.44 198,-536.44"/>
22
+ <text xml:space="preserve" text-anchor="middle" x="408" y="-609.19" font-family="sans-Serif" font-size="20.00" fill="#a7f3d0">Fingerprint &#160;(stable across sessions)</text>
23
23
  </g>
24
24
  <g id="clust5" class="cluster">
25
25
  <title>cluster_react</title>
26
- <path fill="#2e1065" stroke="#6d28d9" stroke-width="2" d="M312,-230.75C312,-230.75 866,-230.75 866,-230.75 872,-230.75 878,-236.75 878,-242.75 878,-242.75 878,-328 878,-328 878,-334 872,-340 866,-340 866,-340 312,-340 312,-340 306,-340 300,-334 300,-328 300,-328 300,-242.75 300,-242.75 300,-236.75 306,-230.75 312,-230.75"/>
27
- <text xml:space="preserve" text-anchor="middle" x="589" y="-317" font-family="sans-Serif" font-size="20.00" fill="#ddd6fe">Reactions inside Loop.run</text>
26
+ <path fill="#2e1065" stroke="#6d28d9" stroke-width="2" d="M325,-230.75C325,-230.75 879,-230.75 879,-230.75 885,-230.75 891,-236.75 891,-242.75 891,-242.75 891,-328 891,-328 891,-334 885,-340 879,-340 879,-340 325,-340 325,-340 319,-340 313,-334 313,-328 313,-328 313,-242.75 313,-242.75 313,-236.75 319,-230.75 325,-230.75"/>
27
+ <text xml:space="preserve" text-anchor="middle" x="602" y="-317" font-family="sans-Serif" font-size="20.00" fill="#ddd6fe">Reactions inside Loop.run</text>
28
28
  </g>
29
29
  <g id="clust7" class="cluster">
30
30
  <title>cluster_out</title>
31
- <path fill="#422006" stroke="#a16207" stroke-width="2" d="M182,-110.5C182,-110.5 660,-110.5 660,-110.5 666,-110.5 672,-116.5 672,-122.5 672,-122.5 672,-181.75 672,-181.75 672,-187.75 666,-193.75 660,-193.75 660,-193.75 182,-193.75 182,-193.75 176,-193.75 170,-187.75 170,-181.75 170,-181.75 170,-122.5 170,-122.5 170,-116.5 176,-110.5 182,-110.5"/>
32
- <text xml:space="preserve" text-anchor="middle" x="421" y="-170.75" font-family="sans-Serif" font-size="20.00" fill="#fde68a">Injected into every future prompt</text>
31
+ <path fill="#422006" stroke="#a16207" stroke-width="2" d="M195,-110.5C195,-110.5 673,-110.5 673,-110.5 679,-110.5 685,-116.5 685,-122.5 685,-122.5 685,-181.75 685,-181.75 685,-187.75 679,-193.75 673,-193.75 673,-193.75 195,-193.75 195,-193.75 189,-193.75 183,-187.75 183,-181.75 183,-181.75 183,-122.5 183,-122.5 183,-116.5 189,-110.5 195,-110.5"/>
32
+ <text xml:space="preserve" text-anchor="middle" x="434" y="-170.75" font-family="sans-Serif" font-size="20.00" fill="#fde68a">Injected into every future prompt</text>
33
33
  </g>
34
34
  <!-- ToolFail -->
35
35
  <g id="node1" class="node">
@@ -41,241 +41,241 @@
41
41
  <!-- Norm -->
42
42
  <g id="node6" class="node">
43
43
  <title>Norm</title>
44
- <path fill="#6ee7b7" stroke="#334155" stroke-width="1.4" d="M347,-592.94C347,-592.94 193,-592.94 193,-592.94 187,-592.94 181,-586.94 181,-580.94 181,-580.94 181,-556.44 181,-556.44 181,-550.44 187,-544.44 193,-544.44 193,-544.44 347,-544.44 347,-544.44 353,-544.44 359,-550.44 359,-556.44 359,-556.44 359,-580.94 359,-580.94 359,-586.94 353,-592.94 347,-592.94"/>
45
- <text xml:space="preserve" text-anchor="middle" x="270" y="-578.49" font-family="sans-Serif" font-size="11.00" fill="#0f172a">normalize_error()</text>
46
- <text xml:space="preserve" text-anchor="middle" x="270" y="-564.99" font-family="sans-Serif" font-size="11.00" fill="#0f172a">strip paths · :LINE · 0xADDR</text>
47
- <text xml:space="preserve" text-anchor="middle" x="270" y="-551.49" font-family="sans-Serif" font-size="11.00" fill="#0f172a">port N · TIMESTAMP · UUID · pid</text>
44
+ <path fill="#6ee7b7" stroke="#334155" stroke-width="1.4" d="M360,-592.94C360,-592.94 206,-592.94 206,-592.94 200,-592.94 194,-586.94 194,-580.94 194,-580.94 194,-556.44 194,-556.44 194,-550.44 200,-544.44 206,-544.44 206,-544.44 360,-544.44 360,-544.44 366,-544.44 372,-550.44 372,-556.44 372,-556.44 372,-580.94 372,-580.94 372,-586.94 366,-592.94 360,-592.94"/>
45
+ <text xml:space="preserve" text-anchor="middle" x="283" y="-578.49" font-family="sans-Serif" font-size="11.00" fill="#0f172a">normalize_error()</text>
46
+ <text xml:space="preserve" text-anchor="middle" x="283" y="-564.99" font-family="sans-Serif" font-size="11.00" fill="#0f172a">strip paths · :LINE · 0xADDR</text>
47
+ <text xml:space="preserve" text-anchor="middle" x="283" y="-551.49" font-family="sans-Serif" font-size="11.00" fill="#0f172a">port N · TIMESTAMP · UUID · pid</text>
48
48
  </g>
49
49
  <!-- ToolFail&#45;&gt;Norm -->
50
50
  <g id="edge1" class="edge">
51
51
  <title>ToolFail&#45;&gt;Norm</title>
52
- <path fill="none" stroke="#fb7185" stroke-width="1.3" d="M108.93,-692.46C139.51,-669.15 194.08,-627.55 231.14,-599.31"/>
53
- <polygon fill="#fb7185" stroke="#fb7185" stroke-width="1.3" points="232.54,-601.76 237.21,-594.68 229.15,-597.31 232.54,-601.76"/>
54
- <text xml:space="preserve" text-anchor="middle" x="188.61" y="-642.14" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">record()</text>
52
+ <path fill="none" stroke="#fb7185" stroke-width="1.3" d="M110.55,-692.46C143.43,-669.05 202.21,-627.21 241.89,-598.95"/>
53
+ <polygon fill="#fb7185" stroke="#fb7185" stroke-width="1.3" points="243.07,-601.55 247.96,-594.63 239.82,-596.99 243.07,-601.55"/>
54
+ <text xml:space="preserve" text-anchor="middle" x="194.72" y="-642.14" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">record()</text>
55
55
  </g>
56
56
  <!-- LoopFail -->
57
57
  <g id="node2" class="node">
58
58
  <title>LoopFail</title>
59
- <path fill="#fda4af" stroke="#334155" stroke-width="1.4" d="M329.38,-728.94C329.38,-728.94 210.62,-728.94 210.62,-728.94 204.62,-728.94 198.62,-722.94 198.62,-716.94 198.62,-716.94 198.62,-704.94 198.62,-704.94 198.62,-698.94 204.62,-692.94 210.62,-692.94 210.62,-692.94 329.38,-692.94 329.38,-692.94 335.38,-692.94 341.38,-698.94 341.38,-704.94 341.38,-704.94 341.38,-716.94 341.38,-716.94 341.38,-722.94 335.38,-728.94 329.38,-728.94"/>
60
- <text xml:space="preserve" text-anchor="middle" x="270" y="-713.99" font-family="sans-Serif" font-size="11.00" fill="#0f172a">:loop</text>
61
- <text xml:space="preserve" text-anchor="middle" x="270" y="-700.49" font-family="sans-Serif" font-size="11.00" fill="#0f172a">iteration budget exhausted</text>
59
+ <path fill="#fda4af" stroke="#334155" stroke-width="1.4" d="M355.88,-728.94C355.88,-728.94 210.12,-728.94 210.12,-728.94 204.12,-728.94 198.12,-722.94 198.12,-716.94 198.12,-716.94 198.12,-704.94 198.12,-704.94 198.12,-698.94 204.12,-692.94 210.12,-692.94 210.12,-692.94 355.88,-692.94 355.88,-692.94 361.88,-692.94 367.88,-698.94 367.88,-704.94 367.88,-704.94 367.88,-716.94 367.88,-716.94 367.88,-722.94 361.88,-728.94 355.88,-728.94"/>
60
+ <text xml:space="preserve" text-anchor="middle" x="283" y="-713.99" font-family="sans-Serif" font-size="11.00" fill="#0f172a">:loop</text>
61
+ <text xml:space="preserve" text-anchor="middle" x="283" y="-700.49" font-family="sans-Serif" font-size="11.00" fill="#0f172a">legacy budget scar (not emitted)</text>
62
62
  </g>
63
63
  <!-- LoopFail&#45;&gt;Norm -->
64
64
  <g id="edge2" class="edge">
65
65
  <title>LoopFail&#45;&gt;Norm</title>
66
- <path fill="none" stroke="#fb7185" stroke-width="1.3" d="M270,-692.46C270,-670.22 270,-631.34 270,-603.29"/>
67
- <polygon fill="#fb7185" stroke="#fb7185" stroke-width="1.3" points="272.8,-603.46 270,-595.46 267.2,-603.46 272.8,-603.46"/>
66
+ <path fill="none" stroke="#fb7185" stroke-width="1.3" d="M283,-692.46C283,-670.22 283,-631.34 283,-603.29"/>
67
+ <polygon fill="#fb7185" stroke="#fb7185" stroke-width="1.3" points="285.8,-603.46 283,-595.46 280.2,-603.46 285.8,-603.46"/>
68
68
  </g>
69
69
  <!-- UserCorr -->
70
70
  <g id="node3" class="node">
71
71
  <title>UserCorr</title>
72
- <path fill="#fda4af" stroke="#334155" stroke-width="1.4" d="M928.25,-728.94C928.25,-728.94 787.75,-728.94 787.75,-728.94 781.75,-728.94 775.75,-722.94 775.75,-716.94 775.75,-716.94 775.75,-704.94 775.75,-704.94 775.75,-698.94 781.75,-692.94 787.75,-692.94 787.75,-692.94 928.25,-692.94 928.25,-692.94 934.25,-692.94 940.25,-698.94 940.25,-704.94 940.25,-704.94 940.25,-716.94 940.25,-716.94 940.25,-722.94 934.25,-728.94 928.25,-728.94"/>
73
- <text xml:space="preserve" text-anchor="middle" x="858" y="-713.99" font-family="sans-Serif" font-size="11.00" fill="#0f172a">:user_correction</text>
74
- <text xml:space="preserve" text-anchor="middle" x="858" y="-700.49" font-family="sans-Serif" font-size="11.00" fill="#0f172a">&quot;no that&#39;s wrong&quot; / &quot;still broken&quot;</text>
72
+ <path fill="#fda4af" stroke="#334155" stroke-width="1.4" d="M954.25,-728.94C954.25,-728.94 813.75,-728.94 813.75,-728.94 807.75,-728.94 801.75,-722.94 801.75,-716.94 801.75,-716.94 801.75,-704.94 801.75,-704.94 801.75,-698.94 807.75,-692.94 813.75,-692.94 813.75,-692.94 954.25,-692.94 954.25,-692.94 960.25,-692.94 966.25,-698.94 966.25,-704.94 966.25,-704.94 966.25,-716.94 966.25,-716.94 966.25,-722.94 960.25,-728.94 954.25,-728.94"/>
73
+ <text xml:space="preserve" text-anchor="middle" x="884" y="-713.99" font-family="sans-Serif" font-size="11.00" fill="#0f172a">:user_correction</text>
74
+ <text xml:space="preserve" text-anchor="middle" x="884" y="-700.49" font-family="sans-Serif" font-size="11.00" fill="#0f172a">&quot;no that&#39;s wrong&quot; / &quot;still broken&quot;</text>
75
75
  </g>
76
76
  <!-- Sig -->
77
77
  <g id="node7" class="node">
78
78
  <title>Sig</title>
79
- <path fill="#6ee7b7" stroke="#334155" stroke-width="2" d="M597.25,-586.69C597.25,-586.69 456.75,-586.69 456.75,-586.69 450.75,-586.69 444.75,-580.69 444.75,-574.69 444.75,-574.69 444.75,-562.69 444.75,-562.69 444.75,-556.69 450.75,-550.69 456.75,-550.69 456.75,-550.69 597.25,-550.69 597.25,-550.69 603.25,-550.69 609.25,-556.69 609.25,-562.69 609.25,-562.69 609.25,-574.69 609.25,-574.69 609.25,-580.69 603.25,-586.69 597.25,-586.69"/>
80
- <text xml:space="preserve" text-anchor="middle" x="527" y="-571.74" font-family="sans-Serif" font-size="11.00" fill="#0f172a">signature = sha12(tool + norm)</text>
81
- <text xml:space="preserve" text-anchor="middle" x="527" y="-558.24" font-family="sans-Serif" font-size="11.00" fill="#0f172a">count++ &#160;(cross&#45;session)</text>
79
+ <path fill="#6ee7b7" stroke="#334155" stroke-width="2" d="M610.25,-586.69C610.25,-586.69 469.75,-586.69 469.75,-586.69 463.75,-586.69 457.75,-580.69 457.75,-574.69 457.75,-574.69 457.75,-562.69 457.75,-562.69 457.75,-556.69 463.75,-550.69 469.75,-550.69 469.75,-550.69 610.25,-550.69 610.25,-550.69 616.25,-550.69 622.25,-556.69 622.25,-562.69 622.25,-562.69 622.25,-574.69 622.25,-574.69 622.25,-580.69 616.25,-586.69 610.25,-586.69"/>
80
+ <text xml:space="preserve" text-anchor="middle" x="540" y="-571.74" font-family="sans-Serif" font-size="11.00" fill="#0f172a">signature = sha12(tool + norm)</text>
81
+ <text xml:space="preserve" text-anchor="middle" x="540" y="-558.24" font-family="sans-Serif" font-size="11.00" fill="#0f172a">count++ &#160;(cross&#45;session)</text>
82
82
  </g>
83
83
  <!-- UserCorr&#45;&gt;Sig -->
84
84
  <g id="edge3" class="edge">
85
85
  <title>UserCorr&#45;&gt;Sig</title>
86
- <path fill="none" stroke="#fb7185" stroke-width="1.3" d="M816.41,-692.32C755.97,-666.7 643.92,-619.23 578.39,-591.46"/>
87
- <polygon fill="#fb7185" stroke="#fb7185" stroke-width="1.3" points="579.73,-588.99 571.27,-588.45 577.55,-594.15 579.73,-588.99"/>
88
- <text xml:space="preserve" text-anchor="middle" x="752.07" y="-642.14" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">+ flip_last_outcome</text>
86
+ <path fill="none" stroke="#fb7185" stroke-width="1.3" d="M840.78,-692.32C777.83,-666.65 661.04,-619.03 592.99,-591.29"/>
87
+ <polygon fill="#fb7185" stroke="#fb7185" stroke-width="1.3" points="594.42,-588.85 585.95,-588.42 592.3,-594.03 594.42,-588.85"/>
88
+ <text xml:space="preserve" text-anchor="middle" x="772.35" y="-642.14" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">+ flip_last_outcome</text>
89
89
  </g>
90
90
  <!-- ModelRec -->
91
91
  <g id="node4" class="node">
92
92
  <title>ModelRec</title>
93
- <path fill="#fda4af" stroke="#334155" stroke-width="1.4" d="M521.38,-728.94C521.38,-728.94 396.62,-728.94 396.62,-728.94 390.62,-728.94 384.62,-722.94 384.62,-716.94 384.62,-716.94 384.62,-704.94 384.62,-704.94 384.62,-698.94 390.62,-692.94 396.62,-692.94 396.62,-692.94 521.38,-692.94 521.38,-692.94 527.38,-692.94 533.38,-698.94 533.38,-704.94 533.38,-704.94 533.38,-716.94 533.38,-716.94 533.38,-722.94 527.38,-728.94 521.38,-728.94"/>
94
- <text xml:space="preserve" text-anchor="middle" x="459" y="-713.99" font-family="sans-Serif" font-size="11.00" fill="#0f172a">:model</text>
95
- <text xml:space="preserve" text-anchor="middle" x="459" y="-700.49" font-family="sans-Serif" font-size="11.00" fill="#0f172a">mistakes_record(tool, error)</text>
93
+ <path fill="#fda4af" stroke="#334155" stroke-width="1.4" d="M547.38,-728.94C547.38,-728.94 422.62,-728.94 422.62,-728.94 416.62,-728.94 410.62,-722.94 410.62,-716.94 410.62,-716.94 410.62,-704.94 410.62,-704.94 410.62,-698.94 416.62,-692.94 422.62,-692.94 422.62,-692.94 547.38,-692.94 547.38,-692.94 553.38,-692.94 559.38,-698.94 559.38,-704.94 559.38,-704.94 559.38,-716.94 559.38,-716.94 559.38,-722.94 553.38,-728.94 547.38,-728.94"/>
94
+ <text xml:space="preserve" text-anchor="middle" x="485" y="-713.99" font-family="sans-Serif" font-size="11.00" fill="#0f172a">:model</text>
95
+ <text xml:space="preserve" text-anchor="middle" x="485" y="-700.49" font-family="sans-Serif" font-size="11.00" fill="#0f172a">mistakes_record(tool, error)</text>
96
96
  </g>
97
97
  <!-- ModelRec&#45;&gt;Sig -->
98
98
  <g id="edge4" class="edge">
99
99
  <title>ModelRec&#45;&gt;Sig</title>
100
- <path fill="none" stroke="#fb7185" stroke-width="1.3" d="M467.47,-692.46C479.18,-668.31 500.4,-624.54 514.09,-596.31"/>
101
- <polygon fill="#fb7185" stroke="#fb7185" stroke-width="1.3" points="516.59,-597.58 517.56,-589.16 511.55,-595.13 516.59,-597.58"/>
100
+ <path fill="none" stroke="#fb7185" stroke-width="1.3" d="M491.85,-692.46C501.32,-668.31 518.49,-624.54 529.56,-596.31"/>
101
+ <polygon fill="#fb7185" stroke="#fb7185" stroke-width="1.3" points="532.03,-597.69 532.34,-589.22 526.81,-595.64 532.03,-597.69"/>
102
102
  </g>
103
103
  <!-- Verify -->
104
104
  <g id="node5" class="node">
105
105
  <title>Verify</title>
106
- <path fill="#fda4af" stroke="#334155" stroke-width="2" d="M721.12,-735.19C721.12,-735.19 588.88,-735.19 588.88,-735.19 582.88,-735.19 576.88,-729.19 576.88,-723.19 576.88,-723.19 576.88,-698.69 576.88,-698.69 576.88,-692.69 582.88,-686.69 588.88,-686.69 588.88,-686.69 721.12,-686.69 721.12,-686.69 727.12,-686.69 733.12,-692.69 733.12,-698.69 733.12,-698.69 733.12,-723.19 733.12,-723.19 733.12,-729.19 727.12,-735.19 721.12,-735.19"/>
107
- <text xml:space="preserve" text-anchor="middle" x="655" y="-720.74" font-family="sans-Serif" font-size="11.00" fill="#0f172a">:model (proactive)</text>
108
- <text xml:space="preserve" text-anchor="middle" x="655" y="-707.24" font-family="sans-Serif" font-size="11.00" fill="#0f172a">extro_verify → :refuted</text>
109
- <text xml:space="preserve" text-anchor="middle" x="655" y="-693.74" font-family="sans-Serif" font-size="11.00" fill="#0f172a">(browser&#45;caught assumption)</text>
106
+ <path fill="#fda4af" stroke="#334155" stroke-width="2" d="M747.12,-735.19C747.12,-735.19 614.88,-735.19 614.88,-735.19 608.88,-735.19 602.88,-729.19 602.88,-723.19 602.88,-723.19 602.88,-698.69 602.88,-698.69 602.88,-692.69 608.88,-686.69 614.88,-686.69 614.88,-686.69 747.12,-686.69 747.12,-686.69 753.12,-686.69 759.12,-692.69 759.12,-698.69 759.12,-698.69 759.12,-723.19 759.12,-723.19 759.12,-729.19 753.12,-735.19 747.12,-735.19"/>
107
+ <text xml:space="preserve" text-anchor="middle" x="681" y="-720.74" font-family="sans-Serif" font-size="11.00" fill="#0f172a">:model (proactive)</text>
108
+ <text xml:space="preserve" text-anchor="middle" x="681" y="-707.24" font-family="sans-Serif" font-size="11.00" fill="#0f172a">extro_verify → :refuted</text>
109
+ <text xml:space="preserve" text-anchor="middle" x="681" y="-693.74" font-family="sans-Serif" font-size="11.00" fill="#0f172a">(browser&#45;caught assumption)</text>
110
110
  </g>
111
111
  <!-- Verify&#45;&gt;Sig -->
112
112
  <g id="edge5" class="edge">
113
113
  <title>Verify&#45;&gt;Sig</title>
114
- <path fill="none" stroke="#fb7185" stroke-width="2" d="M633,-685.83C609.91,-660.53 573.76,-620.92 550.22,-595.13"/>
115
- <polygon fill="#fb7185" stroke="#fb7185" stroke-width="2" points="552.56,-593.54 545.09,-589.51 548.42,-597.31 552.56,-593.54"/>
116
- <text xml:space="preserve" text-anchor="middle" x="622.29" y="-642.14" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">assumption</text>
114
+ <path fill="none" stroke="#fb7185" stroke-width="2" d="M656.76,-685.83C631.22,-660.42 591.16,-620.58 565.24,-594.8"/>
115
+ <polygon fill="#fb7185" stroke="#fb7185" stroke-width="2" points="567.48,-593.07 559.83,-589.41 563.53,-597.04 567.48,-593.07"/>
116
+ <text xml:space="preserve" text-anchor="middle" x="642.57" y="-642.14" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">assumption</text>
117
117
  </g>
118
118
  <!-- Norm&#45;&gt;Sig -->
119
119
  <g id="edge6" class="edge">
120
120
  <title>Norm&#45;&gt;Sig</title>
121
- <path fill="none" stroke="#34d399" stroke-width="1.3" d="M359.6,-568.69C384.42,-568.69 409.24,-568.69 434.07,-568.69"/>
122
- <polygon fill="#34d399" stroke="#34d399" stroke-width="1.3" points="433.99,-571.49 441.99,-568.69 433.99,-565.89 433.99,-571.49"/>
121
+ <path fill="none" stroke="#34d399" stroke-width="1.3" d="M372.6,-568.69C397.42,-568.69 422.24,-568.69 447.07,-568.69"/>
122
+ <polygon fill="#34d399" stroke="#34d399" stroke-width="1.3" points="446.99,-571.49 454.99,-568.69 446.99,-565.89 446.99,-571.49"/>
123
123
  </g>
124
124
  <!-- Store -->
125
125
  <g id="node8" class="node">
126
126
  <title>Store</title>
127
- <path fill="#fcd34d" stroke="#334155" stroke-width="2" d="M606.25,-455.88C606.25,-459.22 570.73,-461.94 527,-461.94 483.27,-461.94 447.75,-459.22 447.75,-455.88 447.75,-455.88 447.75,-401.31 447.75,-401.31 447.75,-397.97 483.27,-395.25 527,-395.25 570.73,-395.25 606.25,-397.97 606.25,-401.31 606.25,-401.31 606.25,-455.88 606.25,-455.88"/>
128
- <path fill="none" stroke="#334155" stroke-width="2" d="M606.25,-455.88C606.25,-452.53 570.73,-449.81 527,-449.81 483.27,-449.81 447.75,-452.53 447.75,-455.88"/>
129
- <text xml:space="preserve" text-anchor="middle" x="527" y="-438.39" font-family="sans-Serif" font-size="11.00" fill="#0f172a">~/.pwn/mistakes.json</text>
130
- <text xml:space="preserve" text-anchor="middle" x="527" y="-424.89" font-family="sans-Serif" font-size="11.00" fill="#0f172a">{sig → tool·error·count·fix</text>
131
- <text xml:space="preserve" text-anchor="middle" x="527" y="-411.39" font-family="sans-Serif" font-size="11.00" fill="#0f172a"> resolved·regressed·sessions}</text>
127
+ <path fill="#fcd34d" stroke="#334155" stroke-width="2" d="M619.25,-455.88C619.25,-459.22 583.73,-461.94 540,-461.94 496.27,-461.94 460.75,-459.22 460.75,-455.88 460.75,-455.88 460.75,-401.31 460.75,-401.31 460.75,-397.97 496.27,-395.25 540,-395.25 583.73,-395.25 619.25,-397.97 619.25,-401.31 619.25,-401.31 619.25,-455.88 619.25,-455.88"/>
128
+ <path fill="none" stroke="#334155" stroke-width="2" d="M619.25,-455.88C619.25,-452.53 583.73,-449.81 540,-449.81 496.27,-449.81 460.75,-452.53 460.75,-455.88"/>
129
+ <text xml:space="preserve" text-anchor="middle" x="540" y="-438.39" font-family="sans-Serif" font-size="11.00" fill="#0f172a">~/.pwn/mistakes.json</text>
130
+ <text xml:space="preserve" text-anchor="middle" x="540" y="-424.89" font-family="sans-Serif" font-size="11.00" fill="#0f172a">{sig → tool·error·count·fix</text>
131
+ <text xml:space="preserve" text-anchor="middle" x="540" y="-411.39" font-family="sans-Serif" font-size="11.00" fill="#0f172a"> resolved·regressed·sessions}</text>
132
132
  </g>
133
133
  <!-- Sig&#45;&gt;Store -->
134
134
  <g id="edge7" class="edge">
135
135
  <title>Sig&#45;&gt;Store</title>
136
- <path fill="none" stroke="#f59e0b" stroke-width="2" d="M527,-549.92C527,-530.73 527,-499.44 527,-473.58"/>
137
- <polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="2" points="529.8,-473.91 527,-465.91 524.2,-473.91 529.8,-473.91"/>
138
- <text xml:space="preserve" text-anchor="middle" x="540.5" y="-499.89" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">persist</text>
136
+ <path fill="none" stroke="#f59e0b" stroke-width="2" d="M540,-549.92C540,-530.73 540,-499.44 540,-473.58"/>
137
+ <polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="2" points="542.8,-473.91 540,-465.91 537.2,-473.91 542.8,-473.91"/>
138
+ <text xml:space="preserve" text-anchor="middle" x="553.5" y="-499.89" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">persist</text>
139
139
  </g>
140
140
  <!-- Guard -->
141
141
  <g id="node9" class="node">
142
142
  <title>Guard</title>
143
- <path fill="#c4b5fd" stroke="#334155" stroke-width="1.4" d="M858.12,-300.75C858.12,-300.75 695.88,-300.75 695.88,-300.75 689.88,-300.75 683.88,-294.75 683.88,-288.75 683.88,-288.75 683.88,-250.75 683.88,-250.75 683.88,-244.75 689.88,-238.75 695.88,-238.75 695.88,-238.75 858.12,-238.75 858.12,-238.75 864.12,-238.75 870.12,-244.75 870.12,-250.75 870.12,-250.75 870.12,-288.75 870.12,-288.75 870.12,-294.75 864.12,-300.75 858.12,-300.75"/>
144
- <text xml:space="preserve" text-anchor="middle" x="777" y="-286.3" font-family="sans-Serif" font-size="11.00" fill="#0f172a">guard_repeated_failure</text>
145
- <text xml:space="preserve" text-anchor="middle" x="777" y="-272.8" font-family="sans-Serif" font-size="11.00" fill="#0f172a">max(turn, PERSISTENT count) ≥ 3</text>
146
- <text xml:space="preserve" text-anchor="middle" x="777" y="-259.3" font-family="sans-Serif" font-size="11.00" fill="#0f172a">→ trips on 1st recurrence</text>
147
- <text xml:space="preserve" text-anchor="middle" x="777" y="-245.8" font-family="sans-Serif" font-size="11.00" fill="#0f172a">in a new session</text>
143
+ <path fill="#c4b5fd" stroke="#334155" stroke-width="1.4" d="M871.12,-300.75C871.12,-300.75 708.88,-300.75 708.88,-300.75 702.88,-300.75 696.88,-294.75 696.88,-288.75 696.88,-288.75 696.88,-250.75 696.88,-250.75 696.88,-244.75 702.88,-238.75 708.88,-238.75 708.88,-238.75 871.12,-238.75 871.12,-238.75 877.12,-238.75 883.12,-244.75 883.12,-250.75 883.12,-250.75 883.12,-288.75 883.12,-288.75 883.12,-294.75 877.12,-300.75 871.12,-300.75"/>
144
+ <text xml:space="preserve" text-anchor="middle" x="790" y="-286.3" font-family="sans-Serif" font-size="11.00" fill="#0f172a">guard_repeated_failure</text>
145
+ <text xml:space="preserve" text-anchor="middle" x="790" y="-272.8" font-family="sans-Serif" font-size="11.00" fill="#0f172a">max(turn, PERSISTENT count) ≥ 3</text>
146
+ <text xml:space="preserve" text-anchor="middle" x="790" y="-259.3" font-family="sans-Serif" font-size="11.00" fill="#0f172a">→ trips on 1st recurrence</text>
147
+ <text xml:space="preserve" text-anchor="middle" x="790" y="-245.8" font-family="sans-Serif" font-size="11.00" fill="#0f172a">in a new session</text>
148
148
  </g>
149
149
  <!-- Store&#45;&gt;Guard -->
150
150
  <g id="edge8" class="edge">
151
151
  <title>Store&#45;&gt;Guard</title>
152
- <path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M579.1,-394.91C620.29,-369.07 677.71,-333.04 720.09,-306.45"/>
153
- <polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="721.4,-308.94 726.69,-302.31 718.43,-304.19 721.4,-308.94"/>
154
- <text xml:space="preserve" text-anchor="middle" x="663.25" y="-350.32" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">count</text>
152
+ <path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M592.1,-394.91C633.29,-369.07 690.71,-333.04 733.09,-306.45"/>
153
+ <polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="734.4,-308.94 739.69,-302.31 731.43,-304.19 734.4,-308.94"/>
154
+ <text xml:space="preserve" text-anchor="middle" x="676.25" y="-350.32" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">count</text>
155
155
  </g>
156
156
  <!-- Hint -->
157
157
  <g id="node10" class="node">
158
158
  <title>Hint</title>
159
- <path fill="#c4b5fd" stroke="#334155" stroke-width="1.4" d="M480,-300.75C480,-300.75 320,-300.75 320,-300.75 314,-300.75 308,-294.75 308,-288.75 308,-288.75 308,-250.75 308,-250.75 308,-244.75 314,-238.75 320,-238.75 320,-238.75 480,-238.75 480,-238.75 486,-238.75 492,-244.75 492,-250.75 492,-250.75 492,-288.75 492,-288.75 492,-294.75 486,-300.75 480,-300.75"/>
160
- <text xml:space="preserve" text-anchor="middle" x="400" y="-286.3" font-family="sans-Serif" font-size="11.00" fill="#0f172a">correction_hint</text>
161
- <text xml:space="preserve" text-anchor="middle" x="400" y="-272.8" font-family="sans-Serif" font-size="11.00" fill="#0f172a">append to failed result:</text>
162
- <text xml:space="preserve" text-anchor="middle" x="400" y="-259.3" font-family="sans-Serif" font-size="11.00" fill="#0f172a">&quot;seen N×, sig=..., KNOWN FIX: ...&quot;</text>
163
- <text xml:space="preserve" text-anchor="middle" x="400" y="-245.8" font-family="sans-Serif" font-size="11.00" fill="#0f172a">→ self&#45;correct NEXT iter</text>
159
+ <path fill="#c4b5fd" stroke="#334155" stroke-width="1.4" d="M493,-300.75C493,-300.75 333,-300.75 333,-300.75 327,-300.75 321,-294.75 321,-288.75 321,-288.75 321,-250.75 321,-250.75 321,-244.75 327,-238.75 333,-238.75 333,-238.75 493,-238.75 493,-238.75 499,-238.75 505,-244.75 505,-250.75 505,-250.75 505,-288.75 505,-288.75 505,-294.75 499,-300.75 493,-300.75"/>
160
+ <text xml:space="preserve" text-anchor="middle" x="413" y="-286.3" font-family="sans-Serif" font-size="11.00" fill="#0f172a">correction_hint</text>
161
+ <text xml:space="preserve" text-anchor="middle" x="413" y="-272.8" font-family="sans-Serif" font-size="11.00" fill="#0f172a">append to failed result:</text>
162
+ <text xml:space="preserve" text-anchor="middle" x="413" y="-259.3" font-family="sans-Serif" font-size="11.00" fill="#0f172a">&quot;seen N×, sig=..., KNOWN FIX: ...&quot;</text>
163
+ <text xml:space="preserve" text-anchor="middle" x="413" y="-245.8" font-family="sans-Serif" font-size="11.00" fill="#0f172a">→ correction guidance next iter</text>
164
164
  </g>
165
165
  <!-- Store&#45;&gt;Hint -->
166
166
  <g id="edge9" class="edge">
167
167
  <title>Store&#45;&gt;Hint</title>
168
- <path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M500.07,-394.33C479.79,-369.29 451.96,-334.92 430.8,-308.79"/>
169
- <polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="433.19,-307.29 425.98,-302.83 428.84,-310.81 433.19,-307.29"/>
170
- <text xml:space="preserve" text-anchor="middle" x="478.23" y="-350.32" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">fix?</text>
168
+ <path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M513.07,-394.33C492.79,-369.29 464.96,-334.92 443.8,-308.79"/>
169
+ <polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="446.19,-307.29 438.98,-302.83 441.84,-310.81 446.19,-307.29"/>
170
+ <text xml:space="preserve" text-anchor="middle" x="491.23" y="-350.32" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">fix?</text>
171
171
  </g>
172
172
  <!-- Regr -->
173
173
  <g id="node11" class="node">
174
174
  <title>Regr</title>
175
- <path fill="#c4b5fd" stroke="#334155" stroke-width="1.4" d="M629,-294C629,-294 547,-294 547,-294 541,-294 535,-288 535,-282 535,-282 535,-257.5 535,-257.5 535,-251.5 541,-245.5 547,-245.5 547,-245.5 629,-245.5 629,-245.5 635,-245.5 641,-251.5 641,-257.5 641,-257.5 641,-282 641,-282 641,-288 635,-294 629,-294"/>
176
- <text xml:space="preserve" text-anchor="middle" x="588" y="-279.55" font-family="sans-Serif" font-size="11.00" fill="#0f172a">[REGRESSED]</text>
177
- <text xml:space="preserve" text-anchor="middle" x="588" y="-266.05" font-family="sans-Serif" font-size="11.00" fill="#0f172a">resolved sig recurs</text>
178
- <text xml:space="preserve" text-anchor="middle" x="588" y="-252.55" font-family="sans-Serif" font-size="11.00" fill="#0f172a">→ reopen + tag</text>
175
+ <path fill="#c4b5fd" stroke="#334155" stroke-width="1.4" d="M642,-294C642,-294 560,-294 560,-294 554,-294 548,-288 548,-282 548,-282 548,-257.5 548,-257.5 548,-251.5 554,-245.5 560,-245.5 560,-245.5 642,-245.5 642,-245.5 648,-245.5 654,-251.5 654,-257.5 654,-257.5 654,-282 654,-282 654,-288 648,-294 642,-294"/>
176
+ <text xml:space="preserve" text-anchor="middle" x="601" y="-279.55" font-family="sans-Serif" font-size="11.00" fill="#0f172a">[REGRESSED]</text>
177
+ <text xml:space="preserve" text-anchor="middle" x="601" y="-266.05" font-family="sans-Serif" font-size="11.00" fill="#0f172a">resolved sig recurs</text>
178
+ <text xml:space="preserve" text-anchor="middle" x="601" y="-252.55" font-family="sans-Serif" font-size="11.00" fill="#0f172a">→ reopen + tag</text>
179
179
  </g>
180
180
  <!-- Store&#45;&gt;Regr -->
181
181
  <g id="edge10" class="edge">
182
182
  <title>Store&#45;&gt;Regr</title>
183
- <path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M539.94,-394.33C550.34,-367.58 564.88,-330.2 575.24,-303.57"/>
184
- <polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="577.84,-304.59 578.13,-296.12 572.62,-302.56 577.84,-304.59"/>
185
- <text xml:space="preserve" text-anchor="middle" x="590.12" y="-350.7" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">resolved∧recur</text>
183
+ <path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M552.94,-394.33C563.34,-367.58 577.88,-330.2 588.24,-303.57"/>
184
+ <polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="590.84,-304.59 591.13,-296.12 585.62,-302.56 590.84,-304.59"/>
185
+ <text xml:space="preserve" text-anchor="middle" x="603.12" y="-350.7" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">resolved∧recur</text>
186
186
  </g>
187
187
  <!-- KMist -->
188
188
  <g id="node12" class="node">
189
189
  <title>KMist</title>
190
- <path fill="#fcd34d" stroke="#334155" stroke-width="1.4" d="M652.38,-154.5C652.38,-154.5 509.62,-154.5 509.62,-154.5 503.62,-154.5 497.62,-148.5 497.62,-142.5 497.62,-142.5 497.62,-130.5 497.62,-130.5 497.62,-124.5 503.62,-118.5 509.62,-118.5 509.62,-118.5 652.38,-118.5 652.38,-118.5 658.38,-118.5 664.38,-124.5 664.38,-130.5 664.38,-130.5 664.38,-142.5 664.38,-142.5 664.38,-148.5 658.38,-154.5 652.38,-154.5"/>
191
- <text xml:space="preserve" text-anchor="middle" x="581" y="-139.55" font-family="sans-Serif" font-size="11.00" fill="#0f172a">KNOWN MISTAKES</text>
192
- <text xml:space="preserve" text-anchor="middle" x="581" y="-126.05" font-family="sans-Serif" font-size="11.00" fill="#0f172a">✗ [sig] tool ×N [REPEATING]...</text>
190
+ <path fill="#fcd34d" stroke="#334155" stroke-width="1.4" d="M665.38,-154.5C665.38,-154.5 522.62,-154.5 522.62,-154.5 516.62,-154.5 510.62,-148.5 510.62,-142.5 510.62,-142.5 510.62,-130.5 510.62,-130.5 510.62,-124.5 516.62,-118.5 522.62,-118.5 522.62,-118.5 665.38,-118.5 665.38,-118.5 671.38,-118.5 677.38,-124.5 677.38,-130.5 677.38,-130.5 677.38,-142.5 677.38,-142.5 677.38,-148.5 671.38,-154.5 665.38,-154.5"/>
191
+ <text xml:space="preserve" text-anchor="middle" x="594" y="-139.55" font-family="sans-Serif" font-size="11.00" fill="#0f172a">KNOWN MISTAKES</text>
192
+ <text xml:space="preserve" text-anchor="middle" x="594" y="-126.05" font-family="sans-Serif" font-size="11.00" fill="#0f172a">✗ [sig] tool ×N [REPEATING]...</text>
193
193
  </g>
194
194
  <!-- Guard&#45;&gt;KMist -->
195
195
  <g id="edge11" class="edge">
196
196
  <title>Guard&#45;&gt;KMist</title>
197
- <path fill="none" stroke="#f59e0b" stroke-width="1.3" d="M731.54,-238.31C696.14,-214.6 647.76,-182.2 615.5,-160.6"/>
198
- <polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="1.3" points="617.1,-158.3 608.89,-156.18 613.98,-162.95 617.1,-158.3"/>
197
+ <path fill="none" stroke="#f59e0b" stroke-width="1.3" d="M744.54,-238.31C709.14,-214.6 660.76,-182.2 628.5,-160.6"/>
198
+ <polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="1.3" points="630.1,-158.3 621.89,-156.18 626.98,-162.95 630.1,-158.3"/>
199
199
  </g>
200
200
  <!-- KFix -->
201
201
  <g id="node13" class="node">
202
202
  <title>KFix</title>
203
- <path fill="#fcd34d" stroke="#334155" stroke-width="1.4" d="M442.88,-154.5C442.88,-154.5 357.12,-154.5 357.12,-154.5 351.12,-154.5 345.12,-148.5 345.12,-142.5 345.12,-142.5 345.12,-130.5 345.12,-130.5 345.12,-124.5 351.12,-118.5 357.12,-118.5 357.12,-118.5 442.88,-118.5 442.88,-118.5 448.88,-118.5 454.88,-124.5 454.88,-130.5 454.88,-130.5 454.88,-142.5 454.88,-142.5 454.88,-148.5 448.88,-154.5 442.88,-154.5"/>
204
- <text xml:space="preserve" text-anchor="middle" x="400" y="-139.55" font-family="sans-Serif" font-size="11.00" fill="#0f172a">KNOWN FIXES</text>
205
- <text xml:space="preserve" text-anchor="middle" x="400" y="-126.05" font-family="sans-Serif" font-size="11.00" fill="#0f172a">✓ [sig] tool &#45; FIX: ...</text>
203
+ <path fill="#fcd34d" stroke="#334155" stroke-width="1.4" d="M455.88,-154.5C455.88,-154.5 370.12,-154.5 370.12,-154.5 364.12,-154.5 358.12,-148.5 358.12,-142.5 358.12,-142.5 358.12,-130.5 358.12,-130.5 358.12,-124.5 364.12,-118.5 370.12,-118.5 370.12,-118.5 455.88,-118.5 455.88,-118.5 461.88,-118.5 467.88,-124.5 467.88,-130.5 467.88,-130.5 467.88,-142.5 467.88,-142.5 467.88,-148.5 461.88,-154.5 455.88,-154.5"/>
204
+ <text xml:space="preserve" text-anchor="middle" x="413" y="-139.55" font-family="sans-Serif" font-size="11.00" fill="#0f172a">KNOWN FIXES</text>
205
+ <text xml:space="preserve" text-anchor="middle" x="413" y="-126.05" font-family="sans-Serif" font-size="11.00" fill="#0f172a">✓ [sig] tool &#45; FIX: ...</text>
206
206
  </g>
207
207
  <!-- Hint&#45;&gt;KFix -->
208
208
  <!-- Regr&#45;&gt;KMist -->
209
209
  <g id="edge13" class="edge">
210
210
  <title>Regr&#45;&gt;KMist</title>
211
- <path fill="none" stroke="#f59e0b" stroke-width="1.3" d="M586.73,-244.98C585.52,-222.33 583.71,-188.26 582.44,-164.57"/>
212
- <polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="1.3" points="585.25,-164.61 582.03,-156.78 579.66,-164.91 585.25,-164.61"/>
211
+ <path fill="none" stroke="#f59e0b" stroke-width="1.3" d="M599.73,-244.98C598.52,-222.33 596.71,-188.26 595.44,-164.57"/>
212
+ <polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="1.3" points="598.25,-164.61 595.03,-156.78 592.66,-164.91 598.25,-164.61"/>
213
213
  </g>
214
214
  <!-- Prompt -->
215
215
  <g id="node15" class="node">
216
216
  <title>Prompt</title>
217
- <path fill="#7dd3fc" stroke="#334155" stroke-width="2" d="M431.25,-36C431.25,-36 368.75,-36 368.75,-36 362.75,-36 356.75,-30 356.75,-24 356.75,-24 356.75,-12 356.75,-12 356.75,-6 362.75,0 368.75,0 368.75,0 431.25,0 431.25,0 437.25,0 443.25,-6 443.25,-12 443.25,-12 443.25,-24 443.25,-24 443.25,-30 437.25,-36 431.25,-36"/>
218
- <text xml:space="preserve" text-anchor="middle" x="400" y="-21.05" font-family="sans-Serif" font-size="11.00" fill="#0f172a">PromptBuilder</text>
219
- <text xml:space="preserve" text-anchor="middle" x="400" y="-7.55" font-family="sans-Serif" font-size="11.00" fill="#0f172a">system prompt</text>
217
+ <path fill="#7dd3fc" stroke="#334155" stroke-width="2" d="M444.25,-36C444.25,-36 381.75,-36 381.75,-36 375.75,-36 369.75,-30 369.75,-24 369.75,-24 369.75,-12 369.75,-12 369.75,-6 375.75,0 381.75,0 381.75,0 444.25,0 444.25,0 450.25,0 456.25,-6 456.25,-12 456.25,-12 456.25,-24 456.25,-24 456.25,-30 450.25,-36 444.25,-36"/>
218
+ <text xml:space="preserve" text-anchor="middle" x="413" y="-21.05" font-family="sans-Serif" font-size="11.00" fill="#0f172a">PromptBuilder</text>
219
+ <text xml:space="preserve" text-anchor="middle" x="413" y="-7.55" font-family="sans-Serif" font-size="11.00" fill="#0f172a">system prompt</text>
220
220
  </g>
221
221
  <!-- KMist&#45;&gt;Prompt -->
222
222
  <g id="edge17" class="edge">
223
223
  <title>KMist&#45;&gt;Prompt</title>
224
- <path fill="none" stroke="#fb7185" stroke-width="2" stroke-dasharray="5,2" d="M513.24,-117.8C500.91,-115.03 488.12,-112.45 476,-110.5 439.67,-104.67 170.9,-109.6 146,-82.5 117.6,-51.59 262.41,-32.23 345.27,-23.84"/>
225
- <polygon fill="#fb7185" stroke="#fb7185" stroke-width="2" points="345.33,-26.65 353.02,-23.07 344.78,-21.07 345.33,-26.65"/>
226
- <text xml:space="preserve" text-anchor="middle" x="176" y="-73.95" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">do NOT repeat</text>
224
+ <path fill="none" stroke="#fb7185" stroke-width="2" stroke-dasharray="5,2" d="M526.24,-117.8C513.91,-115.03 501.12,-112.45 489,-110.5 452.67,-104.67 183.9,-109.6 159,-82.5 130.6,-51.59 275.41,-32.23 358.27,-23.84"/>
225
+ <polygon fill="#fb7185" stroke="#fb7185" stroke-width="2" points="358.33,-26.65 366.02,-23.07 357.78,-21.07 358.33,-26.65"/>
226
+ <text xml:space="preserve" text-anchor="middle" x="189" y="-73.95" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">do NOT repeat</text>
227
227
  </g>
228
228
  <!-- KMist&#45;&gt;Prompt -->
229
229
  <!-- KFix&#45;&gt;Prompt -->
230
230
  <g id="edge18" class="edge">
231
231
  <title>KFix&#45;&gt;Prompt</title>
232
- <path fill="none" stroke="#fbbf24" stroke-width="2" stroke-dasharray="5,2" d="M344.57,-117.87C328.21,-109.79 312.18,-98.37 302.75,-82.5 300.37,-78.49 300.37,-76.01 302.75,-72 312.43,-55.69 329.09,-44.08 345.92,-35.97"/>
233
- <polygon fill="#fbbf24" stroke="#fbbf24" stroke-width="2" points="346.84,-38.62 353.02,-32.82 344.57,-33.51 346.84,-38.62"/>
234
- <text xml:space="preserve" text-anchor="middle" x="335.38" y="-73.95" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">do THIS instead</text>
232
+ <path fill="none" stroke="#fbbf24" stroke-width="2" stroke-dasharray="5,2" d="M357.57,-117.87C341.21,-109.79 325.18,-98.37 315.75,-82.5 313.37,-78.49 313.37,-76.01 315.75,-72 325.43,-55.69 342.09,-44.08 358.92,-35.97"/>
233
+ <polygon fill="#fbbf24" stroke="#fbbf24" stroke-width="2" points="359.84,-38.62 366.02,-32.82 357.57,-33.51 359.84,-38.62"/>
234
+ <text xml:space="preserve" text-anchor="middle" x="348.38" y="-73.95" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">do THIS instead</text>
235
235
  </g>
236
236
  <!-- KFix&#45;&gt;Prompt -->
237
237
  <!-- Mem -->
238
238
  <g id="node14" class="node">
239
239
  <title>Mem</title>
240
- <path fill="#fcd34d" stroke="#334155" stroke-width="1.4" d="M290,-154.5C290,-154.5 190,-154.5 190,-154.5 184,-154.5 178,-148.5 178,-142.5 178,-142.5 178,-130.5 178,-130.5 178,-124.5 184,-118.5 190,-118.5 190,-118.5 290,-118.5 290,-118.5 296,-118.5 302,-124.5 302,-130.5 302,-130.5 302,-142.5 302,-142.5 302,-148.5 296,-154.5 290,-154.5"/>
241
- <text xml:space="preserve" text-anchor="middle" x="240" y="-139.55" font-family="sans-Serif" font-size="11.00" fill="#0f172a">PWN::Memory :lesson</text>
242
- <text xml:space="preserve" text-anchor="middle" x="240" y="-126.05" font-family="sans-Serif" font-size="11.00" fill="#0f172a">&quot;AVOID X &#45; FIX: Y&quot;</text>
240
+ <path fill="#fcd34d" stroke="#334155" stroke-width="1.4" d="M303,-154.5C303,-154.5 203,-154.5 203,-154.5 197,-154.5 191,-148.5 191,-142.5 191,-142.5 191,-130.5 191,-130.5 191,-124.5 197,-118.5 203,-118.5 203,-118.5 303,-118.5 303,-118.5 309,-118.5 315,-124.5 315,-130.5 315,-130.5 315,-142.5 315,-142.5 315,-148.5 309,-154.5 303,-154.5"/>
241
+ <text xml:space="preserve" text-anchor="middle" x="253" y="-139.55" font-family="sans-Serif" font-size="11.00" fill="#0f172a">PWN::Memory :lesson</text>
242
+ <text xml:space="preserve" text-anchor="middle" x="253" y="-126.05" font-family="sans-Serif" font-size="11.00" fill="#0f172a">&quot;AVOID X &#45; FIX: Y&quot;</text>
243
243
  </g>
244
244
  <!-- Mem&#45;&gt;Prompt -->
245
245
  <g id="edge19" class="edge">
246
246
  <title>Mem&#45;&gt;Prompt</title>
247
- <path fill="none" stroke="#fbbf24" stroke-width="1.3" stroke-dasharray="5,2" d="M300.43,-117.85C332.08,-107.56 366.58,-94.31 378,-82.5 387.47,-72.71 392.88,-58.63 395.96,-46.22"/>
248
- <polygon fill="#fbbf24" stroke="#fbbf24" stroke-width="1.3" points="398.64,-47.07 397.56,-38.67 393.17,-45.92 398.64,-47.07"/>
249
- <text xml:space="preserve" text-anchor="middle" x="417.87" y="-73.95" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">MEMORY block</text>
247
+ <path fill="none" stroke="#fbbf24" stroke-width="1.3" stroke-dasharray="5,2" d="M313.43,-117.85C345.08,-107.56 379.58,-94.31 391,-82.5 400.47,-72.71 405.88,-58.63 408.96,-46.22"/>
248
+ <polygon fill="#fbbf24" stroke="#fbbf24" stroke-width="1.3" points="411.64,-47.07 410.56,-38.67 406.17,-45.92 411.64,-47.07"/>
249
+ <text xml:space="preserve" text-anchor="middle" x="430.87" y="-73.95" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">MEMORY block</text>
250
250
  </g>
251
251
  <!-- Mem&#45;&gt;Prompt -->
252
252
  <!-- Resolve -->
253
253
  <g id="node16" class="node">
254
254
  <title>Resolve</title>
255
- <path fill="#6ee7b7" stroke="#334155" stroke-width="2" d="M280.25,-446.59C280.25,-446.59 205.75,-446.59 205.75,-446.59 199.75,-446.59 193.75,-440.59 193.75,-434.59 193.75,-434.59 193.75,-422.59 193.75,-422.59 193.75,-416.59 199.75,-410.59 205.75,-410.59 205.75,-410.59 280.25,-410.59 280.25,-410.59 286.25,-410.59 292.25,-416.59 292.25,-422.59 292.25,-422.59 292.25,-434.59 292.25,-434.59 292.25,-440.59 286.25,-446.59 280.25,-446.59"/>
256
- <text xml:space="preserve" text-anchor="middle" x="243" y="-431.64" font-family="sans-Serif" font-size="11.00" fill="#0f172a">mistakes_resolve</text>
257
- <text xml:space="preserve" text-anchor="middle" x="243" y="-418.14" font-family="sans-Serif" font-size="11.00" fill="#0f172a">(signature, fix)</text>
255
+ <path fill="#6ee7b7" stroke="#334155" stroke-width="2" d="M293.25,-446.59C293.25,-446.59 218.75,-446.59 218.75,-446.59 212.75,-446.59 206.75,-440.59 206.75,-434.59 206.75,-434.59 206.75,-422.59 206.75,-422.59 206.75,-416.59 212.75,-410.59 218.75,-410.59 218.75,-410.59 293.25,-410.59 293.25,-410.59 299.25,-410.59 305.25,-416.59 305.25,-422.59 305.25,-422.59 305.25,-434.59 305.25,-434.59 305.25,-440.59 299.25,-446.59 293.25,-446.59"/>
256
+ <text xml:space="preserve" text-anchor="middle" x="256" y="-431.64" font-family="sans-Serif" font-size="11.00" fill="#0f172a">mistakes_resolve</text>
257
+ <text xml:space="preserve" text-anchor="middle" x="256" y="-418.14" font-family="sans-Serif" font-size="11.00" fill="#0f172a">(signature, fix)</text>
258
258
  </g>
259
259
  <!-- Resolve&#45;&gt;Store -->
260
260
  <g id="edge14" class="edge">
261
261
  <title>Resolve&#45;&gt;Store</title>
262
- <path fill="none" stroke="#34d399" stroke-width="2" d="M293.12,-428.59C332.56,-428.59 388.58,-428.59 435.91,-428.59"/>
263
- <polygon fill="#34d399" stroke="#34d399" stroke-width="2" points="435.77,-431.39 443.77,-428.59 435.77,-425.79 435.77,-431.39"/>
264
- <text xml:space="preserve" text-anchor="middle" x="370" y="-444.04" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">resolved:true</text>
265
- <text xml:space="preserve" text-anchor="middle" x="370" y="-433.54" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">fix:...</text>
262
+ <path fill="none" stroke="#34d399" stroke-width="2" d="M306.12,-428.59C345.56,-428.59 401.58,-428.59 448.91,-428.59"/>
263
+ <polygon fill="#34d399" stroke="#34d399" stroke-width="2" points="448.77,-431.39 456.77,-428.59 448.77,-425.79 448.77,-431.39"/>
264
+ <text xml:space="preserve" text-anchor="middle" x="383" y="-444.04" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">resolved:true</text>
265
+ <text xml:space="preserve" text-anchor="middle" x="383" y="-433.54" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">fix:...</text>
266
266
  </g>
267
267
  <!-- Resolve&#45;&gt;KFix -->
268
268
  <g id="edge15" class="edge">
269
269
  <title>Resolve&#45;&gt;KFix</title>
270
- <path fill="none" stroke="#f59e0b" stroke-width="1.3" d="M243.61,-409.61C245.59,-373.21 254.04,-289.27 290,-230.75 300.3,-213.98 339.44,-182.64 368.11,-160.95"/>
271
- <polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="1.3" points="369.6,-163.33 374.31,-156.29 366.23,-158.85 369.6,-163.33"/>
270
+ <path fill="none" stroke="#f59e0b" stroke-width="1.3" d="M256.61,-409.61C258.59,-373.21 267.04,-289.27 303,-230.75 313.3,-213.98 352.44,-182.64 381.11,-160.95"/>
271
+ <polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="1.3" points="382.6,-163.33 387.31,-156.29 379.23,-158.85 382.6,-163.33"/>
272
272
  </g>
273
273
  <!-- Resolve&#45;&gt;Mem -->
274
274
  <g id="edge16" class="edge">
275
275
  <title>Resolve&#45;&gt;Mem</title>
276
- <path fill="none" stroke="#f59e0b" stroke-width="1.3" d="M224.1,-409.87C208.14,-393.5 186.46,-367.6 177.25,-340 161.89,-293.94 163.08,-277.19 177.25,-230.75 185.05,-205.18 202.48,-180.27 216.99,-162.63"/>
277
- <polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="1.3" points="219.1,-164.48 222.14,-156.57 214.83,-160.86 219.1,-164.48"/>
278
- <text xml:space="preserve" text-anchor="middle" x="194.12" y="-266.45" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">promote</text>
276
+ <path fill="none" stroke="#f59e0b" stroke-width="1.3" d="M237.1,-409.87C221.14,-393.5 199.46,-367.6 190.25,-340 174.89,-293.94 176.08,-277.19 190.25,-230.75 198.05,-205.18 215.48,-180.27 229.99,-162.63"/>
277
+ <polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="1.3" points="232.1,-164.48 235.14,-156.57 227.83,-160.86 232.1,-164.48"/>
278
+ <text xml:space="preserve" text-anchor="middle" x="207.12" y="-266.45" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">promote</text>
279
279
  </g>
280
280
  </g>
281
281
  </svg>