aienos.com
Source of www.aienos.com, served from my own hardware
Brought by drakestapleton
GitHub aien-dev/aienos.com#13 (code only)
Apply it
git checkout -b patch-9c13a3fcd02a3c6a d43200c348f7e52ad2cf6f013bc49de5c4925f5f curl -fsSL https://interplane.io/drakestapleton/aienos.com/patches/9c13a3fcd02a3c6a.patch | git am
Provenance
github-import 1
aien-dev/aienos.com
13
204d5a85d3d6c56ed52eb817a158ad352c73c6fd
{"kind":"github-import","owner":"aien-dev","repo":"aienos.com","number":13,"url":"https://github.com/aien-dev/aienos.com/pull/13","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:38:20Z","metadata":"unavailable","state_derived":true}
Changes
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..8065c5cf --- /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 started")), + ("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("<ol class=\"closed-loop-stages\"")); + assert!(s.contains("back to AIEN")); + assert!(s.contains("not started")); + for (name, _) in STAGES.iter() { + assert!(s.contains(name), "missing stage {name}"); + } + for (name, _) in ENFORCERS.iter() { + assert!(s.contains(name), "missing enforcer {name}"); + } + assert!(!s.contains('\u{2014}'), "em dash in closed-loop section"); + assert!(!s.contains('\u{2013}'), "en dash in closed-loop section"); + } + + #[test] + fn stages_are_in_loop_order() { + let s = render_closed_loop().into_string(); + let ol_start = s.find("<ol").expect("stages must be an ordered list"); + let ol_end = s[ol_start..].find("</ol>").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!("<span class=\"closed-loop-name\">{name}</span>"); + 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("<ol").unwrap(); + let ol_end = s[ol_start..].find("</ol>").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("<main id=\"main-content\""), "Missing main container in index.html"); assert!(content.contains("id=\"terminal-output\""), "Missing interactive terminal output in index.html"); assert!(content.contains("id=\"waitlist\""), "Missing waitlist section in index.html"); + assert!(content.contains("id=\"closed-loop\""), "Missing closed-loop section in index.html"); + assert!( + content.contains(components::closed_loop::SLOGAN), + "Missing closed-loop slogan in index.html" + ); // Verify asset output assert!(dist.join("assets/style.css").exists(), "Missing assets/style.css"); diff --git a/public/assets/style.css b/public/assets/style.css index f6bdbe97..55208904 100644 --- a/public/assets/style.css +++ b/public/assets/style.css @@ -651,3 +651,158 @@ p { padding: 18px 14px 16px; } } + +/* Closed loop section (homepage) */ +.closed-loop { + padding: 72px 0; + border-bottom: 1px solid var(--border-subtle); +} + +.closed-loop-intro { + max-width: 760px; + margin-bottom: 32px; +} + +.closed-loop-intro p { + color: var(--text-secondary); + line-height: 1.7; + font-size: 16px; +} + +.closed-loop-frame { + border: 1px dashed var(--accent-amber); + border-radius: 10px; + padding: 20px; + background: var(--bg-surface); +} + +.closed-loop-frame-label { + font-family: var(--font-mono); + font-size: 12px; + letter-spacing: 0.06em; + text-transform: uppercase; + color: var(--accent-amber); + margin-bottom: 10px; +} + +.closed-loop-enforcers { + list-style: none; + margin: 0 0 20px 0; + padding: 0; + display: grid; + grid-template-columns: repeat(3, minmax(0, 1fr)); + gap: 10px; +} + +.closed-loop-enforcers li { + font-size: 14px; + line-height: 1.55; + color: var(--text-secondary); + border-left: 2px solid var(--accent-amber); + padding-left: 10px; + overflow-wrap: anywhere; +} + +.closed-loop-enforcers strong { + display: block; + font-family: var(--font-mono); + color: var(--text-primary); +} + +.closed-loop-stages { + list-style: none; + counter-reset: loop-stage; + margin: 0; + padding: 0; + display: grid; + grid-template-columns: repeat(4, minmax(0, 1fr)); + gap: 10px; +} + +.closed-loop-stages li { + counter-increment: loop-stage; + background: var(--bg-card); + border: 1px solid var(--border-subtle); + border-radius: 8px; + padding: 14px 12px; + text-align: center; + overflow-wrap: anywhere; +} + +.closed-loop-stages li::before { + content: counter(loop-stage); + display: block; + font-family: var(--font-mono); + font-size: 11px; + color: var(--text-muted); + margin-bottom: 4px; +} + +.closed-loop-name { + display: block; + font-family: var(--font-mono); + font-weight: 700; + color: var(--text-primary); + letter-spacing: 0.04em; +} + +.closed-loop-verb { + display: block; + font-size: 13px; + color: var(--accent-green); + margin-top: 2px; +} + +.closed-loop-return { + margin-top: 12px; + text-align: center; + font-family: var(--font-mono); + font-size: 13px; + color: var(--accent-green); +} + +.closed-loop-questions { + margin-top: 32px; + max-width: 760px; +} + +.closed-loop-questions h3 { + font-size: 18px; + color: var(--text-primary); + margin-bottom: 10px; +} + +.closed-loop-questions ul { + margin: 0; + padding-left: 20px; + color: var(--text-secondary); + line-height: 1.7; +} + +.closed-loop-questions strong { + color: var(--text-primary); +} + +.closed-loop-slogan { + margin-top: 24px; + font-family: var(--font-mono); + font-size: 15px; + color: var(--text-primary); +} + +@media (max-width: 820px) { + .closed-loop-stages { + grid-template-columns: repeat(2, minmax(0, 1fr)); + } +} + +@media (max-width: 600px) { + .closed-loop-frame { + padding: 14px 12px; + } + + .closed-loop-enforcers, + .closed-loop-stages { + grid-template-columns: minmax(0, 1fr); + } +}