bots-garden/mini-mepublic Fork
⑂ 53d6cf3
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.

k33g committed 2026-10-21T13:21:50+02:00 Browse files
53d6cf3 parent: 6ab4ea9
added .tickets/issues/0115-uograde-go-version.yaml +43 -0
new file mode 100644
@@ -0,0 +1,43 @@
1+# Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
2+id: 115
3+title: Uograde go version
4+state: open
5+author:
6+ name: k33g
7+ email: ph.charriere@gmail.com
8+createdAt: 2026-10-21T11:03:46.198Z
9+updatedAt: 2026-10-21T15:00:00.000Z
10+labels: []
11+milestone: v0.9.0
12+body: |
13+ Upgrade Go to go1.27.3
14+tasks: []
15+comments:
16+ - id: 1
17+ author:
18+ name: k33g
19+ email: ph.charriere@gmail.com
20+ createdAt: 2026-10-21T15:00:00.000Z
21+ body: |
22+ Done on feature/go-1.27.3 (branch created at the user's request).
23+ User's decision: raise both lines — go.mod is now `go 1.27.0` and
24+ `toolchain go1.27.3` (was `go 1.26.0`, `toolchain go1.26.9`), so Go
25+ 1.27 is the minimum for everyone.
26+ - `go mod tidy` with 1.27.3: no version changed, go.sum unchanged;
27+ only the require blocks were regrouped (acp-go-sdk, a direct
28+ dependency listed among the indirect ones, moved to the direct
29+ block).
30+ - With go1.27.3: go build, go vet, gofmt clean; go test ./... green
31+ (31 packages); CGO_ENABLED=0 cross-builds OK for darwin/arm64,
32+ darwin/amd64, linux/amd64, linux/arm64, windows/amd64 (the release
33+ targets of 02-build-releases.sh).
34+ - Requirement bumped: README (Go 1.27+), tutorials getting-started EN+FR
35+ and mcp-getting-started EN (the FR MCP tutorial never named a
36+ version); sbx/kits/go-toolchain default 1.27.2 → 1.27.3.
37+ - Not changed: the CI (release.yml reads go-version-file: go.mod);
38+ docs/*/reference/cli.md shows an old `mm --version` sample line
39+ (go1.26.5), an example; explanation/lsp-tool.md's "Go 1.26 floor"
40+ is history.
41+ - Watch: the project memory records that golangci-lint (used by qlty)
42+ panicked in go/types with Go 1.27.2 — not re-checked (qlty absent
43+ here); run the quality gate on this branch.
new file mode 100644
@@ -0,0 +1,43 @@
1+# Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
2+id: 115
3+title: Uograde go version
4+state: open
5+author:
6+ name: k33g
7+ email: ph.charriere@gmail.com
8+createdAt: 2026-10-21T11:03:46.198Z
9+updatedAt: 2026-10-21T15:00:00.000Z
10+labels: []
11+milestone: v0.9.0
12+body: |
13+ Upgrade Go to go1.27.3
14+tasks: []
15+comments:
16+ - id: 1
17+ author:
18+ name: k33g
19+ email: ph.charriere@gmail.com
20+ createdAt: 2026-10-21T15:00:00.000Z
21+ body: |
22+ Done on feature/go-1.27.3 (branch created at the user's request).
23+ User's decision: raise both lines — go.mod is now `go 1.27.0` and
24+ `toolchain go1.27.3` (was `go 1.26.0`, `toolchain go1.26.9`), so Go
25+ 1.27 is the minimum for everyone.
26+ - `go mod tidy` with 1.27.3: no version changed, go.sum unchanged;
27+ only the require blocks were regrouped (acp-go-sdk, a direct
28+ dependency listed among the indirect ones, moved to the direct
29+ block).
30+ - With go1.27.3: go build, go vet, gofmt clean; go test ./... green
31+ (31 packages); CGO_ENABLED=0 cross-builds OK for darwin/arm64,
32+ darwin/amd64, linux/amd64, linux/arm64, windows/amd64 (the release
33+ targets of 02-build-releases.sh).
34+ - Requirement bumped: README (Go 1.27+), tutorials getting-started EN+FR
35+ and mcp-getting-started EN (the FR MCP tutorial never named a
36+ version); sbx/kits/go-toolchain default 1.27.2 → 1.27.3.
37+ - Not changed: the CI (release.yml reads go-version-file: go.mod);
38+ docs/*/reference/cli.md shows an old `mm --version` sample line
39+ (go1.26.5), an example; explanation/lsp-tool.md's "Go 1.26 floor"
40+ is history.
41+ - Watch: the project memory records that golangci-lint (used by qlty)
42+ panicked in go/types with Go 1.27.2 — not re-checked (qlty absent
43+ here); run the quality gate on this branch.
modified .tickets/milestones.yaml +1 -1
@@ -28,7 +28,7 @@ milestones:
2828 state: closed
2929 dueOn: 2026-10-28
3030 - title: v0.8.0
31- state: open
31+ state: closed
3232 dueOn: 2026-10-28
3333 - title: v0.9.0
3434 state: open
@@ -28,7 +28,7 @@ milestones:
28 state: closed28 state: closed
29 dueOn: 2026-10-2829 dueOn: 2026-10-28
30 - title: v0.8.030 - title: v0.8.0
31- state: open31+ state: closed
32 dueOn: 2026-10-2832 dueOn: 2026-10-28
33 - title: v0.9.033 - title: v0.9.0
34 state: open34 state: open
modified README.md +1 -1
@@ -20,7 +20,7 @@ What makes Mini Me a bit special is that it was designed from the start to be us
2020
2121 ## Install
2222
23-You need Go 1.26+ and a model server that can emit tool calls, through its OpenAI-compatible API: Docker Model Runner (`provider: dmr`, the default), llama.cpp's `llama-server` (`llamacpp`), [llmman](https://github.com/llmmanorg/llmman) (`llmman`) or Ollama (`ollama`).
23+You need Go 1.27+ and a model server that can emit tool calls, through its OpenAI-compatible API: Docker Model Runner (`provider: dmr`, the default), llama.cpp's `llama-server` (`llamacpp`), [llmman](https://github.com/llmmanorg/llmman) (`llmman`) or Ollama (`ollama`).
2424
2525 ```bash
2626 git clone https://git.rickub.com/bots-garden/mini-me.git
@@ -20,7 +20,7 @@ What makes Mini Me a bit special is that it was designed from the start to be us
20 20
21 ## Install21 ## Install
22 22
23-You need Go 1.26+ and a model server that can emit tool calls, through its OpenAI-compatible API: Docker Model Runner (`provider: dmr`, the default), llama.cpp's `llama-server` (`llamacpp`), [llmman](https://github.com/llmmanorg/llmman) (`llmman`) or Ollama (`ollama`).23+You need Go 1.27+ and a model server that can emit tool calls, through its OpenAI-compatible API: Docker Model Runner (`provider: dmr`, the default), llama.cpp's `llama-server` (`llamacpp`), [llmman](https://github.com/llmmanorg/llmman) (`llmman`) or Ollama (`ollama`).
24 24
25 ```bash25 ```bash
26 git clone https://git.rickub.com/bots-garden/mini-me.git26 git clone https://git.rickub.com/bots-garden/mini-me.git
modified docs/en/tutorials/getting-started.md +1 -1
@@ -4,7 +4,7 @@ By the end of this tutorial, you will have built the `mm` binary, started it aga
44
55 ## Prerequisites
66
7-- Go 1.26 or later on your `PATH` (`go version` answers).
7+- Go 1.27 or later on your `PATH` (`go version` answers).
88 - Docker Desktop with Docker Model Runner enabled and reachable on `http://localhost:12434`.
99 - The model named in `agent.yaml` pulled locally. The file shipped with the project names `huggingface.co/jetbrains/mellum2-12b-a2.5b-instruct-gguf-q4_k_m:Q4_K_M`; pull it with `docker model pull <that name>`.
1010 - A terminal open at the root of the repository (the directory that holds `main.go` and `agent.yaml`).
@@ -4,7 +4,7 @@ By the end of this tutorial, you will have built the `mm` binary, started it aga
4 4
5 ## Prerequisites5 ## Prerequisites
6 6
7-- Go 1.26 or later on your `PATH` (`go version` answers).7+- Go 1.27 or later on your `PATH` (`go version` answers).
8 - Docker Desktop with Docker Model Runner enabled and reachable on `http://localhost:12434`.8 - Docker Desktop with Docker Model Runner enabled and reachable on `http://localhost:12434`.
9 - The model named in `agent.yaml` pulled locally. The file shipped with the project names `huggingface.co/jetbrains/mellum2-12b-a2.5b-instruct-gguf-q4_k_m:Q4_K_M`; pull it with `docker model pull <that name>`.9 - The model named in `agent.yaml` pulled locally. The file shipped with the project names `huggingface.co/jetbrains/mellum2-12b-a2.5b-instruct-gguf-q4_k_m:Q4_K_M`; pull it with `docker model pull <that name>`.
10 - A terminal open at the root of the repository (the directory that holds `main.go` and `agent.yaml`).10 - A terminal open at the root of the repository (the directory that holds `main.go` and `agent.yaml`).
modified docs/en/tutorials/mcp-getting-started.md +1 -1
@@ -4,7 +4,7 @@ By the end of this tutorial, you will have built the `mm` binary, started it aga
44
55 ## Prerequisites
66
7-- Go 1.26 or later on your `PATH` (`go version` answers).
7+- Go 1.27 or later on your `PATH` (`go version` answers).
88 - Docker Desktop with Docker Model Runner enabled and reachable on `http://localhost:12434`.
99 - The model named in `agent.yaml` pulled locally. The file shipped with the project names `huggingface.co/jetbrains/mellum2-12b-a2.5b-instruct-gguf-q4_k_m:Q4_K_M`; pull it with `docker model pull <that name>`.
1010 - A terminal open at the root of the repository (the directory that holds `main.go` and `agent.yaml`).
@@ -4,7 +4,7 @@ By the end of this tutorial, you will have built the `mm` binary, started it aga
4 4
5 ## Prerequisites5 ## Prerequisites
6 6
7-- Go 1.26 or later on your `PATH` (`go version` answers).7+- Go 1.27 or later on your `PATH` (`go version` answers).
8 - Docker Desktop with Docker Model Runner enabled and reachable on `http://localhost:12434`.8 - Docker Desktop with Docker Model Runner enabled and reachable on `http://localhost:12434`.
9 - The model named in `agent.yaml` pulled locally. The file shipped with the project names `huggingface.co/jetbrains/mellum2-12b-a2.5b-instruct-gguf-q4_k_m:Q4_K_M`; pull it with `docker model pull <that name>`.9 - The model named in `agent.yaml` pulled locally. The file shipped with the project names `huggingface.co/jetbrains/mellum2-12b-a2.5b-instruct-gguf-q4_k_m:Q4_K_M`; pull it with `docker model pull <that name>`.
10 - A terminal open at the root of the repository (the directory that holds `main.go` and `agent.yaml`).10 - A terminal open at the root of the repository (the directory that holds `main.go` and `agent.yaml`).
modified docs/fr/tutorials/getting-started.md +1 -1
@@ -4,7 +4,7 @@
44
55 ## Prérequis
66
7-- Go 1.26 ou plus récent dans votre `PATH` (`go version` répond).
7+- Go 1.27 ou plus récent dans votre `PATH` (`go version` répond).
88 - Docker Desktop avec Docker Model Runner activé et joignable sur `http://localhost:12434`.
99 - Le modèle nommé dans `agent.yaml` téléchargé localement. Le fichier livré avec le projet nomme `huggingface.co/jetbrains/mellum2-12b-a2.5b-instruct-gguf-q4_k_m:Q4_K_M` ; récupérez-le avec `docker model pull <ce nom>`.
1010 - Un terminal ouvert à la racine du dépôt (le répertoire qui contient `main.go` et `agent.yaml`).
@@ -4,7 +4,7 @@
4 4
5 ## Prérequis5 ## Prérequis
6 6
7-- Go 1.26 ou plus récent dans votre `PATH` (`go version` répond).7+- Go 1.27 ou plus récent dans votre `PATH` (`go version` répond).
8 - Docker Desktop avec Docker Model Runner activé et joignable sur `http://localhost:12434`.8 - Docker Desktop avec Docker Model Runner activé et joignable sur `http://localhost:12434`.
9 - Le modèle nommé dans `agent.yaml` téléchargé localement. Le fichier livré avec le projet nomme `huggingface.co/jetbrains/mellum2-12b-a2.5b-instruct-gguf-q4_k_m:Q4_K_M` ; récupérez-le avec `docker model pull <ce nom>`.9 - Le modèle nommé dans `agent.yaml` téléchargé localement. Le fichier livré avec le projet nomme `huggingface.co/jetbrains/mellum2-12b-a2.5b-instruct-gguf-q4_k_m:Q4_K_M` ; récupérez-le avec `docker model pull <ce nom>`.
10 - Un terminal ouvert à la racine du dépôt (le répertoire qui contient `main.go` et `agent.yaml`).10 - Un terminal ouvert à la racine du dépôt (le répertoire qui contient `main.go` et `agent.yaml`).
modified go.mod +13 -16
@@ -1,10 +1,11 @@
11 module mm
22
3-go 1.26.0
3+go 1.27.0
44
5-toolchain go1.26.9
5+toolchain go1.27.3
66
77 require (
8+ github.com/coder/acp-go-sdk v0.13.5
89 github.com/firebase/genkit/go v1.13.1
910 github.com/gdamore/tcell/v2 v2.13.10
1011 github.com/openai/openai-go v1.8.2
@@ -17,31 +18,24 @@ require (
1718 gopkg.in/yaml.v3 v3.0.1
1819 )
1920
20-require (
21- github.com/cespare/xxhash/v2 v2.3.0 // indirect
22- github.com/gdamore/encoding v1.0.1 // indirect
23- github.com/go-json-experiment/json v0.0.0-20260623181947-01eb4420fa68 // indirect
24- github.com/kr/text v0.2.0 // indirect
25- github.com/lucasb-eyer/go-colorful v1.4.0 // indirect
26- github.com/pb33f/ordered-map/v2 v2.3.1 // indirect
27- github.com/rivo/uniseg v0.4.7 // indirect
28- go.opentelemetry.io/otel/log v1.47.0 // indirect
29- go.yaml.in/yaml/v4 v4.0.0-rc.4 // indirect
30- golang.org/x/term v0.47.0 // indirect
31-)
32-
3321 require (
3422 github.com/bahlo/generic-list-go v0.2.0 // indirect
3523 github.com/buger/jsonparser v1.1.2 // indirect
36- github.com/coder/acp-go-sdk v0.13.5
24+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
3725 github.com/coder/websocket v1.8.14 // indirect
26+ github.com/gdamore/encoding v1.0.1 // indirect
27+ github.com/go-json-experiment/json v0.0.0-20260623181947-01eb4420fa68 // indirect
3828 github.com/go-logr/logr v1.4.4 // indirect
3929 github.com/go-logr/stdr v1.2.2 // indirect
4030 github.com/goccy/go-yaml v1.19.2 // indirect
4131 github.com/google/dotprompt/go v0.0.0-20260708220100-73beb993ac95 // indirect
4232 github.com/google/uuid v1.6.0 // indirect
4333 github.com/invopop/jsonschema v0.14.0 // indirect
34+ github.com/kr/text v0.2.0 // indirect
35+ github.com/lucasb-eyer/go-colorful v1.4.0 // indirect
4436 github.com/mbleigh/raymond v0.0.0-20250414171441-6b3a58ab9e0a // indirect
37+ github.com/pb33f/ordered-map/v2 v2.3.1 // indirect
38+ github.com/rivo/uniseg v0.4.7 // indirect
4539 github.com/tidwall/gjson v1.18.0 // indirect
4640 github.com/tidwall/match v1.1.1 // indirect
4741 github.com/tidwall/pretty v1.2.1 // indirect
@@ -52,8 +46,11 @@ require (
5246 github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
5347 go.opentelemetry.io/auto/sdk v1.2.1 // indirect
5448 go.opentelemetry.io/otel v1.47.0 // indirect
49+ go.opentelemetry.io/otel/log v1.47.0 // indirect
5550 go.opentelemetry.io/otel/metric v1.47.0 // indirect
5651 go.opentelemetry.io/otel/sdk v1.47.0 // indirect
5752 go.opentelemetry.io/otel/trace v1.47.0 // indirect
53+ go.yaml.in/yaml/v4 v4.0.0-rc.4 // indirect
5854 golang.org/x/sys v0.49.0 // indirect
55+ golang.org/x/term v0.47.0 // indirect
5956 )
@@ -1,10 +1,11 @@
1 module mm1 module mm
2 2
3-go 1.26.03+go 1.27.0
4 4
5-toolchain go1.26.95+toolchain go1.27.3
6 6
7 require (7 require (
8+ github.com/coder/acp-go-sdk v0.13.5
8 github.com/firebase/genkit/go v1.13.19 github.com/firebase/genkit/go v1.13.1
9 github.com/gdamore/tcell/v2 v2.13.1010 github.com/gdamore/tcell/v2 v2.13.10
10 github.com/openai/openai-go v1.8.211 github.com/openai/openai-go v1.8.2
@@ -17,31 +18,24 @@ require (
17 gopkg.in/yaml.v3 v3.0.118 gopkg.in/yaml.v3 v3.0.1
18 )19 )
19 20
20-require (
21- github.com/cespare/xxhash/v2 v2.3.0 // indirect
22- github.com/gdamore/encoding v1.0.1 // indirect
23- github.com/go-json-experiment/json v0.0.0-20260623181947-01eb4420fa68 // indirect
24- github.com/kr/text v0.2.0 // indirect
25- github.com/lucasb-eyer/go-colorful v1.4.0 // indirect
26- github.com/pb33f/ordered-map/v2 v2.3.1 // indirect
27- github.com/rivo/uniseg v0.4.7 // indirect
28- go.opentelemetry.io/otel/log v1.47.0 // indirect
29- go.yaml.in/yaml/v4 v4.0.0-rc.4 // indirect
30- golang.org/x/term v0.47.0 // indirect
31-)
32-
33 require (21 require (
34 github.com/bahlo/generic-list-go v0.2.0 // indirect22 github.com/bahlo/generic-list-go v0.2.0 // indirect
35 github.com/buger/jsonparser v1.1.2 // indirect23 github.com/buger/jsonparser v1.1.2 // indirect
36- github.com/coder/acp-go-sdk v0.13.524+ github.com/cespare/xxhash/v2 v2.3.0 // indirect
37 github.com/coder/websocket v1.8.14 // indirect25 github.com/coder/websocket v1.8.14 // indirect
26+ github.com/gdamore/encoding v1.0.1 // indirect
27+ github.com/go-json-experiment/json v0.0.0-20260623181947-01eb4420fa68 // indirect
38 github.com/go-logr/logr v1.4.4 // indirect28 github.com/go-logr/logr v1.4.4 // indirect
39 github.com/go-logr/stdr v1.2.2 // indirect29 github.com/go-logr/stdr v1.2.2 // indirect
40 github.com/goccy/go-yaml v1.19.2 // indirect30 github.com/goccy/go-yaml v1.19.2 // indirect
41 github.com/google/dotprompt/go v0.0.0-20260708220100-73beb993ac95 // indirect31 github.com/google/dotprompt/go v0.0.0-20260708220100-73beb993ac95 // indirect
42 github.com/google/uuid v1.6.0 // indirect32 github.com/google/uuid v1.6.0 // indirect
43 github.com/invopop/jsonschema v0.14.0 // indirect33 github.com/invopop/jsonschema v0.14.0 // indirect
34+ github.com/kr/text v0.2.0 // indirect
35+ github.com/lucasb-eyer/go-colorful v1.4.0 // indirect
44 github.com/mbleigh/raymond v0.0.0-20250414171441-6b3a58ab9e0a // indirect36 github.com/mbleigh/raymond v0.0.0-20250414171441-6b3a58ab9e0a // indirect
37+ github.com/pb33f/ordered-map/v2 v2.3.1 // indirect
38+ github.com/rivo/uniseg v0.4.7 // indirect
45 github.com/tidwall/gjson v1.18.0 // indirect39 github.com/tidwall/gjson v1.18.0 // indirect
46 github.com/tidwall/match v1.1.1 // indirect40 github.com/tidwall/match v1.1.1 // indirect
47 github.com/tidwall/pretty v1.2.1 // indirect41 github.com/tidwall/pretty v1.2.1 // indirect
@@ -52,8 +46,11 @@ require (
52 github.com/yosida95/uritemplate/v3 v3.0.2 // indirect46 github.com/yosida95/uritemplate/v3 v3.0.2 // indirect
53 go.opentelemetry.io/auto/sdk v1.2.1 // indirect47 go.opentelemetry.io/auto/sdk v1.2.1 // indirect
54 go.opentelemetry.io/otel v1.47.0 // indirect48 go.opentelemetry.io/otel v1.47.0 // indirect
49+ go.opentelemetry.io/otel/log v1.47.0 // indirect
55 go.opentelemetry.io/otel/metric v1.47.0 // indirect50 go.opentelemetry.io/otel/metric v1.47.0 // indirect
56 go.opentelemetry.io/otel/sdk v1.47.0 // indirect51 go.opentelemetry.io/otel/sdk v1.47.0 // indirect
57 go.opentelemetry.io/otel/trace v1.47.0 // indirect52 go.opentelemetry.io/otel/trace v1.47.0 // indirect
53+ go.yaml.in/yaml/v4 v4.0.0-rc.4 // indirect
58 golang.org/x/sys v0.49.0 // indirect54 golang.org/x/sys v0.49.0 // indirect
55+ golang.org/x/term v0.47.0 // indirect
59 )56 )
added hello.txt +1 -0
new file mode 100644
@@ -0,0 +1 @@
1+hello world
new file mode 100644
@@ -0,0 +1 @@
1+hello world
modified sbx/kits/go-toolchain/go-toolchain.yaml +1 -1
@@ -6,7 +6,7 @@ description: Go toolchain and gopls (language server)
66
77 args:
88 go_version:
9- default: "1.27.2" # mm requires Go 1.26+
9+ default: "1.27.3" # mm requires Go 1.27+ (go.mod: go 1.27.0, toolchain go1.27.3)
1010 pattern: '^[0-9]+\.[0-9]+(\.[0-9]+)?$'
1111 buildArg: GO_VERSION
1212 gopls_version:
@@ -6,7 +6,7 @@ description: Go toolchain and gopls (language server)
6 6
7 args:7 args:
8 go_version:8 go_version:
9- default: "1.27.2" # mm requires Go 1.26+9+ default: "1.27.3" # mm requires Go 1.27+ (go.mod: go 1.27.0, toolchain go1.27.3)
10 pattern: '^[0-9]+\.[0-9]+(\.[0-9]+)?$'10 pattern: '^[0-9]+\.[0-9]+(\.[0-9]+)?$'
11 buildArg: GO_VERSION11 buildArg: GO_VERSION
12 gopls_version:12 gopls_version: