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.
Component pages never show their hero image: hero slot renders the 3D viewer, hero_thumbnail is null, and most declared hero_paths dangle
Ask (from Colby): show the hero image for a component on its page. Digging into why it does not show turned up three connected gaps, evidence below from a 5-component sweep (stm32f103c8t6, bq25792-charger, ksz9131rnxi, hfj11-1g41e-l12rl, rp2350a-mini).
1. The page hero slot for components renders the 3D viewer, not the hero. On adom/stm32f103c8t6 the page-hero div contains the /viewer/3d/... iframe. The declared hero image is never rendered anywhere on the page. The live 3D model is a fine headline for a part, but the declared hero (the composed billboard the publish gates require) is simply dropped on this page type.
2. hero_thumbnail is null for all five sampled components. So component cards across every grid surface (homepage, discover, HD installer, screensaver) have no hero art, while app/skill cards do. If the thumbnail derivation only runs for image-hero page types, components fall through.
3. Most declared hero_paths dangle. Sampled state:
| page | declared hero_path | file in repo |
|---|---|---|
| adom/stm32f103c8t6 | screenshots/hero.png | none |
| adom/bq25792-charger | bq25792-charger-hero.png | present |
| adom/ksz9131rnxi | docs/hero.png | none |
| adom/hfj11-1g41e-l12rl | docs/hero.png | none |
| adom/rp2350a-mini | screenshots/hero.png | mismatched (actual file is rp2350mini-hero.png at root) |
So even if the page rendered the declared hero, 4 of 5 would 404. Likely interaction: heroes are excluded from tarballs (CLI 1.0.47+) and only materialize on FIRST publish, so components republished later (e.g. the skills-bearing stm32 0.2.x republishes) carry a declared path whose file never reached the page repo. The publish gate (HERO_REQUIRED) checks the declaration, not the materialized file, so the dangling state passes silently.
Suggestions, in rough order of value:
- Render the declared hero image on component pages (media strip near the viewer, or above the README) instead of silently dropping it.
- Derive hero_thumbnail for components so grid cards get art. Where the hero file dangles, fall back to the generated 3D iso render that most components already carry in-repo (e.g. STM32F103C8T6-3d-iso.png) -- for a part, that render is arguably the truer hero, and it exists today with zero authoring.
- Repair or flag the dangling state: a publish (or reindex) check that hero_path resolves to a real repo file, warning HERO_DANGLING naming the declared path -- otherwise HERO_REQUIRED enforces a declaration that can point at nothing.
Happy to do the CLI half of #3 (a pkg lint check that hero_path/hero.screenshot resolves against the page repo, not just the working dir) once the server decides the contract.