interplane.Get Omega
Read in your language

aienos.com

Source of www.aienos.com, served from my own hardware

Brought by drakestapleton

GitHub aien-dev/aienos.com#54 (code only)

closed derived 15b4d8bcd0e1e37b #54

Imported from GitHub aien-dev/aienos.com#54 (code only)

GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed).

Base a2a66905a5500c327ef0245218c6cfe7a199aef8 · Head 53a34c0f2705d7108450a812c0c8e62e0c0071b4

Apply it

git checkout -b patch-15b4d8bcd0e1e37b a2a66905a5500c327ef0245218c6cfe7a199aef8
curl -fsSL https://interplane.io/drakestapleton/aienos.com/patches/15b4d8bcd0e1e37b.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
54
53a34c0f2705d7108450a812c0c8e62e0c0071b4
{"kind":"github-import","owner":"aien-dev","repo":"aienos.com","number":54,"url":"https://github.com/aien-dev/aienos.com/pull/54","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:38:40Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/crates/site-builder/src/components/machine.rs b/crates/site-builder/src/components/machine.rs
index f0b61a9d..7980cc94 100644
--- a/crates/site-builder/src/components/machine.rs
+++ b/crates/site-builder/src/components/machine.rs
@@ -122,7 +122,7 @@ fn section_turing() -> Markup {
                 "For a baseline B, a candidate explanation M, sealed observations D and a scoring profile P, with L meaning description length:"
             }
             figure class="narr-formula" aria-label="The Turing formula" {
-                pre { code { (TURING_FORMULA) } }
+                pre { code class="language-text" { (TURING_FORMULA) } }
             }
             p {
                 "A candidate earns positive Turings only if it shrinks the description of unseen data by more than its own complexity costs."
diff --git a/crates/site-builder/src/components/terminal.rs b/crates/site-builder/src/components/terminal.rs
index fa087adb..bec06146 100644
--- a/crates/site-builder/src/components/terminal.rs
+++ b/crates/site-builder/src/components/terminal.rs
@@ -75,7 +75,7 @@ pub fn render_terminal() -> Markup {
 
                     form id="terminal-form" style="padding: 12px 16px; background: rgba(14, 18, 25, 0.95); border-top: 1px solid var(--border-subtle); display: flex; align-items: center; gap: 8px;" {
                         span style="color: var(--accent-green); font-family: var(--font-mono); font-size: 14px; font-weight: 700;" { "$" }
-                        input id="terminal-input" type="text" aria-label="Terminal command: Type a syscall (sys_telemetry, sys_alloc_kv, sys_vault, help)..." placeholder="Type a syscall (sys_telemetry, sys_alloc_kv, sys_vault, help)..." autocomplete="off" style="flex: 1; background: transparent; border: none; outline: none; color: var(--text-primary); font-family: var(--font-mono); font-size: 13px;" {}
+                        input id="terminal-input" type="text" aria-label="Type a syscall (sys_telemetry, sys_alloc_kv, sys_vault, help)..." placeholder="Type a syscall (sys_telemetry, sys_alloc_kv, sys_vault, help)..." autocomplete="off" style="flex: 1; background: transparent; border: none; outline: none; color: var(--text-primary); font-family: var(--font-mono); font-size: 13px;" {}
                         button type="submit" style="background: var(--accent-green); color: var(--bg-base); border: none; border-radius: 4px; padding: 6px 14px; font-family: var(--font-mono); font-size: 12px; font-weight: 700; cursor: pointer;" {
                             "RUN"
                         }
diff --git a/crates/site-builder/src/seo.rs b/crates/site-builder/src/seo.rs
index 718c08cd..83a9d63d 100644
--- a/crates/site-builder/src/seo.rs
+++ b/crates/site-builder/src/seo.rs
@@ -668,12 +668,37 @@ fn markdown_mirror(page: &Emitted, facts: &HeadFacts, html: &str) -> String {
 /// Writes the mirror next to the page: `/index.md` for `/`, `/machine.md`
 /// for `/machine/`, and the same shape under `/zh-CN/`.
 fn write_markdown_mirror(dist: &Path, page: &Emitted, facts: &HeadFacts, html: &str) {
-    let rel = md_path(&page.path);
-    let file = dist.join(rel.trim_start_matches('/'));
-    if let Some(parent) = file.parent() {
-        fs::create_dir_all(parent).unwrap_or_else(|e| panic!("create {}: {e}", parent.display()));
+    let body = markdown_mirror(page, facts, html);
+    // Both conventions agents use: the sibling file (`/machine.md`) and the
+    // directory index (`/machine/index.md`). The head points at the sibling.
+    let mut paths = vec![md_path(&page.path)];
+    if page.path != "/" && page.path != "/zh-CN/" {
+        paths.push(format!("{}index.md", page.path));
+    }
+    for rel in paths {
+        let file = dist.join(rel.trim_start_matches('/'));
+        if let Some(parent) = file.parent() {
+            fs::create_dir_all(parent).unwrap_or_else(|e| panic!("create {}: {e}", parent.display()));
+        }
+        fs::write(&file, &body).unwrap_or_else(|e| panic!("write {}: {e}", file.display()));
+    }
+}
+
+/// Every page links the glossary. Generated pages already do through the
+/// footer; hand-written pages under public/ get one small link before
+/// </body>, so the term page is reachable from every scanned URL.
+fn ensure_glossary_link(mut html: String) -> String {
+    if html.contains("href=\"/glossary/\"") {
+        return html;
+    }
+    let block = "<div style=\"padding: 18px 24px; text-align: center; font-family: var(--font-mono); font-size: 12px;\"><a href=\"/glossary/\" style=\"color: var(--accent-green);\">Glossary</a></div>";
+    match html.rfind("</body>") {
+        Some(i) => {
+            html.insert_str(i, block);
+            html
+        }
+        None => html,
     }
-    fs::write(&file, markdown_mirror(page, facts, html)).unwrap_or_else(|e| panic!("write {}: {e}", file.display()));
 }
 
 /// Rewrites the head of every page in dist. Returns the pages, for the sitemap and feeds.
@@ -698,6 +723,7 @@ pub fn enrich(dist: &Path, ctx: &BuildCtx) -> Vec<Emitted> {
         out.push('\n');
         out.push_str(&block);
         out.push_str(&html[head_end..]);
+        let out = ensure_glossary_link(out);
         write_markdown_mirror(dist, page, &facts, &out);
         fs::write(&page.file, out).unwrap_or_else(|e| panic!("write {}: {e}", page.file.display()));
     }
@@ -1070,6 +1096,11 @@ pub fn verify(dist: &Path) {
         assert!(md.starts_with("---\n"), "{} markdown mirror must open with frontmatter", info.path);
         assert!(md.contains("canonical_url:"), "{} markdown mirror must carry canonical_url", info.path);
         assert!(md.contains("\n## Sitemap\n"), "{} markdown mirror must carry a Sitemap section", info.path);
+        if info.path != "/" {
+            let dir_md = format!("{}index.md", info.path);
+            assert!(dist.join(dir_md.trim_start_matches('/')).exists(), "{} markdown directory mirror {dir_md} missing", info.path);
+        }
+        assert!(page.contains("href=\"/glossary/\""), "{} must link the glossary", info.path);
         let ld_start = page.find("<script type=\"application/ld+json\">").expect("ld") + "<script type=\"application/ld+json\">".len();
         let ld_end = ld_start + page[ld_start..].find("</script>").expect("ld end");
         let v: Value = serde_json::from_str(&page[ld_start..ld_end]).unwrap_or_else(|e| panic!("{} JSON-LD does not parse: {e}", info.path));
diff --git a/public/research/index.html b/public/research/index.html
index 39ad9a85..f6192776 100644
--- a/public/research/index.html
+++ b/public/research/index.html
@@ -51,6 +51,7 @@ div.entry.future{cursor:default}
 <h1 class="page-title">AIEN Research</h1>
 <p class="lede">Preprints, experiments, and public evidence from the AIEN project. The central thread: the Turing (T), a protocol-bound measure of net held-out explanatory compression &mdash; one measurable component of understanding, with Turing yield (T/J) normalizing it by energy. All preprints; none peer reviewed yet.</p>
 
+<h2 style="font-size:20px;font-weight:700;letter-spacing:-.01em;margin:36px 0 14px;color:var(--text-primary)">Papers and field guides</h2>
 <a class="entry" href="/turing/">
 <div class="kind">Interactive</div>
 <div class="title">The Turing: A Field Guide</div>
@@ -184,6 +185,7 @@ div.entry.future{cursor:default}
 </figure>
 </div>
 
+<h2 style="font-size:20px;font-weight:700;letter-spacing:-.01em;margin:48px 0 14px;color:var(--text-primary)">Forthcoming</h2>
 <div class="entry future">
 <div class="kind" style="color:var(--text-muted)">Forthcoming</div>
 <div class="title">Stochastic Law Discovery</div>
@@ -192,6 +194,7 @@ div.entry.future{cursor:default}
 <p class="desc">EXP-002 of the experiment ladder: a hidden evaluator generates quantized trajectories from an undisclosed stochastic law: pure diffusion, diffusion with drift, or mean reversion. The candidate must earn complexity on sealed held-out trajectories without inventing structure inside noise. EXP-002 A, B and C passed as instrument certification on known Brownian cases; EXP-002D is incomplete. The full experiment ladder, with failed runs kept, is on the paper page.</p>
 </div>
 
+<h2 style="font-size:20px;font-weight:700;letter-spacing:-.01em;margin:48px 0 0;color:var(--text-primary)">Versions and evidence</h2>
 <div class="footer-note">
 Versions are never overwritten: every release keeps its PDF, LaTeX source, and SHA-256 digest. Source, evidence, and reproduction materials are public at <a href="https://github.com/aien-dev" target="_blank" rel="noopener">github.com/aien-dev</a>.
 </div>