From af853b7d72672a3a97a52166fed773df29f56e28 Mon Sep 17 00:00:00 2001 From: David Young Date: Sun, 29 Nov 2026 15:01:51 -0700 Subject: [PATCH] Keep siblings' commands off CoreDesktop's names The sibling spec now says not to install a command named configure, update, refresh, sibling, version, audit, report or webapp into ~/.local/bin: MiniServer's sibling HamPackServer installed its own configure over MiniServer's, which every update then swapped back and forth. Co-Authored-By: Claude Opus 5.5 --- PLAN.md | 8 ++------ skills/sibling-project-format.md | 10 ++++++++++ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/PLAN.md b/PLAN.md index 2a5970a..9e52aee 100644 --- a/PLAN.md +++ b/PLAN.md @@ -66,12 +66,8 @@ steps are done. Follow-ups: non-zero on failure; `$COREDESKTOP`, `confirm` and `confirm_yes` are there, since it's sourced rather than run with `bash`; and don't take a name `configure --list` already shows. Add a checklist line. - Also add a rule, with its own checklist line, under `install.sh`'s - "Install commands into `~/.local/bin`": don't use the name of one - of CoreDesktop's commands (`configure`, `update`, `refresh`, - `sibling`, `version`, `audit`, `report`, `webapp`), which are in - `~/.local/bin` too. HamPackServer did, and its `configure` - replaced MiniServer's on every `update`. + Point the rule against commands named like CoreDesktop's (under + `install.sh`) to the new section, as MiniServer's does. 3. `README.md`: one sentence where `configure --list` is described (around line 304) saying sibling projects can add an item, named after the project. diff --git a/skills/sibling-project-format.md b/skills/sibling-project-format.md index f754252..ad08266 100644 --- a/skills/sibling-project-format.md +++ b/skills/sibling-project-format.md @@ -103,6 +103,13 @@ step for siblings, so anything `install.sh` set up elsewhere stays. - It may prompt the user, since it runs in their terminal. - Install commands into `~/.local/bin` (already on `PATH` under CoreDesktop) with `install_script`. +- **Don't use a name CoreDesktop's commands use**: `configure`, `update`, + `refresh`, `sibling`, `version`, `audit`, `report` or `webapp`. They're in + `~/.local/bin` too, so yours would replace CoreDesktop's, and every + `update` would put CoreDesktop's back before yours replaced it again. + Prefix the project's name instead (`my-tools-configure`). MiniServer's + sibling HamPackServer once installed its settings script as `configure`, + and MiniServer's `configure` disappeared. ### `update.sh` @@ -246,6 +253,9 @@ changing. never force-pushed - [ ] Releases are tagged on the default branch (optional; without tags the version is the commit's date and hash), and pushed tags are never moved +- [ ] No command in `~/.local/bin` has the name of one of CoreDesktop's + (`configure`, `update`, `refresh`, `sibling`, `version`, `audit`, + `report`, `webapp`) - [ ] The project doesn't also copy a hook into CoreDesktop's `updates.d/` - [ ] The README tells users to install with `sibling add `