bots-garden/sidekickspublic Fork
⑂ 32ffc2a
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

🎫 #95 fermé : testé avec un vrai agent mini-me

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
agent committed 2026-11-14T18:37:28+01:00 Browse files
32ffc2a parent: 0f3d2bf
modified .memory/handoffs/2026-11-14-mini-me-creator.md +2 -2
@@ -6,7 +6,7 @@ Branch `feature/94-mini-me-creator`, not pushed. Implemented, tested in the Linu
66
77 ## Next steps
88
9-1. On the Mac with mm ≥ 1.0.9: create one agent per mode (local, Docker container, sbx) and start each from Sidekicks (task 7). For the container, the first start runs `docker compose up -d --wait` (build of mm's Dockerfile, network needed).
9+1. Waiting for a mini-me release with the dockerinit uid fix (see `MINI-ME-DOCKERINIT-UID.md`). Then, on the Mac with mm ≥ 1.0.9: create one agent per mode (local, Docker container, sbx) and start each from Sidekicks (task 7). For the container, the first start runs `docker compose up -d --wait` (build of mm's Dockerfile, network needed).
1010 2. Release notes v1.5.0 EN/FR mention the assistant and `agentsFolder` (#93, task 8 of #94).
1111 3. Merge into main when the owner agrees.
1212
@@ -18,6 +18,6 @@ Branch `feature/94-mini-me-creator`, not pushed. Implemented, tested in the Linu
1818
1919 ## Also on this branch: #95 (ask_user forms in conversations)
2020
21-- Done and tested with a fake agent; task 6 open: on the Mac, ask a mini-me agent something that makes it call `ask_user` with a free-text question, answer in the card.
21+- Done; tested by the owner with a real mini-me agent — #95 closed.
2222 - Every agent (Claude, Codex, Gemini, docker-agent too) now advertises `elicitation.form`; one that sends a form gets the card. Not tried with them.
2323 - `MINI-ME-DOCKERINIT-UID.md` at the root is a note for the mini-me project (dockerinit uid defect); delete it once handed over.
@@ -6,7 +6,7 @@ Branch `feature/94-mini-me-creator`, not pushed. Implemented, tested in the Linu
6 6
7 ## Next steps7 ## Next steps
8 8
9-1. On the Mac with mm ≥ 1.0.9: create one agent per mode (local, Docker container, sbx) and start each from Sidekicks (task 7). For the container, the first start runs `docker compose up -d --wait` (build of mm's Dockerfile, network needed).9+1. Waiting for a mini-me release with the dockerinit uid fix (see `MINI-ME-DOCKERINIT-UID.md`). Then, on the Mac with mm ≥ 1.0.9: create one agent per mode (local, Docker container, sbx) and start each from Sidekicks (task 7). For the container, the first start runs `docker compose up -d --wait` (build of mm's Dockerfile, network needed).
10 2. Release notes v1.5.0 EN/FR mention the assistant and `agentsFolder` (#93, task 8 of #94).10 2. Release notes v1.5.0 EN/FR mention the assistant and `agentsFolder` (#93, task 8 of #94).
11 3. Merge into main when the owner agrees.11 3. Merge into main when the owner agrees.
12 12
@@ -18,6 +18,6 @@ Branch `feature/94-mini-me-creator`, not pushed. Implemented, tested in the Linu
18 18
19 ## Also on this branch: #95 (ask_user forms in conversations)19 ## Also on this branch: #95 (ask_user forms in conversations)
20 20
21-- Done and tested with a fake agent; task 6 open: on the Mac, ask a mini-me agent something that makes it call `ask_user` with a free-text question, answer in the card.21+- Done; tested by the owner with a real mini-me agent — #95 closed.
22 - Every agent (Claude, Codex, Gemini, docker-agent too) now advertises `elicitation.form`; one that sends a form gets the card. Not tried with them.22 - Every agent (Claude, Codex, Gemini, docker-agent too) now advertises `elicitation.form`; one that sends a form gets the card. Not tried with them.
23 - `MINI-ME-DOCKERINIT-UID.md` at the root is a note for the mini-me project (dockerinit uid defect); delete it once handed over.23 - `MINI-ME-DOCKERINIT-UID.md` at the root is a note for the mini-me project (dockerinit uid defect); delete it once handed over.
modified .memory/history.md +1 -0
@@ -251,3 +251,4 @@
251251 - **2026-11-14 — "I have no name!" in a created container's terminal** (owner): cause in mini-me, not Sidekicks — `mm dockerinit`'s compose.yaml runs the container as the host uid:gid (`${MM_UID:-<uid>}:${MM_GID:-<gid>}`, 501:20 on the Mac) while its Dockerfile only creates `mm` with uid 1000, so uid 501 has no /etc/passwd entry (bash prints "I have no name!", `whoami` fails, git without user.name/email and ssh refuse). Fix belongs to mini-me's dockerinit (create the user with the host uid via build args); mini-me is read-only in this sandbox. Nothing changed; waiting for the owner's choice.
252252 - **2026-11-14 — note for mini-me + ticket #95** (owner): `MINI-ME-DOCKERINIT-UID.md` at the root explains the "I have no name!" defect of mm dockerinit (Dockerfile account uid 1000 vs compose `user:` = host uid) and the fix (account created from build args MM_UID/MM_GID, `groupadd -o`/`useradd -o`), checked in debian:bookworm-slim with -u 501:20 (whoami: before "cannot find name for user ID 501", after "mm"). #95 (no milestone): mm's `ask_user` text questions have no input in Sidekicks — conversation agents do not advertise `elicitation.form` (only #94's creator does), so mm falls back to permission dialogs (choices/yes-no only) or "unavailable"; routing needs the session id the SDK form type drops. Not committed.
253253 - **2026-11-14 — #95 implemented** (owner: "#95 goes in v1.5.0, then implement it"): `acp.Spec.Forms` + `FormAsker` routing (`_meta["mm.elicitationScope"].sessionId`, else the only session with a turn in flight — `sessions.turns` counted in `Conn.Prompt`); agents manager sets `Forms: true` for every agent; channels `FormRequest`, events `form:requested|resolved`, `Manager.AnswerForm`, Cancel cancels forms; `ChannelService.AnswerForm`; UI `FormCard.svelte` + shared `FormFields.svelte` (the creator now uses it). Verified: Go/vitest/lint; Xvfb with a Python fake ACP agent imitating ask_user (empty required text refused, answer returned, Decline). Not verified: a real mm whose model calls ask_user. Docs EN/FR: agents-and-events (events, AnswerForm), permissions explanation.
254+- **2026-11-14 — #95 closed** (owner tested the ask_user form with a real mini-me agent: it works). #94's container part waits for a mini-me release with the dockerinit uid fix (MINI-ME-DOCKERINIT-UID.md) to be tested on the Mac.
@@ -251,3 +251,4 @@
251 - **2026-11-14 — "I have no name!" in a created container's terminal** (owner): cause in mini-me, not Sidekicks — `mm dockerinit`'s compose.yaml runs the container as the host uid:gid (`${MM_UID:-<uid>}:${MM_GID:-<gid>}`, 501:20 on the Mac) while its Dockerfile only creates `mm` with uid 1000, so uid 501 has no /etc/passwd entry (bash prints "I have no name!", `whoami` fails, git without user.name/email and ssh refuse). Fix belongs to mini-me's dockerinit (create the user with the host uid via build args); mini-me is read-only in this sandbox. Nothing changed; waiting for the owner's choice.251 - **2026-11-14 — "I have no name!" in a created container's terminal** (owner): cause in mini-me, not Sidekicks — `mm dockerinit`'s compose.yaml runs the container as the host uid:gid (`${MM_UID:-<uid>}:${MM_GID:-<gid>}`, 501:20 on the Mac) while its Dockerfile only creates `mm` with uid 1000, so uid 501 has no /etc/passwd entry (bash prints "I have no name!", `whoami` fails, git without user.name/email and ssh refuse). Fix belongs to mini-me's dockerinit (create the user with the host uid via build args); mini-me is read-only in this sandbox. Nothing changed; waiting for the owner's choice.
252 - **2026-11-14 — note for mini-me + ticket #95** (owner): `MINI-ME-DOCKERINIT-UID.md` at the root explains the "I have no name!" defect of mm dockerinit (Dockerfile account uid 1000 vs compose `user:` = host uid) and the fix (account created from build args MM_UID/MM_GID, `groupadd -o`/`useradd -o`), checked in debian:bookworm-slim with -u 501:20 (whoami: before "cannot find name for user ID 501", after "mm"). #95 (no milestone): mm's `ask_user` text questions have no input in Sidekicks — conversation agents do not advertise `elicitation.form` (only #94's creator does), so mm falls back to permission dialogs (choices/yes-no only) or "unavailable"; routing needs the session id the SDK form type drops. Not committed.252 - **2026-11-14 — note for mini-me + ticket #95** (owner): `MINI-ME-DOCKERINIT-UID.md` at the root explains the "I have no name!" defect of mm dockerinit (Dockerfile account uid 1000 vs compose `user:` = host uid) and the fix (account created from build args MM_UID/MM_GID, `groupadd -o`/`useradd -o`), checked in debian:bookworm-slim with -u 501:20 (whoami: before "cannot find name for user ID 501", after "mm"). #95 (no milestone): mm's `ask_user` text questions have no input in Sidekicks — conversation agents do not advertise `elicitation.form` (only #94's creator does), so mm falls back to permission dialogs (choices/yes-no only) or "unavailable"; routing needs the session id the SDK form type drops. Not committed.
253 - **2026-11-14 — #95 implemented** (owner: "#95 goes in v1.5.0, then implement it"): `acp.Spec.Forms` + `FormAsker` routing (`_meta["mm.elicitationScope"].sessionId`, else the only session with a turn in flight — `sessions.turns` counted in `Conn.Prompt`); agents manager sets `Forms: true` for every agent; channels `FormRequest`, events `form:requested|resolved`, `Manager.AnswerForm`, Cancel cancels forms; `ChannelService.AnswerForm`; UI `FormCard.svelte` + shared `FormFields.svelte` (the creator now uses it). Verified: Go/vitest/lint; Xvfb with a Python fake ACP agent imitating ask_user (empty required text refused, answer returned, Decline). Not verified: a real mm whose model calls ask_user. Docs EN/FR: agents-and-events (events, AnswerForm), permissions explanation.253 - **2026-11-14 — #95 implemented** (owner: "#95 goes in v1.5.0, then implement it"): `acp.Spec.Forms` + `FormAsker` routing (`_meta["mm.elicitationScope"].sessionId`, else the only session with a turn in flight — `sessions.turns` counted in `Conn.Prompt`); agents manager sets `Forms: true` for every agent; channels `FormRequest`, events `form:requested|resolved`, `Manager.AnswerForm`, Cancel cancels forms; `ChannelService.AnswerForm`; UI `FormCard.svelte` + shared `FormFields.svelte` (the creator now uses it). Verified: Go/vitest/lint; Xvfb with a Python fake ACP agent imitating ask_user (empty required text refused, answer returned, Decline). Not verified: a real mm whose model calls ask_user. Docs EN/FR: agents-and-events (events, AnswerForm), permissions explanation.
254+- **2026-11-14 — #95 closed** (owner tested the ask_user form with a real mini-me agent: it works). #94's container part waits for a mini-me release with the dockerinit uid fix (MINI-ME-DOCKERINIT-UID.md) to be tested on the Mac.
modified .tickets/issues/0095-ask-user-de-mini-me-pas-de-zone-de-saisie-dans-s.yaml +12 -3
@@ -1,12 +1,12 @@
11 # Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
22 id: 95
33 title: "ask_user de mini-me : pas de zone de saisie dans Sidekicks"
4-state: open
4+state: closed
55 author:
66 name: k33g
77 email: ph.charriere@gmail.com
88 createdAt: 2026-11-14T17:21:25.000Z
9-updatedAt: 2026-11-14T17:30:42.000Z
9+updatedAt: 2026-11-14T17:37:28.000Z
1010 labels:
1111 - kind::bug
1212 - area::acp
@@ -108,12 +108,14 @@ tasks:
108108 closedAt: 2026-11-14T17:30:42.000Z
109109 - id: 6
110110 title: "Essai avec un vrai agent mini-me qui appelle ask_user (sur le Mac)"
111- state: open
111+ state: closed
112112 priority: high
113113 author:
114114 name: k33g
115115 email: ph.charriere@gmail.com
116116 createdAt: 2026-11-14T17:30:42.000Z
117+ updatedAt: 2026-11-14T17:37:28.000Z
118+ closedAt: 2026-11-14T17:37:28.000Z
117119 comments:
118120 - id: 1
119121 author:
@@ -129,3 +131,10 @@ comments:
129131 Vérifié : tests Go (acp, channels) et vitest, lint ; sous Xvfb avec un faux agent ACP (Python) qui imite
130132 `ask_user` : texte obligatoire refusé vide, réponse « Lyon » + « coffee » rendue à l'agent, Refuser.
131133 Reste : un vrai mm dont le modèle appelle `ask_user` (tâche 6).
134+ - id: 2
135+ author:
136+ name: k33g
137+ email: ph.charriere@gmail.com
138+ createdAt: 2026-11-14T17:37:28.000Z
139+ body: |
140+ Testé par l'owner avec un vrai agent mini-me : le formulaire d'`ask_user` s'affiche et fonctionne. Ticket fermé.
@@ -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: 952 id: 95
3 title: "ask_user de mini-me : pas de zone de saisie dans Sidekicks"3 title: "ask_user de mini-me : pas de zone de saisie dans Sidekicks"
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-11-14T17:21:25.000Z8 createdAt: 2026-11-14T17:21:25.000Z
9-updatedAt: 2026-11-14T17:30:42.000Z9+updatedAt: 2026-11-14T17:37:28.000Z
10 labels:10 labels:
11 - kind::bug11 - kind::bug
12 - area::acp12 - area::acp
@@ -108,12 +108,14 @@ tasks:
108 closedAt: 2026-11-14T17:30:42.000Z108 closedAt: 2026-11-14T17:30:42.000Z
109 - id: 6109 - id: 6
110 title: "Essai avec un vrai agent mini-me qui appelle ask_user (sur le Mac)"110 title: "Essai avec un vrai agent mini-me qui appelle ask_user (sur le Mac)"
111- state: open111+ state: closed
112 priority: high112 priority: high
113 author:113 author:
114 name: k33g114 name: k33g
115 email: ph.charriere@gmail.com115 email: ph.charriere@gmail.com
116 createdAt: 2026-11-14T17:30:42.000Z116 createdAt: 2026-11-14T17:30:42.000Z
117+ updatedAt: 2026-11-14T17:37:28.000Z
118+ closedAt: 2026-11-14T17:37:28.000Z
117 comments:119 comments:
118 - id: 1120 - id: 1
119 author:121 author:
@@ -129,3 +131,10 @@ comments:
129 Vérifié : tests Go (acp, channels) et vitest, lint ; sous Xvfb avec un faux agent ACP (Python) qui imite131 Vérifié : tests Go (acp, channels) et vitest, lint ; sous Xvfb avec un faux agent ACP (Python) qui imite
130 `ask_user` : texte obligatoire refusé vide, réponse « Lyon » + « coffee » rendue à l'agent, Refuser.132 `ask_user` : texte obligatoire refusé vide, réponse « Lyon » + « coffee » rendue à l'agent, Refuser.
131 Reste : un vrai mm dont le modèle appelle `ask_user` (tâche 6).133 Reste : un vrai mm dont le modèle appelle `ask_user` (tâche 6).
134+ - id: 2
135+ author:
136+ name: k33g
137+ email: ph.charriere@gmail.com
138+ createdAt: 2026-11-14T17:37:28.000Z
139+ body: |
140+ Testé par l'owner avec un vrai agent mini-me : le formulaire d'`ask_user` s'affiche et fonctionne. Ticket fermé.