Closed feature request

404 page: when signed out, point to 'adom-wiki auth login --page <owner/slug>'

Colby Knox · ·closed by Colby Knox

Request

When a page answers the uniform "Page not found … it may be private/restricted and require access you don't have" to a reader with no wiki session, add one line pointing agents and people to the sign-in that already exists, for example:

Signed out? From a terminal or an AI: adom-wiki auth login --page <owner>/<slug> gives a one-time sign-in link for this page.

Show it only when there is no session, so it doesn't reveal whether the page exists: a logged-in reader still gets the plain uniform 404. The page path in the hint comes from the URL the reader asked for, not from the database.

Why

Embedded surfaces (Hydrogen webview tabs, pup, a fresh browser) have no wiki session. An agent that opens a private page there sees the 404 page and nothing else. On 2026-10-20 that happened to an AI Flow run's own private project page, and the agent watching it filed adom/hydrogen#138 before finding adom-wiki auth login in the adom-wiki-cli skill. A one-line hint on the page it's actually looking at would have saved that.

Environment

  • wiki.adom.inc as of 2026-10-20
  • Seen in a Hydrogen 1.0.644 webview tab on kcknox/tps54202-buck-altium (private)

Related: adom/hydrogen#138, adom/adom-cli#4.

1 Reply

Colby Knox ·

Live: a signed-out reader on a page 404 now sees "Signed out? From a terminal or an AI: adom-wiki auth login --page <owner>/<slug> gives a one-time sign-in link for this page." Signed-in readers get the plain uniform 404. The path comes from the requested URL (two name-shaped segments, escaped), never the database, so the line is the same for a missing page and a private one; /p/<id> permalinks get no hint since the URL holds no owner/slug.

Colby Knox closed this ·

Log in to reply.