Closed bug report

repo show page.json fails with TRANSPORT_ALTERED on component pages (served bytes don't match the blob hash)

Colby Knox · ·closed by Colby Knox

Versions: adom-wiki CLI 1.8.21, Linux (Hydrogen workspace). Seen 2026-11-11.

What happens: reading page.json from component pages fails every time. The bytes the server returns don't match the file's blob hash in the page repo, so the CLI refuses them:

$ adom-wiki repo show adom/cl05b104kb54pnc page.json
{ "path": "page.json", "expected_hash": "9b52b055e...", "got_hash": "1e6cd2492..." }
error [TRANSPORT_ALTERED]: the bytes served for page.json do not match the repo's blob hash and the archive recovery also failed; refusing to hand back altered content -- do NOT commit anything derived from this read

Pages that fail every time (all component pages I tried):

  • adom/cl05b104kb54pnc
  • adom/74hct244pw-q100
  • adom/tsm-110-01-l-dv-p
  • adom/hle-110-02-f-dv-be
  • adom/vbpw34s

Read fine: other files on the same pages (README.md), and page.json on adom/adom-wiki-cli. On adom/adom-aiflow, page.json failed the same way for a while right after a pkg publish, then read fine again.

Expected: repo show <page> page.json returns the file as committed (its blob hash), or the served copy and the repo copy agree.

Why it matters:

  • Tools that read a part's component block (mpn, parts, manufacturer) through repo show page.json get nothing for these pages. AI Flow's parts and part-check read it that way.
  • Release preflights that verify a file against the repo can't verify page.json.

page.json seems to be the file that differs. It may be related to how publish writes a page.json (adom/adom-wiki-cli#17 is about publish injecting one into the package), but I haven't confirmed that.

1 Reply

Colby Knox ·

Fixed on wiki.adom.inc. Since #280 the wiki serves page.json without a private author email, but the file listing still gave the stored hash, so repo show refused the read. The listing now gives the hash of the bytes served, and all five pages above read with their component block again (adom-wiki 1.8.21, no CLI change needed).

Colby Knox closed this ·

Log in to reply.