How to test milestone M2 on macOS
This guide checks on a Mac what milestone M2 (Conversation with an agent) produced: talking with an agent in streaming, Markdown rendering, tool calls and permissions, the configuration editor and opening another file. It assumes the Mac was prepared for milestone M1 (pnpm, Wails, mm, llmman and the models) and the repository is on the M2 branch. Allow 30 to 40 minutes.
Open Activity Monitor (Memory tab) and keep a terminal for scripts/agents.sh ps.
0. Prepare
make install # new frontend dependencies (CodeMirror, Shiki, markdown-it…)
make check # expected: 0 issues, Tests 43 passed, 14 passed, licence headers ok
make test-real # expected: ok … internal/acp and ok … internal/conversations (Alice then Riker)
make install-test-config
make dev
-
make checkandmake test-realpass;scripts/agents.sh pslists no model afterwards.
1. Talk with Alice (#14, #15, #16)
- Click Alice: her conversation opens in the centre; nothing is hidden under the window buttons.
- Send:
Donne un tableau markdown de 2 lignes (nom, rôle) puis un bloc de code Go qui affiche hello.— the answer arrives word by word; meanwhile "writing…", an orange dot and a ■ Stop button. - At the end: a table, a coloured Go block with its language and Copier; click Copier, then paste in TextEdit (⌘V).
- Theme: System Settings → Appearance → Dark: the code changes colours with the rest.
- Send:
Mets un lien vers https://wails.ioand click the link: it opens in your browser, not in Sidekicks. - Send
Je m'appelle <your first name>.thenComment je m'appelle ?— Alice remembers (same session). - Composer: Shift+Enter makes a new line; ↑ in the empty box brings back the previous message.
- Send two messages in a row: the second shows "waiting" and leaves when the first answer ends; the header says "1 waiting".
- Points 1 to 8 are as described.
2. Tools and permissions with Riker (#17)
- Click Riker, send:
Utilise l'outil bash pour exécuter la commande ls dans le dossier courant, puis dis-moi combien d'entrées il y a. - A framed card: "Riker (tools) wants to run a command on your computer",
ls, buttons in this order Allow once · Always allow here · Never propose this here · Reject once, and ■ Stop Riker (tools). Click Allow once: a line "🛠 bash: ls ✓ done" (unfold it: command and output), then the answer. - Send:
Utilise l'outil bash pour supprimer les fichiers .tmp du dossier courant avec rm -f *.tmp— the card shows "⚠ This may not be undoable: check before allowing." in red. Click Never propose this here. - Depending on the model: the answer ends, or Riker insists and its tools fail one after another — at the third failure in a row, a banner "Riker (tools) is going in circles…" offers ■ Stop. Click it: "Answer stopped.". Check that no file was deleted in
agents/riker. - Send
Écris un poème de 60 vers sur la mer.and click ■ Stop while it writes: "Answer stopped.", green dot. - If an answer ends with an mm error, the message is readable (e.g. "generation timed out (stalled)"), not JSON.
- Points 1 to 6 are as described.
3. Garfield and his skills
Click Garfield, send /idioms Il pleut des cordes. — a line "🛠 read_skill: idioms ✓ done" then a translation such as "It's raining cats and dogs".
- The skill is used.
4. The memory limit with conversations
With Alice and Riker started, write to Garfield: the idle agent used least recently is stopped to make room. Then go back to that agent and write to it: a grey message says it restarted and no longer remembers the beginning.
- Two agents at most (
scripts/agents.sh ps), and the restart message appears.
5. The configuration editor (#18)
- Click Settings: the panel opens wide enough; the file is coloured, Revert / Save are visible at the bottom.
- On the line
stopIdleAgentsAfter: 5m, addxat the end: red underline within a second, a dot in the gutter, an explanation on hover. - ⌘S: "Not saved: fix the errors first." and the problem listed; click it: the caret goes to the line.
- Delete the
x: the message disappears; Revert is greyed out (nothing changed). - Under
maxRunningAgents: 2, new line, typesto: completion offersstopIdleAgentsAfter. Inui:(add it), typetheme:then Ctrl+Space:system, light, dark. Choosedark, ⌘S: "Saved…" and the whole window turns dark. - Change the file with another editor (
open -e ~/Library/Application\ Support/sidekicks/config.yaml) and save: the panel shows the new text (if it had no change in progress).
- Points 1 to 6 are as described.
6. Open another configuration (#19)
- Settings → Open…: the macOS file dialog opens; choose
examples/test-agents.yamlin the repository. - Conversations are emptied, agents stopped, the path shown is the chosen file's, the source "opened from Sidekicks".
- Recent… lists that file; quit (⌘Q) and run
make devagain: it opens that file. - Go back to the default configuration with Open… (
~/Library/Application Support/sidekicks/config.yaml— ⇧⌘G in the dialog to type the path).
- Points 1 to 4 are as described.
7. The packaged application
make package && open bin/sidekicks.app
Quickly repeat 1.2 and 2.2. Quit with agents running: scripts/agents.sh ps lists no agent and no model.
- As described; no model stays loaded.
If everything is as described, M2 is confirmed: close issue #15 and milestone M2 · Conversation avec un agent (or ask the assistant). Otherwise, comment the issue concerned.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| The frontend does not build after the merge | dependencies not reinstalled | make install |
| A model stays loaded after quitting | a busy agent was stopped abruptly | scripts/agents.sh unload --all, and note in issue #15 what the agent was doing |
| Code is not coloured in the first message | Shiki is still loading | it is coloured as soon as it is ready (under a second) |
make test-real fails on Riker |
the model answered without asking permission | run it again; small models vary from one run to the next |
See also
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 |
|