no-mistakes(review): Fix updater ownership and behavioral coverage
This commit is contained in:
1 parent
4e1b65b5d2
commit
4a31495181
4 files changed
+291
-81
No files matched your search
@@ -82,13 +82,17 @@ One `./rebuild.sh` run brings every installed component to its latest supported
|
||||
|
||||
Before the switch:
|
||||
|
||||
- Homebrew formulae and casks, through `brew update` and `brew upgrade`. `configuration.nix` stays the declaration; `onActivation.upgrade` repeats the upgrade during the switch.
|
||||
- npm globals through `/opt/homebrew/bin/npm`, never Nix's npm: `@steipete/bird`, `acpx`, `backpass`, `chrome-devtools-axi`, `defuddle`, `forgejo-axi`, `gh-axi`, `lavish-axi`, `quota-axi`, and `tasks-axi`. Each package is compared with the registry before an install. `tasks-axi` keeps its firstmate floor of 0.2.6 in `home.activation.axiTools`, which now installs only a missing or older copy, so the latest release survives the switch.
|
||||
- Installed npm globals through `/opt/homebrew/bin/npm`, never Nix's npm: `@steipete/bird`, `chrome-devtools-axi`, `defuddle`, `forgejo-axi`, `gh-axi`, `lavish-axi`, `quota-axi`, and `tasks-axi`. The script skips absent packages and compares each installed package with the registry before an update. `tasks-axi` keeps its firstmate floor of 0.2.6 in `home.activation.axiTools`, which now installs only a missing or older copy, so the latest release survives the switch.
|
||||
- Retired npm packages are removed only while their evidence still holds: `@opencode-ai/cli`, `opencode-ai`, and the June `pi-cli`/`pi-coding-agent` placeholders. The global `pi-context` is removed only when Pi keeps its own copy under `~/.pi/agent/npm`. If `pi` resolves into npm's global tree, the script warns and leaves those packages in place.
|
||||
- `no-mistakes update`, using the binary at `~/.no-mistakes/bin/no-mistakes`.
|
||||
- `hermes update --yes`, which pulls the configured channel and restarts the services that run its new code.
|
||||
- `nix flake update`, so the switch builds from the newest locked inputs. Commit the resulting `flake.lock` change.
|
||||
|
||||
During the switch:
|
||||
|
||||
- nix-darwin updates Homebrew formulae and casks through `configuration.nix`'s `onActivation.autoUpdate` and `onActivation.upgrade` settings.
|
||||
- `home.activation.backpass` updates `acpx` and `backpass`. Other activation steps install their declared npm packages when absent.
|
||||
|
||||
After the switch:
|
||||
|
||||
- The Skills CLI updates every skill tracked in `~/.agents/.skill-lock.json`. The pinned pstack skills are not in that lock, so they stay on the `home.nix` revision (see [pstack skills](#pstack-skills-pinned-on-every-rebuild)). `security-audit` is excluded on purpose, because `home.nix` freezes it so a rebuild never pulls a new skill mid-session; renew it by hand with the command in [security-audit skill](#security-audit-skill-agent-security-reviews).
|
||||
|
||||
Reference in new issue
Block a user