bots-garden/sidekickspublic Fork
⑂ feature/1st-release
Commits
⬇ Clone ▾
git clone https://git.rickub.com/bots-garden/sidekicks.git
git clone ssh://git@rickub.com/bots-garden/sidekicks.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Download ZIP
🛟 Updated. 1d19377 · on feature/1st-release · k33g · 26d ago
test-milestone-m3-on-macos.md · 93 lines · 6.0 KBmarkdown
Blame HistoryOpen raw

How to test milestone M3 on macOS

This guide checks on a Mac what milestone M3 (Channels & multi-agents) produced: channels kept in a history, @ mentions, several agents in one channel, slash commands, and conversations that survive a restart. It assumes the Mac was prepared for milestone M2 and the repository is on the M3 branch. Allow 30 minutes.

Keep a terminal for scripts/agents.sh ps.

0. Prepare

make install            # Pebble is a new Go dependency; nothing new in the frontend
make check              # expected: 0 issues, Tests 56 passed, 14 passed, licence headers ok
make test-real          # expected: ok … internal/channels (Riker, Alice + Bob, Alice after a restart)
make install-test-config
make dev

make install-test-config matters: the test channels are now called general (Alice, Bob) and translations (Garfield).

  • make check and make test-real pass; scripts/agents.sh ps lists no model afterwards.

