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.
Add UI for page visibility, and for source/releases visibility independently
Visibility is fully implemented on the server and fully absent from the UI. Today the only way for an owner to make a page private, or to publish a page while keeping its releases private, is the CLI:
adom-wiki page visibility <owner>/<slug> public|private
adom-wiki page visibility <owner>/<slug> --private-releases --show-source
adom-wiki page visibility <owner>/<slug> --preset preview
The API is POST /api/pages/<owner>/<slug>/visibility, and it is enforced from a dedicated column rather than page.json, so there is no file a publisher can edit to get at it either. Anyone who does not use the CLI has no way to discover that per-axis visibility exists at all.
Ask
Add owner-facing UI for both axes on the page itself.
1. Page public/private. A control on the page for users who can edit it, showing the current state and letting them flip it. The state is already rendered as a chip in the header, so the chip is the natural affordance: make it actionable for owners instead of decorative.
2. Source and releases, independently. This is the part with no UI equivalent at all, and the part people do not know exists. The axes are separate on purpose: a page can be public with private source, or public with private releases, which is how a licensed or preview-style page works. Surface the four presets the CLI already has (open, licensed, preview, private) as the primary choice, with the individual axes available underneath for anyone who wants something the presets do not cover.
3. Installable-package visibility (--pkg) belongs in the same control, since it is a third axis of the same decision and has the same discoverability problem.
Notes for whoever picks it up
- No new server work should be needed. The routes, the enforcement column, and the preset vocabulary all exist; this is a UI binding over
POST /api/pages/<owner>/<slug>/visibility. - Per the AI-first rule, each control should carry the equivalent CLI invocation as a copyable hint, so the UI teaches the command rather than replacing it.
- Worth showing the consequence next to each choice rather than only the state name. "Private source" is not self-explanatory; "source tab hidden, releases still downloadable" is.
- Changing visibility on a page that has already been indexed and installed by others is the risky direction. A confirmation on the public-to-private transition, naming what will stop being reachable, would prevent an owner from silently breaking dependents.