Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aienos.com/patches/794d468b1cc55de7 # aienos.com Source of www.aienos.com, served from my own hardware Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers ## site-builder: pause the /aienet/ hello form until browser gates pass merged `794d468b1cc55de7` #182 · opened 2026-10-30 16:04 UTC · closed 2026-10-30 16:14 UTC · merged 2026-10-30 16:14 UTC Imported from GitHub aien-dev/aienos.com#182, by drakestapleton Base `af9dd476dc020dbe2fbe50f3d0fc674bd7022f9d` · Head `7177512ce4d2788d505f130680319159a91ff882` Merged on GitHub as `147ced4d8d758ee60c02f5c0b0bb88a88d86d85b`; reachable from main `fd39d660fb7cc2ec09d0871c1f29cc074363ad59` (observed 2026-11-18T16:38:12Z) drakestapleton wrote on 2026-10-30 16:04 UTC The /aienet/ hello form is paused in the site builder until the browser gates pass. Drake approved this, relayed via Aien at 10:56 AM CT. While `AIENET_HELLO_FORM` is false, the page shows a paused notice, the form is inert, both buttons are disabled, and the `/js/aienet.js` script tag is omitted. Setting `AIENET_HELLO_FORM` to true turns the form back on. — Grokbot
drakestapleton reviewed (COMMENTED) on 2026-10-30 16:15 UTC Post-merge check of `7177512` (merged as `147ced4`): no problems found. With AIENET_HELLO_FORM off (agora.rs:26), the built /aienet/ page shows the paused note, the form is `inert`, both buttons are disabled, and the aienet.js script tag is left out of the head (main.rs `render_aienet_document`). Any /agora/api/ text is stripped and asserted absent (agora.rs:71-72). The source aienet.html names no API path, script or form action anyway, and no other page includes aienet.js. Only agora.rs and main.rs changed, with no om/agora-page, public/ or sha256 sidecar files. CI was 11/11 green. A missed replacement does fail the build: `replace_one` (agora.rs:48-49) asserts the target appears exactly once before `replacen`, and it runs during the build. Small follow-ups: - No test feeds `replace_one` a page missing a target. A `#[should_panic]` test on a trimmed page would pin that behavior down. - Both new tests return early when the flag is on, so they check nothing once the form is turned back on. - Not checked: whether the shared SEO pass adds any script after the page test runs, and the nginx routes. /js/aienet.js presumably still ships as a static file, though nothing on the page loads it. — Grokbot ### Apply it ``` git checkout -b patch-794d468b1cc55de7 af9dd476dc020dbe2fbe50f3d0fc674bd7022f9d curl -fsSL https://interplane.io/drakestapleton/aienos.com/patches/794d468b1cc55de7.patch | git am ``` Raw patch (mbox) · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/aienos.com 182 7177512ce4d2788d505f130680319159a91ff882 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"aienos.com","number":182,"url":"https://github.com/aien-dev/aienos.com/pull/182","export_sha256":"8ece92e1057e3cbc924084bd6b2aea957f4dbb0d6f03f2b07d3eb99757ab3bdf","imported_utc":"2026-11-18T16:38:12Z"} ``` ### Changes ``` diff --git a/crates/site-builder/src/components/agora.rs b/crates/site-builder/src/components/agora.rs index 7a27531a..9cadde36 100644 --- a/crates/site-builder/src/components/agora.rs +++ b/crates/site-builder/src/components/agora.rs @@ -20,15 +20,59 @@ pub fn render_agora_page() -> Markup { } } +/// Hello form gate. Stays false until the /aienet/ browser gates pass +/// (missing consent sends nothing, success needs ack plus readback, +/// an uncertain write is not repeated). Flip to true to turn it back on. +pub const AIENET_HELLO_FORM: bool = false; + +pub const AIENET_PAUSED_NOTE: &str = "The hello form is paused until browser testing is done, so profiles can't be registered from this page yet."; + /// Human-authorized Aienet registration, emitted entirely by Omega. +/// While `AIENET_HELLO_FORM` is false the form is inert and both buttons are disabled. pub fn render_aienet_page() -> Markup { + let page = include_str!("../../../../om/agora-page/aienet.html"); + let body = if AIENET_HELLO_FORM { + page.to_string() + } else { + pause_aienet_hello_form(page) + }; html! { main id="main-content" { - (PreEscaped(include_str!("../../../../om/agora-page/aienet.html"))) + (PreEscaped(body)) } } } +/// One replacement. A missed target would leave the live control in place, so the +/// build stops instead of publishing a form that still submits. +fn replace_one(haystack: &str, from: &str, to: &str) -> String { + assert_eq!(haystack.matches(from).count(), 1, "aienet pause missed its target in aienet.html: {from}"); + haystack.replacen(from, to, 1) +} + +fn pause_aienet_hello_form(page: &str) -> String { + let form = replace_one( + page, + "