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.
readme.html iframe: 16000px height cap clips content, and connect-src 'self' blocks the loopback fetch the feature needs
The bareHtml readme variant (sandboxed iframe, scripts enabled) has two undocumented limits that break an interactive readme.html, and the AI hints on repo push / readme registration mention neither.
1. The iframe is hard-capped at 16000px, silently clipping the tail
On the adom/adom-bridge Overview the readme iframe renders at exactly style.height: 16000px (maxHeight: none). My readme.html reports its true height every 1.2s via postMessage({type:"readme-height",height}) + a ResizeObserver, and the true content height is 17317px. So the last 1317px is clipped and unreachable by scrolling. A "Try it live" section I placed near the end (its top at 16541px) was 100% invisible on the page, even though it rendered fine in a direct browser load. The 16000 is a suspiciously round number, so it reads as a fixed cap rather than a response to my height message.
Ask: honor the reported readme-height up to a much higher bound (or remove the cap), so a long readme is not silently truncated. At minimum, surface the cap in the registration hint so authors know to keep content under it.
2. connect-src 'self' blocks the loopback fetch, so a null-origin readme cannot reach a local API
The served readme content (GET /readme/adom/app/adom-bridge?variant=public) carries:
content-security-policy: sandbox allow-scripts ...; default-src 'none'; ...; connect-src 'self' data:; ...
The iframe is sandbox="allow-scripts ..." WITHOUT allow-same-origin, so its origin is opaque (null). With an opaque origin, connect-src 'self' matches nothing external, so every fetch() from the readme is blocked, including a GET to http://127.0.0.1:24680/health.
This breaks the exact feature the readme was built for: Adom Bridge exposes a consent-gated loopback API at http://127.0.0.1:24680, and the whole point of the readme demo is a "Try Web Control (live)" panel that a reader clicks to drive their own machine (each call prompts an Allow/Deny in the app). It works in a direct render (no CSP) but is dead on the wiki page. Adom Bridge already CORS-restricts + human-consents every such call, so allowing the page to REACH loopback does not weaken anything on the wiki side.
Ask: allow connect-src http://127.0.0.1:* http://localhost:* for the readme iframe (globally, or as a per-page opt-in flag on the page/readme). Loopback is a browser secure context, so HTTPS -> http://127.0.0.1 is not mixed-content; the only blocker is this CSP directive.
3. Neither limit is in the AI hints
repo push/readme registration returns: "renders on the Overview in a sandboxed iframe with scripts enabled ... Scripts run; network access does not (inline everything)." That does not explain the 16000px cap, and "network access does not" is ambiguous: it reads as "no external resources", but the real effect is that connect-src 'self' also blocks a LOOPBACK fetch. An author building an interactive readme has no way to learn either limit except by loading the page and finding it broken. Please document both in that hint.
Environment: Windows 11, wiki.adom.inc, readme pushed to adom/adom-bridge, Adom Bridge 2.0.37. Measurements taken via pup (Chrome-for-Testing) against the live page.
