bots-garden/mini-mepublic Fork
⑂ feature/decider-no-tools
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 feature/decider-no-tools · k33g · Oct 24, 2026
decision-chat-golang-flow.drawio · 34 lines · 9.5 KBGDScript3 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
<mxfile host="app.diagrams.net">
  <diagram id="decision-chat-golang-flow" name="demos/decision-chat-golang — a Go assistant, a Go hook">
    <mxGraphModel dx="1200" dy="640" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1200" pageHeight="640" background="#F5F7FC" math="0" shadow="0">
      <root>
        <mxCell id="0"/>
        <mxCell id="1" parent="0"/>
        <mxCell id="title" value="&lt;b style=&quot;font-size:25px;color:#1A237E&quot;&gt;demos/decision-chat-golang — a Go assistant, a Go hook&lt;/b&gt;&lt;br&gt;&lt;i style=&quot;font-size:14px;color:#546E7A&quot;&gt;a preGeneration hook written in Go asks the decision model, then hands its answers to the chat model&lt;/i&gt;" style="text;html=1;align=center;verticalAlign=middle;strokeColor=none;fillColor=none;" vertex="1" parent="1"><mxGeometry x="150.0" y="12" width="900" height="56" as="geometry"/></mxCell>
        <mxCell id="c13" value="" style="edgeStyle=none;rounded=0;html=1;strokeColor=#37474F;strokeWidth=2;endArrow=block;endFill=1;startArrow=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="230" y="200" as="sourcePoint"/><mxPoint x="330" y="200" as="targetPoint"/></mxGeometry></mxCell>
        <mxCell id="c15" value="" style="edgeStyle=none;rounded=0;html=1;strokeColor=#37474F;strokeWidth=2;endArrow=block;endFill=1;startArrow=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="580" y="200" as="sourcePoint"/><mxPoint x="880" y="200" as="targetPoint"/></mxGeometry></mxCell>
        <mxCell id="c17" value="" style="edgeStyle=none;rounded=0;html=1;strokeColor=#37474F;strokeWidth=2;endArrow=block;endFill=1;startArrow=block;startFill=1;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="455" y="260" as="sourcePoint"/><mxPoint x="455" y="360" as="targetPoint"/></mxGeometry></mxCell>
        <mxCell id="c19" value="" style="edgeStyle=none;rounded=0;html=1;strokeColor=#37474F;strokeWidth=2;endArrow=block;endFill=1;startArrow=none;dashed=1;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="580" y="430" as="sourcePoint"/><mxPoint x="650" y="430" as="targetPoint"/></mxGeometry></mxCell>
        <mxCell id="c20" value="" style="edgeStyle=none;rounded=0;html=1;strokeColor=#37474F;strokeWidth=2;endArrow=block;endFill=1;startArrow=none;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="1020" y="140" as="sourcePoint"/><mxPoint x="135" y="140" as="targetPoint"/><Array as="points"><mxPoint x="1020" y="100"/><mxPoint x="135" y="100"/></Array></mxGeometry></mxCell>
        <mxCell id="c1" value="🧑&lt;br&gt;&lt;b style=&quot;font-size:16px&quot;&gt;User&lt;/b&gt;&lt;br&gt;&lt;span style=&quot;font-size:11.5px;font-weight:normal&quot;&gt;asks about Go&lt;br&gt;terminal · -tui · editor&lt;/span&gt;" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#E3F2FD;gradientColor=#BBDEFB;strokeColor=#1565C0;strokeWidth=2;shadow=1;fontSize=20;fontColor=#0D47A1;" vertex="1" parent="1"><mxGeometry x="40" y="140" width="190" height="120" as="geometry"/></mxCell>
        <mxCell id="c2" value="⚙️&lt;br&gt;&lt;b style=&quot;font-size:16px&quot;&gt;preGeneration hook&lt;/b&gt;&lt;br&gt;&lt;span style=&quot;font-size:11.5px;font-weight:normal&quot;&gt;hooks/ask-decider (Go)&lt;br&gt;go run . · decider failed → nothing&lt;/span&gt;" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#FFFDE7;gradientColor=#FFF9C4;strokeColor=#F9A825;strokeWidth=2;shadow=1;fontSize=20;fontColor=#E65100;" vertex="1" parent="1"><mxGeometry x="330" y="140" width="250" height="120" as="geometry"/></mxCell>
        <mxCell id="c3" value="🤖&lt;br&gt;&lt;b style=&quot;font-size:16px&quot;&gt;Chat model&lt;/b&gt;&lt;br&gt;&lt;span style=&quot;font-size:11.5px;font-weight:normal&quot;&gt;Qwen3.5-4B · no tools&lt;br&gt;system: what to do with each answer&lt;/span&gt;" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#E1F5FE;gradientColor=#B3E5FC;strokeColor=#0277BD;strokeWidth=2;shadow=1;fontSize=20;fontColor=#01579B;" vertex="1" parent="1"><mxGeometry x="880" y="140" width="280" height="120" as="geometry"/></mxCell>
        <mxCell id="c4" value="⚖️&lt;br&gt;&lt;b style=&quot;font-size:16px&quot;&gt;Decider&lt;/b&gt;&lt;br&gt;&lt;span style=&quot;font-size:11.5px;font-weight:normal&quot;&gt;LiquidAI d1-3B · agent.decider.yaml&lt;br&gt;POST /v1/systemone&lt;br&gt;one forward pass, ~0.5 s&lt;/span&gt;" style="rounded=1;arcSize=14;whiteSpace=wrap;html=1;fillColor=#F3E5F5;gradientColor=#E1BEE7;strokeColor=#6A1B9A;strokeWidth=3;shadow=1;fontSize=20;fontColor=#4A148C;" vertex="1" parent="1"><mxGeometry x="330" y="360" width="250" height="140" as="geometry"/></mxCell>
        <mxCell id="c5" value="&lt;b&gt;★ decides&lt;/b&gt;" style="rounded=1;arcSize=50;html=1;fillColor=#6A1B9A;strokeColor=none;fontColor=#FFFFFF;fontSize=11;" vertex="1" parent="1"><mxGeometry x="511.2" y="348" width="78.8" height="24" as="geometry"/></mxCell>
        <mxCell id="c6" value="&lt;i&gt;&lt;b&gt;3 typed questions · agent.decider.yaml&lt;/b&gt;&lt;/i&gt;" style="rounded=1;arcSize=3;html=1;dashed=1;dashPattern=7 5;fillColor=#FAFAFA;strokeColor=#90A4AE;strokeWidth=2;verticalAlign=top;fontColor=#607D8B;fontSize=13;" vertex="1" parent="1"><mxGeometry x="650" y="340" width="510" height="180" as="geometry"/></mxCell>
        <mxCell id="c7" value="&lt;b&gt;level · choice&lt;/b&gt;" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;fillColor=#ECEFF1;gradientColor=#CFD8DC;strokeColor=#455A64;strokeWidth=2;shadow=1;fontSize=13;fontColor=#263238;" vertex="1" parent="1"><mxGeometry x="680" y="380" width="140" height="50" as="geometry"/></mxCell>
        <mxCell id="c8" value="&lt;b&gt;topic · choice&lt;/b&gt;" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;fillColor=#ECEFF1;gradientColor=#CFD8DC;strokeColor=#455A64;strokeWidth=2;shadow=1;fontSize=13;fontColor=#263238;" vertex="1" parent="1"><mxGeometry x="840" y="380" width="140" height="50" as="geometry"/></mxCell>
        <mxCell id="c9" value="&lt;b&gt;wants_code · noul&lt;/b&gt;" style="rounded=1;arcSize=20;whiteSpace=wrap;html=1;fillColor=#ECEFF1;gradientColor=#CFD8DC;strokeColor=#455A64;strokeWidth=2;shadow=1;fontSize=13;fontColor=#263238;" vertex="1" parent="1"><mxGeometry x="1000" y="380" width="140" height="50" as="geometry"/></mxCell>
        <mxCell id="c10" value="level: intermediate (confidence 0.22)" style="text;html=1;align=center;verticalAlign=middle;strokeColor=none;fillColor=none;fontSize=12;fontColor=#37474F;fontStyle=0;fontFamily=DejaVu Sans Mono;" vertex="1" parent="1"><mxGeometry x="767.36" y="453" width="275.28" height="18" as="geometry"/></mxCell>
        <mxCell id="c11" value="topic: concurrency (confidence 0.97) · wants_code: yes (0.92)" style="text;html=1;align=center;verticalAlign=middle;strokeColor=none;fillColor=none;fontSize=11;fontColor=#37474F;fontStyle=0;fontFamily=DejaVu Sans Mono;" vertex="1" parent="1"><mxGeometry x="696.99" y="473" width="416.02" height="17" as="geometry"/></mxCell>
        <mxCell id="c12" value="what the chat model reads under the question" style="text;html=1;align=center;verticalAlign=middle;strokeColor=none;fillColor=none;fontSize=10.5;fontColor=#78909C;fontStyle=2;" vertex="1" parent="1"><mxGeometry x="761.78" y="495.5" width="286.44" height="16.5" as="geometry"/></mxCell>
        <mxCell id="c14" value="&lt;b style=&quot;font-size:12.5px;color:#263238&quot;&gt;question&lt;/b&gt;" style="text;html=1;align=center;verticalAlign=middle;fillColor=#FFFFFF;strokeColor=none;rounded=1;" vertex="1" parent="1"><mxGeometry x="241.0" y="216.0" width="78" height="24" as="geometry"/></mxCell>
        <mxCell id="c16" value="&lt;b style=&quot;font-size:12.5px;color:#263238&quot;&gt;question + answers&lt;/b&gt;&lt;br&gt;&lt;span style=&quot;font-size:10.5px;color:#78909C&quot;&gt;[context added by a hook]&lt;/span&gt;" style="text;html=1;align=center;verticalAlign=middle;fillColor=#FFFFFF;strokeColor=none;rounded=1;" vertex="1" parent="1"><mxGeometry x="641.25" y="180.0" width="177.5" height="40" as="geometry"/></mxCell>
        <mxCell id="c18" value="&lt;b style=&quot;font-size:12.5px;color:#263238&quot;&gt;mm -config … -p&lt;/b&gt;&lt;br&gt;&lt;span style=&quot;font-size:10.5px;color:#78909C&quot;&gt;← answers (JSON)&lt;/span&gt;" style="text;html=1;align=center;verticalAlign=middle;fillColor=#FFFFFF;strokeColor=none;rounded=1;" vertex="1" parent="1"><mxGeometry x="478.0" y="290.0" width="134.0" height="40" as="geometry"/></mxCell>
        <mxCell id="c21" value="&lt;b style=&quot;font-size:12.5px;color:#263238&quot;&gt;answer, shaped by the decider's reading&lt;/b&gt;" style="text;html=1;align=center;verticalAlign=middle;fillColor=#FFFFFF;strokeColor=none;rounded=1;" vertex="1" parent="1"><mxGeometry x="441.8" y="88.0" width="316.4" height="24" as="geometry"/></mxCell>
        <mxCell id="c22" value="Same flow as demos/decision-chat; the hook is a Go program in its own module" style="text;html=1;align=center;verticalAlign=middle;strokeColor=none;fillColor=none;fontSize=12.5;fontColor=#455A64;fontStyle=2;" vertex="1" parent="1"><mxGeometry x="305.5" y="559.5" width="589.0" height="18.5" as="geometry"/></mxCell>
        <mxCell id="c23" value="(hooks/ask-decider/go.mod), tested with go test, kept out of mini-me's go build ./..." style="text;html=1;align=center;verticalAlign=middle;strokeColor=none;fillColor=none;fontSize=12.5;fontColor=#455A64;fontStyle=2;" vertex="1" parent="1"><mxGeometry x="270.625" y="579.5" width="658.75" height="18.5" as="geometry"/></mxCell>
      </root>
    </mxGraphModel>
  </diagram>
</mxfile>