pwn 0.5.781 → 0.5.783
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.
- checksums.yaml +4 -4
- data/documentation/Installation.md +33 -9
- data/documentation/diagrams/dot/extrospection-world-awareness.dot +37 -92
- data/documentation/diagrams/dot/memory-skills-detailed.dot +33 -98
- data/documentation/diagrams/dot/overall-pwn-architecture.dot +54 -32
- data/documentation/diagrams/dot/pwn-ai-feedback-learning-loop.dot +53 -30
- data/documentation/diagrams/dot/reinforcement-learning.dot +46 -111
- data/documentation/diagrams/dot/swarm-multi-agent.dot +36 -61
- data/documentation/diagrams/extrospection-world-awareness.svg +139 -510
- data/documentation/diagrams/memory-skills-detailed.svg +126 -475
- data/documentation/diagrams/overall-pwn-architecture.svg +116 -266
- data/documentation/diagrams/pwn-ai-feedback-learning-loop.svg +158 -244
- data/documentation/diagrams/reinforcement-learning.svg +238 -529
- data/documentation/diagrams/swarm-multi-agent.svg +104 -233
- data/documentation/pwn-REPL.md +31 -3
- data/documentation/pwn-ai-Agent.md +62 -2
- data/etc/default_cron/session_cleanup.rb +335 -42
- data/lib/pwn/ai/agent/curriculum.rb +2 -2
- data/lib/pwn/ai/agent/learning.rb +11 -4
- data/lib/pwn/ai/agent/mistakes.rb +22 -3
- data/lib/pwn/ai/agent/tools/sessions.rb +6 -6
- data/lib/pwn/ai/http_retry.rb +3 -0
- data/lib/pwn/ai/router.rb +3 -1
- data/lib/pwn/cron.rb +1 -1
- data/lib/pwn/memory.rb +62 -6
- data/lib/pwn/plugins/repl/ai.rb +13 -3
- data/lib/pwn/plugins/repl/ai_console.rb +37 -21
- data/lib/pwn/session_trace.rb +1 -1
- data/lib/pwn/sessions.rb +305 -80
- data/lib/pwn/version.rb +1 -1
- data/spec/lib/pwn/ai/agent/learning_spec.rb +65 -2
- data/spec/lib/pwn/ai/agent/swarm_spec.rb +3 -3
- data/spec/lib/pwn/memory_spec.rb +58 -1
- data/spec/lib/pwn/plugins/repl/ai_console_spec.rb +191 -6
- data/spec/lib/pwn/plugins/repl/ai_result_chronology_spec.rb +2 -2
- data/spec/lib/pwn/plugins/repl/ai_spec.rb +28 -11
- data/spec/lib/pwn/session_cleanup_default_spec.rb +2 -2
- data/spec/lib/pwn/session_cleanup_payload_spec.rb +467 -36
- data/spec/lib/pwn/sessions_spec.rb +116 -16
- data/third_party/pwn_rdoc.jsonl +12 -0
- metadata +1 -1
|
@@ -4,497 +4,148 @@
|
|
|
4
4
|
<!-- Generated by graphviz version 14.1.2 (0)
|
|
5
5
|
-->
|
|
6
6
|
<!-- Title: PWN_MemorySkills Pages: 1 -->
|
|
7
|
-
<svg width="
|
|
8
|
-
viewBox="0.00 0.00
|
|
9
|
-
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(
|
|
7
|
+
<svg width="846pt" height="771pt"
|
|
8
|
+
viewBox="0.00 0.00 846.00 771.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
9
|
+
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(28.8 741.75)">
|
|
10
10
|
<title>PWN_MemorySkills</title>
|
|
11
|
-
<polygon fill="#0f172a" stroke="none" points="-
|
|
12
|
-
<text xml:space="preserve" text-anchor="start" x="
|
|
13
|
-
<text xml:space="preserve" text-anchor="start" x="
|
|
11
|
+
<polygon fill="#0f172a" stroke="none" points="-28.8,28.8 -28.8,-741.75 816.8,-741.75 816.8,28.8 -28.8,28.8"/>
|
|
12
|
+
<text xml:space="preserve" text-anchor="start" x="20.88" y="-690.95" font-family="sans-Serif" font-weight="bold" font-size="20.00" fill="#e2e8f0">Persistent Knowledge - Memory · Skills · Learning · Mistakes · Policy · Sessions</text>
|
|
13
|
+
<text xml:space="preserve" text-anchor="start" x="208.75" y="-679.5" font-family="sans-Serif" font-size="11.00" fill="#94a3b8">durable context · explicit maintenance / export · storage is not verified success</text>
|
|
14
14
|
<g id="clust1" class="cluster">
|
|
15
|
-
<title>
|
|
16
|
-
<path fill="#
|
|
17
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
15
|
+
<title>cluster_context</title>
|
|
16
|
+
<path fill="#1e293b" stroke="#334155" d="M20,-8C20,-8 372,-8 372,-8 378,-8 384,-14 384,-20 384,-20 384,-653.95 384,-653.95 384,-659.95 378,-665.95 372,-665.95 372,-665.95 20,-665.95 20,-665.95 14,-665.95 8,-659.95 8,-653.95 8,-653.95 8,-20 8,-20 8,-14 14,-8 20,-8"/>
|
|
17
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-650.55" font-family="sans-Serif" font-size="12.00" fill="#e2e8f0">CONTEXT LIFECYCLE  ·  read top to bottom</text>
|
|
18
18
|
</g>
|
|
19
|
-
<g id="
|
|
20
|
-
<title>
|
|
21
|
-
<path fill="#
|
|
22
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
19
|
+
<g id="clust2" class="cluster">
|
|
20
|
+
<title>cluster_operations</title>
|
|
21
|
+
<path fill="#1e293b" stroke="#94a3b8" stroke-dasharray="5,2" d="M416,-8C416,-8 768,-8 768,-8 774,-8 780,-14 780,-20 780,-20 780,-653.95 780,-653.95 780,-659.95 774,-665.95 768,-665.95 768,-665.95 416,-665.95 416,-665.95 410,-665.95 404,-659.95 404,-653.95 404,-653.95 404,-20 404,-20 404,-14 410,-8 416,-8"/>
|
|
22
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-650.55" font-family="sans-Serif" font-size="12.00" fill="#e2e8f0">MAINTENANCE / EXPORT  ·  independently invoked</text>
|
|
23
23
|
</g>
|
|
24
|
-
|
|
25
|
-
<title>cluster_read</title>
|
|
26
|
-
<path fill="#2e1065" stroke="#6d28d9" d="M447,-149C447,-149 1463,-149 1463,-149 1469,-149 1475,-155 1475,-161 1475,-161 1475,-259.5 1475,-259.5 1475,-265.5 1469,-271.5 1463,-271.5 1463,-271.5 447,-271.5 447,-271.5 441,-271.5 435,-265.5 435,-259.5 435,-259.5 435,-161 435,-161 435,-155 441,-149 447,-149"/>
|
|
27
|
-
<text xml:space="preserve" text-anchor="middle" x="955" y="-248.5" font-family="sans-Serif" font-size="20.00" fill="#ddd6fe">Read-Side / Injection</text>
|
|
28
|
-
</g>
|
|
29
|
-
<!-- Rem -->
|
|
24
|
+
<!-- Write -->
|
|
30
25
|
<g id="node1" class="node">
|
|
31
|
-
<title>
|
|
32
|
-
<path fill="#6ee7b7" stroke="#334155" stroke-width="1.3" d="
|
|
33
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
34
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
35
|
-
</
|
|
36
|
-
|
|
37
|
-
<
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
<path fill="none" stroke="#334155" stroke-width="1.3" d="M1417.12,-362.75C1417.12,-360.54 1390.18,-358.75 1357,-358.75 1323.82,-358.75 1296.88,-360.54 1296.88,-362.75"/>
|
|
41
|
-
<text xml:space="preserve" text-anchor="middle" x="1357" y="-347.25" font-family="sans-Serif" font-size="10.00" fill="#0f172a">memory.json</text>
|
|
42
|
-
<text xml:space="preserve" text-anchor="middle" x="1357" y="-335.25" font-family="sans-Serif" font-size="10.00" fill="#0f172a">fact · pref · lesson · env</text>
|
|
43
|
-
</g>
|
|
44
|
-
<!-- Rem->Fmem -->
|
|
45
|
-
<g id="edge1" class="edge">
|
|
46
|
-
<title>Rem->Fmem</title>
|
|
47
|
-
<path fill="none" stroke="#f59e0b" stroke-width="1.3" d="M1080.4,-511.91C1152.03,-489.04 1268.65,-451.31 1277,-445.5 1303.38,-427.13 1325.51,-397.64 1339.76,-375.47"/>
|
|
48
|
-
<polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="1.3" points="1342.09,-377.01 1343.96,-368.75 1337.35,-374.04 1342.09,-377.01"/>
|
|
49
|
-
</g>
|
|
50
|
-
<!-- Fidx -->
|
|
51
|
-
<g id="node10" class="node">
|
|
52
|
-
<title>Fidx</title>
|
|
53
|
-
<path fill="#fcd34d" stroke="#334155" stroke-width="1.3" d="M1256.75,-369.5C1256.75,-372.53 1236.69,-375 1212,-375 1187.31,-375 1167.25,-372.53 1167.25,-369.5 1167.25,-369.5 1167.25,-320 1167.25,-320 1167.25,-316.97 1187.31,-314.5 1212,-314.5 1236.69,-314.5 1256.75,-316.97 1256.75,-320 1256.75,-320 1256.75,-369.5 1256.75,-369.5"/>
|
|
54
|
-
<path fill="none" stroke="#334155" stroke-width="1.3" d="M1256.75,-369.5C1256.75,-366.47 1236.69,-364 1212,-364 1187.31,-364 1167.25,-366.47 1167.25,-369.5"/>
|
|
55
|
-
<text xml:space="preserve" text-anchor="middle" x="1212" y="-353.25" font-family="sans-Serif" font-size="10.00" fill="#0f172a">memory.idx</text>
|
|
56
|
-
<text xml:space="preserve" text-anchor="middle" x="1212" y="-341.25" font-family="sans-Serif" font-size="10.00" fill="#0f172a">embedding index</text>
|
|
57
|
-
<text xml:space="preserve" text-anchor="middle" x="1212" y="-329.25" font-family="sans-Serif" font-size="10.00" fill="#0f172a">(sha → vec)</text>
|
|
58
|
-
</g>
|
|
59
|
-
<!-- Rem->Fidx -->
|
|
60
|
-
<g id="edge18" class="edge">
|
|
61
|
-
<title>Rem->Fidx</title>
|
|
62
|
-
<path fill="none" stroke="#fbbf24" stroke-width="1.3" stroke-dasharray="5,2" d="M1037.59,-511.94C1051.32,-494.2 1074.97,-467.48 1102,-453.5 1120.04,-444.17 1130.06,-456.71 1147,-445.5 1169.17,-430.83 1185.47,-405.72 1196.2,-384.36"/>
|
|
63
|
-
<polygon fill="#fbbf24" stroke="#fbbf24" stroke-width="1.3" points="1198.68,-385.68 1199.61,-377.26 1193.63,-383.26 1198.68,-385.68"/>
|
|
64
|
-
<text xml:space="preserve" text-anchor="middle" x="1126" y="-465.95" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">incremental</text>
|
|
65
|
-
<text xml:space="preserve" text-anchor="middle" x="1126" y="-455.45" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">re-embed</text>
|
|
66
|
-
</g>
|
|
67
|
-
<!-- Skc -->
|
|
26
|
+
<title>Write</title>
|
|
27
|
+
<path fill="#6ee7b7" stroke="#334155" stroke-width="1.3" d="M364,-635.7C364,-635.7 28,-635.7 28,-635.7 22,-635.7 16,-629.7 16,-623.7 16,-623.7 16,-557.16 16,-557.16 16,-551.16 22,-545.16 28,-545.16 28,-545.16 364,-545.16 364,-545.16 370,-545.16 376,-551.16 376,-557.16 376,-557.16 376,-623.7 376,-623.7 376,-629.7 370,-635.7 364,-635.7"/>
|
|
28
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-613.73" font-family="sans-Serif" font-size="11.00" fill="#0f172a">1  RECORD THROUGH THE OWNING API</text>
|
|
29
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-600.23" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Memory: memory_remember / lean</text>
|
|
30
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-586.73" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Skills: skill_create / skill_add_reference</text>
|
|
31
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-573.23" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Learning: note_outcome / reflect; Mistakes: record / resolve</text>
|
|
32
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-559.73" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Sessions: transcript append; Policy: episode accounting</text>
|
|
33
|
+
</g>
|
|
34
|
+
<!-- Stores -->
|
|
68
35
|
<g id="node2" class="node">
|
|
69
|
-
<title>
|
|
70
|
-
<path fill="#
|
|
71
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
72
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
73
|
-
</
|
|
74
|
-
|
|
75
|
-
<
|
|
76
|
-
<
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
<
|
|
80
|
-
<
|
|
81
|
-
<
|
|
82
|
-
|
|
83
|
-
<!-- Skc->Fskl -->
|
|
84
|
-
<g id="edge2" class="edge">
|
|
85
|
-
<title>Skc->Fskl</title>
|
|
86
|
-
<path fill="none" stroke="#f59e0b" stroke-width="1.3" d="M85.46,-511.88C118.39,-482.08 185.72,-421.13 229.04,-381.92"/>
|
|
87
|
-
<polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="1.3" points="230.79,-384.11 234.84,-376.67 227.03,-379.96 230.79,-384.11"/>
|
|
36
|
+
<title>Stores</title>
|
|
37
|
+
<path fill="#fcd34d" stroke="#334155" stroke-width="1.3" d="M364,-510.16C364,-510.16 28,-510.16 28,-510.16 22,-510.16 16,-504.16 16,-498.16 16,-498.16 16,-418.12 16,-418.12 16,-412.12 22,-406.12 28,-406.12 28,-406.12 364,-406.12 364,-406.12 370,-406.12 376,-412.12 376,-418.12 376,-418.12 376,-498.16 376,-498.16 376,-504.16 370,-510.16 364,-510.16"/>
|
|
38
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-488.19" font-family="sans-Serif" font-size="11.00" fill="#0f172a">2  RETAIN UNDER ~/.pwn/</text>
|
|
39
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-474.69" font-family="sans-Serif" font-size="11.00" fill="#0f172a">memory.json: facts / preferences / lessons / environment</text>
|
|
40
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-461.19" font-family="sans-Serif" font-size="11.00" fill="#0f172a">memory.idx: embedding index (incremental re-embed)</text>
|
|
41
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-447.69" font-family="sans-Serif" font-size="11.00" fill="#0f172a">skills/<n>/SKILL.md + references; default skill seeds</text>
|
|
42
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-434.19" font-family="sans-Serif" font-size="11.00" fill="#0f172a">learning.jsonl + mistakes.json + sessions/*.jsonl</text>
|
|
43
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-420.69" font-family="sans-Serif" font-size="11.00" fill="#0f172a">policy.json + policy_traj.jsonl; extrospection.json</text>
|
|
44
|
+
</g>
|
|
45
|
+
<!-- Write->Stores -->
|
|
46
|
+
<g id="edge1" class="edge">
|
|
47
|
+
<title>Write->Stores</title>
|
|
48
|
+
<path fill="none" stroke="#f59e0b" stroke-width="1.3" d="M196,-544.59C196,-536.85 196,-528.68 196,-520.58"/>
|
|
49
|
+
<polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="1.3" points="198.8,-520.75 196,-512.75 193.2,-520.75 198.8,-520.75"/>
|
|
88
50
|
</g>
|
|
89
|
-
<!--
|
|
51
|
+
<!-- Read -->
|
|
90
52
|
<g id="node3" class="node">
|
|
91
|
-
<title>
|
|
92
|
-
<path fill="#
|
|
93
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
94
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
95
|
-
</
|
|
96
|
-
|
|
97
|
-
<
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
<
|
|
101
|
-
<
|
|
102
|
-
<
|
|
103
|
-
|
|
104
|
-
<!-- Note->Flrn -->
|
|
105
|
-
<g id="edge3" class="edge">
|
|
106
|
-
<title>Note->Flrn</title>
|
|
107
|
-
<path fill="none" stroke="#f59e0b" stroke-width="1.3" d="M565.85,-512.17C573.87,-494.35 588.91,-467.32 611,-453.5 631.57,-440.63 644.97,-459.19 665,-445.5 688.92,-429.16 704.05,-399.25 712.66,-376.43"/>
|
|
108
|
-
<polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="1.3" points="715.26,-377.47 715.3,-369 709.98,-375.6 715.26,-377.47"/>
|
|
53
|
+
<title>Read</title>
|
|
54
|
+
<path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="M364,-371.12C364,-371.12 28,-371.12 28,-371.12 22,-371.12 16,-365.12 16,-359.12 16,-359.12 16,-292.58 16,-292.58 16,-286.58 22,-280.58 28,-280.58 28,-280.58 364,-280.58 364,-280.58 370,-280.58 376,-286.58 376,-292.58 376,-292.58 376,-359.12 376,-359.12 376,-365.12 370,-371.12 364,-371.12"/>
|
|
55
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-349.15" font-family="sans-Serif" font-size="11.00" fill="#0f172a">3  SELECT RELEVANT CONTEXT</text>
|
|
56
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-335.65" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Memory.recall / MemoryIndex.recall_semantic</text>
|
|
57
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-322.15" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Skills list / view; Learning outcomes / stats</text>
|
|
58
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-308.65" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Sessions view / current; Mistakes list / correction_hint</text>
|
|
59
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-295.15" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Policy stats / evaluate / recommend: advisory only</text>
|
|
60
|
+
</g>
|
|
61
|
+
<!-- Stores->Read -->
|
|
62
|
+
<g id="edge2" class="edge">
|
|
63
|
+
<title>Stores->Read</title>
|
|
64
|
+
<path fill="none" stroke="#94a3b8" stroke-width="1.3" d="M196,-405.65C196,-397.74 196,-389.56 196,-381.59"/>
|
|
65
|
+
<polygon fill="#94a3b8" stroke="#94a3b8" stroke-width="1.3" points="198.8,-381.62 196,-373.62 193.2,-381.62 198.8,-381.62"/>
|
|
109
66
|
</g>
|
|
110
|
-
<!--
|
|
67
|
+
<!-- Prompt -->
|
|
111
68
|
<g id="node4" class="node">
|
|
112
|
-
<title>
|
|
113
|
-
<path fill="#
|
|
114
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
115
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
116
|
-
</
|
|
117
|
-
|
|
118
|
-
<
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
<
|
|
122
|
-
</
|
|
123
|
-
|
|
124
|
-
<
|
|
125
|
-
<title>Fses</title>
|
|
126
|
-
<path fill="#fcd34d" stroke="#334155" stroke-width="1.3" d="M470.88,-362.75C470.88,-364.96 448.97,-366.75 422,-366.75 395.03,-366.75 373.12,-364.96 373.12,-362.75 373.12,-362.75 373.12,-326.75 373.12,-326.75 373.12,-324.54 395.03,-322.75 422,-322.75 448.97,-322.75 470.88,-324.54 470.88,-326.75 470.88,-326.75 470.88,-362.75 470.88,-362.75"/>
|
|
127
|
-
<path fill="none" stroke="#334155" stroke-width="1.3" d="M470.88,-362.75C470.88,-360.54 448.97,-358.75 422,-358.75 395.03,-358.75 373.12,-360.54 373.12,-362.75"/>
|
|
128
|
-
<text xml:space="preserve" text-anchor="middle" x="422" y="-347.25" font-family="sans-Serif" font-size="10.00" fill="#0f172a">sessions/*.jsonl</text>
|
|
129
|
-
<text xml:space="preserve" text-anchor="middle" x="422" y="-335.25" font-family="sans-Serif" font-size="10.00" fill="#0f172a">transcripts (+ lean)</text>
|
|
130
|
-
</g>
|
|
131
|
-
<!-- Dist->Fses -->
|
|
132
|
-
<g id="edge5" class="edge">
|
|
133
|
-
<title>Dist->Fses</title>
|
|
134
|
-
<path fill="none" stroke="#fbbf24" stroke-width="1.3" stroke-dasharray="5,2" d="M227.78,-502.12C229.81,-485.41 235.37,-465.1 249.75,-453.5 267.66,-439.05 333.05,-456.96 353,-445.5 383.49,-427.98 403.56,-390.87 413.84,-367.18"/>
|
|
135
|
-
<polygon fill="#fbbf24" stroke="#fbbf24" stroke-width="1.3" points="225,-501.78 227.09,-509.99 230.58,-502.26 225,-501.78"/>
|
|
136
|
-
<text xml:space="preserve" text-anchor="middle" x="259.88" y="-460.7" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">mine</text>
|
|
69
|
+
<title>Prompt</title>
|
|
70
|
+
<path fill="#7dd3fc" stroke="#334155" stroke-width="1.3" d="M364,-238.83C364,-238.83 28,-238.83 28,-238.83 22,-238.83 16,-232.83 16,-226.83 16,-226.83 16,-160.29 16,-160.29 16,-154.29 22,-148.29 28,-148.29 28,-148.29 364,-148.29 364,-148.29 370,-148.29 376,-154.29 376,-160.29 376,-160.29 376,-226.83 376,-226.83 376,-232.83 370,-238.83 364,-238.83"/>
|
|
71
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-216.86" font-family="sans-Serif" font-size="11.00" fill="#0f172a">4  PromptBuilder.build(request:)</text>
|
|
72
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-203.36" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Engine-aware budget; relevance-ranked memory</text>
|
|
73
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-189.86" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Recent turns + skills + learning + known mistakes / fixes</text>
|
|
74
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-176.36" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Expanded / stuck context: metrics + policy + extrospection</text>
|
|
75
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-162.86" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Thin mode omits full memory / harness blocks</text>
|
|
76
|
+
</g>
|
|
77
|
+
<!-- Read->Prompt -->
|
|
78
|
+
<g id="edge3" class="edge">
|
|
79
|
+
<title>Read->Prompt</title>
|
|
80
|
+
<path fill="none" stroke="#94a3b8" stroke-width="1.3" d="M196,-280.01C196,-269.97 196,-259.21 196,-248.84"/>
|
|
81
|
+
<polygon fill="#94a3b8" stroke="#94a3b8" stroke-width="1.3" points="198.8,-249.01 196,-241.01 193.2,-249.01 198.8,-249.01"/>
|
|
137
82
|
</g>
|
|
138
|
-
<!--
|
|
83
|
+
<!-- Reuse -->
|
|
139
84
|
<g id="node5" class="node">
|
|
140
|
-
<title>
|
|
141
|
-
<path fill="#
|
|
142
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
143
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
144
|
-
</
|
|
145
|
-
|
|
146
|
-
<
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
<
|
|
150
|
-
<
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
<g id="node14" class="node">
|
|
154
|
-
<title>Fmis</title>
|
|
155
|
-
<path fill="#fcd34d" stroke="#334155" stroke-width="1.3" d="M1126.88,-362.75C1126.88,-364.96 1095.56,-366.75 1057,-366.75 1018.44,-366.75 987.12,-364.96 987.12,-362.75 987.12,-362.75 987.12,-326.75 987.12,-326.75 987.12,-324.54 1018.44,-322.75 1057,-322.75 1095.56,-322.75 1126.88,-324.54 1126.88,-326.75 1126.88,-326.75 1126.88,-362.75 1126.88,-362.75"/>
|
|
156
|
-
<path fill="none" stroke="#334155" stroke-width="1.3" d="M1126.88,-362.75C1126.88,-360.54 1095.56,-358.75 1057,-358.75 1018.44,-358.75 987.12,-360.54 987.12,-362.75"/>
|
|
157
|
-
<text xml:space="preserve" text-anchor="middle" x="1057" y="-347.25" font-family="sans-Serif" font-size="10.00" fill="#0f172a">mistakes.json</text>
|
|
158
|
-
<text xml:space="preserve" text-anchor="middle" x="1057" y="-335.25" font-family="sans-Serif" font-size="10.00" fill="#0f172a">sig → count · fix · regressed</text>
|
|
159
|
-
</g>
|
|
160
|
-
<!-- Mrec->Fmis -->
|
|
161
|
-
<g id="edge6" class="edge">
|
|
162
|
-
<title>Mrec->Fmis</title>
|
|
163
|
-
<path fill="none" stroke="#f59e0b" stroke-width="1.3" d="M881.43,-512.02C888.87,-494.34 902.88,-467.67 924,-453.5 940.14,-442.67 950.04,-455 967,-445.5 997.09,-428.66 1022.44,-398 1038.49,-375.1"/>
|
|
164
|
-
<polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="1.3" points="1040.68,-376.87 1042.87,-368.68 1036.05,-373.71 1040.68,-376.87"/>
|
|
165
|
-
</g>
|
|
166
|
-
<!-- Fprf -->
|
|
167
|
-
<g id="node17" class="node">
|
|
168
|
-
<title>Fprf</title>
|
|
169
|
-
<path fill="#fcd34d" stroke="#334155" stroke-width="1.3" d="M947.38,-362.75C947.38,-364.96 914.04,-366.75 873,-366.75 831.96,-366.75 798.62,-364.96 798.62,-362.75 798.62,-362.75 798.62,-326.75 798.62,-326.75 798.62,-324.54 831.96,-322.75 873,-322.75 914.04,-322.75 947.38,-324.54 947.38,-326.75 947.38,-326.75 947.38,-362.75 947.38,-362.75"/>
|
|
170
|
-
<path fill="none" stroke="#334155" stroke-width="1.3" d="M947.38,-362.75C947.38,-360.54 914.04,-358.75 873,-358.75 831.96,-358.75 798.62,-360.54 798.62,-362.75"/>
|
|
171
|
-
<text xml:space="preserve" text-anchor="middle" x="873" y="-347.25" font-family="sans-Serif" font-size="10.00" fill="#0f172a">preferences.jsonl</text>
|
|
172
|
-
<text xml:space="preserve" text-anchor="middle" x="873" y="-335.25" font-family="sans-Serif" font-size="10.00" fill="#0f172a">DPO (prompt,rejected,chosen)</text>
|
|
173
|
-
</g>
|
|
174
|
-
<!-- Mrec->Fprf -->
|
|
175
|
-
<g id="edge37" class="edge">
|
|
176
|
-
<title>Mrec->Fprf</title>
|
|
177
|
-
<path fill="none" stroke="#fbbf24" stroke-width="1.3" stroke-dasharray="5,2" d="M831.4,-511.96C823.68,-509.22 815.66,-506.61 808,-504.5 736.03,-484.71 690.59,-531.8 642.75,-474.5 636.77,-467.34 636.35,-460.29 642.75,-453.5 653.15,-442.47 765.26,-451.92 779,-445.5 811.4,-430.37 838.16,-398.63 854.73,-374.99"/>
|
|
178
|
-
<polygon fill="#fbbf24" stroke="#fbbf24" stroke-width="1.3" points="856.86,-376.83 859.05,-368.64 852.23,-373.68 856.86,-376.83"/>
|
|
179
|
-
<text xml:space="preserve" text-anchor="middle" x="672.38" y="-460.7" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">resolve → pair</text>
|
|
85
|
+
<title>Reuse</title>
|
|
86
|
+
<path fill="#7dd3fc" stroke="#334155" stroke-width="1.3" d="M364,-106.54C364,-106.54 28,-106.54 28,-106.54 22,-106.54 16,-100.54 16,-94.54 16,-94.54 16,-28 16,-28 16,-22 22,-16 28,-16 28,-16 364,-16 364,-16 370,-16 376,-22 376,-28 376,-28 376,-94.54 376,-94.54 376,-100.54 370,-106.54 364,-106.54"/>
|
|
87
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-84.57" font-family="sans-Serif" font-size="11.00" fill="#0f172a">5  INFORM THE NEXT TURN</text>
|
|
88
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-71.07" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Selected context, not a dump of every stored file</text>
|
|
89
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-57.57" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Learning.exemplars_for: local-only few-shot traces</text>
|
|
90
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-44.07" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Stored lessons / judge claims are not host verification</text>
|
|
91
|
+
<text xml:space="preserve" text-anchor="middle" x="196" y="-30.57" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Positive policy credit needs independent action attribution</text>
|
|
92
|
+
</g>
|
|
93
|
+
<!-- Prompt->Reuse -->
|
|
94
|
+
<g id="edge4" class="edge">
|
|
95
|
+
<title>Prompt->Reuse</title>
|
|
96
|
+
<path fill="none" stroke="#94a3b8" stroke-width="1.3" d="M196,-147.72C196,-137.68 196,-126.92 196,-116.55"/>
|
|
97
|
+
<polygon fill="#94a3b8" stroke="#94a3b8" stroke-width="1.3" points="198.8,-116.72 196,-108.72 193.2,-116.72 198.8,-116.72"/>
|
|
180
98
|
</g>
|
|
181
|
-
<!--
|
|
99
|
+
<!-- Skill -->
|
|
182
100
|
<g id="node6" class="node">
|
|
183
|
-
<title>
|
|
184
|
-
<path fill="#6ee7b7" stroke="#334155" stroke-width="1.3" d="
|
|
185
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
186
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
187
|
-
</
|
|
188
|
-
|
|
189
|
-
<
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
<polygon fill="#fbbf24" stroke="#fbbf24" stroke-width="1.3" points="414.16,-502.2 411.65,-510.29 418.66,-505.53 414.16,-502.2"/>
|
|
193
|
-
<text xml:space="preserve" text-anchor="middle" x="526.88" y="-460.7" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">eligible verified outcomes</text>
|
|
194
|
-
</g>
|
|
195
|
-
<!-- Xft->Fses -->
|
|
196
|
-
<g id="edge20" class="edge">
|
|
197
|
-
<title>Xft->Fses</title>
|
|
198
|
-
<path fill="none" stroke="#fbbf24" stroke-width="1.3" stroke-dasharray="5,2" d="M328.29,-508.57C295.06,-495.19 266.69,-476.13 286.75,-453.5 296.59,-442.4 340.3,-453.16 353,-445.5 382.93,-427.44 403.06,-390.86 413.51,-367.37"/>
|
|
199
|
-
<polygon fill="#fbbf24" stroke="#fbbf24" stroke-width="1.3" points="326.97,-511.06 335.44,-511.31 328.98,-505.83 326.97,-511.06"/>
|
|
200
|
-
<text xml:space="preserve" text-anchor="middle" x="296.88" y="-460.7" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">mine</text>
|
|
201
|
-
</g>
|
|
202
|
-
<!-- Fftn -->
|
|
203
|
-
<g id="node16" class="node">
|
|
204
|
-
<title>Fftn</title>
|
|
205
|
-
<path fill="#fcd34d" stroke="#334155" stroke-width="1.3" d="M645.25,-362.75C645.25,-364.96 615.11,-366.75 578,-366.75 540.89,-366.75 510.75,-364.96 510.75,-362.75 510.75,-362.75 510.75,-326.75 510.75,-326.75 510.75,-324.54 540.89,-322.75 578,-322.75 615.11,-322.75 645.25,-324.54 645.25,-326.75 645.25,-326.75 645.25,-362.75 645.25,-362.75"/>
|
|
206
|
-
<path fill="none" stroke="#334155" stroke-width="1.3" d="M645.25,-362.75C645.25,-360.54 615.11,-358.75 578,-358.75 540.89,-358.75 510.75,-360.54 510.75,-362.75"/>
|
|
207
|
-
<text xml:space="preserve" text-anchor="middle" x="578" y="-347.25" font-family="sans-Serif" font-size="10.00" fill="#0f172a">finetune/*.jsonl</text>
|
|
208
|
-
<text xml:space="preserve" text-anchor="middle" x="578" y="-335.25" font-family="sans-Serif" font-size="10.00" fill="#0f172a">ShareGPT / OpenAI / DPO</text>
|
|
209
|
-
</g>
|
|
210
|
-
<!-- Xft->Fftn -->
|
|
211
|
-
<g id="edge19" class="edge">
|
|
212
|
-
<title>Xft->Fftn</title>
|
|
213
|
-
<path fill="none" stroke="#f59e0b" stroke-width="1.3" d="M380.27,-512.01C364.62,-495.32 347.21,-470.31 363,-453.5 372.76,-443.11 478.22,-451.8 491,-445.5 521.66,-430.39 546.06,-399.17 561.12,-375.65"/>
|
|
214
|
-
<polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="1.3" points="563.38,-377.33 565.21,-369.06 558.62,-374.38 563.38,-377.33"/>
|
|
215
|
-
</g>
|
|
216
|
-
<!-- Rdpo -->
|
|
101
|
+
<title>Skill</title>
|
|
102
|
+
<path fill="#6ee7b7" stroke="#334155" stroke-width="1.3" d="M760,-635.7C760,-635.7 424,-635.7 424,-635.7 418,-635.7 412,-629.7 412,-623.7 412,-623.7 412,-557.16 412,-557.16 412,-551.16 418,-545.16 424,-545.16 424,-545.16 760,-545.16 760,-545.16 766,-545.16 772,-551.16 772,-557.16 772,-557.16 772,-623.7 772,-623.7 772,-629.7 766,-635.7 760,-635.7"/>
|
|
103
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-613.73" font-family="sans-Serif" font-size="11.00" fill="#0f172a">SKILL MAINTENANCE</text>
|
|
104
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-600.23" font-family="sans-Serif" font-size="11.00" fill="#0f172a">learning_distill_skill: explicit reviewed session distillation</text>
|
|
105
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-586.73" font-family="sans-Serif" font-size="11.00" fill="#0f172a">SkillReview: recommend by default</text>
|
|
106
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-573.23" font-family="sans-Serif" font-size="11.00" fill="#0f172a">auto-safe: small proven append to existing non-pwn/ SOP</text>
|
|
107
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-559.73" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Not automatic skill creation after routine success</text>
|
|
108
|
+
</g>
|
|
109
|
+
<!-- Reflect -->
|
|
217
110
|
<g id="node7" class="node">
|
|
218
|
-
<title>
|
|
219
|
-
<path fill="#
|
|
220
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
221
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
222
|
-
</
|
|
223
|
-
|
|
224
|
-
<
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
<polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="1.3" points="856.89,-376.87 859.07,-368.68 852.26,-373.72 856.89,-376.87"/>
|
|
228
|
-
</g>
|
|
229
|
-
<!-- PolW -->
|
|
111
|
+
<title>Reflect</title>
|
|
112
|
+
<path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="M760,-503.41C760,-503.41 424,-503.41 424,-503.41 418,-503.41 412,-497.41 412,-491.41 412,-491.41 412,-424.87 412,-424.87 412,-418.87 418,-412.87 424,-412.87 424,-412.87 760,-412.87 760,-412.87 766,-412.87 772,-418.87 772,-424.87 772,-424.87 772,-491.41 772,-491.41 772,-497.41 766,-503.41 760,-503.41"/>
|
|
113
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-481.44" font-family="sans-Serif" font-size="11.00" fill="#0f172a">REFLECTION + CORRECTIONS</text>
|
|
114
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-467.94" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Reflect.on: teacher reads transcript → memory :lesson</text>
|
|
115
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-454.44" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Mistakes.resolve: correction → memory lesson</text>
|
|
116
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-440.94" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Resolution can also record a preference pair</text>
|
|
117
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-427.44" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Retain source provenance; do not treat prose as proof</text>
|
|
118
|
+
</g>
|
|
119
|
+
<!-- Revalidate -->
|
|
230
120
|
<g id="node8" class="node">
|
|
231
|
-
<title>
|
|
232
|
-
<path fill="#
|
|
233
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
234
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
235
|
-
</
|
|
236
|
-
|
|
237
|
-
<
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
<
|
|
241
|
-
<
|
|
242
|
-
<
|
|
243
|
-
</
|
|
244
|
-
|
|
245
|
-
<
|
|
246
|
-
<
|
|
247
|
-
<
|
|
248
|
-
<
|
|
249
|
-
</g>
|
|
250
|
-
<!--
|
|
251
|
-
<g id="
|
|
252
|
-
<title>
|
|
253
|
-
<path fill="#
|
|
254
|
-
<text xml:space="preserve" text-anchor="middle" x="
|
|
255
|
-
</
|
|
256
|
-
|
|
257
|
-
<
|
|
258
|
-
<
|
|
259
|
-
<path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M1346.02,-322.34C1330.72,-292.52 1303.01,-238.5 1286.48,-206.28"/>
|
|
260
|
-
<polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="1288.97,-205 1282.83,-199.16 1283.99,-207.56 1288.97,-205"/>
|
|
261
|
-
</g>
|
|
262
|
-
<!-- Midx -->
|
|
263
|
-
<g id="node20" class="node">
|
|
264
|
-
<title>Midx</title>
|
|
265
|
-
<path fill="#c4b5fd" stroke="#334155" stroke-width="2" d="M1181.12,-201C1181.12,-201 1120.88,-201 1120.88,-201 1114.88,-201 1108.88,-195 1108.88,-189 1108.88,-189 1108.88,-169 1108.88,-169 1108.88,-163 1114.88,-157 1120.88,-157 1120.88,-157 1181.12,-157 1181.12,-157 1187.12,-157 1193.12,-163 1193.12,-169 1193.12,-169 1193.12,-189 1193.12,-189 1193.12,-195 1187.12,-201 1181.12,-201"/>
|
|
266
|
-
<text xml:space="preserve" text-anchor="middle" x="1151" y="-187.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">MemoryIndex</text>
|
|
267
|
-
<text xml:space="preserve" text-anchor="middle" x="1151" y="-175.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">recall_semantic</text>
|
|
268
|
-
<text xml:space="preserve" text-anchor="middle" x="1151" y="-163.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">(cosine top-K)</text>
|
|
269
|
-
</g>
|
|
270
|
-
<!-- Fmem->Midx -->
|
|
271
|
-
<g id="edge23" class="edge">
|
|
272
|
-
<title>Fmem->Midx</title>
|
|
273
|
-
<path fill="none" stroke="#a78bfa" stroke-width="1.3" stroke-dasharray="5,2" d="M1312.75,-322.94C1273.54,-304.27 1221.25,-278.74 1213,-271.5 1193.49,-254.38 1177.28,-229.8 1166.34,-210.43"/>
|
|
274
|
-
<polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="1168.93,-209.34 1162.64,-203.67 1164.02,-212.03 1168.93,-209.34"/>
|
|
275
|
-
</g>
|
|
276
|
-
<!-- ReVal -->
|
|
277
|
-
<g id="node28" class="node">
|
|
278
|
-
<title>ReVal</title>
|
|
279
|
-
<path fill="#fcd34d" stroke="#334155" stroke-width="1.3" d="M1562.12,-552.5C1562.12,-552.5 1459.88,-552.5 1459.88,-552.5 1453.88,-552.5 1447.88,-546.5 1447.88,-540.5 1447.88,-540.5 1447.88,-520.5 1447.88,-520.5 1447.88,-514.5 1453.88,-508.5 1459.88,-508.5 1459.88,-508.5 1562.12,-508.5 1562.12,-508.5 1568.12,-508.5 1574.12,-514.5 1574.12,-520.5 1574.12,-520.5 1574.12,-540.5 1574.12,-540.5 1574.12,-546.5 1568.12,-552.5 1562.12,-552.5"/>
|
|
280
|
-
<text xml:space="preserve" text-anchor="middle" x="1511" y="-539" font-family="sans-Serif" font-size="10.00" fill="#0f172a">Extrospection.verify</text>
|
|
281
|
-
<text xml:space="preserve" text-anchor="middle" x="1511" y="-527" font-family="sans-Serif" font-size="10.00" fill="#0f172a">revalidate_memory (cron)</text>
|
|
282
|
-
<text xml:space="preserve" text-anchor="middle" x="1511" y="-515" font-family="sans-Serif" font-size="10.00" fill="#0f172a">browser-backed GC</text>
|
|
283
|
-
</g>
|
|
284
|
-
<!-- Fmem->ReVal -->
|
|
285
|
-
<g id="edge30" class="edge">
|
|
286
|
-
<title>Fmem->ReVal</title>
|
|
287
|
-
<path fill="none" stroke="#94a3b8" stroke-width="1.3" stroke-dasharray="5,2" d="M1338.39,-367.32C1317.21,-394.62 1288.54,-441.98 1313.25,-474.5 1328.59,-494.68 1387.95,-509.42 1437.67,-518.53"/>
|
|
288
|
-
<polygon fill="#94a3b8" stroke="#94a3b8" stroke-width="1.3" points="1437.16,-521.28 1445.53,-519.93 1438.14,-515.77 1437.16,-521.28"/>
|
|
289
|
-
<text xml:space="preserve" text-anchor="middle" x="1355.62" y="-460.7" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">:fact w/ CVE|ver|URL</text>
|
|
290
|
-
</g>
|
|
291
|
-
<!-- Fidx->Midx -->
|
|
292
|
-
<g id="edge22" class="edge">
|
|
293
|
-
<title>Fidx->Midx</title>
|
|
294
|
-
<path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M1200.95,-314.1C1190.05,-284.82 1173.45,-240.26 1162.42,-210.65"/>
|
|
295
|
-
<polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="1165.15,-209.96 1159.73,-203.44 1159.9,-211.91 1165.15,-209.96"/>
|
|
296
|
-
</g>
|
|
297
|
-
<!-- Skv -->
|
|
298
|
-
<g id="node21" class="node">
|
|
299
|
-
<title>Skv</title>
|
|
300
|
-
<path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="M511.25,-197C511.25,-197 454.75,-197 454.75,-197 448.75,-197 442.75,-191 442.75,-185 442.75,-185 442.75,-173 442.75,-173 442.75,-167 448.75,-161 454.75,-161 454.75,-161 511.25,-161 511.25,-161 517.25,-161 523.25,-167 523.25,-173 523.25,-173 523.25,-185 523.25,-185 523.25,-191 517.25,-197 511.25,-197"/>
|
|
301
|
-
<text xml:space="preserve" text-anchor="middle" x="483" y="-175.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">skill_list · view</text>
|
|
302
|
-
</g>
|
|
303
|
-
<!-- Fskl->Skv -->
|
|
304
|
-
<g id="edge9" class="edge">
|
|
305
|
-
<title>Fskl->Skv</title>
|
|
306
|
-
<path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M307.26,-314.47C348.79,-282.7 414.27,-232.59 452.49,-203.35"/>
|
|
307
|
-
<polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="453.99,-205.72 458.65,-198.63 450.59,-201.27 453.99,-205.72"/>
|
|
308
|
-
</g>
|
|
309
|
-
<!-- Out -->
|
|
310
|
-
<g id="node22" class="node">
|
|
311
|
-
<title>Out</title>
|
|
312
|
-
<path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="M936.88,-197C936.88,-197 863.12,-197 863.12,-197 857.12,-197 851.12,-191 851.12,-185 851.12,-185 851.12,-173 851.12,-173 851.12,-167 857.12,-161 863.12,-161 863.12,-161 936.88,-161 936.88,-161 942.88,-161 948.88,-167 948.88,-173 948.88,-173 948.88,-185 948.88,-185 948.88,-191 942.88,-197 936.88,-197"/>
|
|
313
|
-
<text xml:space="preserve" text-anchor="middle" x="900" y="-181.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">learning_outcomes</text>
|
|
314
|
-
<text xml:space="preserve" text-anchor="middle" x="900" y="-169.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">learning_stats</text>
|
|
315
|
-
</g>
|
|
316
|
-
<!-- Flrn->Out -->
|
|
317
|
-
<g id="edge10" class="edge">
|
|
318
|
-
<title>Flrn->Out</title>
|
|
319
|
-
<path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M752.88,-323.46C784.51,-302.65 829.29,-273.1 831,-271.5 851.95,-251.78 871.25,-225.15 884.08,-205.7"/>
|
|
320
|
-
<polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="886.26,-207.47 888.26,-199.23 881.56,-204.43 886.26,-207.47"/>
|
|
321
|
-
</g>
|
|
322
|
-
<!-- Exem -->
|
|
323
|
-
<g id="node25" class="node">
|
|
324
|
-
<title>Exem</title>
|
|
325
|
-
<path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="M798.62,-197C798.62,-197 705.38,-197 705.38,-197 699.38,-197 693.38,-191 693.38,-185 693.38,-185 693.38,-173 693.38,-173 693.38,-167 699.38,-161 705.38,-161 705.38,-161 798.62,-161 798.62,-161 804.62,-161 810.62,-167 810.62,-173 810.62,-173 810.62,-185 810.62,-185 810.62,-191 804.62,-197 798.62,-197"/>
|
|
326
|
-
<text xml:space="preserve" text-anchor="middle" x="752" y="-181.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">Learning.exemplars_for</text>
|
|
327
|
-
<text xml:space="preserve" text-anchor="middle" x="752" y="-169.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">(few-shot trace)</text>
|
|
328
|
-
</g>
|
|
329
|
-
<!-- Flrn->Exem -->
|
|
330
|
-
<g id="edge24" class="edge">
|
|
331
|
-
<title>Flrn->Exem</title>
|
|
332
|
-
<path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M725.92,-322.34C731.34,-292.77 741.11,-239.43 747.03,-207.11"/>
|
|
333
|
-
<polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="749.77,-207.72 748.46,-199.35 744.26,-206.71 749.77,-207.72"/>
|
|
334
|
-
</g>
|
|
335
|
-
<!-- Sesv -->
|
|
336
|
-
<g id="node23" class="node">
|
|
337
|
-
<title>Sesv</title>
|
|
338
|
-
<path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="M641.12,-197C641.12,-197 574.88,-197 574.88,-197 568.88,-197 562.88,-191 562.88,-185 562.88,-185 562.88,-173 562.88,-173 562.88,-167 568.88,-161 574.88,-161 574.88,-161 641.12,-161 641.12,-161 647.12,-161 653.12,-167 653.12,-173 653.12,-173 653.12,-185 653.12,-185 653.12,-191 647.12,-197 641.12,-197"/>
|
|
339
|
-
<text xml:space="preserve" text-anchor="middle" x="608" y="-181.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">sessions_view</text>
|
|
340
|
-
<text xml:space="preserve" text-anchor="middle" x="608" y="-169.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">sessions_current</text>
|
|
341
|
-
</g>
|
|
342
|
-
<!-- Fses->Sesv -->
|
|
343
|
-
<g id="edge11" class="edge">
|
|
344
|
-
<title>Fses->Sesv</title>
|
|
345
|
-
<path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M460.42,-323.08C490.56,-306.46 529.56,-283.91 543,-271.5 563.73,-252.35 581.81,-225.59 593.6,-205.95"/>
|
|
346
|
-
<polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="595.94,-207.5 597.57,-199.18 591.11,-204.67 595.94,-207.5"/>
|
|
347
|
-
</g>
|
|
348
|
-
<!-- Fses->Exem -->
|
|
349
|
-
<g id="edge25" class="edge">
|
|
350
|
-
<title>Fses->Exem</title>
|
|
351
|
-
<path fill="none" stroke="#a78bfa" stroke-width="1.3" stroke-dasharray="5,2" d="M455.79,-322.85C466.71,-316.83 479.07,-310.75 491,-306.5 568.59,-278.84 601.69,-312.73 673,-271.5 700.31,-255.71 722.78,-226.92 736.68,-205.84"/>
|
|
352
|
-
<polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="738.93,-207.53 740.87,-199.28 734.21,-204.52 738.93,-207.53"/>
|
|
353
|
-
</g>
|
|
354
|
-
<!-- Teach -->
|
|
355
|
-
<g id="node29" class="node">
|
|
356
|
-
<title>Teach</title>
|
|
357
|
-
<path fill="#fda4af" stroke="#334155" stroke-width="2" d="M1857.62,-552.5C1857.62,-552.5 1764.38,-552.5 1764.38,-552.5 1758.38,-552.5 1752.38,-546.5 1752.38,-540.5 1752.38,-540.5 1752.38,-520.5 1752.38,-520.5 1752.38,-514.5 1758.38,-508.5 1764.38,-508.5 1764.38,-508.5 1857.62,-508.5 1857.62,-508.5 1863.62,-508.5 1869.62,-514.5 1869.62,-520.5 1869.62,-520.5 1869.62,-540.5 1869.62,-540.5 1869.62,-546.5 1863.62,-552.5 1857.62,-552.5"/>
|
|
358
|
-
<text xml:space="preserve" text-anchor="middle" x="1811" y="-539" font-family="sans-Serif" font-size="10.00" fill="#0f172a">Reflect.on</text>
|
|
359
|
-
<text xml:space="preserve" text-anchor="middle" x="1811" y="-527" font-family="sans-Serif" font-size="10.00" fill="#0f172a">(engine: reflect_engine)</text>
|
|
360
|
-
<text xml:space="preserve" text-anchor="middle" x="1811" y="-515" font-family="sans-Serif" font-size="10.00" fill="#0f172a">teacher-student</text>
|
|
361
|
-
</g>
|
|
362
|
-
<!-- Fses->Teach -->
|
|
363
|
-
<g id="edge31" class="edge">
|
|
364
|
-
<title>Fses->Teach</title>
|
|
365
|
-
<path fill="none" stroke="#94a3b8" stroke-width="1.3" stroke-dasharray="5,2" d="M429.77,-367.15C439.78,-391.18 459.72,-428.97 491,-445.5 520.3,-460.98 1652.09,-444.57 1684,-453.5 1684.59,-453.67 1729.69,-480.69 1765.98,-502.47"/>
|
|
366
|
-
<polygon fill="#94a3b8" stroke="#94a3b8" stroke-width="1.3" points="1764.52,-504.86 1772.82,-506.57 1767.4,-500.06 1764.52,-504.86"/>
|
|
367
|
-
<text xml:space="preserve" text-anchor="middle" x="1737.25" y="-460.7" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">transcript</text>
|
|
368
|
-
</g>
|
|
369
|
-
<!-- Mlst -->
|
|
370
|
-
<g id="node24" class="node">
|
|
371
|
-
<title>Mlst</title>
|
|
372
|
-
<path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="M1056.88,-197C1056.88,-197 1001.12,-197 1001.12,-197 995.12,-197 989.12,-191 989.12,-185 989.12,-185 989.12,-173 989.12,-173 989.12,-167 995.12,-161 1001.12,-161 1001.12,-161 1056.88,-161 1056.88,-161 1062.88,-161 1068.88,-167 1068.88,-173 1068.88,-173 1068.88,-185 1068.88,-185 1068.88,-191 1062.88,-197 1056.88,-197"/>
|
|
373
|
-
<text xml:space="preserve" text-anchor="middle" x="1029" y="-181.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">mistakes_list</text>
|
|
374
|
-
<text xml:space="preserve" text-anchor="middle" x="1029" y="-169.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">correction_hint</text>
|
|
375
|
-
</g>
|
|
376
|
-
<!-- Fmis->Mlst -->
|
|
377
|
-
<g id="edge12" class="edge">
|
|
378
|
-
<title>Fmis->Mlst</title>
|
|
379
|
-
<path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M1053.34,-322.34C1048.28,-292.77 1039.16,-239.43 1033.64,-207.11"/>
|
|
380
|
-
<polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="1036.42,-206.77 1032.31,-199.35 1030.9,-207.71 1036.42,-206.77"/>
|
|
381
|
-
</g>
|
|
382
|
-
<!-- Fext -->
|
|
383
|
-
<g id="node15" class="node">
|
|
384
|
-
<title>Fext</title>
|
|
385
|
-
<path fill="#fcd34d" stroke="#334155" stroke-width="1.3" d="M1783.25,-362.75C1783.25,-364.96 1755.8,-366.75 1722,-366.75 1688.2,-366.75 1660.75,-364.96 1660.75,-362.75 1660.75,-362.75 1660.75,-326.75 1660.75,-326.75 1660.75,-324.54 1688.2,-322.75 1722,-322.75 1755.8,-322.75 1783.25,-324.54 1783.25,-326.75 1783.25,-326.75 1783.25,-362.75 1783.25,-362.75"/>
|
|
386
|
-
<path fill="none" stroke="#334155" stroke-width="1.3" d="M1783.25,-362.75C1783.25,-360.54 1755.8,-358.75 1722,-358.75 1688.2,-358.75 1660.75,-360.54 1660.75,-362.75"/>
|
|
387
|
-
<text xml:space="preserve" text-anchor="middle" x="1722" y="-347.25" font-family="sans-Serif" font-size="10.00" fill="#0f172a">extrospection.json</text>
|
|
388
|
-
<text xml:space="preserve" text-anchor="middle" x="1722" y="-335.25" font-family="sans-Serif" font-size="10.00" fill="#0f172a">snapshot · rf · web · obs</text>
|
|
389
|
-
</g>
|
|
390
|
-
<!-- Fprf->Fftn -->
|
|
391
|
-
<g id="edge38" class="edge">
|
|
392
|
-
<title>Fprf->Fftn</title>
|
|
393
|
-
<path fill="none" stroke="#fbbf24" stroke-width="1.3" stroke-dasharray="5,2" d="M858.57,-367.3C842.38,-390.28 813.79,-424.53 779,-438.96 732.61,-458.2 712.07,-458.96 666,-438.96 636.33,-426.07 612.11,-397.71 596.65,-375.45"/>
|
|
394
|
-
<polygon fill="#fbbf24" stroke="#fbbf24" stroke-width="1.3" points="599.03,-373.98 592.25,-368.9 594.38,-377.1 599.03,-373.98"/>
|
|
395
|
-
<text xml:space="preserve" text-anchor="middle" x="735" y="-460.7" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">export_dpo</text>
|
|
396
|
-
</g>
|
|
397
|
-
<!-- PolR -->
|
|
398
|
-
<g id="node26" class="node">
|
|
399
|
-
<title>PolR</title>
|
|
400
|
-
<path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="M1455.12,-197C1455.12,-197 1364.88,-197 1364.88,-197 1358.88,-197 1352.88,-191 1352.88,-185 1352.88,-185 1352.88,-173 1352.88,-173 1352.88,-167 1358.88,-161 1364.88,-161 1364.88,-161 1455.12,-161 1455.12,-161 1461.12,-161 1467.12,-167 1467.12,-173 1467.12,-173 1467.12,-185 1467.12,-185 1467.12,-191 1461.12,-197 1455.12,-197"/>
|
|
401
|
-
<text xml:space="preserve" text-anchor="middle" x="1410" y="-181.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">policy_stats · evaluate</text>
|
|
402
|
-
<text xml:space="preserve" text-anchor="middle" x="1410" y="-169.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">policy_recommend</text>
|
|
403
|
-
</g>
|
|
404
|
-
<!-- Fpol->PolR -->
|
|
405
|
-
<g id="edge34" class="edge">
|
|
406
|
-
<title>Fpol->PolR</title>
|
|
407
|
-
<path fill="none" stroke="#a78bfa" stroke-width="1.3" d="M1522.14,-322.34C1498.34,-292.13 1454.99,-237.11 1429.73,-205.04"/>
|
|
408
|
-
<polygon fill="#a78bfa" stroke="#a78bfa" stroke-width="1.3" points="1432.09,-203.51 1424.94,-198.96 1427.69,-206.98 1432.09,-203.51"/>
|
|
409
|
-
</g>
|
|
410
|
-
<!-- Prompt -->
|
|
411
|
-
<g id="node27" class="node">
|
|
412
|
-
<title>Prompt</title>
|
|
413
|
-
<path fill="#7dd3fc" stroke="#334155" stroke-width="2" d="M1058,-68C1058,-68 862,-68 862,-68 856,-68 850,-62 850,-56 850,-56 850,-12 850,-12 850,-6 856,0 862,0 862,0 1058,0 1058,0 1064,0 1070,-6 1070,-12 1070,-12 1070,-56 1070,-56 1070,-62 1064,-68 1058,-68"/>
|
|
414
|
-
<text xml:space="preserve" text-anchor="middle" x="960" y="-54.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">PromptBuilder.build(request:)</text>
|
|
415
|
-
<text xml:space="preserve" text-anchor="middle" x="960" y="-42.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">engine-aware .budget</text>
|
|
416
|
-
<text xml:space="preserve" text-anchor="middle" x="960" y="-30.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">MEMORY (relevance-ranked) + SKILLS</text>
|
|
417
|
-
<text xml:space="preserve" text-anchor="middle" x="960" y="-18.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">+ LEARNING + KNOWN MISTAKES/FIXES</text>
|
|
418
|
-
<text xml:space="preserve" text-anchor="middle" x="960" y="-6.5" font-family="sans-Serif" font-size="10.00" fill="#0f172a">+ METRICS (per-engine) + POLICY + EXTRO</text>
|
|
419
|
-
</g>
|
|
420
|
-
<!-- Rec->Prompt -->
|
|
421
|
-
<g id="edge13" class="edge">
|
|
422
|
-
<title>Rec->Prompt</title>
|
|
423
|
-
<path fill="none" stroke="#38bdf8" stroke-width="1.3" d="M1254.07,-160.4C1234.91,-143.39 1203.8,-117.93 1173,-102 1144.09,-87.05 1111.23,-74.7 1080.12,-64.85"/>
|
|
424
|
-
<polygon fill="#38bdf8" stroke="#38bdf8" stroke-width="1.3" points="1081.32,-62.29 1072.85,-62.59 1079.66,-67.64 1081.32,-62.29"/>
|
|
425
|
-
</g>
|
|
426
|
-
<!-- Midx->Prompt -->
|
|
427
|
-
<g id="edge26" class="edge">
|
|
428
|
-
<title>Midx->Prompt</title>
|
|
429
|
-
<path fill="none" stroke="#38bdf8" stroke-width="2" d="M1130.41,-156.02C1114.88,-140.07 1092.63,-118.49 1071,-102 1058.49,-92.46 1044.54,-83.14 1030.87,-74.63"/>
|
|
430
|
-
<polygon fill="#38bdf8" stroke="#38bdf8" stroke-width="2" points="1032.34,-72.24 1024.05,-70.45 1029.41,-77.02 1032.34,-72.24"/>
|
|
431
|
-
<text xml:space="preserve" text-anchor="middle" x="1128.8" y="-114.45" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">MEMORY block</text>
|
|
432
|
-
<text xml:space="preserve" text-anchor="middle" x="1128.8" y="-103.95" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">(top-K by cosine)</text>
|
|
433
|
-
</g>
|
|
434
|
-
<!-- Skv->Prompt -->
|
|
435
|
-
<g id="edge14" class="edge">
|
|
436
|
-
<title>Skv->Prompt</title>
|
|
437
|
-
<path fill="none" stroke="#38bdf8" stroke-width="1.3" d="M516.48,-160.48C525,-156.4 534.22,-152.29 543,-149 640.79,-112.36 755.46,-81.87 839.78,-61.67"/>
|
|
438
|
-
<polygon fill="#38bdf8" stroke="#38bdf8" stroke-width="1.3" points="840.34,-64.41 847.47,-59.84 839.04,-58.97 840.34,-64.41"/>
|
|
439
|
-
</g>
|
|
440
|
-
<!-- Out->Prompt -->
|
|
441
|
-
<g id="edge15" class="edge">
|
|
442
|
-
<title>Out->Prompt</title>
|
|
443
|
-
<path fill="none" stroke="#38bdf8" stroke-width="1.3" d="M907.36,-160.47C915.93,-140.03 930.41,-105.53 942.01,-77.87"/>
|
|
444
|
-
<polygon fill="#38bdf8" stroke="#38bdf8" stroke-width="1.3" points="944.55,-79.06 945.06,-70.6 939.39,-76.9 944.55,-79.06"/>
|
|
445
|
-
</g>
|
|
446
|
-
<!-- Sesv->Prompt -->
|
|
447
|
-
<g id="edge16" class="edge">
|
|
448
|
-
<title>Sesv->Prompt</title>
|
|
449
|
-
<path fill="none" stroke="#38bdf8" stroke-width="1.3" d="M646.72,-160.41C655.34,-156.58 664.46,-152.6 673,-149 735.71,-122.57 806.79,-94.32 862.53,-72.56"/>
|
|
450
|
-
<polygon fill="#38bdf8" stroke="#38bdf8" stroke-width="1.3" points="863.42,-75.22 869.86,-69.7 861.38,-70 863.42,-75.22"/>
|
|
451
|
-
</g>
|
|
452
|
-
<!-- Mlst->Prompt -->
|
|
453
|
-
<g id="edge17" class="edge">
|
|
454
|
-
<title>Mlst->Prompt</title>
|
|
455
|
-
<path fill="none" stroke="#fb7185" stroke-width="2" d="M1020.54,-160.47C1010.76,-140.21 994.32,-106.13 981.04,-78.6"/>
|
|
456
|
-
<polygon fill="#fb7185" stroke="#fb7185" stroke-width="2" points="983.62,-77.5 977.62,-71.51 978.57,-79.94 983.62,-77.5"/>
|
|
457
|
-
<text xml:space="preserve" text-anchor="middle" x="1030.68" y="-109.2" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">do NOT repeat</text>
|
|
458
|
-
</g>
|
|
459
|
-
<!-- Exem->Prompt -->
|
|
460
|
-
<g id="edge27" class="edge">
|
|
461
|
-
<title>Exem->Prompt</title>
|
|
462
|
-
<path fill="none" stroke="#38bdf8" stroke-width="1.3" d="M775.4,-160.43C796.4,-144.78 828.2,-121.43 856.5,-102 869.92,-92.78 884.51,-83.13 898.38,-74.11"/>
|
|
463
|
-
<polygon fill="#38bdf8" stroke="#38bdf8" stroke-width="1.3" points="899.61,-76.65 904.8,-69.95 896.56,-71.95 899.61,-76.65"/>
|
|
464
|
-
<text xml:space="preserve" text-anchor="middle" x="885.75" y="-114.45" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">few-shot msgs</text>
|
|
465
|
-
<text xml:space="preserve" text-anchor="middle" x="885.75" y="-103.95" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">(local only)</text>
|
|
466
|
-
</g>
|
|
467
|
-
<!-- PolR->Prompt -->
|
|
468
|
-
<g id="edge35" class="edge">
|
|
469
|
-
<title>PolR->Prompt</title>
|
|
470
|
-
<path fill="none" stroke="#38bdf8" stroke-width="1.3" d="M1370.52,-160.48C1332.46,-144.01 1273.01,-119.35 1220,-102 1175.01,-87.27 1124.81,-73.69 1080.6,-62.66"/>
|
|
471
|
-
<polygon fill="#38bdf8" stroke="#38bdf8" stroke-width="1.3" points="1081.32,-59.95 1072.88,-60.74 1079.97,-65.38 1081.32,-59.95"/>
|
|
472
|
-
<text xml:space="preserve" text-anchor="middle" x="1306.75" y="-114.45" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">POLICY block</text>
|
|
473
|
-
<text xml:space="preserve" text-anchor="middle" x="1306.75" y="-103.95" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">advisory only</text>
|
|
474
|
-
</g>
|
|
475
|
-
<!-- ReVal->Fmem -->
|
|
476
|
-
<g id="edge28" class="edge">
|
|
477
|
-
<title>ReVal->Fmem</title>
|
|
478
|
-
<path fill="none" stroke="#fb7185" stroke-width="2" stroke-dasharray="5,2" d="M1466.37,-507.9C1451.28,-499.06 1435.19,-487.77 1423,-474.5 1396.78,-445.96 1378.19,-405.05 1367.56,-377.06"/>
|
|
479
|
-
<polygon fill="#fb7185" stroke="#fb7185" stroke-width="2" points="1370.3,-376.4 1364.92,-369.85 1365.05,-378.33 1370.3,-376.4"/>
|
|
480
|
-
<text xml:space="preserve" text-anchor="middle" x="1478.5" y="-465.95" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">[UNVERIFIED yyyy-mm-dd]</text>
|
|
481
|
-
<text xml:space="preserve" text-anchor="middle" x="1478.5" y="-455.45" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">prefix stale :fact</text>
|
|
482
|
-
</g>
|
|
483
|
-
<!-- ReVal->Fext -->
|
|
484
|
-
<g id="edge29" class="edge">
|
|
485
|
-
<title>ReVal->Fext</title>
|
|
486
|
-
<path fill="none" stroke="#f59e0b" stroke-width="1.3" stroke-dasharray="5,2" d="M1524,-507.92C1535.94,-490.16 1555.34,-465.95 1579,-453.5 1603.58,-440.56 1616.73,-459.03 1641,-445.5 1669.68,-429.51 1692.16,-398.93 1706.09,-375.83"/>
|
|
487
|
-
<polygon fill="#f59e0b" stroke="#f59e0b" stroke-width="1.3" points="1708.41,-377.41 1710.01,-369.08 1703.57,-374.59 1708.41,-377.41"/>
|
|
488
|
-
<text xml:space="preserve" text-anchor="middle" x="1628.5" y="-465.95" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">:confirmed → :intel obs</text>
|
|
489
|
-
<text xml:space="preserve" text-anchor="middle" x="1628.5" y="-455.45" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">:refuted → observe stale</text>
|
|
490
|
-
</g>
|
|
491
|
-
<!-- Teach->Fmem -->
|
|
492
|
-
<g id="edge32" class="edge">
|
|
493
|
-
<title>Teach->Fmem</title>
|
|
494
|
-
<path fill="none" stroke="#fb7185" stroke-width="2" d="M1804.86,-507.56C1798.55,-489.57 1786.8,-465.24 1767,-453.5 1735.45,-434.8 1469.87,-461.77 1437,-445.5 1407.75,-431.03 1385.72,-400.28 1372.25,-376.73"/>
|
|
495
|
-
<polygon fill="#fb7185" stroke="#fb7185" stroke-width="2" points="1374.76,-375.48 1368.46,-369.8 1369.84,-378.16 1374.76,-375.48"/>
|
|
496
|
-
<text xml:space="preserve" text-anchor="middle" x="1821.47" y="-465.95" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">frontier-authored</text>
|
|
497
|
-
<text xml:space="preserve" text-anchor="middle" x="1821.47" y="-455.45" font-family="sans-Serif" font-size="9.00" fill="#cbd5e1">:lesson</text>
|
|
121
|
+
<title>Revalidate</title>
|
|
122
|
+
<path fill="#c4b5fd" stroke="#334155" stroke-width="1.3" d="M760,-371.12C760,-371.12 424,-371.12 424,-371.12 418,-371.12 412,-365.12 412,-359.12 412,-359.12 412,-292.58 412,-292.58 412,-286.58 418,-280.58 424,-280.58 424,-280.58 760,-280.58 760,-280.58 766,-280.58 772,-286.58 772,-292.58 772,-292.58 772,-359.12 772,-359.12 772,-365.12 766,-371.12 760,-371.12"/>
|
|
123
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-349.15" font-family="sans-Serif" font-size="11.00" fill="#0f172a">WORLD-FACT REVALIDATION</text>
|
|
124
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-335.65" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Extrospection.revalidate_memory (cron / explicit)</text>
|
|
125
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-322.15" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Select :fact entries containing CVE / version / URL</text>
|
|
126
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-308.65" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Refuted with confidence ≥ 0.6 → [UNVERIFIED date]</text>
|
|
127
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-295.15" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Record stale web observation in extrospection.json</text>
|
|
128
|
+
</g>
|
|
129
|
+
<!-- Export -->
|
|
130
|
+
<g id="node9" class="node">
|
|
131
|
+
<title>Export</title>
|
|
132
|
+
<path fill="#fcd34d" stroke="#334155" stroke-width="1.3" d="M760,-245.58C760,-245.58 424,-245.58 424,-245.58 418,-245.58 412,-239.58 412,-233.58 412,-233.58 412,-153.54 412,-153.54 412,-147.54 418,-141.54 424,-141.54 424,-141.54 760,-141.54 760,-141.54 766,-141.54 772,-147.54 772,-153.54 772,-153.54 772,-233.58 772,-233.58 772,-239.58 766,-245.58 760,-245.58"/>
|
|
133
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-223.61" font-family="sans-Serif" font-size="11.00" fill="#0f172a">DATASET EXPORT</text>
|
|
134
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-210.11" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Learning.export_finetune: eligible verified outcomes</text>
|
|
135
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-196.61" font-family="sans-Serif" font-size="11.00" fill="#0f172a">+ session traces → ShareGPT / OpenAI datasets</text>
|
|
136
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-183.11" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Reward.record_preference → preferences.jsonl</text>
|
|
137
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-169.61" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Reward.export_dpo → finetune/*.jsonl</text>
|
|
138
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-156.11" font-family="sans-Serif" font-size="11.00" fill="#0f172a">Export does not train or promote a model</text>
|
|
139
|
+
</g>
|
|
140
|
+
<!-- Context -->
|
|
141
|
+
<g id="node10" class="node">
|
|
142
|
+
<title>Context</title>
|
|
143
|
+
<path fill="#1e293b" stroke="#334155" stroke-width="1.3" stroke-dasharray="5,2" d="M760,-106.54C760,-106.54 424,-106.54 424,-106.54 418,-106.54 412,-100.54 412,-94.54 412,-94.54 412,-28 412,-28 412,-22 418,-16 424,-16 424,-16 760,-16 760,-16 766,-16 772,-22 772,-28 772,-28 772,-94.54 772,-94.54 772,-100.54 766,-106.54 760,-106.54"/>
|
|
144
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-84.57" font-family="sans-Serif" font-size="11.00" fill="#cbd5e1">READ / WRITE BOUNDARY</text>
|
|
145
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-71.07" font-family="sans-Serif" font-size="11.00" fill="#cbd5e1">These operations read selected retained sources</text>
|
|
146
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-57.57" font-family="sans-Serif" font-size="11.00" fill="#cbd5e1">and write only their corresponding stores / artifacts.</text>
|
|
147
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-44.07" font-family="sans-Serif" font-size="11.00" fill="#cbd5e1">They are not prerequisites for PromptBuilder.</text>
|
|
148
|
+
<text xml:space="preserve" text-anchor="middle" x="592" y="-30.57" font-family="sans-Serif" font-size="11.00" fill="#cbd5e1">Frozen policy evaluation / promotion is a separate workflow.</text>
|
|
498
149
|
</g>
|
|
499
150
|
</g>
|
|
500
151
|
</svg>
|