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

🔖 Release v2.2.2

k33g committed 2026-12-05T20:34:10+01:00 Browse files
bf0ac19 parent: b982bdc
modified .tickets/issues/0294-lsp-diagnostics-say-clean-on-broken-go-files-aft.yaml +2 -2
@@ -1,12 +1,12 @@
11 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
22 id: 294
33 title: 'lsp diagnostics say "clean" on broken Go files after a go.mod appears (+ edit_file line range, control characters in diffs)'
4-state: open
4+state: closed
55 author:
66 name: k33g
77 email: ph.charriere@gmail.com
88 createdAt: 2026-12-02T06:49:42.000Z
9-updatedAt: 2026-12-05T09:05:00.000Z
9+updatedAt: 2026-12-05T19:45:00.000Z
1010 labels:
1111 - bug
1212 - priority::high
@@ -1,12 +1,12 @@
1 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.1 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
2 id: 2942 id: 294
3 title: 'lsp diagnostics say "clean" on broken Go files after a go.mod appears (+ edit_file line range, control characters in diffs)'3 title: 'lsp diagnostics say "clean" on broken Go files after a go.mod appears (+ edit_file line range, control characters in diffs)'
4-state: open4+state: closed
5 author:5 author:
6 name: k33g6 name: k33g
7 email: ph.charriere@gmail.com7 email: ph.charriere@gmail.com
8 createdAt: 2026-12-02T06:49:42.000Z8 createdAt: 2026-12-02T06:49:42.000Z
9-updatedAt: 2026-12-05T09:05:00.000Z9+updatedAt: 2026-12-05T19:45:00.000Z
10 labels:10 labels:
11 - bug11 - bug
12 - priority::high12 - priority::high
modified .tickets/issues/0295-loop-detector-misses-no-op-edits-alternating-with.yaml +2 -2
@@ -1,12 +1,12 @@
11 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
22 id: 295
33 title: Loop detector misses no-op edits alternating with reads; diagnostics not shown again on re-read
4-state: open
4+state: closed
55 author:
66 name: k33g
77 email: ph.charriere@gmail.com
88 createdAt: 2026-12-02T07:15:44.000Z
9-updatedAt: 2026-12-05T09:05:00.000Z
9+updatedAt: 2026-12-05T19:45:00.000Z
1010 labels:
1111 - bug
1212 - priority::high
@@ -1,12 +1,12 @@
1 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.1 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
2 id: 2952 id: 295
3 title: Loop detector misses no-op edits alternating with reads; diagnostics not shown again on re-read3 title: Loop detector misses no-op edits alternating with reads; diagnostics not shown again on re-read
4-state: open4+state: closed
5 author:5 author:
6 name: k33g6 name: k33g
7 email: ph.charriere@gmail.com7 email: ph.charriere@gmail.com
8 createdAt: 2026-12-02T07:15:44.000Z8 createdAt: 2026-12-02T07:15:44.000Z
9-updatedAt: 2026-12-05T09:05:00.000Z9+updatedAt: 2026-12-05T19:45:00.000Z
10 labels:10 labels:
11 - bug11 - bug
12 - priority::high12 - priority::high
modified .tickets/issues/0296-plan-tool-a-missing-status-ends-a-finished-turn-in.yaml +2 -2
@@ -1,12 +1,12 @@
11 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
22 id: 296
33 title: 'Plan tool: a missing "status" ends a finished turn in error; the description asks for too much bookkeeping'
4-state: open
4+state: closed
55 author:
66 name: k33g
77 email: ph.charriere@gmail.com
88 createdAt: 2026-12-02T08:04:17.000Z
9-updatedAt: 2026-12-05T09:06:00.000Z
9+updatedAt: 2026-12-05T19:45:00.000Z
1010 labels:
1111 - bug
1212 - priority::high
@@ -1,12 +1,12 @@
1 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.1 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
2 id: 2962 id: 296
3 title: 'Plan tool: a missing "status" ends a finished turn in error; the description asks for too much bookkeeping'3 title: 'Plan tool: a missing "status" ends a finished turn in error; the description asks for too much bookkeeping'
4-state: open4+state: closed
5 author:5 author:
6 name: k33g6 name: k33g
7 email: ph.charriere@gmail.com7 email: ph.charriere@gmail.com
8 createdAt: 2026-12-02T08:04:17.000Z8 createdAt: 2026-12-02T08:04:17.000Z
9-updatedAt: 2026-12-05T09:06:00.000Z9+updatedAt: 2026-12-05T19:45:00.000Z
10 labels:10 labels:
11 - bug11 - bug
12 - priority::high12 - priority::high
modified .tickets/issues/0297-detect-a-cycle-of-near-identical-successful-bash-c.yaml +2 -2
@@ -1,12 +1,12 @@
11 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
22 id: 297
33 title: Detect a cycle of near-identical successful bash commands (the model re-runs the same test and changes only timings)
4-state: open
4+state: closed
55 author:
66 name: k33g
77 email: ph.charriere@gmail.com
88 createdAt: 2026-12-02T08:13:54.000Z
9-updatedAt: 2026-12-05T09:05:00.000Z
9+updatedAt: 2026-12-05T19:45:00.000Z
1010 labels:
1111 - enhancement
1212 - priority::medium
@@ -1,12 +1,12 @@
1 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.1 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
2 id: 2972 id: 297
3 title: Detect a cycle of near-identical successful bash commands (the model re-runs the same test and changes only timings)3 title: Detect a cycle of near-identical successful bash commands (the model re-runs the same test and changes only timings)
4-state: open4+state: closed
5 author:5 author:
6 name: k33g6 name: k33g
7 email: ph.charriere@gmail.com7 email: ph.charriere@gmail.com
8 createdAt: 2026-12-02T08:13:54.000Z8 createdAt: 2026-12-02T08:13:54.000Z
9-updatedAt: 2026-12-05T09:05:00.000Z9+updatedAt: 2026-12-05T19:45:00.000Z
10 labels:10 labels:
11 - enhancement11 - enhancement
12 - priority::medium12 - priority::medium
modified .tickets/issues/0300-repair-a-form-feed-written-for-f-in-code-written.yaml +2 -2
@@ -1,12 +1,12 @@
11 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
22 id: 300
33 title: Repair a form feed written for a backslash-f in code written by write_file and edit_file (study first)
4-state: open
4+state: closed
55 author:
66 name: k33g
77 email: ph.charriere@gmail.com
88 createdAt: 2026-12-02T09:22:35.000Z
9-updatedAt: 2026-12-05T09:05:00.000Z
9+updatedAt: 2026-12-05T19:45:00.000Z
1010 labels:
1111 - enhancement
1212 - priority::medium
@@ -1,12 +1,12 @@
1 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.1 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
2 id: 3002 id: 300
3 title: Repair a form feed written for a backslash-f in code written by write_file and edit_file (study first)3 title: Repair a form feed written for a backslash-f in code written by write_file and edit_file (study first)
4-state: open4+state: closed
5 author:5 author:
6 name: k33g6 name: k33g
7 email: ph.charriere@gmail.com7 email: ph.charriere@gmail.com
8 createdAt: 2026-12-02T09:22:35.000Z8 createdAt: 2026-12-02T09:22:35.000Z
9-updatedAt: 2026-12-05T09:05:00.000Z9+updatedAt: 2026-12-05T19:45:00.000Z
10 labels:10 labels:
11 - enhancement11 - enhancement
12 - priority::medium12 - priority::medium
modified .tickets/issues/0307-reading-a-broken-file-in-circles-point-at-the-fix.yaml +2 -2
@@ -1,12 +1,12 @@
11 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
22 id: 307
33 title: A model reads a broken file in circles without editing it — point at the line and the edit_file call
4-state: open
4+state: closed
55 author:
66 name: k33g
77 email: ph.charriere@gmail.com
88 createdAt: 2026-12-04T22:00:00.000Z
9-updatedAt: 2026-12-04T22:00:00.000Z
9+updatedAt: 2026-12-05T19:45:00.000Z
1010 labels:
1111 - bug
1212 - priority::high
@@ -1,12 +1,12 @@
1 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.1 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
2 id: 3072 id: 307
3 title: A model reads a broken file in circles without editing it — point at the line and the edit_file call3 title: A model reads a broken file in circles without editing it — point at the line and the edit_file call
4-state: open4+state: closed
5 author:5 author:
6 name: k33g6 name: k33g
7 email: ph.charriere@gmail.com7 email: ph.charriere@gmail.com
8 createdAt: 2026-12-04T22:00:00.000Z8 createdAt: 2026-12-04T22:00:00.000Z
9-updatedAt: 2026-12-04T22:00:00.000Z9+updatedAt: 2026-12-05T19:45:00.000Z
10 labels:10 labels:
11 - bug11 - bug
12 - priority::high12 - priority::high
modified .tickets/issues/0308-lsp-diagnostics-stale-after-go-mod-go-sum-change.yaml +2 -2
@@ -1,12 +1,12 @@
11 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
22 id: 308
33 title: lsp diagnostics stale after go.mod / go.sum change through bash (go get, go mod tidy)
4-state: open
4+state: closed
55 author:
66 name: k33g
77 email: ph.charriere@gmail.com
88 createdAt: 2026-12-05T08:46:00.000Z
9-updatedAt: 2026-12-05T19:30:00.000Z
9+updatedAt: 2026-12-05T19:45:00.000Z
1010 labels:
1111 - bug
1212 - priority::high
@@ -1,12 +1,12 @@
1 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.1 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
2 id: 3082 id: 308
3 title: lsp diagnostics stale after go.mod / go.sum change through bash (go get, go mod tidy)3 title: lsp diagnostics stale after go.mod / go.sum change through bash (go get, go mod tidy)
4-state: open4+state: closed
5 author:5 author:
6 name: k33g6 name: k33g
7 email: ph.charriere@gmail.com7 email: ph.charriere@gmail.com
8 createdAt: 2026-12-05T08:46:00.000Z8 createdAt: 2026-12-05T08:46:00.000Z
9-updatedAt: 2026-12-05T19:30:00.000Z9+updatedAt: 2026-12-05T19:45:00.000Z
10 labels:10 labels:
11 - bug11 - bug
12 - priority::high12 - priority::high
modified .tickets/milestones.yaml +1 -1
@@ -88,5 +88,5 @@ milestones:
8888 state: closed
8989 description: Fixes after v2.2.0 — compaction inside a turn on small windows (tickets 289-292)
9090 - title: v2.2.2
91- state: open
91+ state: closed
9292 description: Fixes after v2.2.1 — tool feedback that misleads small models (lsp diagnostics, no-op edits, loop detection, plan tool) and degenerate replies (blank-line runaway, tool call inside the reasoning, form feed written for backslash-f, a broken file read in circles, diagnostics stale after go.mod changes) — tickets 294-300, 307 and 308
@@ -88,5 +88,5 @@ milestones:
88 state: closed88 state: closed
89 description: Fixes after v2.2.0 — compaction inside a turn on small windows (tickets 289-292)89 description: Fixes after v2.2.0 — compaction inside a turn on small windows (tickets 289-292)
90 - title: v2.2.290 - title: v2.2.2
91- state: open91+ state: closed
92 description: Fixes after v2.2.1 — tool feedback that misleads small models (lsp diagnostics, no-op edits, loop detection, plan tool) and degenerate replies (blank-line runaway, tool call inside the reasoning, form feed written for backslash-f, a broken file read in circles, diagnostics stale after go.mod changes) — tickets 294-300, 307 and 30892 description: Fixes after v2.2.1 — tool feedback that misleads small models (lsp diagnostics, no-op edits, loop detection, plan tool) and degenerate replies (blank-line runaway, tool call inside the reasoning, form feed written for backslash-f, a broken file read in circles, diagnostics stale after go.mod changes) — tickets 294-300, 307 and 308
modified INSTALL.LINUX.md +1 -1
@@ -14,7 +14,7 @@ curl -fsSL https://rickub.com/bots-garden/mini-me/raw/main/install-mm.sh | bash
1414
1515 ```bash
1616 # download the binary release in https://rickub.com/bots-garden/mini-me/releases
17-VERSION=2.2.1
17+VERSION=2.2.2
1818 case "$(uname -m)" in
1919 x86_64) ARCH=amd64 ;;
2020 aarch64|arm64) ARCH=arm64 ;;
@@ -14,7 +14,7 @@ curl -fsSL https://rickub.com/bots-garden/mini-me/raw/main/install-mm.sh | bash
14 14
15 ```bash15 ```bash
16 # download the binary release in https://rickub.com/bots-garden/mini-me/releases16 # download the binary release in https://rickub.com/bots-garden/mini-me/releases
17-VERSION=2.2.117+VERSION=2.2.2
18 case "$(uname -m)" in18 case "$(uname -m)" in
19 x86_64) ARCH=amd64 ;;19 x86_64) ARCH=amd64 ;;
20 aarch64|arm64) ARCH=arm64 ;;20 aarch64|arm64) ARCH=arm64 ;;
modified INSTALL.MACOS.md +4 -4
@@ -14,7 +14,7 @@ curl -fsSL https://rickub.com/bots-garden/mini-me/raw/main/install-mm.sh | bash
1414
1515 Short version:
1616 ```bash
17-VERSION=2.2.1
17+VERSION=2.2.2
1818 curl -fsSLO "https://rickub.com/bots-garden/mini-me/releases/download/v${VERSION}/mm-${VERSION}-darwin-arm64"
1919 chmod +x ./mm-${VERSION}-darwin-arm64
2020 sudo rm -f /usr/local/bin/mm
@@ -26,7 +26,7 @@ From v1.0.5, the macOS binary is signed with a Developer ID and notarized by App
2626
2727 ```bash
2828 # download the binary release in https://rickub.com/bots-garden/mini-me/releases
29-VERSION=2.2.1
29+VERSION=2.2.2
3030 curl -fsSLO "https://rickub.com/bots-garden/mini-me/releases/download/v${VERSION}/mm-${VERSION}-darwin-arm64"
3131
3232 # optional: check the download against the release's checksums
@@ -46,8 +46,8 @@ mm --version
4646 The signature check should print:
4747
4848 ```
49-./mm-2.2.1-darwin-arm64: valid on disk
50-./mm-2.2.1-darwin-arm64: satisfies its Designated Requirement
49+./mm-2.2.2-darwin-arm64: valid on disk
50+./mm-2.2.2-darwin-arm64: satisfies its Designated Requirement
5151 Identifier=com.bots-garden.mm
5252 Authority=Developer ID Application: Philippe Charriere (SNLLBZP9V9)
5353 TeamIdentifier=SNLLBZP9V9
@@ -14,7 +14,7 @@ curl -fsSL https://rickub.com/bots-garden/mini-me/raw/main/install-mm.sh | bash
14 14
15 Short version:15 Short version:
16 ```bash16 ```bash
17-VERSION=2.2.117+VERSION=2.2.2
18 curl -fsSLO "https://rickub.com/bots-garden/mini-me/releases/download/v${VERSION}/mm-${VERSION}-darwin-arm64"18 curl -fsSLO "https://rickub.com/bots-garden/mini-me/releases/download/v${VERSION}/mm-${VERSION}-darwin-arm64"
19 chmod +x ./mm-${VERSION}-darwin-arm6419 chmod +x ./mm-${VERSION}-darwin-arm64
20 sudo rm -f /usr/local/bin/mm20 sudo rm -f /usr/local/bin/mm
@@ -26,7 +26,7 @@ From v1.0.5, the macOS binary is signed with a Developer ID and notarized by App
26 26
27 ```bash27 ```bash
28 # download the binary release in https://rickub.com/bots-garden/mini-me/releases28 # download the binary release in https://rickub.com/bots-garden/mini-me/releases
29-VERSION=2.2.129+VERSION=2.2.2
30 curl -fsSLO "https://rickub.com/bots-garden/mini-me/releases/download/v${VERSION}/mm-${VERSION}-darwin-arm64"30 curl -fsSLO "https://rickub.com/bots-garden/mini-me/releases/download/v${VERSION}/mm-${VERSION}-darwin-arm64"
31 31
32 # optional: check the download against the release's checksums32 # optional: check the download against the release's checksums
@@ -46,8 +46,8 @@ mm --version
46 The signature check should print:46 The signature check should print:
47 47
48 ```48 ```
49-./mm-2.2.1-darwin-arm64: valid on disk49+./mm-2.2.2-darwin-arm64: valid on disk
50-./mm-2.2.1-darwin-arm64: satisfies its Designated Requirement50+./mm-2.2.2-darwin-arm64: satisfies its Designated Requirement
51 Identifier=com.bots-garden.mm51 Identifier=com.bots-garden.mm
52 Authority=Developer ID Application: Philippe Charriere (SNLLBZP9V9)52 Authority=Developer ID Application: Philippe Charriere (SNLLBZP9V9)
53 TeamIdentifier=SNLLBZP9V953 TeamIdentifier=SNLLBZP9V9
modified INSTALL.WINDOWS.md +1 -1
@@ -4,7 +4,7 @@ In PowerShell (no administrator rights needed):
44
55 ```powershell
66 # download the binary release in https://rickub.com/bots-garden/mini-me/releases
7-$Version = "2.2.1"
7+$Version = "2.2.2"
88 $Arch = if ($env:PROCESSOR_ARCHITECTURE -eq "ARM64") { "arm64" } else { "amd64" }
99 $Asset = "mm-$Version-windows-$Arch.exe"
1010 $Base = "https://rickub.com/bots-garden/mini-me/releases/download/v$Version"
@@ -4,7 +4,7 @@ In PowerShell (no administrator rights needed):
4 4
5 ```powershell5 ```powershell
6 # download the binary release in https://rickub.com/bots-garden/mini-me/releases6 # download the binary release in https://rickub.com/bots-garden/mini-me/releases
7-$Version = "2.2.1"7+$Version = "2.2.2"
8 $Arch = if ($env:PROCESSOR_ARCHITECTURE -eq "ARM64") { "arm64" } else { "amd64" }8 $Arch = if ($env:PROCESSOR_ARCHITECTURE -eq "ARM64") { "arm64" } else { "amd64" }
9 $Asset = "mm-$Version-windows-$Arch.exe"9 $Asset = "mm-$Version-windows-$Arch.exe"
10 $Base = "https://rickub.com/bots-garden/mini-me/releases/download/v$Version"10 $Base = "https://rickub.com/bots-garden/mini-me/releases/download/v$Version"
modified release-notes/README.md +2 -1
@@ -4,7 +4,8 @@ One note per tag, in English (`.en.md`) and French (`.fr.md`). Rebuilt on 2026-1
44
55 | Version | Date | Summary | |
66 |---|---|---|---|
7-| [v2.2.1](v2.2.1.en.md) | not tagged yet | Long turns on small context windows: the compression inside a turn now measures what the server really reads, goes down far enough to keep the prompt cache, keeps the outline of the code it shrinks, and stops a model that reads the same files in circles. | [FR](v2.2.1.fr.md) |
7+| [v2.2.2](v2.2.2.en.md) | not tagged yet | Tool feedback that no longer misleads small models: diagnostics that never say `clean` too early and follow a `go get`, no-op edits and repeated tests caught, a broken file read in circles pointed at its fix, a lighter plan tool, and replies made of blank lines, tool calls written in the reasoning and form feeds written for `\f` handled. | [FR](v2.2.2.fr.md) |
8+| [v2.2.1](v2.2.1.en.md) | 2026-11-30 | Long turns on small context windows: the compression inside a turn now measures what the server really reads, goes down far enough to keep the prompt cache, keeps the outline of the code it shrinks, and stops a model that reads the same files in circles. | [FR](v2.2.1.fr.md) |
89 | [v2.2.0](v2.2.0.en.md) | 2026-11-28 | Decision models by configuration, without a hook — a decider's answers added to the question, tool calls allowed or denied, tool outputs and hand-offs checked — and mm installed or upgraded in one line with `curl | bash`. | [FR](v2.2.0.fr.md) |
910 | [v2.1.1](v2.1.1.en.md) | 2026-11-27 | Steer the model while it works, razorbill as a provider (started by mm on the Mac), an "Other…" answer to every question the agent asks, finished answers drawn as Markdown in the window, meta-prompts in a `[` picker, documentation shipped with an agent, and `mm help`. | [FR](v2.1.1.fr.md) |
1011 | [v2.1.0](v2.1.0.en.md) | 2026-11-25 | Agents that talk to each other over A2A, llama-server started and stopped by mm, MLX-Serve as a provider, the generation speed in the status bar, long turns compressed as they go, and variables in the system prompt. | [FR](v2.1.0.fr.md) |
@@ -4,7 +4,8 @@ One note per tag, in English (`.en.md`) and French (`.fr.md`). Rebuilt on 2026-1
4 4
5 | Version | Date | Summary | |5 | Version | Date | Summary | |
6 |---|---|---|---|6 |---|---|---|---|
7-| [v2.2.1](v2.2.1.en.md) | not tagged yet | Long turns on small context windows: the compression inside a turn now measures what the server really reads, goes down far enough to keep the prompt cache, keeps the outline of the code it shrinks, and stops a model that reads the same files in circles. | [FR](v2.2.1.fr.md) |7+| [v2.2.2](v2.2.2.en.md) | not tagged yet | Tool feedback that no longer misleads small models: diagnostics that never say `clean` too early and follow a `go get`, no-op edits and repeated tests caught, a broken file read in circles pointed at its fix, a lighter plan tool, and replies made of blank lines, tool calls written in the reasoning and form feeds written for `\f` handled. | [FR](v2.2.2.fr.md) |
8+| [v2.2.1](v2.2.1.en.md) | 2026-11-30 | Long turns on small context windows: the compression inside a turn now measures what the server really reads, goes down far enough to keep the prompt cache, keeps the outline of the code it shrinks, and stops a model that reads the same files in circles. | [FR](v2.2.1.fr.md) |
8 | [v2.2.0](v2.2.0.en.md) | 2026-11-28 | Decision models by configuration, without a hook — a decider's answers added to the question, tool calls allowed or denied, tool outputs and hand-offs checked — and mm installed or upgraded in one line with `curl | bash`. | [FR](v2.2.0.fr.md) |9 | [v2.2.0](v2.2.0.en.md) | 2026-11-28 | Decision models by configuration, without a hook — a decider's answers added to the question, tool calls allowed or denied, tool outputs and hand-offs checked — and mm installed or upgraded in one line with `curl | bash`. | [FR](v2.2.0.fr.md) |
9 | [v2.1.1](v2.1.1.en.md) | 2026-11-27 | Steer the model while it works, razorbill as a provider (started by mm on the Mac), an "Other…" answer to every question the agent asks, finished answers drawn as Markdown in the window, meta-prompts in a `[` picker, documentation shipped with an agent, and `mm help`. | [FR](v2.1.1.fr.md) |10 | [v2.1.1](v2.1.1.en.md) | 2026-11-27 | Steer the model while it works, razorbill as a provider (started by mm on the Mac), an "Other…" answer to every question the agent asks, finished answers drawn as Markdown in the window, meta-prompts in a `[` picker, documentation shipped with an agent, and `mm help`. | [FR](v2.1.1.fr.md) |
10 | [v2.1.0](v2.1.0.en.md) | 2026-11-25 | Agents that talk to each other over A2A, llama-server started and stopped by mm, MLX-Serve as a provider, the generation speed in the status bar, long turns compressed as they go, and variables in the system prompt. | [FR](v2.1.0.fr.md) |11 | [v2.1.0](v2.1.0.en.md) | 2026-11-25 | Agents that talk to each other over A2A, llama-server started and stopped by mm, MLX-Serve as a provider, the generation speed in the status bar, long turns compressed as they go, and variables in the system prompt. | [FR](v2.1.0.fr.md) |
added release-notes/v2.2.2.en.md +64 -0
new file mode 100644
@@ -0,0 +1,64 @@
1+# mini-me v2.2.2
2+
3+*[Version française](v2.2.2.fr.md)*
4+
5+Tool feedback that no longer misleads small models: diagnostics that never say `clean` too early and follow a `go get`, no-op edits and repeated tests caught, a broken file read in circles pointed at its fix, a lighter plan tool, and replies made of blank lines, tool calls written in the reasoning and form feeds written for `\f` handled.
6+
7+## Fixed
8+
9+These fixes come from validation runs of a Go CRUD API (labels stored in YAML, checked by a test script) with Mellum2 and Mellum2.1 (Instruct and Thinking) and Qwen3-Coder, between 2026-12-02 and 2026-12-05. A run of Mellum2.1 Thinking Q8_0 with this version passed the test script (`ALL OK`) in 18 calls.
10+
11+### Language server diagnostics you can trust (#294, #308)
12+
13+- **No false `clean`.** After Mellum2 created a project's first `go.mod`, three edits with wrong imports were each answered `clean` while `go build` reported every error. An error is still reported at once, but an empty list is now believed only once it has stood alone for 400 ms and the server says it is not loading anything. When the wait runs out during a load, the answer is `no diagnostics yet for <path>, but the server is still loading the workspace — this does NOT mean the file is clean …`. The original case was not reproduced with a warm gopls: the fix rests on the inferred cause, and a clean file costs those 400 ms.
14+- **`go get` is seen.** When `go.mod`, `go.sum`, `package.json`, `Cargo.toml`… change outside mm's file tools (`go get`, `go mod tidy`, `npm install` through `bash`), mm now tells the server before its next request (`workspace/didChangeWatchedFiles`). Before, gopls kept answering `could not import gopkg.in/yaml.v3` after a successful `go get`, and the model chased an error that no longer existed. The diagnostics recalled on a re-read expire with those files too.
15+
16+### Edits that change nothing, tests run again and again (#295, #297)
17+
18+- A `write_file` or `edit_file` that changes nothing now counts as a failed call for the loop detector, reads in between included: a model alternating no-op edits and reads is flagged, then stopped.
19+- Re-reading an unchanged file that still has errors recalls them: `… unchanged since you were told, still N error(s)` and the first three error lines (before, nothing was said after the first read).
20+- A `bash` command run for the third time since the last file change, with the same shape and the same result (sleeps, timeouts, kills and timings aside), gets a note telling the model it is the same test, and you see `same test again: bash ×N with the same result, no file changed`. It never stops the turn.
21+
22+### A broken file read in circles (#307)
23+
24+Mellum2.1 Thinking once read the same broken `main.go` eight times, never editing it. From the second recall of the same errors, mm now adds `[mm: you have read <path> N times since it last changed, and the error has not moved …]`, with the text of the line of the first error and a ready `edit_file` call using `line`; you see a `🔁` notice. In the next run the model fixed the file two calls after the note.
25+
26+### `edit_file` with a line outside the file (#294)
27+
28+An `edit_file` whose `line` is past the end of the file (or below 1) is refused, whether `old` is unique or not, with the file's line count. Diffs now show control characters escaped (`\f`, `\v`, …) with a note, instead of printing them raw.
29+
30+### The plan tool asks for less (#296)
31+
32+Small models spent their calls on plan bookkeeping (10 of 40 calls in one run, and three runs of four died on it). The tool's description now asks for one `update` with `status: "done"` per finished task, and nothing else. An `update` without `status` marks the task done instead of failing. When the loop detector stops the tool calls, the model is called once more without tools for its final answer, so the work already done is reported instead of an error. The `plan-manager` skill follows the same workflow.
33+
34+### Degenerate replies (#298, #299)
35+
36+- A final answer with 40 blank lines in a row or more is cleaned (`[… N blank lines — removed by mm]`) and reported as a loop (`the model looped: N blank lines in a row`), not as "raise `max_tokens`". While streaming, a call that writes 100 blank lines is cut and handed back once.
37+- A reply with no text and no tool call whose reasoning holds a complete `<tool_call>` block is handed back once, quoting the block (`tool call in the reasoning — handed back 1/1`); nothing written in the reasoning is run. It happens again after a real tool call: it is handed back again.
38+
39+### Form feeds written for `\f` (#300)
40+
41+Mellum models write `"\n\func"` in JSON, which JSON reads as a new line, a form feed (U+000C) and `unc`: 8 occurrences in the validation runs, from Mellum2 Instruct and Mellum2.1 Thinking (Q4_K_M and Q8_0), none from Mellum2.1 Instruct or Qwen3-Coder. In a source file that holds no form feed yet, a form feed that starts a line before a lowercase letter is now written as a new line and `f`; the output ends with `[mm: repaired N form feed(s) …]` and you see a `🩹` notice. Page breaks, form feeds inside a line, other kinds of files and `edit_file`'s `old` text are never changed.
42+
43+## Not measured yet
44+
45+The fixes for #294, #295, #296, #297 and #300 rest on their unit tests: the runs planned to check them (Mellum2 and Qwen3-Coder agents) were dropped. #298 and #299 were not seen again in the last runs. #308's case did not occur in the last run (the model ran `go get` before writing its code); it is covered by a test against the real gopls.
46+
47+## Demos
48+
49+- **`demos/notes-taker`** (new): Bob, an agent that takes meeting notes in a YAML file and turns them into a Markdown report, on Gemma 4 E4B through llama.cpp started by mm. See its [README](../demos/notes-taker/README.en.md).
50+- **`demos/gemma-coder`**: now on llama.cpp (`unsloth/gemma-4-26B-A4B-it-GGUF:Q4_K_M`, port 9931) instead of llmman.
51+
52+## Documentation
53+
54+- [The lsp tool](../docs/en/explanation/lsp-tool.md): why an empty list of diagnostics is not believed at once, and why mm tells the server when `go.mod` changes.
55+- [Noticing when a model struggles](../docs/en/explanation/struggling-models.md): no-op edits, repeated tests, reading in circles, blank lines, calls in the reasoning, form feeds.
56+- [How to navigate code with the lsp tool](../docs/en/how-to/navigate-code-with-lsp.md) and [How to manage plans and tasks](../docs/en/how-to/manage-plans-and-tasks.md).
57+- Reference: [tools](../docs/en/reference/tools.md), [configuration](../docs/en/reference/configuration.md), [CLI](../docs/en/reference/cli.md) (the new struggle lines).
58+
59+## Upgrading
60+
61+- **Replace the binary**: `curl -fsSL https://rickub.com/bots-garden/mini-me/raw/main/install-mm.sh | bash` on macOS and Linux, or see the install guides for [macOS](../INSTALL.MACOS.md), [Linux](../INSTALL.LINUX.md) and [Windows](../INSTALL.WINDOWS.md).
62+- No new configuration key. Behaviours that change without one: an empty diagnostics list costs 400 ms; an `edit_file` with a `line` outside the file is refused; a `plan` `update` without `status` marks the task done; form feeds are repaired in source files.
63+- New messages: `same test again: …`, `tool call in the reasoning — handed back 1/1`, `the model looped: N blank lines in a row …`, `loop detector stop — asked for the answer`, `no diagnostics yet for <path>, but the server is still loading the workspace …`, `[mm: you have read <path> N times …]`, `[mm: repaired N form feed(s) …]`.
64+- If an agent of yours loads `skills/plan-manager`, copy the new version: the old one asked for 4 to 5 plan calls per task.
new file mode 100644
@@ -0,0 +1,64 @@
1+# mini-me v2.2.2
2+
3+*[Version française](v2.2.2.fr.md)*
4+
5+Tool feedback that no longer misleads small models: diagnostics that never say `clean` too early and follow a `go get`, no-op edits and repeated tests caught, a broken file read in circles pointed at its fix, a lighter plan tool, and replies made of blank lines, tool calls written in the reasoning and form feeds written for `\f` handled.
6+
7+## Fixed
8+
9+These fixes come from validation runs of a Go CRUD API (labels stored in YAML, checked by a test script) with Mellum2 and Mellum2.1 (Instruct and Thinking) and Qwen3-Coder, between 2026-12-02 and 2026-12-05. A run of Mellum2.1 Thinking Q8_0 with this version passed the test script (`ALL OK`) in 18 calls.
10+
11+### Language server diagnostics you can trust (#294, #308)
12+
13+- **No false `clean`.** After Mellum2 created a project's first `go.mod`, three edits with wrong imports were each answered `clean` while `go build` reported every error. An error is still reported at once, but an empty list is now believed only once it has stood alone for 400 ms and the server says it is not loading anything. When the wait runs out during a load, the answer is `no diagnostics yet for <path>, but the server is still loading the workspace — this does NOT mean the file is clean …`. The original case was not reproduced with a warm gopls: the fix rests on the inferred cause, and a clean file costs those 400 ms.
14+- **`go get` is seen.** When `go.mod`, `go.sum`, `package.json`, `Cargo.toml`… change outside mm's file tools (`go get`, `go mod tidy`, `npm install` through `bash`), mm now tells the server before its next request (`workspace/didChangeWatchedFiles`). Before, gopls kept answering `could not import gopkg.in/yaml.v3` after a successful `go get`, and the model chased an error that no longer existed. The diagnostics recalled on a re-read expire with those files too.
15+
16+### Edits that change nothing, tests run again and again (#295, #297)
17+
18+- A `write_file` or `edit_file` that changes nothing now counts as a failed call for the loop detector, reads in between included: a model alternating no-op edits and reads is flagged, then stopped.
19+- Re-reading an unchanged file that still has errors recalls them: `… unchanged since you were told, still N error(s)` and the first three error lines (before, nothing was said after the first read).
20+- A `bash` command run for the third time since the last file change, with the same shape and the same result (sleeps, timeouts, kills and timings aside), gets a note telling the model it is the same test, and you see `same test again: bash ×N with the same result, no file changed`. It never stops the turn.
21+
22+### A broken file read in circles (#307)
23+
24+Mellum2.1 Thinking once read the same broken `main.go` eight times, never editing it. From the second recall of the same errors, mm now adds `[mm: you have read <path> N times since it last changed, and the error has not moved …]`, with the text of the line of the first error and a ready `edit_file` call using `line`; you see a `🔁` notice. In the next run the model fixed the file two calls after the note.
25+
26+### `edit_file` with a line outside the file (#294)
27+
28+An `edit_file` whose `line` is past the end of the file (or below 1) is refused, whether `old` is unique or not, with the file's line count. Diffs now show control characters escaped (`\f`, `\v`, …) with a note, instead of printing them raw.
29+
30+### The plan tool asks for less (#296)
31+
32+Small models spent their calls on plan bookkeeping (10 of 40 calls in one run, and three runs of four died on it). The tool's description now asks for one `update` with `status: "done"` per finished task, and nothing else. An `update` without `status` marks the task done instead of failing. When the loop detector stops the tool calls, the model is called once more without tools for its final answer, so the work already done is reported instead of an error. The `plan-manager` skill follows the same workflow.
33+
34+### Degenerate replies (#298, #299)
35+
36+- A final answer with 40 blank lines in a row or more is cleaned (`[… N blank lines — removed by mm]`) and reported as a loop (`the model looped: N blank lines in a row`), not as "raise `max_tokens`". While streaming, a call that writes 100 blank lines is cut and handed back once.
37+- A reply with no text and no tool call whose reasoning holds a complete `<tool_call>` block is handed back once, quoting the block (`tool call in the reasoning — handed back 1/1`); nothing written in the reasoning is run. It happens again after a real tool call: it is handed back again.
38+
39+### Form feeds written for `\f` (#300)
40+
41+Mellum models write `"\n\func"` in JSON, which JSON reads as a new line, a form feed (U+000C) and `unc`: 8 occurrences in the validation runs, from Mellum2 Instruct and Mellum2.1 Thinking (Q4_K_M and Q8_0), none from Mellum2.1 Instruct or Qwen3-Coder. In a source file that holds no form feed yet, a form feed that starts a line before a lowercase letter is now written as a new line and `f`; the output ends with `[mm: repaired N form feed(s) …]` and you see a `🩹` notice. Page breaks, form feeds inside a line, other kinds of files and `edit_file`'s `old` text are never changed.
42+
43+## Not measured yet
44+
45+The fixes for #294, #295, #296, #297 and #300 rest on their unit tests: the runs planned to check them (Mellum2 and Qwen3-Coder agents) were dropped. #298 and #299 were not seen again in the last runs. #308's case did not occur in the last run (the model ran `go get` before writing its code); it is covered by a test against the real gopls.
46+
47+## Demos
48+
49+- **`demos/notes-taker`** (new): Bob, an agent that takes meeting notes in a YAML file and turns them into a Markdown report, on Gemma 4 E4B through llama.cpp started by mm. See its [README](../demos/notes-taker/README.en.md).
50+- **`demos/gemma-coder`**: now on llama.cpp (`unsloth/gemma-4-26B-A4B-it-GGUF:Q4_K_M`, port 9931) instead of llmman.
51+
52+## Documentation
53+
54+- [The lsp tool](../docs/en/explanation/lsp-tool.md): why an empty list of diagnostics is not believed at once, and why mm tells the server when `go.mod` changes.
55+- [Noticing when a model struggles](../docs/en/explanation/struggling-models.md): no-op edits, repeated tests, reading in circles, blank lines, calls in the reasoning, form feeds.
56+- [How to navigate code with the lsp tool](../docs/en/how-to/navigate-code-with-lsp.md) and [How to manage plans and tasks](../docs/en/how-to/manage-plans-and-tasks.md).
57+- Reference: [tools](../docs/en/reference/tools.md), [configuration](../docs/en/reference/configuration.md), [CLI](../docs/en/reference/cli.md) (the new struggle lines).
58+
59+## Upgrading
60+
61+- **Replace the binary**: `curl -fsSL https://rickub.com/bots-garden/mini-me/raw/main/install-mm.sh | bash` on macOS and Linux, or see the install guides for [macOS](../INSTALL.MACOS.md), [Linux](../INSTALL.LINUX.md) and [Windows](../INSTALL.WINDOWS.md).
62+- No new configuration key. Behaviours that change without one: an empty diagnostics list costs 400 ms; an `edit_file` with a `line` outside the file is refused; a `plan` `update` without `status` marks the task done; form feeds are repaired in source files.
63+- New messages: `same test again: …`, `tool call in the reasoning — handed back 1/1`, `the model looped: N blank lines in a row …`, `loop detector stop — asked for the answer`, `no diagnostics yet for <path>, but the server is still loading the workspace …`, `[mm: you have read <path> N times …]`, `[mm: repaired N form feed(s) …]`.
64+- If an agent of yours loads `skills/plan-manager`, copy the new version: the old one asked for 4 to 5 plan calls per task.
added release-notes/v2.2.2.fr.md +64 -0
new file mode 100644
@@ -0,0 +1,64 @@
1+# mini-me v2.2.2
2+
3+*[English version](v2.2.2.en.md)*
4+
5+Des retours d'outils qui ne trompent plus les petits modèles : des diagnostics qui ne disent jamais `clean` trop tôt et suivent un `go get`, les éditions qui ne changent rien et les tests relancés en boucle repérés, un fichier cassé relu en rond pointé vers sa correction, un outil de plan plus léger, et les réponses faites de lignes vides, les appels d'outil écrits dans le raisonnement et les sauts de page écrits pour `\f` pris en charge.
6+
7+## Corrections
8+
9+Ces corrections viennent de runs de validation d'une API CRUD en Go (des labels stockés en YAML, vérifiés par un script de test) avec Mellum2 et Mellum2.1 (Instruct et Thinking) et Qwen3-Coder, entre le 2026-12-02 et le 2026-12-05. Un run de Mellum2.1 Thinking Q8_0 avec cette version a passé le script de test (`ALL OK`) en 18 appels.
10+
11+### Des diagnostics du serveur de langage fiables (#294, #308)
12+
13+- **Plus de faux `clean`.** Après que Mellum2 a créé le premier `go.mod` d'un projet, trois éditions aux imports faux ont chacune reçu `clean` alors que `go build` signalait toutes les erreurs. Une erreur est toujours signalée tout de suite, mais une liste vide n'est plus crue qu'une fois restée seule 400 ms, et quand le serveur dit qu'il ne charge rien. Si l'attente s'épuise pendant un chargement, la réponse est `no diagnostics yet for <path>, but the server is still loading the workspace — this does NOT mean the file is clean …`. Le cas d'origine n'a pas été reproduit avec un gopls au cache chaud : la correction repose sur la cause déduite, et un fichier propre coûte ces 400 ms.
14+- **`go get` est vu.** Quand `go.mod`, `go.sum`, `package.json`, `Cargo.toml`… changent en dehors des outils de fichiers de mm (`go get`, `go mod tidy`, `npm install` par `bash`), mm prévient désormais le serveur avant sa requête suivante (`workspace/didChangeWatchedFiles`). Avant, gopls continuait de répondre `could not import gopkg.in/yaml.v3` après un `go get` réussi, et le modèle cherchait une erreur qui n'existait plus. Les diagnostics rappelés à la relecture expirent aussi avec ces fichiers.
15+
16+### Des éditions qui ne changent rien, des tests relancés sans fin (#295, #297)
17+
18+- Un `write_file` ou un `edit_file` qui ne change rien compte désormais comme un appel en échec pour le détecteur de boucles, lectures intercalées comprises : un modèle qui alterne éditions sans effet et lectures est signalé, puis arrêté.
19+- Relire un fichier inchangé qui a encore des erreurs les rappelle : `… unchanged since you were told, still N error(s)` et les trois premières lignes d'erreur (avant, rien n'était dit après la première lecture).
20+- Une commande `bash` lancée pour la troisième fois depuis le dernier changement de fichier, avec la même forme et le même résultat (pauses, timeouts, kills et durées mis à part), reçoit une note qui dit au modèle que c'est le même test, et vous voyez `same test again: bash ×N with the same result, no file changed`. Elle n'arrête jamais le tour.
21+
22+### Un fichier cassé relu en rond (#307)
23+
24+Mellum2.1 Thinking a relu huit fois le même `main.go` cassé, sans jamais le modifier. À partir du deuxième rappel des mêmes erreurs, mm ajoute désormais `[mm: you have read <path> N times since it last changed, and the error has not moved …]`, avec le texte de la ligne de la première erreur et un appel `edit_file` prêt, avec `line` ; vous voyez une notice `🔁`. Au run suivant, le modèle a corrigé le fichier deux appels après la note.
25+
26+### `edit_file` avec une ligne hors du fichier (#294)
27+
28+Un `edit_file` dont la `line` est après la fin du fichier (ou sous 1) est refusé, que `old` soit unique ou non, avec le nombre de lignes du fichier. Les diffs montrent désormais les caractères de contrôle échappés (`\f`, `\v`, …) avec une note, au lieu de les afficher tels quels.
29+
30+### L'outil de plan demande moins (#296)
31+
32+Les petits modèles dépensaient leurs appels en comptabilité du plan (10 appels sur 40 dans un run, et trois runs sur quatre en sont morts). La description de l'outil demande désormais un seul `update` avec `status: "done"` par tâche terminée, et rien d'autre. Un `update` sans `status` marque la tâche terminée au lieu d'échouer. Quand le détecteur de boucles arrête les appels d'outils, le modèle est rappelé une fois sans outils pour sa réponse finale : le travail déjà fait est rapporté au lieu d'une erreur. Le skill `plan-manager` suit le même déroulé.
33+
34+### Des réponses dégénérées (#298, #299)
35+
36+- Une réponse finale avec 40 lignes vides d'affilée ou plus est nettoyée (`[… N blank lines — removed by mm]`) et signalée comme une boucle (`the model looped: N blank lines in a row`), pas comme « augmentez `max_tokens` ». Pendant le streaming, un appel qui écrit 100 lignes vides est coupé et rendu une fois.
37+- Une réponse sans texte ni appel d'outil dont le raisonnement contient un bloc `<tool_call>` complet est rendue une fois, en citant le bloc (`tool call in the reasoning — handed back 1/1`) ; rien de ce qui est écrit dans le raisonnement n'est exécuté. Si ça se reproduit après un vrai appel d'outil, c'est rendu à nouveau.
38+
39+### Les sauts de page écrits pour `\f` (#300)
40+
41+Les modèles Mellum écrivent `"\n\func"` en JSON, que JSON lit comme un retour à la ligne, un saut de page (U+000C) et `unc` : 8 occurrences dans les runs de validation, de Mellum2 Instruct et Mellum2.1 Thinking (Q4_K_M et Q8_0), aucune de Mellum2.1 Instruct ni de Qwen3-Coder. Dans un fichier source qui ne contient pas encore de saut de page, un saut de page en début de ligne devant une minuscule est désormais écrit comme un retour à la ligne et `f` ; la sortie se termine par `[mm: repaired N form feed(s) …]` et vous voyez une notice `🩹`. Les sauts de page seuls sur leur ligne, ceux au milieu d'une ligne, les autres sortes de fichiers et le texte `old` d'`edit_file` ne sont jamais modifiés.
42+
43+## Pas encore mesuré
44+
45+Les corrections de #294, #295, #296, #297 et #300 reposent sur leurs tests unitaires : les runs prévus pour les vérifier (agents Mellum2 et Qwen3-Coder) ont été abandonnés. #298 et #299 ne sont pas réapparus dans les derniers runs. Le cas de #308 ne s'est pas produit dans le dernier run (le modèle a lancé `go get` avant d'écrire son code) ; il est couvert par un test avec le vrai gopls.
46+
47+## Démos
48+
49+- **`demos/notes-taker`** (nouvelle) : Bob, un agent qui prend des notes de réunion dans un fichier YAML et en fait un rapport Markdown, sur Gemma 4 E4B via llama.cpp démarré par mm. Voir son [README](../demos/notes-taker/README.fr.md).
50+- **`demos/gemma-coder`** : désormais sur llama.cpp (`unsloth/gemma-4-26B-A4B-it-GGUF:Q4_K_M`, port 9931) au lieu de llmman.
51+
52+## Documentation
53+
54+- [L'outil `lsp`](../docs/fr/explanation/lsp-tool.md) : pourquoi une liste de diagnostics vide n'est pas crue tout de suite, et pourquoi mm prévient le serveur quand `go.mod` change.
55+- [Repérer qu'un modèle peine](../docs/fr/explanation/struggling-models.md) : éditions sans effet, tests relancés, lectures en rond, lignes vides, appels dans le raisonnement, sauts de page.
56+- [Naviguer dans le code avec l'outil `lsp`](../docs/fr/how-to/navigate-code-with-lsp.md) et [Gérer des plans et des tâches](../docs/fr/how-to/manage-plans-and-tasks.md).
57+- Référence : [outils](../docs/fr/reference/tools.md), [configuration](../docs/fr/reference/configuration.md), [CLI](../docs/fr/reference/cli.md) (les nouvelles lignes de difficulté).
58+
59+## Mise à jour
60+
61+- **Remplacez le binaire** : `curl -fsSL https://rickub.com/bots-garden/mini-me/raw/main/install-mm.sh | bash` sur macOS et Linux, ou voyez les guides d'installation pour [macOS](../INSTALL.MACOS.md), [Linux](../INSTALL.LINUX.md) et [Windows](../INSTALL.WINDOWS.md).
62+- Aucune nouvelle clé de configuration. Ce qui change sans clé : une liste de diagnostics vide coûte 400 ms ; un `edit_file` avec une `line` hors du fichier est refusé ; un `update` de `plan` sans `status` marque la tâche terminée ; les sauts de page sont réparés dans les fichiers source.
63+- Nouveaux messages : `same test again: …`, `tool call in the reasoning — handed back 1/1`, `the model looped: N blank lines in a row …`, `loop detector stop — asked for the answer`, `no diagnostics yet for <path>, but the server is still loading the workspace …`, `[mm: you have read <path> N times …]`, `[mm: repaired N form feed(s) …]`.
64+- Si l'un de vos agents charge `skills/plan-manager`, copiez la nouvelle version : l'ancienne demandait 4 à 5 appels de plan par tâche.
new file mode 100644
@@ -0,0 +1,64 @@
1+# mini-me v2.2.2
2+
3+*[English version](v2.2.2.en.md)*
4+
5+Des retours d'outils qui ne trompent plus les petits modèles : des diagnostics qui ne disent jamais `clean` trop tôt et suivent un `go get`, les éditions qui ne changent rien et les tests relancés en boucle repérés, un fichier cassé relu en rond pointé vers sa correction, un outil de plan plus léger, et les réponses faites de lignes vides, les appels d'outil écrits dans le raisonnement et les sauts de page écrits pour `\f` pris en charge.
6+
7+## Corrections
8+
9+Ces corrections viennent de runs de validation d'une API CRUD en Go (des labels stockés en YAML, vérifiés par un script de test) avec Mellum2 et Mellum2.1 (Instruct et Thinking) et Qwen3-Coder, entre le 2026-12-02 et le 2026-12-05. Un run de Mellum2.1 Thinking Q8_0 avec cette version a passé le script de test (`ALL OK`) en 18 appels.
10+
11+### Des diagnostics du serveur de langage fiables (#294, #308)
12+
13+- **Plus de faux `clean`.** Après que Mellum2 a créé le premier `go.mod` d'un projet, trois éditions aux imports faux ont chacune reçu `clean` alors que `go build` signalait toutes les erreurs. Une erreur est toujours signalée tout de suite, mais une liste vide n'est plus crue qu'une fois restée seule 400 ms, et quand le serveur dit qu'il ne charge rien. Si l'attente s'épuise pendant un chargement, la réponse est `no diagnostics yet for <path>, but the server is still loading the workspace — this does NOT mean the file is clean …`. Le cas d'origine n'a pas été reproduit avec un gopls au cache chaud : la correction repose sur la cause déduite, et un fichier propre coûte ces 400 ms.
14+- **`go get` est vu.** Quand `go.mod`, `go.sum`, `package.json`, `Cargo.toml`… changent en dehors des outils de fichiers de mm (`go get`, `go mod tidy`, `npm install` par `bash`), mm prévient désormais le serveur avant sa requête suivante (`workspace/didChangeWatchedFiles`). Avant, gopls continuait de répondre `could not import gopkg.in/yaml.v3` après un `go get` réussi, et le modèle cherchait une erreur qui n'existait plus. Les diagnostics rappelés à la relecture expirent aussi avec ces fichiers.
15+
16+### Des éditions qui ne changent rien, des tests relancés sans fin (#295, #297)
17+
18+- Un `write_file` ou un `edit_file` qui ne change rien compte désormais comme un appel en échec pour le détecteur de boucles, lectures intercalées comprises : un modèle qui alterne éditions sans effet et lectures est signalé, puis arrêté.
19+- Relire un fichier inchangé qui a encore des erreurs les rappelle : `… unchanged since you were told, still N error(s)` et les trois premières lignes d'erreur (avant, rien n'était dit après la première lecture).
20+- Une commande `bash` lancée pour la troisième fois depuis le dernier changement de fichier, avec la même forme et le même résultat (pauses, timeouts, kills et durées mis à part), reçoit une note qui dit au modèle que c'est le même test, et vous voyez `same test again: bash ×N with the same result, no file changed`. Elle n'arrête jamais le tour.
21+
22+### Un fichier cassé relu en rond (#307)
23+
24+Mellum2.1 Thinking a relu huit fois le même `main.go` cassé, sans jamais le modifier. À partir du deuxième rappel des mêmes erreurs, mm ajoute désormais `[mm: you have read <path> N times since it last changed, and the error has not moved …]`, avec le texte de la ligne de la première erreur et un appel `edit_file` prêt, avec `line` ; vous voyez une notice `🔁`. Au run suivant, le modèle a corrigé le fichier deux appels après la note.
25+
26+### `edit_file` avec une ligne hors du fichier (#294)
27+
28+Un `edit_file` dont la `line` est après la fin du fichier (ou sous 1) est refusé, que `old` soit unique ou non, avec le nombre de lignes du fichier. Les diffs montrent désormais les caractères de contrôle échappés (`\f`, `\v`, …) avec une note, au lieu de les afficher tels quels.
29+
30+### L'outil de plan demande moins (#296)
31+
32+Les petits modèles dépensaient leurs appels en comptabilité du plan (10 appels sur 40 dans un run, et trois runs sur quatre en sont morts). La description de l'outil demande désormais un seul `update` avec `status: "done"` par tâche terminée, et rien d'autre. Un `update` sans `status` marque la tâche terminée au lieu d'échouer. Quand le détecteur de boucles arrête les appels d'outils, le modèle est rappelé une fois sans outils pour sa réponse finale : le travail déjà fait est rapporté au lieu d'une erreur. Le skill `plan-manager` suit le même déroulé.
33+
34+### Des réponses dégénérées (#298, #299)
35+
36+- Une réponse finale avec 40 lignes vides d'affilée ou plus est nettoyée (`[… N blank lines — removed by mm]`) et signalée comme une boucle (`the model looped: N blank lines in a row`), pas comme « augmentez `max_tokens` ». Pendant le streaming, un appel qui écrit 100 lignes vides est coupé et rendu une fois.
37+- Une réponse sans texte ni appel d'outil dont le raisonnement contient un bloc `<tool_call>` complet est rendue une fois, en citant le bloc (`tool call in the reasoning — handed back 1/1`) ; rien de ce qui est écrit dans le raisonnement n'est exécuté. Si ça se reproduit après un vrai appel d'outil, c'est rendu à nouveau.
38+
39+### Les sauts de page écrits pour `\f` (#300)
40+
41+Les modèles Mellum écrivent `"\n\func"` en JSON, que JSON lit comme un retour à la ligne, un saut de page (U+000C) et `unc` : 8 occurrences dans les runs de validation, de Mellum2 Instruct et Mellum2.1 Thinking (Q4_K_M et Q8_0), aucune de Mellum2.1 Instruct ni de Qwen3-Coder. Dans un fichier source qui ne contient pas encore de saut de page, un saut de page en début de ligne devant une minuscule est désormais écrit comme un retour à la ligne et `f` ; la sortie se termine par `[mm: repaired N form feed(s) …]` et vous voyez une notice `🩹`. Les sauts de page seuls sur leur ligne, ceux au milieu d'une ligne, les autres sortes de fichiers et le texte `old` d'`edit_file` ne sont jamais modifiés.
42+
43+## Pas encore mesuré
44+
45+Les corrections de #294, #295, #296, #297 et #300 reposent sur leurs tests unitaires : les runs prévus pour les vérifier (agents Mellum2 et Qwen3-Coder) ont été abandonnés. #298 et #299 ne sont pas réapparus dans les derniers runs. Le cas de #308 ne s'est pas produit dans le dernier run (le modèle a lancé `go get` avant d'écrire son code) ; il est couvert par un test avec le vrai gopls.
46+
47+## Démos
48+
49+- **`demos/notes-taker`** (nouvelle) : Bob, un agent qui prend des notes de réunion dans un fichier YAML et en fait un rapport Markdown, sur Gemma 4 E4B via llama.cpp démarré par mm. Voir son [README](../demos/notes-taker/README.fr.md).
50+- **`demos/gemma-coder`** : désormais sur llama.cpp (`unsloth/gemma-4-26B-A4B-it-GGUF:Q4_K_M`, port 9931) au lieu de llmman.
51+
52+## Documentation
53+
54+- [L'outil `lsp`](../docs/fr/explanation/lsp-tool.md) : pourquoi une liste de diagnostics vide n'est pas crue tout de suite, et pourquoi mm prévient le serveur quand `go.mod` change.
55+- [Repérer qu'un modèle peine](../docs/fr/explanation/struggling-models.md) : éditions sans effet, tests relancés, lectures en rond, lignes vides, appels dans le raisonnement, sauts de page.
56+- [Naviguer dans le code avec l'outil `lsp`](../docs/fr/how-to/navigate-code-with-lsp.md) et [Gérer des plans et des tâches](../docs/fr/how-to/manage-plans-and-tasks.md).
57+- Référence : [outils](../docs/fr/reference/tools.md), [configuration](../docs/fr/reference/configuration.md), [CLI](../docs/fr/reference/cli.md) (les nouvelles lignes de difficulté).
58+
59+## Mise à jour
60+
61+- **Remplacez le binaire** : `curl -fsSL https://rickub.com/bots-garden/mini-me/raw/main/install-mm.sh | bash` sur macOS et Linux, ou voyez les guides d'installation pour [macOS](../INSTALL.MACOS.md), [Linux](../INSTALL.LINUX.md) et [Windows](../INSTALL.WINDOWS.md).
62+- Aucune nouvelle clé de configuration. Ce qui change sans clé : une liste de diagnostics vide coûte 400 ms ; un `edit_file` avec une `line` hors du fichier est refusé ; un `update` de `plan` sans `status` marque la tâche terminée ; les sauts de page sont réparés dans les fichiers source.
63+- Nouveaux messages : `same test again: …`, `tool call in the reasoning — handed back 1/1`, `the model looped: N blank lines in a row …`, `loop detector stop — asked for the answer`, `no diagnostics yet for <path>, but the server is still loading the workspace …`, `[mm: you have read <path> N times …]`, `[mm: repaired N form feed(s) …]`.
64+- Si l'un de vos agents charge `skills/plan-manager`, copiez la nouvelle version : l'ancienne demandait 4 à 5 appels de plan par tâche.