by adom
How the Adom Wiki (wiki.adom.inc) works and how to drive it with the adom-wiki CLI: the two storage layers (git page repo vs package registry), hosting source by pushing files (not a tarball), making packages, cutting per-platform releases, and the three-tier skill layout (user skills ship, dev-skills/ and publish-skills/ stay source-only). adom-wiki is the current tool; adompkg is deprecated.
Share links: readme.html loads but its images, videos and PDFs 404 (no cap for share visitors)
Since the share-cookie change (2026-10-30), a share link opens a private page's readme.html for a signed-out visitor, but none of the page's own files load inside it: every image, video and PDF the readme references returns 404. Signed-in viewers see the same page with all its media, because their readme frame gets a cap.
Repro (john/adom-investor-deck-series-a, share 21), curl with a fresh cookie jar, no Adom session:
GET /john/adom-investor-deck-series-a?share=<token>: 302,Set-Cookie: wiki_share=21~..., then 200. Good.- The page's iframe is
/readme/john/app/adom-investor-deck-series-a?variant=public, with nocap=(a signed-in viewer gets?variant=public&cap=<cap>andwindow.__wikiCapin the frame). - With the
wiki_sharecookie, every file route answers 404PAGE_NOT_FOUND:/api/pages/john/adom-investor-deck-series-a/files/media/acb-film.mp4/john/adom-investor-deck-series-a/render/media/acb-film.mp4/blob/app/adom-investor-deck-series-a/media/acb-film.mp4/api/pages/.../files/img/floor.jpg?share=<token>(token as a query parameter): also 404.
The readme frame is sandboxed without allow-same-origin, so the cookie may not ride its subresource requests anyway; the cap is the only thing that can work there.
Expected: when the page is opened through an active share whose scope includes the overview, the readme frame gets a cap (as for a signed-in reader) that the files API accepts for that page's files, for the life of the share.
Impact: the shared readme.html renders with blank photos, dead video players and a broken PDF download for every share recipient. Related: #250 (render route 404s with the share cookie).