From da185551f3e8c774bdf5c3242af1e7e80c6c3624 Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Thu, 1 Oct 2026 12:48:18 -0500 Subject: [PATCH 1/2] Homepage: add closed-loop section after the story Adds an accessible closed-loop section (ordered list of stages with a visible return to AIEN, boundary enforcers framed around the loop, three research questions, and the slogan). No measured results are claimed. The build verifier now requires the section id and slogan in index.html, and unit tests check stage order and that enforcers are not stages. Co-Authored-By: Claude Opus 5.5 --- .../src/components/closed_loop.rs | 152 +++++++++++++++++ crates/site-builder/src/components/mod.rs | 1 + crates/site-builder/src/main.rs | 6 + public/assets/style.css | 155 ++++++++++++++++++ 4 files changed, 314 insertions(+) create mode 100644 crates/site-builder/src/components/closed_loop.rs diff --git a/crates/site-builder/src/components/closed_loop.rs b/crates/site-builder/src/components/closed_loop.rs new file mode 100644 index 00000000..fac5bd5b --- /dev/null +++ b/crates/site-builder/src/components/closed_loop.rs @@ -0,0 +1,152 @@ +use maud::{html, Markup}; + +/// Opening line of the closed-loop section. Kept as a constant so the +/// build verifier and the tests check the same words the page shows. +pub const INTRO_LEAD: &str = "AIENOS is an attempt to build persistent machine intelligence as a scientific process rather than a model invocation."; + +pub const SLOGAN: &str = + "Weights suggest. Programs explain. Verification decides. Evidence teaches. The Turing keeps score."; + +/// The loop stages, in order. The last stage hands back to AIEN. +pub const STAGES: [(&str, &str); 8] = [ + ("Atlas", "awakens"), + ("AIENOS", "persists"), + ("AIEN", "suggests"), + ("Omega", "formalizes and verifies"), + ("FORGE", "realizes"), + ("Reality", "execute and observe"), + ("The Turing", "what was learned?"), + ("Cortex", "remembers"), +]; + +/// Boundary enforcers. They sit around the loop and are not stages. +pub const ENFORCERS: [(&str, &str); 3] = [ + ("AEGIS", "Checks what the agents generate from outside the loop. It changes nothing and decides no policy."), + ("ARGUS", "Observes what runs and can narrow one permission that is being misused. It never widens its own authority."), + ("Capability authority", "Gives each part of the loop only the powers it holds a capability for, and nothing more."), +]; + +pub const QUESTIONS: [(&str, &str, Option<&str>); 3] = [ + ("Turing gain", "Did it learn anything?", None), + ("Turing yield", "What did it cost?", Some("not yet measured")), + ("Search/verification gap", "Did it make future discovery easier?", None), +]; + +pub fn render_closed_loop() -> Markup { + html! { + section id="closed-loop" class="closed-loop" aria-label="The AIENOS closed loop" { + div class="container" { + div class="closed-loop-intro" { + div class="badge badge-green" style="margin-bottom: 12px;" { + "THE CLOSED LOOP" + } + p { + (INTRO_LEAD) + " A model suggests what to try. Programs explain each suggestion in a form that can be checked, and verification decides what is accepted. Evidence from reality is scored, and memory carries what was learned into the next round." + } + } + + div class="closed-loop-frame" aria-label="Boundary enforcers around the loop" { + div class="closed-loop-frame-label" { + "Boundary enforcers (around the loop, not stages)" + } + ul class="closed-loop-enforcers" { + @for (name, guard) in ENFORCERS.iter() { + li { + strong { (name) } + " " + span { (guard) } + } + } + } + + ol class="closed-loop-stages" aria-label="Loop stages, in order" { + @for (name, verb) in STAGES.iter() { + li { + span class="closed-loop-name" { (name) } + span class="closed-loop-verb" { (verb) } + } + } + } + p class="closed-loop-return" { + span aria-hidden="true" { "\u{21BA} " } + "back to AIEN" + } + } + + div class="closed-loop-questions" { + h3 { "Three research questions" } + ul { + @for (name, question, note) in QUESTIONS.iter() { + li { + strong { (name) ":" } + " " + (question) + @if let Some(n) = note { + " " + em { "(" (n) ")" } + } + } + } + } + } + + p class="closed-loop-slogan" { (SLOGAN) } + } + } + } +} + +#[cfg(test)] +mod tests { + use super::*; + + #[test] + fn closed_loop_section_has_required_parts() { + let s = render_closed_loop().into_string(); + assert!(s.contains("aria-label=\"The AIENOS closed loop\"")); + assert!(s.contains(INTRO_LEAD)); + assert!(s.contains(SLOGAN)); + assert!(s.contains("
    ").expect("ol closes") + ol_start; + let ol = &s[ol_start..ol_end]; + let mut last = 0; + for (name, verb) in STAGES.iter() { + let needle = format!("{name}"); + let at = ol[last..].find(&needle).unwrap_or_else(|| panic!("stage {name} out of order")) + last; + assert!(ol[at..].contains(verb)); + last = at + needle.len(); + } + // The loop starts at Atlas and the return marker comes after the list. + assert_eq!(STAGES[0].0, "Atlas"); + assert_eq!(STAGES[7].0, "Cortex"); + assert!(s[ol_end..].contains("back to AIEN")); + } + + #[test] + fn enforcers_are_outside_the_stage_list() { + let s = render_closed_loop().into_string(); + let ol_start = s.find("").unwrap() + ol_start; + let ol = &s[ol_start..ol_end]; + for (name, _) in ENFORCERS.iter() { + assert!(!ol.contains(name), "enforcer {name} must not be a stage"); + } + } +} diff --git a/crates/site-builder/src/components/mod.rs b/crates/site-builder/src/components/mod.rs index eda1948b..71c626e3 100644 --- a/crates/site-builder/src/components/mod.rs +++ b/crates/site-builder/src/components/mod.rs @@ -1,5 +1,6 @@ pub mod benchmarks; pub mod blog; +pub mod closed_loop; pub mod ecosystem; pub mod evidence; pub mod footer; diff --git a/crates/site-builder/src/main.rs b/crates/site-builder/src/main.rs index 726b6c9e..ca96f943 100644 --- a/crates/site-builder/src/main.rs +++ b/crates/site-builder/src/main.rs @@ -80,6 +80,7 @@ fn build_pure_rust_site(dist: &Path) { let page_content = html! { (components::hero::render_hero()) (components::story::render_story()) + (components::closed_loop::render_closed_loop()) (components::evidence::render_evidence()) (components::matrix::render_matrix()) (components::research::render_research()) @@ -137,6 +138,11 @@ fn verify_site(dist: &Path) { assert!(content.contains("
    Date: Thu, 1 Oct 2026 12:49:00 -0500 Subject: [PATCH 2/2] Closed loop: Turing yield marked not started, per the Omega qualification record Co-Authored-By: Claude Opus 5.5 --- crates/site-builder/src/components/closed_loop.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/site-builder/src/components/closed_loop.rs b/crates/site-builder/src/components/closed_loop.rs index fac5bd5b..8065c5cf 100644 --- a/crates/site-builder/src/components/closed_loop.rs +++ b/crates/site-builder/src/components/closed_loop.rs @@ -28,7 +28,7 @@ pub const ENFORCERS: [(&str, &str); 3] = [ pub const QUESTIONS: [(&str, &str, Option<&str>); 3] = [ ("Turing gain", "Did it learn anything?", None), - ("Turing yield", "What did it cost?", Some("not yet measured")), + ("Turing yield", "What did it cost?", Some("not started")), ("Search/verification gap", "Did it make future discovery easier?", None), ]; @@ -109,7 +109,7 @@ mod tests { assert!(s.contains(SLOGAN)); assert!(s.contains("