How to test milestone M1 on macOS
This guide checks on a Mac (Apple Silicon) what milestone M1 (Foundations) produced: the build, the automated checks, the configuration loading, the agent manager and the panel shell. It assumes the Mac was prepared for milestone Initialize (Go, Node, Xcode tools, Wails CLI, mm, llmman and the models) and the repository is on the M1 branch. Allow 30 minutes.
0. Prepare
npm install -g pnpm@12.11.2
pnpm --version # 12.11.2
make install
make install installs the frontend dependencies with the native binaries of macOS and Linux, so the shared folder keeps working in the Linux sandbox.
-
make installends without errors.
1. The automated checks (#8)
make check
Expected at the end: 14 passed, 0 failed and all licence header tests passed, with 0 issues. from golangci-lint before.
make test-real
Expected: ok … internal/acp — the ACP handshake with the real Alice. scripts/agents.sh ps lists no agent afterwards.
-
make checkpasses. -
make test-realpasses.
2. The application with the test agents (#10, #11, #12, #13)
SIDEKICKS_CONFIG="$PWD/examples/test-agents.yaml" make dev
Check, in order:
- Window: the left dock starts below the red/orange/green buttons; the status bar says « 0 agent actif » and shows the configuration path.
- Agents: Alice, Bob, Riker, Garfield are listed, « arrêté ».
- Start: hover Alice, click ▶ — orange (« démarre… »), then green (« prêt »); « 1 agent actif ».
- Journal: click Journal — the panel opens at a comfortable size with Alice's
mm v1.0.3 | …lines; the selector shows Alice. - Limit: start Bob, then Riker. Riker starts and Alice (the least recently used) goes back to « arrêté »: two agents at most. In a terminal,
scripts/agents.sh pslists two agents. - Stop: hover Bob, click ■ — « arrêté ».
- Docks: click Agents, Journal, Settings in the status bar — each dock folds and unfolds; drag the separators, quit (⌘Q) and relaunch: the sizes are kept.
- Quit with agents running: with Riker still running, quit (⌘Q).
scripts/agents.sh pslists no agent and no model. - Theme: System Settings → Appearance → Light / Dark: the whole window follows.
- Points 1 to 9 are as described.
3. The configuration (#9)
Follow steps 5 and 6 of the tutorial Your first launch of Sidekicks: a typo in the file shows a red banner and located messages within a second, and fixing it removes them without restarting.
Then check the default file: quit, move your configuration away if you have one, and run without SIDEKICKS_CONFIG:
mv ~/Library/Application\ Support/sidekicks/config.yaml /tmp/ 2>/dev/null
make dev
Settings shows the full path /Users/<you>/Library/Application Support/sidekicks/config.yaml, « emplacement par défaut — créé pour vous » and « ✓ Configuration valide ». Open the file to check that every key has a comment — without quotes around ~, or the shell does not replace it with your home folder:
open ~/Library/Application\ Support/sidekicks/ # the folder, in the Finder
open -e ~/Library/Application\ Support/sidekicks/config.yaml # the file, in TextEdit
To make the default configuration work with the test agents, write it with absolute paths to the repository (the empty file is kept as .bak):
make install-test-config
It also gives each agent MM_BIN and your PATH: an application opened from the Finder only gets a minimal PATH and would find neither mm nor jq. If you would rather get your own file back, put it back instead:
mv /tmp/config.yaml ~/Library/Application\ Support/sidekicks/config.yaml
- Problems are located and the file reloads on save.
- The default file is created, commented and valid.
4. The packaged application
make package
open bin/sidekicks.app
Without SIDEKICKS_CONFIG, it opens the default configuration — the test agents' one after make install-test-config. Repeat points 1, 3 and 7 of part 2.
-
bin/sidekicks.appopens and behaves as in development mode.
If everything is as described, M1 is confirmed: close issue #12 and set milestone M1 · Fondations to closed in .tickets/milestones.yaml — or ask the assistant to do it. Otherwise, comment the issue concerned with what differs.
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
pnpm: command not found |
pnpm not installed | npm install -g pnpm@12.11.2 |
Cannot find native binding during the frontend build |
node_modules installed with npm, or before pnpm-workspace.yaml existed |
delete frontend/node_modules, run make install |
wails3: command not found |
GOPATH/bin not on PATH |
export PATH="$(go env GOPATH)/bin:$PATH" |
| An agent goes to « erreur » at once | mm or llmman missing |
read the message under the agent and its Journal |
make check fails in bindings code |
bindings older than the Go code | make bindings |
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 100 101 102 103 104 105 106 107 108 109 110 111 112 |
|