1. Channels from the configuration (#20, #21)

  1. The Channels panel lists # general and # translations, then + New channel, then Direct messages ("Click an agent to talk with it directly.").
  2. Click # general: the header shows # general and two members, Alice (assistant) × and Bob (assistant) ×, and + Invite.
  • Points 1 and 2 are as described.

2. Mentions and two agents (#22, #23)

  1. In #general, type @ : a list of the four agents opens above the text box. Type b: only Bob remains. Press Escape: the list closes. Clear the text box.
  2. Type @al, press Tab: @alice is inserted. Complete: @alice Reply only with this code: 4217 and send. The header says "Alice (assistant) is answering…"; Alice answers 4217. In your message, @alice is highlighted.
  3. Send @bob What code did Alice give? Answer with the code only. — Bob starts and answers 4217 (without "Bob:" in front).
  4. Send and you, Bob, which number? without mention: Bob answers (the last agent who spoke).
  5. Send @alice @bob Say hello in three words. — Alice answers, then Bob; never both at once. scripts/agents.sh ps shows two agents at most.
  6. Click ■ Stop while Alice answers a long request (@alice @bob Write a poem of 40 lines about the sea.): Alice's answer ends "Answer stopped." and Bob does not answer.
  • Points 1 to 6 are as described.

3. Managing channels (#21)

  1. Click + New channel, type Apollo, Enter: # Apollo opens, with no member.
  2. Send anyone here?: a grey message says "Nobody was addressed: mention an agent with @ (for example @alice)."
  3. Open + Invite, pick Alice: "Alice (assistant) joined the channel." Click × next to Alice's name in the header: "Alice (assistant) left the channel."
  4. Create another channel called apollo: refused, the error appears under the name.
  5. Hover # Apollo, click ✎, type Artemis, Enter: renamed everywhere.
  6. Hover # Artemis, click 🗑: "Delete #Artemis and its whole history?" — Cancel keeps it; 🗑 then Delete removes it.
  • Points 1 to 6 are as described.

4. Direct conversations and unread answers

  1. Click Alice (assistant) in the Agents panel: the direct conversation opens and appears under Direct messages.
  2. Send Write a haiku about autumn. and click # general right away. When the answer is done, a blue badge 1 appears next to Alice under Direct messages; clicking it opens the conversation and the badge disappears.
  3. In the direct conversation, @bob hello goes to Alice (mentions are plain text there).
  • Points 1 to 3 are as described.

5. Slash commands (#24)

  1. Click # translations and type /: within a second the list shows Garfield's commands (/compact, /new, /unload, /email-letter, /idioms…), although Garfield never answered; scripts/agents.sh ps shows Garfield running and no model loaded. Press Escape, clear.
  2. Send /idioms Il pleut des cordes. — next to Garfield's name, a turning spinner and "thinking…" while the model loads, then "🛠 read_skill: idioms ✓ done", then a translation such as "It's raining cats and dogs."; the spinner disappears when the answer ends.
  3. Type /id: the list offers /idioms with its description; Tab completes it.
  4. In #general, + Invite Garfield, then type /gar: the list offers /garfield:idioms, /garfield:email-letter… Choose /garfield:idioms, complete with Il pleut des cordes. and send: Garfield answers, not Alice nor Bob.
  • Points 1 to 4 are as described.

6. After a restart (#20, #25)

  1. Quit (⌘Q). scripts/agents.sh ps lists no agent and no model.
  2. make dev again, click # general: all the messages are there, with the agents' names.
  3. Send @alice What code did you give? — Alice, a new process, answers 4217.
  4. Type / in # translations before Garfield starts: the commands are already offered.
  • Points 1 to 4 are as described.

7. Two configuration files, two histories

  1. Settings → Open…, choose examples/test-agents.yaml of the repository: the Channels panel shows that file's channels, empty (its own history).
  2. Go back to the default configuration with Open… (~/Library/Application Support/sidekicks/config.yaml — ⇧⌘G in the dialog to type the path): the conversations of sections 2 to 6 are back.
  • Points 1 and 2 are as described.

If something differs

Symptom Likely cause What to do
# général and # traductions instead of general / translations old test configuration make install-test-config, then relaunch
Yellow banner "History unavailable" another Sidekicks has the same file open quit it and relaunch
Bob answers about something else small model; the transcript was given look at the answer again, or ask more directly

Close the milestone

If everything matches, M3 is confirmed: close issue #21 (the others are closed) and the milestone M3 · Channels & multi-agents (or ask the assistant). Otherwise, comment the issue concerned with what differs.

 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
# How to test milestone M3 on macOS

This guide checks on a Mac what milestone M3 (Channels & multi-agents) produced: channels kept in a history, `@` mentions, several agents in one channel, slash commands, and conversations that survive a restart. It assumes the Mac was prepared for [milestone M2](test-milestone-m2-on-macos.md) and the repository is on the M3 branch. Allow 30 minutes.

Keep a terminal for `scripts/agents.sh ps`.

## 0. Prepare

```bash
make install            # Pebble is a new Go dependency; nothing new in the frontend
make check              # expected: 0 issues, Tests 56 passed, 14 passed, licence headers ok
make test-real          # expected: ok … internal/channels (Riker, Alice + Bob, Alice after a restart)
make install-test-config
make dev
```

`make install-test-config` matters: the test channels are now called `general` (Alice, Bob) and `translations` (Garfield).

- [ ] `make check` and `make test-real` pass; `scripts/agents.sh ps` lists no model afterwards.

## 1. Channels from the configuration (#20, #21)

1. The **Channels** panel lists `# general` and `# translations`, then **+ New channel**, then **Direct messages** ("Click an agent to talk with it directly.").
2. Click **# general**: the header shows `# general` and two members, `Alice (assistant) ×` and `Bob (assistant) ×`, and **+ Invite**.

- [ ] Points 1 and 2 are as described.

## 2. Mentions and two agents (#22, #23)

1. In #general, type `@` : a list of the four agents opens above the text box. Type `b`: only Bob remains. Press **Escape**: the list closes. Clear the text box.
2. Type `@al`, press **Tab**: `@alice ` is inserted. Complete: `@alice Reply only with this code: 4217` and send. The header says "Alice (assistant) is answering…"; Alice answers `4217`. In your message, `@alice` is highlighted.
3. Send `@bob What code did Alice give? Answer with the code only.` — Bob starts and answers `4217` (without "Bob:" in front).
4. Send `and you, Bob, which number?` without mention: Bob answers (the last agent who spoke).
5. Send `@alice @bob Say hello in three words.` — Alice answers, then Bob; never both at once. `scripts/agents.sh ps` shows two agents at most.
6. Click **■ Stop** while Alice answers a long request (`@alice @bob Write a poem of 40 lines about the sea.`): Alice's answer ends "Answer stopped." and Bob does not answer.

- [ ] Points 1 to 6 are as described.

## 3. Managing channels (#21)

1. Click **+ New channel**, type `Apollo`, Enter: `# Apollo` opens, with no member.
2. Send `anyone here?`: a grey message says "Nobody was addressed: mention an agent with @ (for example @alice)."
3. Open **+ Invite**, pick **Alice**: "Alice (assistant) joined the channel." Click **×** next to Alice's name in the header: "Alice (assistant) left the channel."
4. Create another channel called `apollo`: refused, the error appears under the name.
5. Hover `# Apollo`, click **✎**, type `Artemis`, Enter: renamed everywhere.
6. Hover `# Artemis`, click **🗑**: "Delete #Artemis and its whole history?" — **Cancel** keeps it; **🗑** then **Delete** removes it.

- [ ] Points 1 to 6 are as described.

## 4. Direct conversations and unread answers

1. Click **Alice (assistant)** in the **Agents** panel: the direct conversation opens and appears under **Direct messages**.
2. Send `Write a haiku about autumn.` and click **# general** right away. When the answer is done, a blue badge `1` appears next to Alice under Direct messages; clicking it opens the conversation and the badge disappears.
3. In the direct conversation, `@bob hello` goes to Alice (mentions are plain text there).

- [ ] Points 1 to 3 are as described.

## 5. Slash commands (#24)

1. Click **# translations** and type `/`: within a second the list shows Garfield's commands (`/compact`, `/new`, `/unload`, `/email-letter`, `/idioms`…), although Garfield never answered; `scripts/agents.sh ps` shows Garfield running and **no model loaded**. Press **Escape**, clear.
2. Send `/idioms Il pleut des cordes.` — next to Garfield's name, a turning spinner and "thinking…" while the model loads, then "🛠 read_skill: idioms ✓ done", then a translation such as "It's raining cats and dogs."; the spinner disappears when the answer ends.
3. Type `/id`: the list offers **/idioms** with its description; **Tab** completes it.
4. In #general, **+ Invite** Garfield, then type `/gar`: the list offers `/garfield:idioms`, `/garfield:email-letter`… Choose `/garfield:idioms`, complete with `Il pleut des cordes.` and send: Garfield answers, not Alice nor Bob.

- [ ] Points 1 to 4 are as described.

## 6. After a restart (#20, #25)

1. Quit (⌘Q). `scripts/agents.sh ps` lists no agent and no model.
2. `make dev` again, click **# general**: all the messages are there, with the agents' names.
3. Send `@alice What code did you give?` — Alice, a new process, answers `4217`.
4. Type `/` in **# translations** before Garfield starts: the commands are already offered.

- [ ] Points 1 to 4 are as described.

## 7. Two configuration files, two histories

1. **Settings → Open…**, choose `examples/test-agents.yaml` of the repository: the Channels panel shows that file's channels, empty (its own history).
2. Go back to the default configuration with **Open…** (`~/Library/Application Support/sidekicks/config.yaml` — ⇧⌘G in the dialog to type the path): the conversations of sections 2 to 6 are back.

- [ ] Points 1 and 2 are as described.

## If something differs

| Symptom | Likely cause | What to do |
| --- | --- | --- |
| `# général` and `# traductions` instead of `general` / `translations` | old test configuration | `make install-test-config`, then relaunch |
| Yellow banner "History unavailable" | another Sidekicks has the same file open | quit it and relaunch |
| Bob answers about something else | small model; the transcript was given | look at the answer again, or ask more directly |

## Close the milestone

If everything matches, M3 is confirmed: close issue #21 (the others are closed) and the milestone **M3 · Channels & multi-agents** (or ask the assistant). Otherwise, comment the issue concerned with what differs.