| 💾 Saved. d722711 k33g 4h ago | 1 | # Handoff — 2026-09-15 — skills layout and skillsDir resolution |
| 2 | |
| 3 | ## Where it stopped |
| 4 | |
| 5 | Done and green: the loader accepts `<skillsDir>/<name>.md` and `<skillsDir>/<name>/SKILL.md`; a relative `skillsDir` is resolved from the directory `mm` is started in (terminal) or next to the config file (ACP with a config); the banner warns with the absolute path when nothing is found. `/abort` no longer exists over ACP (user's call: Escape in Zed already cancels). Nothing committed. |
| 6 | |
| 7 | ## For the user to do on the Mac |
| 8 | |
| 9 | - `sudo rm /usr/local/bin/mm && ./install.sh` — remove-then-copy avoids the `Killed: 9` of an in-place `cp` on Apple Silicon (see history entry "mm killed"). |
| 10 | - Start `mm` from the repository root: the banner must say `skills: 3` and list `read_skill`. |
| 11 | - `agent.yaml` was renamed `agent.dmr.yaml`: a Zed `AGENT_CONFIG` still pointing at `agent.yaml` names a missing file, which is a hard config error. Point it at `agent.dmr.yaml` or `agent.llamacpp.yaml` (absolute path). |
| 12 | |
| 13 | ## Traps |
| 14 | |
| 15 | - Never `go build -o mm .` from the sandbox: it clobbers the user's Mach-O at the same path. Build to `/tmp/…` for checks. |
| 16 | - `install.sh` still copies in place; making it `rm` first (or use `install`) is proposed, not applied. |
| 17 | |
| 18 | ## Next increments (suggested) |
| 19 | |
| 20 | - In ACP mode without a config file, `skillsDir` follows the process cwd; using each session's `cwd` from `session/new` would let one `mm` serve several projects' skills. |
| 21 | - `install.sh`: remove the target before copying. |
| 22 | |
| 23 | ## Addendum — `@path` notation (same day) |
| 24 | |
| 25 | Implemented in `internal/mention`, wired in both front ends, documented EN+FR (`how-to/attach-a-file.md`). Not verified: a real model turn reading the attached file (no server in the sandbox). Possible next steps if asked: quoted mentions for paths with spaces (`@"my file.md"`), a `@dir/` listing hint, or inlining small files when `editTools` is off. |