Adom Wiki
Public Made by Adomby 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. Read this first before publishing or installing.
Private component pages fail in the 3D viewer: unauthenticated asset fetch returns PAGE_NOT_FOUND
The native 3D viewer cannot render a private component/molecule page. It loads the model in an unauthenticated context, so the wiki correctly refuses the private page and the viewer shows a raw error instead of the model.
What a user sees in the 3D viewer:
{"error":"Page not found","code":"PAGE_NOT_FOUND","data":{"owner":null,"slug":"large-automotive-eth-switch-molecule"}}
Root cause: the page is private and the viewer's fetch is not authenticated. Access matrix on adom/large-automotive-eth-switch-molecule (private to the adom org):
| Request | Authenticated | Unauthenticated |
|---|---|---|
adom/<slug> page |
200 | 404 |
bare <slug> |
200 | 404 (this is the error above) |
the .glb asset |
200 | 404 |
public molecule adom/bme690 (contrast) |
200 | 200 |
Public molecules render because they are readable logged out. Private ones fail because the viewer's request carries no session.
Two things to fix:
- Primary: the viewer must fetch the page and its assets with the viewer's own credentials. Forward the logged-in session into the viewer iframe and its model/manifest fetches, so an authorized org member can view a private component page.
- Secondary: the viewer resolves the page by a bare slug (note
owner:null). It should use the owner-qualified<owner>/<slug>. Even owner-qualified 404s while unauthenticated, so this alone will not fix it, but it makes the error accurate.
Repro: open the 3D viewer for any private component page (for example adom/large-automotive-eth-switch-molecule). Public molecules render; private ones show the PAGE_NOT_FOUND error.
Not a data problem: the page assets are intact and load fine when authenticated (GLB 256 KB, plus the PCB and hierarchical schematics). Only the unauthenticated viewer fetch fails.