hook
Public Made by Adomby adom
Registry-native cross-agent auto-update hook, plus claude-rc, the keeper for Claude Remote Control. Keeps adom/core apps and skills current from wiki.adom.inc on every Claude Code and Codex prompt, and keeps `claude rc` alive so users can open AI threads on their container from the Claude mobile app or claude.ai/code.
When the pkg update sweep fails, fall back to per-package updates and name the offending root in the banner
Observed with adom/hook 1.3.2 on 2026-09-02, alongside adom-wiki-cli 1.7.22.
What happens
The hook runs adom-wiki pkg update (the no-arg sweep) and then adom-wiki pkg install adom/core. When one installed root has an unresolvable dependency (see the adom-wiki-cli issue filed the same day: hardware BOM dependencies resolved as installable packages), the sweep aborts on its first batch resolve and applies nothing. The core install still succeeds, so adom/core and its dependencies stay current, but every non-core package silently drifts. On this container four packages sat behind (adom-bridge, pup-bridge, fusion-bridge, adom-shotlog) until they were updated by hand, one at a time.
The hook does the right thing by surfacing the failure loudly. The gap is that the failure mode it surfaces is "the sweep broke", not "these packages are behind and this one root is why", and the fleet keeps drifting until a human reads the log.
Suggested changes
- When the sweep exits non-zero, fall back to
pkg outdated --jsonand update each listed package individually withpkg update <ref>. That path is tolerant today, so the fleet stops drifting even while the sweep bug exists. - Name the offending root in the banner. The log already contains the registry error with the dependency name; the hook could grep the
NOT_AN_INSTALLABLE_PACKAGEhint and print "sweep blocked by (depends on )". As it stands the banner points atpkg install adom/core, which succeeds and therefore misleads. - Optional: treat "core current, sweep failed" as a distinct status (warning rather than failure), since the two legs answer different questions.
This is a fleet-wide condition: any container with a hardware page installed as a package hits it on every publish.