🎫 #95 fermé : testé avec un vrai agent mini-me
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 | ||
| 6 | 6 | |
| 7 | 7 | ## 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 | 10 | 2. Release notes v1.5.0 EN/FR mention the assistant and `agentsFolder` (#93, task 8 of #94). |
| 11 | 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 | 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 | 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 | 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. |
| @@ -6,7 +6,7 @@ Branch `feature/94-mini-me-creator`, not pushed. Implemented, tested in the Linu | |||
| 6 | 6 | ||
| 7 | ## Next steps | 7 | ## 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 @@ | ||
| 251 | 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 | 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 | 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. | |
| @@ -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 @@ | ||
| 1 | 1 | # Managed by IssueSpec. Hand edits are welcome; keep the schema valid. |
| 2 | 2 | id: 95 |
| 3 | 3 | title: "ask_user de mini-me : pas de zone de saisie dans Sidekicks" |
| 4 | -state: open | |
| 4 | +state: closed | |
| 5 | 5 | author: |
| 6 | 6 | name: k33g |
| 7 | 7 | email: ph.charriere@gmail.com |
| 8 | 8 | createdAt: 2026-11-14T17:21:25.000Z |
| 9 | -updatedAt: 2026-11-14T17:30:42.000Z | |
| 9 | +updatedAt: 2026-11-14T17:37:28.000Z | |
| 10 | 10 | labels: |
| 11 | 11 | - kind::bug |
| 12 | 12 | - area::acp |
| @@ -108,12 +108,14 @@ tasks: | ||
| 108 | 108 | closedAt: 2026-11-14T17:30:42.000Z |
| 109 | 109 | - id: 6 |
| 110 | 110 | title: "Essai avec un vrai agent mini-me qui appelle ask_user (sur le Mac)" |
| 111 | - state: open | |
| 111 | + state: closed | |
| 112 | 112 | priority: high |
| 113 | 113 | author: |
| 114 | 114 | name: k33g |
| 115 | 115 | email: ph.charriere@gmail.com |
| 116 | 116 | createdAt: 2026-11-14T17:30:42.000Z |
| 117 | + updatedAt: 2026-11-14T17:37:28.000Z | |
| 118 | + closedAt: 2026-11-14T17:37:28.000Z | |
| 117 | 119 | comments: |
| 118 | 120 | - id: 1 |
| 119 | 121 | author: |
| @@ -129,3 +131,10 @@ comments: | ||
| 129 | 131 | Vérifié : tests Go (acp, channels) et vitest, lint ; sous Xvfb avec un faux agent ACP (Python) qui imite |
| 130 | 132 | `ask_user` : texte obligatoire refusé vide, réponse « Lyon » + « coffee » rendue à l'agent, Refuser. |
| 131 | 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é. | |
| @@ -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: 95 | 2 | 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: open | 4 | +state: closed |
| 5 | author: | 5 | author: |
| 6 | name: k33g | 6 | name: k33g |
| 7 | email: ph.charriere@gmail.com | 7 | email: ph.charriere@gmail.com |
| 8 | createdAt: 2026-11-14T17:21:25.000Z | 8 | createdAt: 2026-11-14T17:21:25.000Z |
| 9 | -updatedAt: 2026-11-14T17:30:42.000Z | 9 | +updatedAt: 2026-11-14T17:37:28.000Z |
| 10 | labels: | 10 | labels: |
| 11 | - kind::bug | 11 | - kind::bug |
| 12 | - area::acp | 12 | - area::acp |
| @@ -108,12 +108,14 @@ tasks: | |||
| 108 | closedAt: 2026-11-14T17:30:42.000Z | 108 | closedAt: 2026-11-14T17:30:42.000Z |
| 109 | - id: 6 | 109 | - 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: open | 111 | + state: closed |
| 112 | priority: high | 112 | priority: high |
| 113 | author: | 113 | author: |
| 114 | name: k33g | 114 | name: k33g |
| 115 | email: ph.charriere@gmail.com | 115 | email: ph.charriere@gmail.com |
| 116 | createdAt: 2026-11-14T17:30:42.000Z | 116 | 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: 1 | 120 | - 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 imite | 131 | 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é. | ||