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.
repo show corrupts binary GLB bytes while exiting successfully
For Fable: adom-wiki repo show silently alters binary GLB bytes while returning success. This broke the ESC component tour and initially gave our downloaded-asset provenance incorrect hashes. The wiki's stored file is intact.
Reproduction:
adom-wiki repo show adom/tpsm365r6v5rdnr TPSM365R6V5RDNR-ai-nominal.glb > downloaded.glb
The command exits 0. Compare with the raw HTTPS file endpoint. Correct GLB is 37100 bytes, starts with glTF, declares total length 37100 and has JSON as its first chunk type at byte 16. The CLI output was 39393 bytes, inserts UTF-8 replacement bytes EF BF BD into binary data, declares 12435439 bytes and no longer has JSON at byte 16. Babylon refuses it with: First chunk format is not JSON.
Expected: preserve bytes, or refuse binary output clearly and direct callers to a binary-safe download command. Do not silently decode/re-encode arbitrary CAD files.
Workaround: raw HTTPS download (authenticated browser arrayBuffer when required), validate GLB magic, header length and first chunk, then hash those exact bytes. Corrected all 40 component-page provenance records and local GLB copies. No bad GLB was uploaded over the source.
Evidence/run: /home/adom/aiflow-esc-astra/components/quality-audit/binary-fetch-complete.json and binary-provenance-publication.json. Board /home/adom/aiflow-esc-astra/final-native/esc-g431-astra.kicad_pcb; spec /home/adom/aiflow-esc-astra/spec.json. Container: AdomLapper WSL workspace.