Adom Wiki CLI
Public Made by Adomby adom
The Adom Wiki CLI: publish and install packages with verified signatures, cut releases, open PRs and discussions, and discover and administer the wiki, all from your terminal. Replaces adompkg.
pkg update sweep aborts on the first batch-resolve error, and hardware-type deps are resolved as installable packages
Two related defects, observed on adom-wiki-cli 1.7.22 on 2026-09-02. Together they froze every non-core package on a container for days while the auto-update hook bannered a failure on every prompt.
1. The no-arg pkg update sweep aborts on the first batch-resolve error
pkg update --help says the empty-args form is "tolerant: skips and warns on per-package failures". It is not. The sweep sends one batch resolve for every installed root, and a single 400 from the registry aborts the whole run with exit 1 before any package is updated:
{ "http_status": 400, "response": { "error": "No version of adom/cr0402-fx-1002glf satisfies * (available for linux: (none))" } }
error [REQUEST_REJECTED]: No version of adom/cr0402-fx-1002glf satisfies * (available for linux: (none))
hint [NOT_AN_INSTALLABLE_PACKAGE]: adom/cr0402-fx-1002glf is a hardware page shipping page-layer content ...
Meanwhile pkg update <ref> for each of the same 59 roots, one at a time, succeeds, and pkg outdated correctly lists the four that were behind. So the per-package path is fine; only the sweep is brittle.
Expected: the sweep resolves and updates every root it can, reports the ones it could not (name + reason) as warnings, and exits non-zero only if nothing could be applied, or with a distinct exit code that means "partial". The help text already promises this.
2. Hardware-type dependencies are resolved as installable packages
The trigger was adom/feeder-reader (a hardware page that also shipped an installable build). Its manifest depends on adom/feeder-reader-library: *, which is a BOM page whose dependencies are eight component hardware pages (aravk/cr0402-fx-1002glf and friends). Those dependencies are correct and useful: they are the board to library to components graph that adom-project-manager reads to build a BOM panel. The resolver, however, tries to install them, finds no Linux build, and fails hard.
The hint text (NOT_AN_INSTALLABLE_PACKAGE ... its files come via the repo, not install) shows the CLI already knows the right answer. It should act on it: skip hardware-type dependencies during install/update resolution (or resolve them through the repo layer) instead of failing. Alternatively, refuse to install a hardware page as a package in the first place so it never lands in installed state.
Repro on a clean prefix:
ADOMPKG_PREFIX=/tmp/x adom-wiki pkg install adom/feeder-reader # exit 1, error above
Related: adom/feeder-reader discussion #2 (barrett-land, 2026-08-12) describes the same failure from the page side. Workaround we applied: uninstall the hardware page on the affected container, and move its software to a separate app page with no hardware dependencies.