bots-garden/mini-mepublic Fork
⑂ v1.0.3
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/mini-me.git
git clone ssh://git@rickub.com/bots-garden/mini-me.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP
🛟 Updated. cd2a817 · on v1.0.3 · k33g · Oct 24, 2026
decision-dnd-flow.svg · 76 lines · 8.9 KBXML Blame HistoryRaw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="660" viewBox="0 0 1200 660" font-family="DejaVu Sans, Verdana, sans-serif">
  <defs>
    <linearGradient id="gBg" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#FFFFFF"/><stop offset="100%" stop-color="#EEF2FA"/></linearGradient>
    <linearGradient id="gBlue" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#E3F2FD"/><stop offset="100%" stop-color="#BBDEFB"/></linearGradient>
    <linearGradient id="gBlue2" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#E1F5FE"/><stop offset="100%" stop-color="#B3E5FC"/></linearGradient>
    <linearGradient id="gPurple" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#F3E5F5"/><stop offset="100%" stop-color="#E1BEE7"/></linearGradient>
    <linearGradient id="gYellow" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#FFFDE7"/><stop offset="100%" stop-color="#FFF9C4"/></linearGradient>
    <linearGradient id="gGrey" x1="0" y1="0" x2="0" y2="1"><stop offset="0%" stop-color="#ECEFF1"/><stop offset="100%" stop-color="#CFD8DC"/></linearGradient>
    <filter id="shadow" x="-30%" y="-30%" width="160%" height="160%"><feDropShadow dx="2" dy="3" stdDeviation="4" flood-color="#000000" flood-opacity="0.25"/></filter>
    <marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="8" markerHeight="8" orient="auto-start-reverse"><path d="M0,0 L10,5 L0,10 z" fill="#37474F"/></marker>
  </defs>
  <rect x="0" y="0" width="1200" height="660" fill="url(#gBg)"/>
  <text x="600.0" y="38" text-anchor="middle" font-size="25" font-weight="700" fill="#1A237E">demos/decision-dnd — the decider picks the spell</text>
  <text x="600.0" y="61" text-anchor="middle" font-size="14" font-style="italic" fill="#546E7A">a Go preGeneration hook asks the decision model, the Dungeon Master explains its choice</text>
  <path d="M230,200 L330,200" fill="none" stroke="#37474F" stroke-width="2.2" marker-end="url(#arrow)"/>
  <path d="M600,200 L880,200" fill="none" stroke="#37474F" stroke-width="2.2" marker-end="url(#arrow)"/>
  <path d="M465,260 L465,400" fill="none" stroke="#37474F" stroke-width="2.2" marker-start="url(#arrow)" marker-end="url(#arrow)"/>
  <path d="M595,470 L660,470" fill="none" stroke="#37474F" stroke-width="2.2" stroke-dasharray="6,4" marker-end="url(#arrow)"/>
  <path d="M370,260 L370,320 L150,320 L150,410" fill="none" stroke="#37474F" stroke-width="2.2" stroke-dasharray="6,4" marker-end="url(#arrow)"/>
  <path d="M1020,140 L1020,100 L135,100 L135,140" fill="none" stroke="#37474F" stroke-width="2.2" marker-end="url(#arrow)"/>
  <g filter="url(#shadow)"><rect x="40" y="140" width="190" height="120" rx="16" fill="url(#gBlue)" stroke="#1565C0" stroke-width="2"/></g>
  <text x="135.0" y="180.0" text-anchor="middle" font-size="22">🧑</text>
  <text x="135.0" y="203.0" text-anchor="middle" font-size="16" font-weight="700" fill="#0D47A1">Player</text>
  <text x="135.0" y="221.0" text-anchor="middle" font-size="11.5" fill="#0D47A1">describes the situation</text>
  <text x="135.0" y="238.0" text-anchor="middle" font-size="11.5" fill="#0D47A1">terminal · -tui · editor</text>
  <g filter="url(#shadow)"><rect x="330" y="140" width="270" height="120" rx="16" fill="url(#gYellow)" stroke="#F9A825" stroke-width="2"/></g>
  <text x="465.0" y="171.5" text-anchor="middle" font-size="22">⚙️</text>
  <text x="465.0" y="194.5" text-anchor="middle" font-size="16" font-weight="700" fill="#E65100">preGeneration hook</text>
  <text x="465.0" y="212.5" text-anchor="middle" font-size="11.5" fill="#E65100">hooks/ask-decider (Go)</text>
  <text x="465.0" y="229.5" text-anchor="middle" font-size="11.5" fill="#E65100">go run . spell.yaml</text>
  <text x="465.0" y="246.5" text-anchor="middle" font-size="11.5" fill="#E65100">DECIDER_DUMP=.mm/decider</text>
  <g filter="url(#shadow)"><rect x="880" y="140" width="280" height="120" rx="16" fill="url(#gBlue2)" stroke="#0277BD" stroke-width="2"/></g>
  <text x="1020.0" y="180.0" text-anchor="middle" font-size="22">🤖</text>
  <text x="1020.0" y="203.0" text-anchor="middle" font-size="16" font-weight="700" fill="#01579B">Dungeon Master</text>
  <text x="1020.0" y="221.0" text-anchor="middle" font-size="11.5" fill="#01579B">Qwen3.5-4B · dungeon_master.yaml</text>
  <text x="1020.0" y="238.0" text-anchor="middle" font-size="11.5" fill="#01579B">shows the data and the confidence</text>
  <g filter="url(#shadow)"><rect x="335" y="400" width="260" height="140" rx="16" fill="url(#gPurple)" stroke="#6A1B9A" stroke-width="3"/></g>
  <text x="465.0" y="441.5" text-anchor="middle" font-size="22">⚖️</text>
  <text x="465.0" y="464.5" text-anchor="middle" font-size="16" font-weight="700" fill="#4A148C">Decider · sidekick</text>
  <text x="465.0" y="482.5" text-anchor="middle" font-size="11.5" fill="#4A148C">LiquidAI d1-3B · spell.yaml</text>
  <text x="465.0" y="499.5" text-anchor="middle" font-size="11.5" fill="#4A148C">POST /v1/systemone</text>
  <text x="465.0" y="516.5" text-anchor="middle" font-size="11.5" fill="#4A148C">one choice, ~0.5 s</text>
  <rect x="526.2" y="388" width="78.8" height="24" rx="12" fill="#6A1B9A"/>
  <text x="565.6" y="404" text-anchor="middle" font-size="11.5" font-weight="700" fill="#FFFFFF">★ decides</text>
  <rect x="660" y="380" width="500" height="200" rx="10" fill="#FAFAFA" fill-opacity="0.7" stroke="#90A4AE" stroke-width="2" stroke-dasharray="7,5"/>
  <text x="910.0" y="402" text-anchor="middle" font-size="13" font-style="italic" font-weight="700" fill="#607D8B">one choice question · spell.yaml</text>
  <g filter="url(#shadow)"><rect x="680" y="420" width="145" height="46" rx="12" fill="url(#gGrey)" stroke="#455A64" stroke-width="2"/></g>
  <text x="752.5" y="448.0" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">fireball</text>
  <g filter="url(#shadow)"><rect x="837" y="420" width="145" height="46" rx="12" fill="url(#gGrey)" stroke="#455A64" stroke-width="2"/></g>
  <text x="909.5" y="448.0" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">arcane_bolt</text>
  <g filter="url(#shadow)"><rect x="994" y="420" width="145" height="46" rx="12" fill="url(#gGrey)" stroke="#455A64" stroke-width="2"/></g>
  <text x="1066.5" y="448.0" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">shield</text>
  <g filter="url(#shadow)"><rect x="758" y="478" width="145" height="46" rx="12" fill="url(#gGrey)" stroke="#455A64" stroke-width="2"/></g>
  <text x="830.5" y="506.0" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">misty_step</text>
  <g filter="url(#shadow)"><rect x="915" y="478" width="145" height="46" rx="12" fill="url(#gGrey)" stroke="#455A64" stroke-width="2"/></g>
  <text x="987.5" y="506.0" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">sleep</text>
  <text x="910" y="558" text-anchor="middle" font-size="12" fill="#37474F" font-family="DejaVu Sans Mono, monospace">spell: fireball (confidence 0.50)</text>
  <g filter="url(#shadow)"><rect x="40" y="410" width="220" height="120" rx="16" fill="url(#gGrey)" stroke="#455A64" stroke-width="2"/></g>
  <text x="150.0" y="450.0" text-anchor="middle" font-size="22">📋</text>
  <text x="150.0" y="473.0" text-anchor="middle" font-size="15" font-weight="700" fill="#263238">Debug dump</text>
  <text x="150.0" y="491.0" text-anchor="middle" font-size="11.5" fill="#263238">.mm/decider/</text>
  <text x="150.0" y="508.0" text-anchor="middle" font-size="11.5" fill="#263238">&lt;time&gt;-spell.json</text>
  <rect x="238.0" y="216.0" width="84" height="24" rx="5" fill="#FFFFFF"/>
  <text x="280" y="232.5" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">situation</text>
  <rect x="651.25" y="180.0" width="177.5" height="40" rx="5" fill="#FFFFFF"/>
  <text x="740" y="197" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">situation + spell</text>
  <text x="740" y="213" text-anchor="middle" font-size="10.5" fill="#78909C">[context added by a hook]</text>
  <rect x="473.8" y="310.0" width="202.39999999999998" height="40" rx="5" fill="#FFFFFF"/>
  <text x="575" y="327" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">mm -config spell.yaml -p</text>
  <text x="575" y="343" text-anchor="middle" font-size="10.5" fill="#78909C">← answers (JSON)</text>
  <rect x="180.0" y="308.0" width="160" height="24" rx="5" fill="#FFFFFF"/>
  <text x="260" y="324.5" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">one JSON per question</text>
  <rect x="433.20000000000005" y="88.0" width="293.59999999999997" height="24" rx="5" fill="#FFFFFF"/>
  <text x="580" y="104.5" text-anchor="middle" font-size="12.5" font-weight="700" fill="#263238">advice: the spell, why, and how sure</text>
  <text x="600" y="625" text-anchor="middle" font-size="12" fill="#455A64" font-style="italic">Change the spells in spell.yaml and the Dungeon Master's role in dungeon_master.yaml: the hook passes any answer on.</text>
</svg>