bots-garden/mini-mepublic Fork
⑂ a5dd909
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

🔒 Quality: no lint error or warning left (shellcheck, Go CVEs)

- shellcheck: bench-lib.sh is sourced (a `shell=bash` directive, no
  shebang), a2a-discussion/stop.sh stops when cd fails, slow.sh quotes its
  glob, local-ci-00-common.sh's git_url/assets_dir marked as read by the
  scripts that source it
- toolchain go1.27.4 (GO-2026-6859, net/http, fixed in 1.27.4) for mm and
  for the Go modules of the demos and fixtures, which declared go 1.22 or
  1.24 (104 stdlib CVEs reported once per go.mod); demos/dev.team/workspace's
  golang.org/x/{crypto,net,sys,text} upgraded
- every module builds and vets; the wasm modules build with TinyGo 0.44;
  the two failing test suites (model-check calc fixture, dev.team
  workspace) failed the same way before

qlty check: 1 error, 557 warnings → 0, 0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
agent committed 2026-11-28T11:19:22+01:00 Browse files
a5dd909 parent: 1cfe23f
modified demo.acp.sdk/go/go.mod +3 -1
@@ -3,6 +3,8 @@
33 // build it, and so that it imports nothing from mm — only the ACP SDK mm uses.
44 module minime
55
6-go 1.24
6+go 1.27.0
7+
8+toolchain go1.27.4
79
810 require github.com/coder/acp-go-sdk v0.13.5
@@ -3,6 +3,8 @@
3 // build it, and so that it imports nothing from mm — only the ACP SDK mm uses.3 // build it, and so that it imports nothing from mm — only the ACP SDK mm uses.
4 module minime4 module minime
5 5
6-go 1.246+go 1.27.0
7+
8+toolchain go1.27.4
7 9
8 require github.com/coder/acp-go-sdk v0.13.510 require github.com/coder/acp-go-sdk v0.13.5
modified demos/a2a-discussion/stop.sh +1 -1
@@ -1,6 +1,6 @@
11 #!/usr/bin/env bash
22 # Stop the three agents. The last one to quit stops llama-server.
3-cd "$(dirname "$0")"
3+cd "$(dirname "$0")" || exit 1
44 for agent in alice bob moderator; do
55 [ -f "$agent.pid" ] && kill "$(cat "$agent.pid")" 2>/dev/null && echo "stopped $agent"
66 rm -f "$agent.pid"
@@ -1,6 +1,6 @@
1 #!/usr/bin/env bash1 #!/usr/bin/env bash
2 # Stop the three agents. The last one to quit stops llama-server.2 # Stop the three agents. The last one to quit stops llama-server.
3-cd "$(dirname "$0")"3+cd "$(dirname "$0")" || exit 1
4 for agent in alice bob moderator; do4 for agent in alice bob moderator; do
5 [ -f "$agent.pid" ] && kill "$(cat "$agent.pid")" 2>/dev/null && echo "stopped $agent"5 [ -f "$agent.pid" ] && kill "$(cat "$agent.pid")" 2>/dev/null && echo "stopped $agent"
6 rm -f "$agent.pid"6 rm -f "$agent.pid"
modified demos/decision-chat-golang/hooks/ask-decider/go.mod +3 -1
@@ -2,4 +2,6 @@
22 // mini-me does not build it.
33 module askdecider
44
5-go 1.24
5+go 1.27.0
6+
7+toolchain go1.27.4
@@ -2,4 +2,6 @@
2 // mini-me does not build it.2 // mini-me does not build it.
3 module askdecider3 module askdecider
4 4
5-go 1.245+go 1.27.0
6+
7+toolchain go1.27.4
modified demos/decision-tools/playground/go.mod +3 -1
@@ -1,3 +1,5 @@
11 module playground
22
3-go 1.24
3+go 1.27.0
4+
5+toolchain go1.27.4
@@ -1,3 +1,5 @@
1 module playground1 module playground
2 2
3-go 1.243+go 1.27.0
4+
5+toolchain go1.27.4
modified demos/declared-tools/scripts/slow.sh +1 -1
@@ -4,7 +4,7 @@
44 set -eu
55 cd "$(dirname "$0")/.."
66 threshold=$1
7-files=logs/*.log
7+files="logs/*.log" # expanded below, where it is used unquoted
88 [ $# -ge 2 ] && files="logs/$2.log"
99 # shellcheck disable=SC2086 # files is a glob or one path, split on purpose
1010 awk -v t="$threshold" '{ d = $5; sub(/s$/, "", d); if (d + 0 > t + 0) print FILENAME ": " $0 }' $files | sed 's|^logs/||'
@@ -4,7 +4,7 @@
4 set -eu4 set -eu
5 cd "$(dirname "$0")/.."5 cd "$(dirname "$0")/.."
6 threshold=$16 threshold=$1
7-files=logs/*.log7+files="logs/*.log" # expanded below, where it is used unquoted
8 [ $# -ge 2 ] && files="logs/$2.log"8 [ $# -ge 2 ] && files="logs/$2.log"
9 # shellcheck disable=SC2086 # files is a glob or one path, split on purpose9 # shellcheck disable=SC2086 # files is a glob or one path, split on purpose
10 awk -v t="$threshold" '{ d = $5; sub(/s$/, "", d); if (d + 0 > t + 0) print FILENAME ": " $0 }' $files | sed 's|^logs/||'10 awk -v t="$threshold" '{ d = $5; sub(/s$/, "", d); if (d + 0 > t + 0) print FILENAME ": " $0 }' $files | sed 's|^logs/||'
modified demos/dev.team/workspace/go.mod +7 -5
@@ -1,6 +1,8 @@
11 module issueapp
22
3-go 1.27
3+go 1.27.0
4+
5+toolchain go1.27.4
46
57 require (
68 github.com/gin-gonic/gin v1.10.0
@@ -28,10 +30,10 @@ require (
2830 github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
2931 github.com/ugorji/go/codec v1.2.12 // indirect
3032 golang.org/x/arch v0.8.0 // indirect
31- golang.org/x/crypto v0.23.0 // indirect
32- golang.org/x/net v0.25.0 // indirect
33- golang.org/x/sys v0.20.0 // indirect
34- golang.org/x/text v0.15.0 // indirect
33+ golang.org/x/crypto v0.59.0 // indirect
34+ golang.org/x/net v0.63.0 // indirect
35+ golang.org/x/sys v0.50.0 // indirect
36+ golang.org/x/text v0.44.0 // indirect
3537 google.golang.org/protobuf v1.34.1 // indirect
3638 gopkg.in/yaml.v3 v3.0.1 // indirect
3739 )
@@ -1,6 +1,8 @@
1 module issueapp1 module issueapp
2 2
3-go 1.273+go 1.27.0
4+
5+toolchain go1.27.4
4 6
5 require (7 require (
6 github.com/gin-gonic/gin v1.10.08 github.com/gin-gonic/gin v1.10.0
@@ -28,10 +30,10 @@ require (
28 github.com/twitchyliquid64/golang-asm v0.15.1 // indirect30 github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
29 github.com/ugorji/go/codec v1.2.12 // indirect31 github.com/ugorji/go/codec v1.2.12 // indirect
30 golang.org/x/arch v0.8.0 // indirect32 golang.org/x/arch v0.8.0 // indirect
31- golang.org/x/crypto v0.23.0 // indirect33+ golang.org/x/crypto v0.59.0 // indirect
32- golang.org/x/net v0.25.0 // indirect34+ golang.org/x/net v0.63.0 // indirect
33- golang.org/x/sys v0.20.0 // indirect35+ golang.org/x/sys v0.50.0 // indirect
34- golang.org/x/text v0.15.0 // indirect36+ golang.org/x/text v0.44.0 // indirect
35 google.golang.org/protobuf v1.34.1 // indirect37 google.golang.org/protobuf v1.34.1 // indirect
36 gopkg.in/yaml.v3 v3.0.1 // indirect38 gopkg.in/yaml.v3 v3.0.1 // indirect
37 )39 )
modified demos/dev.team/workspace/go.sum +8 -8
@@ -68,16 +68,16 @@ github.com/ugorji/go/codec v1.2.12/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZ
6868 golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
6969 golang.org/x/arch v0.8.0 h1:3wRIsP3pM4yUptoR96otTUOXI367OS0+c9eeRi9doIc=
7070 golang.org/x/arch v0.8.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys=
71-golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI=
72-golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8=
73-golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
74-golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
71+golang.org/x/crypto v0.59.0 h1:xS2jhqYbzNrpvkWP2YTDf4TJwBy3ykR03i8vFDxEc7c=
72+golang.org/x/crypto v0.59.0/go.mod h1:veDyUwATGs3c+vN3VfTbzViMGXeTBk3WyhBOkn+F/4U=
73+golang.org/x/net v0.63.0 h1:HCoTmNh9EpD1PpK8gBNFY4gcTY4N+KQEO8ylfIKqFJ0=
74+golang.org/x/net v0.63.0/go.mod h1:15JLg3IX1bLjHK264EZQEbIpTiR/KVLuo9CTRWd0pig=
7575 golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
7676 golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
77-golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=
78-golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
79-golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=
80-golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
77+golang.org/x/sys v0.50.0 h1:dkKZEFTEKaLr1sjhs0WiKqoi8Jj5nHbS3Njmx1UoMJs=
78+golang.org/x/sys v0.50.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og=
79+golang.org/x/text v0.44.0 h1:YItdp/mQNGnsmrgpcdA5yQ3bnRxCfo/Tj/iByGW9GGo=
80+golang.org/x/text v0.44.0/go.mod h1:S4FR1waQ9LbjQTls97SyRjDaUUVkaM+cXwwuG/G+MwY=
8181 golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
8282 golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
8383 google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
@@ -68,16 +68,16 @@ github.com/ugorji/go/codec v1.2.12/go.mod h1:UNopzCgEMSXjBc6AOMqYvWC1ktqTAfzJZUZ
68 golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=68 golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
69 golang.org/x/arch v0.8.0 h1:3wRIsP3pM4yUptoR96otTUOXI367OS0+c9eeRi9doIc=69 golang.org/x/arch v0.8.0 h1:3wRIsP3pM4yUptoR96otTUOXI367OS0+c9eeRi9doIc=
70 golang.org/x/arch v0.8.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys=70 golang.org/x/arch v0.8.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys=
71-golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI=71+golang.org/x/crypto v0.59.0 h1:xS2jhqYbzNrpvkWP2YTDf4TJwBy3ykR03i8vFDxEc7c=
72-golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8=72+golang.org/x/crypto v0.59.0/go.mod h1:veDyUwATGs3c+vN3VfTbzViMGXeTBk3WyhBOkn+F/4U=
73-golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=73+golang.org/x/net v0.63.0 h1:HCoTmNh9EpD1PpK8gBNFY4gcTY4N+KQEO8ylfIKqFJ0=
74-golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=74+golang.org/x/net v0.63.0/go.mod h1:15JLg3IX1bLjHK264EZQEbIpTiR/KVLuo9CTRWd0pig=
75 golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=75 golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
76 golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=76 golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
77-golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y=77+golang.org/x/sys v0.50.0 h1:dkKZEFTEKaLr1sjhs0WiKqoi8Jj5nHbS3Njmx1UoMJs=
78-golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=78+golang.org/x/sys v0.50.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og=
79-golang.org/x/text v0.15.0 h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=79+golang.org/x/text v0.44.0 h1:YItdp/mQNGnsmrgpcdA5yQ3bnRxCfo/Tj/iByGW9GGo=
80-golang.org/x/text v0.15.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=80+golang.org/x/text v0.44.0/go.mod h1:S4FR1waQ9LbjQTls97SyRjDaUUVkaM+cXwwuG/G+MwY=
81 golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=81 golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4=
82 golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=82 golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
83 google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=83 google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg=
modified demos/little-coder/skills/go-htmx-app/starter/go.mod +3 -1
@@ -1,3 +1,5 @@
11 module htmx-app
22
3-go 1.22
3+go 1.27.0
4+
5+toolchain go1.27.4
@@ -1,3 +1,5 @@
1 module htmx-app1 module htmx-app
2 2
3-go 1.223+go 1.27.0
4+
5+toolchain go1.27.4
modified demos/team/starter/go.mod +3 -1
@@ -1,3 +1,5 @@
11 module htmx-app
22
3-go 1.22
3+go 1.27.0
4+
5+toolchain go1.27.4
@@ -1,3 +1,5 @@
1 module htmx-app1 module htmx-app
2 2
3-go 1.223+go 1.27.0
4+
5+toolchain go1.27.4
modified demos/wasm-hooks/hooks-src/go.mod +3 -1
@@ -3,4 +3,6 @@
33 // (../build.sh).
44 module wasmhooks
55
6-go 1.24
6+go 1.27.0
7+
8+toolchain go1.27.4
@@ -3,4 +3,6 @@
3 // (../build.sh).3 // (../build.sh).
4 module wasmhooks4 module wasmhooks
5 5
6-go 1.246+go 1.27.0
7+
8+toolchain go1.27.4
modified demos/wasm-tools/tools-src/go.mod +3 -1
@@ -3,4 +3,6 @@
33 // (../build.sh).
44 module wasmtools
55
6-go 1.24
6+go 1.27.0
7+
8+toolchain go1.27.4
@@ -3,4 +3,6 @@
3 // (../build.sh).3 // (../build.sh).
4 module wasmtools4 module wasmtools
5 5
6-go 1.246+go 1.27.0
7+
8+toolchain go1.27.4
modified go.mod +1 -1
@@ -2,7 +2,7 @@ module mm
22
33 go 1.27.0
44
5-toolchain go1.27.3
5+toolchain go1.27.4
66
77 require (
88 github.com/coder/acp-go-sdk v0.13.5
@@ -2,7 +2,7 @@ module mm
2 2
3 go 1.27.03 go 1.27.0
4 4
5-toolchain go1.27.35+toolchain go1.27.4
6 6
7 require (7 require (
8 github.com/coder/acp-go-sdk v0.13.58 github.com/coder/acp-go-sdk v0.13.5
modified local-ci-00-common.sh +2 -0
@@ -27,7 +27,9 @@ REPO="${REPO:-mini-me}"
2727 handle="${RICKUB_HANDLE:-k33g}"
2828 web="https://rickub.com/${OWNER}/${REPO}"
2929 api="https://rickub.com/api/v1/repos/${OWNER}/${REPO}"
30+# shellcheck disable=SC2034 # git_url and assets_dir are read by the local-ci-0N scripts that source this file
3031 git_url="https://${handle}@git.rickub.com/${OWNER}/${REPO}.git"
32+# shellcheck disable=SC2034 # (same: read by the scripts that source this file)
3133 assets_dir="release/${TAG}"
3234
3335 work="$(mktemp -d)"
@@ -27,7 +27,9 @@ REPO="${REPO:-mini-me}"
27 handle="${RICKUB_HANDLE:-k33g}"27 handle="${RICKUB_HANDLE:-k33g}"
28 web="https://rickub.com/${OWNER}/${REPO}"28 web="https://rickub.com/${OWNER}/${REPO}"
29 api="https://rickub.com/api/v1/repos/${OWNER}/${REPO}"29 api="https://rickub.com/api/v1/repos/${OWNER}/${REPO}"
30+# shellcheck disable=SC2034 # git_url and assets_dir are read by the local-ci-0N scripts that source this file
30 git_url="https://${handle}@git.rickub.com/${OWNER}/${REPO}.git"31 git_url="https://${handle}@git.rickub.com/${OWNER}/${REPO}.git"
32+# shellcheck disable=SC2034 # (same: read by the scripts that source this file)
31 assets_dir="release/${TAG}"33 assets_dir="release/${TAG}"
32 34
33 work="$(mktemp -d)"35 work="$(mktemp -d)"
modified testing/common/bench-lib.sh +2 -0
@@ -1,3 +1,5 @@
1+# shellcheck shell=bash
2+# (Sourced, never run: it has no shebang; this tells shellcheck the shell.)
13 # The part of a bench that every test set shares: the loop over the tests,
24 # recording results, the results table and the Markdown report. Sourced by
35 # each set's bench.sh, which sets these first:
@@ -1,3 +1,5 @@
1+# shellcheck shell=bash
2+# (Sourced, never run: it has no shebang; this tells shellcheck the shell.)
1 # The part of a bench that every test set shares: the loop over the tests,3 # The part of a bench that every test set shares: the loop over the tests,
2 # recording results, the results table and the Markdown report. Sourced by4 # recording results, the results table and the Markdown report. Sourced by
3 # each set's bench.sh, which sets these first:5 # each set's bench.sh, which sets these first:
modified testing/model-check/skills/model-check/fixtures/calc/go.mod +3 -1
@@ -1,3 +1,5 @@
11 module calc
22
3-go 1.22
3+go 1.27.0
4+
5+toolchain go1.27.4
@@ -1,3 +1,5 @@
1 module calc1 module calc
2 2
3-go 1.223+go 1.27.0
4+
5+toolchain go1.27.4
modified testing/model-check/skills/model-check/fixtures/go.mod +3 -1
@@ -2,4 +2,6 @@
22 // tested model writes here never become part of mini-me's module.
33 module work
44
5-go 1.22
5+go 1.27.0
6+
7+toolchain go1.27.4
@@ -2,4 +2,6 @@
2 // tested model writes here never become part of mini-me's module.2 // tested model writes here never become part of mini-me's module.
3 module work3 module work
4 4
5-go 1.225+go 1.27.0
6+
7+toolchain go1.27.4