From aeaba028cacf821503cc089a239af61ee6f75a49 Mon Sep 17 00:00:00 2001 From: Hermes Date: Mon, 19 Oct 2026 14:14:43 -0500 Subject: [PATCH 1/2] site: /now/, the live coordination ledger as a public page Adds components::now (parses the ledger TSV laid in from the data/now branch, renders /now/ and /now.json), public/assets/now.css in the Turing look, a Now link in the secondary nav, and the pages workflow step that fetches the ledger from data/now before every build (builds also on pushes to data/now). public/data/now.tsv and now-pulse.tsv are build-time inputs. --- .github/workflows/pages.yml | 21 +- crates/site-builder/src/components/mod.rs | 1 + crates/site-builder/src/components/navbar.rs | 3 +- crates/site-builder/src/components/now.rs | 527 +++++++++++++++++++ crates/site-builder/src/main.rs | 24 +- public/assets/now.css | 471 +++++++++++++++++ public/data/now-pulse.tsv | 2 + public/data/now.tsv | 58 ++ 8 files changed, 1100 insertions(+), 7 deletions(-) create mode 100644 crates/site-builder/src/components/now.rs create mode 100644 public/assets/now.css create mode 100644 public/data/now-pulse.tsv create mode 100644 public/data/now.tsv diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index cf925fbc..a4941bda 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -6,19 +6,32 @@ on: - cron: "17 * * * *" workflow_dispatch: push: - branches: [main] + branches: [main, data/now] permissions: contents: read pages: write id-token: write concurrency: - group: pages-${{ github.ref }} + group: pages cancel-in-progress: true jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + ref: main + - name: Lay in the live ledger from the data/now branch + run: | + set -euo pipefail + mkdir -p public/data + if git fetch --depth 1 origin data/now 2>/dev/null; then + git show FETCH_HEAD:now.tsv > public/data/now.tsv + git show FETCH_HEAD:now-pulse.tsv > public/data/now-pulse.tsv || true + echo "ledger: $(wc -l < public/data/now.tsv) lines" + else + echo "no data/now branch yet; /now/ renders empty" + fi - name: Collect public project history env: GH_TOKEN: ${{ github.token }} @@ -30,14 +43,14 @@ jobs: - name: Build static site with pure Rust engine run: cargo run --release --manifest-path crates/site-builder/Cargo.toml -- build dist - name: Upload Pages artifact - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/data/now' uses: actions/upload-pages-artifact@v3 with: path: dist deploy: needs: build - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' || github.ref == 'refs/heads/data/now' environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} diff --git a/crates/site-builder/src/components/mod.rs b/crates/site-builder/src/components/mod.rs index 7ed0b8db..cab4f21c 100644 --- a/crates/site-builder/src/components/mod.rs +++ b/crates/site-builder/src/components/mod.rs @@ -16,3 +16,4 @@ pub mod story; pub mod terminal; pub mod live; pub mod follow; +pub mod now; diff --git a/crates/site-builder/src/components/navbar.rs b/crates/site-builder/src/components/navbar.rs index 833657f0..8c8e8f77 100644 --- a/crates/site-builder/src/components/navbar.rs +++ b/crates/site-builder/src/components/navbar.rs @@ -14,7 +14,8 @@ pub const NAV_PRIMARY: [(&str, &str); 6] = [ ]; /// Secondary links: smaller, after a divider. -pub const NAV_SECONDARY: [(&str, &str); 4] = [ +pub const NAV_SECONDARY: [(&str, &str); 5] = [ + ("Now", "/now/"), ("Progress", "/progress/"), ("Blog", "/blog"), ("Follow", "/#follow"), diff --git a/crates/site-builder/src/components/now.rs b/crates/site-builder/src/components/now.rs new file mode 100644 index 00000000..c51655ed --- /dev/null +++ b/crates/site-builder/src/components/now.rs @@ -0,0 +1,527 @@ +//! /now/: what the people and agents of AIEN are doing right now. +//! +//! The one source is the coordination ledger, a tab separated file the +//! coordinator and every agent write to on the Spark (`~/handoffs/LEDGER.tsv`). +//! A small publisher pushes that file to the `data/now` branch of this +//! repository whenever it changes; the pages workflow lays it into +//! `public/data/now.tsv` before the build, and this module turns it into +//! the page and into `/now.json` for machines. Nothing here is written by +//! hand: if a line is not in the ledger, it is not on the page. +//! +//! Columns, in order: id, opened_utc, owner, status, item, done_when, +//! evidence, updated_utc. `evidence` carries the running notes, newest +//! last, separated by ` | `. + +use std::fs; +use std::path::Path; +use std::time::{SystemTime, UNIX_EPOCH}; + +use maud::{html, Markup}; +use serde::Serialize; + +pub const TITLE: &str = "Now | AIEN OS"; +pub const DESCRIPTION: &str = "The live coordination ledger of AIEN: what every agent is doing right now, what comes next, what has been settled with evidence, and what is waiting on an operator decision."; +pub const URL: &str = "https://aienos.com/now/"; + +/// Where the pages workflow lays the published ledger before a build. +pub const LEDGER_PATH: &str = "public/data/now.tsv"; +/// Where the pages workflow lays the machine pulse (optional). +pub const PULSE_PATH: &str = "public/data/now-pulse.tsv"; + +#[derive(Debug, Clone, Serialize)] +pub struct Item { + pub id: String, + pub opened_utc: String, + pub owner: String, + pub owner_kind: &'static str, + pub status: String, + pub item: String, + pub done_when: String, + pub notes: Vec, + pub updated_utc: String, + pub stream: &'static str, + /// Seconds since the last write to this line, at build time. + pub age_s: i64, +} + +#[derive(Debug, Clone, Serialize)] +pub struct Pulse { + pub key: String, + pub value: String, +} + +#[derive(Debug, Clone, Serialize)] +pub struct Now { + pub built_utc: String, + pub ledger_written_utc: String, + pub items: Vec, + pub pulse: Vec, +} + +/// The streams, in display order. Classification is by the item's wording +/// and owner, the same words the coordinator uses when opening a line. +pub const STREAMS: [&str; 8] = [ + "Engine speed", + "Alpha release", + "AIEN Rig", + "AIENOS on the iMac", + "Research", + "Public record", + "PR desk", + "Infrastructure", +]; + +fn classify(item: &str, owner: &str) -> &'static str { + let t = item.to_ascii_lowercase(); + if t.starts_with("agent:") || t.contains("cascade") || t.contains("decode") || t.contains("tok/s") || t.contains("flashnext") || t.contains("omega#") { + "Engine speed" + } else if t.starts_with("rig") { + "AIEN Rig" + } else if t.starts_with("research") || t.contains("symposium") || t.contains("#583") || t.contains("#584") { + "Research" + } else if t.contains("alpha") || t.contains("install") || t.contains("serve-27b") || t.contains("27b server") { + "Alpha release" + } else if t.contains("imac") || t.contains("horizon") || t.contains("allen") || t.contains("aienos") || t.contains("bundle") { + "AIENOS on the iMac" + } else if t.contains("aienos.com") || t.contains("org profile") || t.contains("readme") || t.contains("dashboard") || t.contains("inventory for site") { + "Public record" + } else if owner == "desk" || t.starts_with("merge") || t.starts_with("queue") || t.contains("label") || t.contains("squash") { + "PR desk" + } else { + "Infrastructure" + } +} + +fn owner_kind(owner: &str) -> &'static str { + match owner { + "drake" => "operator", + "desk" => "desk", + "coordinator" => "coordinator", + "unassigned" => "unassigned", + _ => "agent", + } +} + +/// Em and en dashes never reach the page, whatever an agent typed. +fn clean(s: &str) -> String { + s.replace(['\u{2014}', '\u{2013}'], "-").trim().to_string() +} + +/// "2026-10-19T16:43Z" or "2026-10-19T16:43:07Z" to seconds since the epoch. +/// Anything else gives None and the age reads as unknown. +pub fn parse_utc(s: &str) -> Option { + let s = s.trim().trim_end_matches('Z'); + let (date, time) = s.split_once('T')?; + let mut d = date.split('-'); + let y: i64 = d.next()?.parse().ok()?; + let m: i64 = d.next()?.parse().ok()?; + let day: i64 = d.next()?.parse().ok()?; + let mut t = time.split(':'); + let hh: i64 = t.next()?.parse().ok()?; + let mm: i64 = t.next()?.parse().ok()?; + let ss: i64 = t.next().map(|x| x.parse().unwrap_or(0)).unwrap_or(0); + // Days from civil, Howard Hinnant's algorithm. + let (y2, m2) = if m <= 2 { (y - 1, m + 9) } else { (y, m - 3) }; + let era = y2.div_euclid(400); + let yoe = y2 - era * 400; + let doy = (153 * m2 + 2) / 5 + day - 1; + let doe = yoe * 365 + yoe / 4 - yoe / 100 + doy; + let days = era * 146_097 + doe - 719_468; + Some(days * 86_400 + hh * 3_600 + mm * 60 + ss) +} + +fn fmt_utc(secs: i64) -> String { + // Civil from days, the inverse of the above. + let days = secs.div_euclid(86_400); + let rem = secs.rem_euclid(86_400); + let z = days + 719_468; + let era = z.div_euclid(146_097); + let doe = z - era * 146_097; + let yoe = (doe - doe / 1460 + doe / 36_524 - doe / 146_096) / 365; + let y = yoe + era * 400; + let doy = doe - (365 * yoe + yoe / 4 - yoe / 100); + let mp = (5 * doy + 2) / 153; + let d = doy - (153 * mp + 2) / 5 + 1; + let m = if mp < 10 { mp + 3 } else { mp - 9 }; + let y = if m <= 2 { y + 1 } else { y }; + format!("{y:04}-{m:02}-{d:02}T{:02}:{:02}Z", rem / 3600, (rem % 3600) / 60) +} + +fn now_secs() -> i64 { + SystemTime::now().duration_since(UNIX_EPOCH).map(|d| d.as_secs() as i64).unwrap_or(0) +} + +pub fn age_words(age_s: i64) -> String { + if age_s < 0 { + return "age unknown".into(); + } + let m = age_s / 60; + if m < 1 { + "just now".into() + } else if m < 60 { + format!("{m} min ago") + } else if m < 60 * 36 { + let h = m / 60; + if h == 1 { "1 hour ago".into() } else { format!("{h} hours ago") } + } else { + let d = m / 1440; + if d == 1 { "1 day ago".into() } else { format!("{d} days ago") } + } +} + +/// How warm a line is: written within the last half hour, the last two +/// hours, today, or older. The page colours by this, never by opinion. +pub fn warmth(age_s: i64) -> &'static str { + if age_s < 0 { + "cold" + } else if age_s < 30 * 60 { + "hot" + } else if age_s < 2 * 3600 { + "warm" + } else if age_s < 24 * 3600 { + "cool" + } else { + "cold" + } +} + +pub fn parse_ledger(tsv: &str, at: i64) -> Vec { + let mut out = Vec::new(); + for (n, line) in tsv.lines().enumerate() { + if n == 0 && line.starts_with("id\t") { + continue; + } + if line.trim().is_empty() { + continue; + } + let f: Vec<&str> = line.split('\t').collect(); + if f.len() < 5 { + continue; + } + let get = |i: usize| f.get(i).map(|s| clean(s)).unwrap_or_default(); + let owner = get(2); + let item = get(4); + let updated = get(7); + let age_s = parse_utc(&updated).or_else(|| parse_utc(&get(1))).map(|t| at - t).unwrap_or(-1); + let notes: Vec = get(6) + .split(" | ") + .map(|s| s.trim().to_string()) + .filter(|s| !s.is_empty()) + .collect(); + out.push(Item { + id: get(0), + opened_utc: get(1), + owner_kind: owner_kind(&owner), + stream: classify(&item, &owner), + owner, + status: get(3).to_ascii_lowercase(), + item, + done_when: get(5), + notes, + updated_utc: updated, + age_s, + }); + } + out +} + +fn parse_pulse(tsv: &str) -> Vec { + tsv.lines() + .filter_map(|l| l.split_once('\t')) + .map(|(k, v)| Pulse { key: clean(k), value: clean(v) }) + .collect() +} + +/// Load from the laid-in files. A missing ledger is not an error: the page +/// then says plainly that nothing has been published yet. +pub fn load() -> Now { + let at = now_secs(); + let tsv = fs::read_to_string(Path::new(LEDGER_PATH)).unwrap_or_default(); + let pulse = fs::read_to_string(Path::new(PULSE_PATH)).map(|s| parse_pulse(&s)).unwrap_or_default(); + let items = parse_ledger(&tsv, at); + let written = items + .iter() + .filter_map(|i| parse_utc(&i.updated_utc)) + .max() + .map(fmt_utc) + .unwrap_or_else(|| "never".into()); + Now { built_utc: fmt_utc(at), ledger_written_utc: written, items, pulse } +} + +pub fn to_json(now: &Now) -> String { + serde_json::to_string_pretty(now).unwrap_or_else(|_| "{}".into()) +} + +// ---------------------------------------------------------------- rendering + +fn owner_label(it: &Item) -> String { + match it.owner_kind { + "operator" => "Drake".into(), + "desk" => "PR desk".into(), + "coordinator" => "Coordinator".into(), + "unassigned" => "Unassigned".into(), + _ => { + // sa-3-dfa217d1 reads as "agent dfa217"; anything else stays as written. + let parts: Vec<&str> = it.owner.split('-').collect(); + if parts.len() >= 3 && parts[0] == "sa" { + format!("agent {}", &parts[2][..parts[2].len().min(6)]) + } else { + format!("agent {}", it.owner) + } + } + } +} + +fn last_note(it: &Item) -> Option<&String> { + it.notes.last() +} + +fn card(it: &Item) -> Markup { + let w = warmth(it.age_s); + html! { + article class=(format!("now-card now-{w} now-k-{}", it.owner_kind)) id=(it.id) { + header class="now-card-top" { + span class="now-id" { (it.id) } + span class=(format!("now-owner now-owner-{}", it.owner_kind)) { (owner_label(it)) } + span class="now-age" title=(it.updated_utc) { + span class="now-dot" aria-hidden="true" {} + (age_words(it.age_s)) + } + } + h3 class="now-item" { (it.item) } + @if let Some(n) = last_note(it) { + p class="now-note" { (n) } + } + @if !it.done_when.is_empty() { + p class="now-done" { span class="now-done-k" { "done when" } " " (it.done_when) } + } + } + } +} + +fn river(items: &[&Item]) -> Markup { + // One segment per line, warm to cold, newest first: the stream's pulse at a glance. + let mut sorted: Vec<&Item> = items.to_vec(); + sorted.sort_by_key(|i| if i.age_s < 0 { i64::MAX } else { i.age_s }); + html! { + div class="now-river" aria-hidden="true" { + @for it in sorted { + span class=(format!("now-seg now-{}", warmth(it.age_s))) title=(format!("{} {}", it.id, age_words(it.age_s))) {} + } + } + } +} + +fn stat(n: usize, label: &str, class: &str) -> Markup { + html! { + div class=(format!("now-stat {class}")) { + span class="now-stat-n" { (n) } + span class="now-stat-l" { (label) } + } + } +} + +pub fn render_now_page(now: &Now) -> Markup { + let open: Vec<&Item> = now.items.iter().filter(|i| i.status == "open").collect(); + let settled: Vec<&Item> = now.items.iter().filter(|i| i.status == "done" || i.status == "dropped").collect(); + let hands: usize = open.iter().filter(|i| i.owner_kind == "agent" && i.age_s >= 0 && i.age_s < 2 * 3600).map(|i| i.owner.as_str()).collect::>().len(); + let for_drake: Vec<&Item> = open.iter().copied().filter(|i| i.owner_kind == "operator").collect(); + let next: Vec<&Item> = open.iter().copied().filter(|i| i.owner_kind != "operator" && (i.owner_kind == "unassigned" || i.notes.is_empty())).collect(); + let moving: Vec<&Item> = open.iter().copied().filter(|i| i.owner_kind != "operator" && !(i.owner_kind == "unassigned" || i.notes.is_empty())).collect(); + let settled_today = settled.iter().filter(|i| i.age_s >= 0 && i.age_s < 24 * 3600).count(); + let mut settled_sorted = settled.clone(); + settled_sorted.sort_by_key(|i| if i.age_s < 0 { i64::MAX } else { i.age_s }); + + html! { + section class="now-hero" aria-labelledby="now-title" { + div class="container" { + p class="kicker" { "Now" } + h1 id="now-title" class="now-title" { "What is being done, right now." } + p class="now-lead" { + "This is the working ledger of AIEN, published as it is written. Every line is a promise with an owner and an observable finish. Agents write their progress here; the operator writes decisions here. Nothing on this page is composed by hand." + } + @if now.items.is_empty() { + p class="now-empty" { "No ledger has been published yet. The page will fill itself the moment one arrives." } + } @else { + div class="now-stats" { + (stat(hands, "agents writing in the last two hours", "now-stat-hot")) + (stat(moving.len(), "lines in motion", "")) + (stat(next.len(), "lines queued", "")) + (stat(settled_today, "settled in the last day", "now-stat-done")) + (stat(for_drake.len(), "waiting on the operator", "now-stat-op")) + } + p class="now-stamp" { + "Ledger last written " span class="mono" { (now.ledger_written_utc) } + ". Page built " span class="mono" { (now.built_utc) } + ". It rebuilds within the hour of every change." + } + @if !now.pulse.is_empty() { + ul class="now-pulse" { + @for p in &now.pulse { + li { span class="now-pulse-k" { (p.key) } span class="now-pulse-v mono" { (p.value) } } + } + } + } + } + } + } + + @if !for_drake.is_empty() { + section class="now-section now-op-section" id="operator" aria-labelledby="now-op-h" { + div class="container" { + p class="kicker" { "On the operator's desk" } + h2 id="now-op-h" class="now-h2" { "Decisions Drake is making" } + p class="now-sub" { "Work that cannot move until a human answers. Each line names the answer it needs." } + div class="now-grid" { + @for it in &for_drake { (card(it)) } + } + } + } + } + + section class="now-section" id="streams" aria-labelledby="now-streams-h" { + div class="container" { + p class="kicker" { "In motion" } + h2 id="now-streams-h" class="now-h2" { "What the agents are doing" } + p class="now-sub" { "Grouped by stream. The bar under each name is the stream's pulse: one segment per line, bright when written in the last half hour, fading as it cools." } + @for s in STREAMS { + @let in_stream: Vec<&Item> = moving.iter().copied().filter(|i| i.stream == s).collect(); + @if !in_stream.is_empty() { + div class="now-stream" id=(format!("stream-{}", s.to_ascii_lowercase().replace(' ', "-"))) { + header class="now-stream-head" { + h3 class="now-stream-name" { (s) } + span class="now-stream-n" { (in_stream.len()) " " @if in_stream.len() == 1 { "line" } @else { "lines" } } + } + (river(&in_stream)) + div class="now-grid" { + @for it in &in_stream { (card(it)) } + } + } + } + } + } + } + + @if !next.is_empty() { + section class="now-section" id="next" aria-labelledby="now-next-h" { + div class="container" { + p class="kicker" { "Next" } + h2 id="now-next-h" class="now-h2" { "What is queued" } + p class="now-sub" { "Promised, with a finish line, not yet picked up or not yet reported on." } + ol class="now-queue" { + @for it in &next { + li class="now-queue-row" id=(it.id) { + span class="now-id" { (it.id) } + span class="now-queue-item" { (it.item) } + span class=(format!("now-owner now-owner-{}", it.owner_kind)) { (owner_label(it)) } + @if !it.done_when.is_empty() { + span class="now-queue-done" { "done when " (it.done_when) } + } + } + } + } + } + } + } + + @if !settled_sorted.is_empty() { + section class="now-section" id="settled" aria-labelledby="now-settled-h" { + div class="container" { + p class="kicker" { "Settled" } + h2 id="now-settled-h" class="now-h2" { "Decisions made, with their evidence" } + p class="now-sub" { "A line closes on evidence (a commit, a receipt, a file) or is dropped for a stated reason. Newest first." } + ol class="now-timeline" { + @for it in &settled_sorted { + li class=(format!("now-tl now-tl-{}", it.status)) id=(it.id) { + span class="now-tl-when mono" title=(it.updated_utc) { (age_words(it.age_s)) } + div class="now-tl-body" { + span class=(format!("now-verdict now-verdict-{}", it.status)) { (it.status) } + span class="now-id" { (it.id) } + p class="now-tl-item" { (it.item) } + @if let Some(n) = last_note(it) { + p class="now-tl-evidence" { (n) } + } + } + } + } + } + } + } + } + + section class="now-section now-how" id="how" aria-labelledby="now-how-h" { + div class="container" { + p class="kicker" { "How this page is made" } + h2 id="now-how-h" class="now-h2" { "One file, no hands" } + p class="now-sub" { + "The coordinator and every agent append to one tab separated file on the Spark. A publisher pushes that file to the " + a class="prose-link" href="https://github.com/aien-dev/aienos.com/tree/data/now" { "data/now branch" } + " whenever it changes. The site builder reads it at build time and writes this page and " + a class="prose-link" href="/now.json" { "/now.json" } + ". A line that is not in the file is not here. Owners shown as \"agent\" are autonomous coding agents; the operator is one person." + } + } + } + } +} + +#[cfg(test)] +mod tests { + use super::*; + + const SAMPLE: &str = "id\topened_utc\towner\tstatus\titem\tdone_when\tevidence\tupdated_utc\n\ +L001\t2026-10-19T16:43Z\tsa-0-abc123def\topen\tAgent: w4-gemv\thandoff written\tstarted | chip PASS 15.63 tok/s\t2026-10-19T18:00Z\n\ +L002\t2026-10-19T16:43Z\tdrake\topen\tDecide: register the speed gate\tDrake answer recorded\t\t2026-10-19T16:43Z\n\ +L003\t2026-10-19T16:43Z\tdesk\tdone\tCreate label alpha-tester\tlabel exists\tgh label list shows it \u{2014} done\t2026-10-19T17:00Z\n\ +L004\t2026-10-19T16:43Z\tunassigned\topen\tResearch: omega#583 simulator\tPR merged\t\t2026-10-19T16:43Z\n"; + + #[test] + fn parses_and_classifies() { + let items = parse_ledger(SAMPLE, parse_utc("2026-10-19T18:10Z").unwrap()); + assert_eq!(items.len(), 4); + assert_eq!(items[0].stream, "Engine speed"); + assert_eq!(items[0].owner_kind, "agent"); + assert_eq!(items[0].age_s, 600); + assert_eq!(items[0].notes.len(), 2); + assert_eq!(items[1].owner_kind, "operator"); + assert_eq!(items[3].stream, "Research"); + assert!(!items[2].notes[0].contains('\u{2014}'), "dash must be cleaned"); + } + + #[test] + fn time_round_trips() { + for s in ["2026-10-19T16:43Z", "2000-02-29T00:00Z", "2026-01-01T23:59Z"] { + assert_eq!(fmt_utc(parse_utc(s).unwrap()), s); + } + assert_eq!(age_words(0), "just now"); + assert_eq!(age_words(59 * 60), "59 min ago"); + assert_eq!(age_words(3 * 3600), "3 hours ago"); + assert_eq!(warmth(10 * 60), "hot"); + assert_eq!(warmth(90 * 60), "warm"); + } + + #[test] + fn page_holds_invariants() { + let at = parse_utc("2026-10-19T18:10Z").unwrap(); + let now = Now { + built_utc: fmt_utc(at), + ledger_written_utc: "2026-10-19T18:00Z".into(), + items: parse_ledger(SAMPLE, at), + pulse: vec![Pulse { key: "memory free".into(), value: "50 GiB".into() }], + }; + let page = render_now_page(&now).into_string(); + for must in ["id=\"operator\"", "id=\"streams\"", "id=\"next\"", "id=\"settled\"", "Engine speed", "15.63 tok/s", "now-verdict-done", "L004"] { + assert!(page.contains(must), "missing {must}"); + } + assert!(!page.contains('\u{2014}') && !page.contains('\u{2013}')); + let json = to_json(&now); + assert!(json.contains("\"L001\"") && json.contains("\"stream\": \"Engine speed\"")); + } + + #[test] + fn empty_ledger_is_honest() { + let now = Now { built_utc: "2026-10-19T18:10Z".into(), ledger_written_utc: "never".into(), items: vec![], pulse: vec![] }; + let page = render_now_page(&now).into_string(); + assert!(page.contains("No ledger has been published yet")); + } +} diff --git a/crates/site-builder/src/main.rs b/crates/site-builder/src/main.rs index b06b3143..790159a3 100644 --- a/crates/site-builder/src/main.rs +++ b/crates/site-builder/src/main.rs @@ -31,7 +31,7 @@ fn copy_dir_all(src: &Path, dst: &Path) -> std::io::Result<()> { } fn generate_sitemap_and_robots(dist: &Path) { - let sitemap = "\n\n https://aienos.com/1.0\n https://aienos.com/progress/0.8\n https://aienos.com/blog0.8\n https://aienos.com/blog/aien-v3-research-plan0.9\n https://aienos.com/post-llm-case/0.9\n https://aienos.com/research/0.9\n https://aienos.com/research/status/0.9\n https://aienos.com/research/computing-machinery-and-understanding0.9\n https://aienos.com/research/computing-machinery-and-understanding-emergence0.8\n https://aienos.com/research/the-stapleton-doctrine0.8\n https://aienos.com/machine/0.9\n https://aienos.com/turing/0.9\n https://aienos.com/experiments/0.9\n https://aienos.com/discovery/0.9\n https://aienos.com/evidence/0.9\n https://aienos.com/philosophy/0.8\n https://aienos.com/licensing/0.5\n\n"; + let sitemap = "\n\n https://aienos.com/1.0\n https://aienos.com/progress/0.8\n https://aienos.com/blog0.8\n https://aienos.com/blog/aien-v3-research-plan0.9\n https://aienos.com/post-llm-case/0.9\n https://aienos.com/research/0.9\n https://aienos.com/research/status/0.9\n https://aienos.com/now/0.9\n https://aienos.com/research/computing-machinery-and-understanding0.9\n https://aienos.com/research/computing-machinery-and-understanding-emergence0.8\n https://aienos.com/research/the-stapleton-doctrine0.8\n https://aienos.com/machine/0.9\n https://aienos.com/turing/0.9\n https://aienos.com/experiments/0.9\n https://aienos.com/discovery/0.9\n https://aienos.com/evidence/0.9\n https://aienos.com/philosophy/0.8\n https://aienos.com/licensing/0.5\n\n"; let sitemap_path = dist.join("sitemap.xml"); fs::write(&sitemap_path, sitemap).expect("Failed to write sitemap.xml"); @@ -164,6 +164,22 @@ fn build_pure_rust_site(dist: &Path, facts_path: &Path) { fs::write(dist.join("research-status.json"), components::research_status::RAW) .expect("Failed to write research-status.json"); println!(" [PAGE] Emitted /research/status (index.html) and /research-status.json"); + + // /now/: the live coordination ledger, laid into public/data/now.tsv by + // the pages workflow from the data/now branch (components::now). + let now = components::now::load(); + let now_page = render_page_layout( + components::now::TITLE, + components::now::DESCRIPTION, + components::now::URL, + "website", + html! { link rel="stylesheet" href="/assets/now.css"; }, + components::now::render_now_page(&now), + ); + fs::create_dir_all(dist.join("now")).expect("Failed to create now dir"); + fs::write(dist.join("now/index.html"), now_page.into_string()).expect("Failed to write now/index.html"); + fs::write(dist.join("now.json"), components::now::to_json(&now)).expect("Failed to write now.json"); + println!(" [PAGE] Emitted /now/ ({} ledger lines) and /now.json", now.items.len()); // Research narrative pages (NARR-RESEARCH): The Machine and Scientific Discovery for (slug, title, description, url, body) in [ ( @@ -264,8 +280,12 @@ fn verify_site(dist: &Path) { assert!(blog_post.exists(), "Missing blog/aien-v3-research-plan/index.html"); let research_status = dist.join("research/status/index.html"); assert!(research_status.exists(), "Missing research/status/index.html"); + let now_page = dist.join("now/index.html"); + assert!(now_page.exists(), "Missing now/index.html"); + assert!(dist.join("now.json").exists(), "Missing now.json"); + assert!(dist.join("assets/now.css").exists(), "Missing assets/now.css"); assert!(dist.join("research-status.json").exists(), "Missing research-status.json"); - for page in [&blog_index, &blog_post, &research_status] { + for page in [&blog_index, &blog_post, &research_status, &now_page] { let page_content = fs::read_to_string(page) .unwrap_or_else(|_| panic!("Failed to read {}", page.display())); assert!( diff --git a/public/assets/now.css b/public/assets/now.css new file mode 100644 index 00000000..03944b53 --- /dev/null +++ b/public/assets/now.css @@ -0,0 +1,471 @@ +/* + * /now/: the live ledger. Sits inside the Turing look (turing-look.css): + * near-black field, blue and green glow, mono kickers, heavy headings, + * rounded cards. What is new here is warmth: every line is coloured by + * how recently it was written, never by opinion. Hot is the last half + * hour (green), warm the last two hours (blue), cool today (soft), cold + * older (ink). + */ +:root { + --now-hot: #00e599; + --now-warm: #7db4ff; + --now-cool: #5b6b85; + --now-cold: #2a3648; + --now-op: #f59e0b; + --now-drop: #f87171; +} + +.now-hero { + padding: 120px 0 56px; + position: relative; +} + +.now-hero .container, +.now-section .container { + max-width: 1200px; +} + +.now-title { + font-size: clamp(38px, 6vw, 68px); + font-weight: 800; + letter-spacing: -0.03em; + line-height: 1.04; + max-width: 18ch; +} + +.now-lead, +.now-sub { + margin-top: 18px; + max-width: 68ch; + color: var(--tl-ink-2); + font-size: 17px; + line-height: 1.6; +} + +.now-sub { + font-size: 15.5px; + margin-top: 12px; +} + +.now-empty { + margin-top: 28px; + color: var(--tl-ink-3); + font-style: italic; +} + +/* ---------- the pulse row ---------- */ +.now-stats { + display: grid; + grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); + gap: 14px; + margin-top: 40px; +} + +.now-stat { + padding: 18px 20px 16px; + border: 1px solid var(--tl-line); + border-radius: var(--tl-radius); + background: linear-gradient(180deg, rgba(19, 24, 34, 0.9), rgba(14, 18, 25, 0.9)); + display: flex; + flex-direction: column; + gap: 6px; + transition: border-color 0.3s ease, transform 0.3s ease; +} + +.now-stat:hover { + transform: translateY(-2px); + border-color: var(--tl-line-2); +} + +.now-stat-n { + font-family: var(--font-mono); + font-size: 34px; + font-weight: 600; + letter-spacing: -0.03em; + line-height: 1; + color: var(--tl-ink); +} + +.now-stat-l { + font-size: 12.5px; + letter-spacing: 0.02em; + color: var(--tl-ink-3); + line-height: 1.35; +} + +.now-stat-hot .now-stat-n { color: var(--now-hot); text-shadow: 0 0 24px rgba(0, 229, 153, 0.35); } +.now-stat-done .now-stat-n { color: var(--now-warm); } +.now-stat-op .now-stat-n { color: var(--now-op); } + +.now-stamp { + margin-top: 22px; + font-size: 13px; + color: var(--tl-ink-3); +} + +.now-stamp .mono { color: var(--tl-ink-2); } + +.now-pulse { + list-style: none; + display: flex; + flex-wrap: wrap; + gap: 8px 22px; + margin-top: 14px; + padding: 0; +} + +.now-pulse li { + display: inline-flex; + gap: 8px; + font-size: 12.5px; + color: var(--tl-ink-3); +} + +.now-pulse-v { color: var(--tl-ink-2); } + +/* ---------- sections ---------- */ +.now-section { + padding: 72px 0; + border-top: 1px solid var(--tl-line); +} + +.now-h2 { + font-size: clamp(26px, 3.4vw, 36px); + font-weight: 800; + letter-spacing: -0.025em; + line-height: 1.1; +} + +.now-op-section { + background: + radial-gradient(ellipse 60% 24rem at 20% 0%, rgba(245, 158, 11, 0.07), transparent 70%); +} + +/* ---------- streams and their rivers ---------- */ +.now-stream { + margin-top: 48px; +} + +.now-stream-head { + display: flex; + align-items: baseline; + justify-content: space-between; + gap: 16px; +} + +.now-stream-name { + font-size: 21px; + font-weight: 700; + letter-spacing: -0.015em; +} + +.now-stream-n { + font-family: var(--font-mono); + font-size: 12px; + letter-spacing: 0.08em; + text-transform: uppercase; + color: var(--tl-ink-3); +} + +.now-river { + display: flex; + gap: 3px; + height: 6px; + margin: 12px 0 20px; +} + +.now-seg { + flex: 1 1 0; + min-width: 6px; + max-width: 72px; + border-radius: 3px; + background: var(--now-cold); + transition: transform 0.3s ease; +} + +.now-seg:hover { transform: scaleY(1.6); } +.now-seg.now-hot { background: var(--now-hot); box-shadow: 0 0 14px rgba(0, 229, 153, 0.55); } +.now-seg.now-warm { background: var(--now-warm); box-shadow: 0 0 10px rgba(125, 180, 255, 0.35); } +.now-seg.now-cool { background: var(--now-cool); } + +/* ---------- cards ---------- */ +.now-grid { + display: grid; + grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); + gap: 16px; +} + +.now-card { + position: relative; + padding: 20px 22px 18px 24px; + border: 1px solid var(--tl-line); + border-radius: var(--tl-radius); + background: var(--tl-card); + overflow: hidden; + transition: transform 0.35s cubic-bezier(.22,.61,.36,1), border-color 0.35s ease, box-shadow 0.35s ease; +} + +.now-card::before { + content: ""; + position: absolute; + left: 0; + top: 14px; + bottom: 14px; + width: 3px; + border-radius: 3px; + background: var(--now-cold); +} + +.now-card.now-hot::before { background: var(--now-hot); box-shadow: 0 0 16px rgba(0, 229, 153, 0.6); } +.now-card.now-warm::before { background: var(--now-warm); } +.now-card.now-cool::before { background: var(--now-cool); } +.now-card.now-k-operator::before { background: var(--now-op); box-shadow: 0 0 16px rgba(245, 158, 11, 0.45); } + +.now-card:hover { + transform: translateY(-3px); + border-color: var(--tl-line-2); + box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); +} + +.now-card.now-hot:hover { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 229, 153, 0.18); } + +.now-card-top { + display: flex; + align-items: center; + gap: 10px; + flex-wrap: wrap; + font-family: var(--font-mono); + font-size: 11.5px; + letter-spacing: 0.04em; +} + +.now-id { + color: var(--tl-ink-3); + font-family: var(--font-mono); + font-size: 11.5px; + letter-spacing: 0.06em; +} + +.now-owner { + padding: 2px 9px; + border-radius: 999px; + border: 1px solid var(--tl-line-2); + color: var(--tl-ink-2); + font-family: var(--font-mono); + font-size: 11px; + letter-spacing: 0.05em; + white-space: nowrap; +} + +.now-owner-operator { color: var(--now-op); border-color: rgba(245, 158, 11, 0.45); } +.now-owner-desk { color: var(--tl-violet); border-color: rgba(167, 139, 250, 0.4); } +.now-owner-coordinator { color: var(--now-warm); border-color: rgba(125, 180, 255, 0.4); } +.now-owner-unassigned { color: var(--tl-ink-3); border-style: dashed; } + +.now-age { + margin-left: auto; + display: inline-flex; + align-items: center; + gap: 7px; + color: var(--tl-ink-3); + white-space: nowrap; +} + +.now-dot { + width: 7px; + height: 7px; + border-radius: 50%; + background: var(--now-cold); +} + +.now-hot .now-dot { + background: var(--now-hot); + box-shadow: 0 0 0 0 rgba(0, 229, 153, 0.6); + animation: now-beat 2.4s cubic-bezier(.22,.61,.36,1) infinite; +} + +.now-warm .now-dot { background: var(--now-warm); } +.now-cool .now-dot { background: var(--now-cool); } + +@keyframes now-beat { + 0% { box-shadow: 0 0 0 0 rgba(0, 229, 153, 0.55); } + 70% { box-shadow: 0 0 0 9px rgba(0, 229, 153, 0); } + 100% { box-shadow: 0 0 0 0 rgba(0, 229, 153, 0); } +} + +.now-item { + margin-top: 12px; + font-size: 16.5px; + font-weight: 650; + letter-spacing: -0.01em; + line-height: 1.35; + color: var(--tl-ink); + overflow-wrap: anywhere; +} + +.now-note { + margin-top: 10px; + font-size: 13.5px; + line-height: 1.55; + color: var(--tl-ink-2); + overflow-wrap: anywhere; + display: -webkit-box; + -webkit-line-clamp: 4; + -webkit-box-orient: vertical; + overflow: hidden; +} + +.now-card:hover .now-note { -webkit-line-clamp: unset; } + +.now-done { + margin-top: 12px; + padding-top: 10px; + border-top: 1px dashed var(--tl-line); + font-size: 12.5px; + line-height: 1.5; + color: var(--tl-ink-3); + overflow-wrap: anywhere; +} + +.now-done-k { + font-family: var(--font-mono); + font-size: 10.5px; + letter-spacing: 0.12em; + text-transform: uppercase; + color: var(--tl-blue); + margin-right: 4px; +} + +/* ---------- queue ---------- */ +.now-queue { + list-style: none; + padding: 0; + margin-top: 28px; + border: 1px solid var(--tl-line); + border-radius: var(--tl-radius); + overflow: hidden; +} + +.now-queue-row { + display: grid; + grid-template-columns: 56px 1fr auto; + gap: 8px 16px; + align-items: baseline; + padding: 14px 20px; + border-top: 1px solid var(--tl-line); + background: var(--tl-card); +} + +.now-queue-row:first-child { border-top: 0; } +.now-queue-row:nth-child(even) { background: rgba(14, 18, 25, 0.6); } + +.now-queue-item { + font-size: 15px; + font-weight: 600; + color: var(--tl-ink); + overflow-wrap: anywhere; +} + +.now-queue-done { + grid-column: 2 / -1; + font-size: 12.5px; + color: var(--tl-ink-3); + overflow-wrap: anywhere; +} + +@media (max-width: 640px) { + .now-queue-row { grid-template-columns: 1fr; } + .now-queue-row .now-owner { justify-self: start; } +} + +/* ---------- settled timeline ---------- */ +.now-timeline { + list-style: none; + padding: 0; + margin-top: 36px; + position: relative; +} + +.now-timeline::before { + content: ""; + position: absolute; + left: 118px; + top: 6px; + bottom: 6px; + width: 1px; + background: linear-gradient(180deg, var(--tl-green), var(--tl-blue) 40%, var(--tl-line)); +} + +.now-tl { + display: grid; + grid-template-columns: 100px 1fr; + gap: 36px; + padding: 14px 0 22px; + position: relative; +} + +.now-tl::after { + content: ""; + position: absolute; + left: 114px; + top: 21px; + width: 9px; + height: 9px; + border-radius: 50%; + background: var(--tl-bg); + border: 2px solid var(--now-warm); +} + +.now-tl-done::after { border-color: var(--now-hot); } +.now-tl-dropped::after { border-color: var(--now-drop); } + +.now-tl-when { + text-align: right; + font-size: 12px; + color: var(--tl-ink-3); + padding-top: 3px; +} + +.now-verdict { + display: inline-block; + padding: 2px 9px; + border-radius: 999px; + font-family: var(--font-mono); + font-size: 10.5px; + letter-spacing: 0.12em; + text-transform: uppercase; + margin-right: 10px; +} + +.now-verdict-done { color: var(--now-hot); border: 1px solid rgba(0, 229, 153, 0.4); } +.now-verdict-dropped { color: var(--now-drop); border: 1px solid rgba(248, 113, 113, 0.4); } + +.now-tl-item { + margin-top: 8px; + font-size: 15.5px; + font-weight: 600; + color: var(--tl-ink); + overflow-wrap: anywhere; +} + +.now-tl-evidence { + margin-top: 6px; + font-size: 13px; + line-height: 1.55; + color: var(--tl-ink-2); + overflow-wrap: anywhere; +} + +@media (max-width: 640px) { + .now-timeline::before { left: 4px; } + .now-tl { grid-template-columns: 1fr; gap: 6px; padding-left: 22px; } + .now-tl::after { left: 0; top: 20px; } + .now-tl-when { text-align: left; } +} + +.now-how { padding-bottom: 110px; } + +@media (prefers-reduced-motion: reduce) { + .now-hot .now-dot { animation: none; } + .now-card, .now-stat, .now-seg { transition: none; } +} diff --git a/public/data/now-pulse.tsv b/public/data/now-pulse.tsv new file mode 100644 index 00000000..cabf9461 --- /dev/null +++ b/public/data/now-pulse.tsv @@ -0,0 +1,2 @@ +memory free 50 GiB of 122 +disk free 934G of 3.7T diff --git a/public/data/now.tsv b/public/data/now.tsv new file mode 100644 index 00000000..e5a46c11 --- /dev/null +++ b/public/data/now.tsv @@ -0,0 +1,58 @@ +id opened_utc owner status item done_when evidence updated_utc +L001 2026-10-19T16:43Z alpha-fixes-agent done CEILING.md and alpha plan state BOTH ceilings: one-word memory 10.15 tok/s AND compute ~3,800 (207.7 TFLOPS) / ~4,600 (250) total words/s; promised 2026-10-19 ~16:00Z, never done commit on alpha/serve-path or follow-up branch with both numbers + arithmetic sc alpha/ceiling-and-model@56d42869 commit 39e79fad docs/qwen38/CEILING.md (memory 10.15/8.14, compute ~4,050 at 207.7 FP8 to ~4,880 at 250 spec, ~2x FP4, 115.36 bf16 measured; 11 calc receipts) + ~/handoffs/2026-10-19-alpha-readiness.md cascade section updated (old 3,800-4,600 used bytes as weights) 2026-10-19T17:00Z +L002 2026-10-19T16:43Z alpha-fixes-agent done CEILING.md tells readers to run aien-calc verify but aien-calc is only on unmerged calc/aien-calc: merge it or reword line fixed on an alpha branch, or calc/aien-calc merged sc alpha/ceiling-and-model@56d42869 commit 39e79fad docs/qwen38/CEILING.md: every expression written out by hand, calc ids kept as references, aien-calc named as on unmerged calc/aien-calc 2026-10-19T17:00Z +L003 2026-10-19T16:43Z alpha-fixes-agent done Model download is a manual hf/curl command: give install.sh a --with-model step that downloads + sha256 checks pushed branch with the step, run once sc alpha/ceiling-and-model@56d42869 commit ec11d1d9 install.sh --with-model + scripts/test-install.sh (9/9, 4 mutants red) + docs/qwen38/TRY_IT_ON_YOUR_SPARK.md; real run evidence/qwen38-install-with-model-20261019/realrun.log (2 fetched, 1 resumed, 81/81 sha256 OK; banner fix rerun OK) 2026-10-19T17:00Z +L004 2026-10-19T16:43Z alpha-fixes-agent done Re-measure 2nd-server memory need (38.5 GiB is from the old binary) on the current build receipt with peak RSS on current binary sc alpha/ceiling-and-model@56d42869 commit 6b8b2848 evidence/qwen38-serve-memory-20261019/proc-status.txt: VmHWM 38499160 kB = 36.7 GiB on current binary df936011 (pid 2473716, read only; fresh-account receipts not present); ALPHA_STATUS.md, guide, serve-27b.sh, README.md updated 2026-10-19T17:00Z +L005 2026-10-19T16:43Z alpha-fixes-agent done Put omega test fix 4afd7597 onto qwen38/decode-speed if that branch stays in use commit sha on qwen38/decode-speed or decision it is retired omega fix/decode-speed-gpr-test@585df2f5 (cherry-pick -x of 4afd7597 onto origin/qwen38/decode-speed 0010f7d3; branch stays in use: live server binary, 6 cascade/flashnext branches based on 0010f7d3). make test-gpu-gpr-boundary at nice 19: 298 checks 0 failed PASS; control at base fails -Werror missing sched. Receipt ~/yardsticks/receipts/2026-10-19-l005-gpr-boundary-585df2f5.log. No PR (desk). 2026-10-19T16:50Z +L006 2026-10-19T16:43Z drake open Decide: register QWEN38 serve gate + speed gate under tests/gates so signed bundles carry token/speed results (operator decision) Drake answer recorded 2026-10-19T16:43Z +L007 2026-10-19T16:43Z desk open Alpha merges in order: omega alpha/decode-speed-to-main b224aaf1, sc alpha/serve-path d584ab4d (+omega.lock bump, abi-qualify), sc alpha/try-it-guide 71f1fe59 three squash shas on main desk lane resumed as sa-1-0edae162 (sc PRs); omega/aienos lanes: chain scripts still running 2026-10-19T18:05Z +L008 2026-10-19T16:43Z desk open Create label alpha-tester on aien-sovereign-core-mv label exists (gh label list) 2026-10-19T16:43Z +L009 2026-10-19T16:43Z sa-8-ab511f23 done Fresh-account alpha test (user aienalpha) ~/handoffs/2026-10-19-alpha-fresh-account-test.md verdict line VERDICT FAIL as written (install.sh exit 101), steps 3-6 PASS with workaround; handoff ~/handoffs/2026-10-19-alpha-fresh-account-test.md; receipts alpha/fresh-account-evidence@997d22bd evidence/alpha-fresh-account-20261019/ 2026-10-19T18:57Z +L010 2026-10-19T16:43Z disk-cleanup-agent done Disk cleanup now + automatic cleanup routine (timer + end-of-session step in skills) df shows >=20% free; timer enabled; skills patched df 518G free (87% used) -> 1138G free (28%, 71% used), freed 617G; timers: spark-cleanup.timer daily 04:00 + spark-cleanup-lowspace.timer every 15 min if under 20% free; handoff ~/handoffs/2026-10-19-disk-cleanup.md 2026-10-19T17:42Z +L011 2026-10-19T16:43Z coordinator open Publish all cascade measurements on GitHub as they land (agents push evidence; coordinator checks each branch has evidence/ for every number reported) each reported number links to a pushed evidence file wip-snapshot tool (~/.local/bin/wip-snapshot DIR...) pushes any worktree state to origin wip/- without touching it; run 18:16Z: 6 dirty worktrees snapshotted 2026-10-19T18:17Z +L012 2026-10-19T16:43Z sa-9-beaeb775 done Flash-Next full download once disk is clean (NVFP4 132.7 GB or FP8 185.6 GB) SOURCE + sha256 check PASS in ~/models NVFP4 nvidia/Qwen3.8-Flash-Next-NVFP4@fc694b54 132.7GB in ~/models/qwen3.8-flash-next-nvfp4-fc694b54; 13/13 LFS sha256 match HF listing, sizes match 25/25, sha256sum -c PASS; SOURCE+sha256 written; FP8 not downloaded 2026-10-19T18:14Z +L013 2026-10-19T16:43Z sa-0-3b45ab81 open Agent: tree-verify-gemm handoff written + branch pushed with evidence + result reported to Drake resumed after subscription switch | resumed 13:0xZ-ish after subscription switch (old session limit 12:55 CDT) 2026-10-19T18:05Z +L014 2026-10-19T16:43Z sa-1-6c341494 open Agent: mtp-chain(+tree, +n-gram) handoff written + branch pushed with evidence + result reported to Drake resumed 13:0xZ-ish after subscription switch (old session limit 12:55 CDT) | resumed 13:10 CDT by sa-sub-resume; batches (chain all.sh pid 993520, tree all.sh 3749184) still running on their own; publishing evidence as it lands 2026-10-19T18:08Z +L015 2026-10-19T16:43Z sa-2-d6e56513 open Agent: w4-gemv handoff written + branch pushed with evidence + result reported to Drake resumed 13:0xZ-ish after subscription switch (old session limit 12:55 CDT) 2026-10-19T18:05Z +L016 2026-10-19T16:43Z sa-3-dfa217d1 open Agent: continuous-batching handoff written + branch pushed with evidence + result reported to Drake resumed 13:0xZ-ish after subscription switch (old session limit 12:55 CDT) 2026-10-19T18:05Z +L017 2026-10-19T16:43Z sa-4-c451acb5 open Agent: prefill-kernels handoff written + branch pushed with evidence + result reported to Drake resumed 13:0xZ-ish after subscription switch (old session limit 12:55 CDT) 2026-10-19T18:05Z +L018 2026-10-19T16:43Z sa-5-1f55e4d6 open Agent: document-memory handoff written + branch pushed with evidence + result reported to Drake resumed 13:0xZ-ish after subscription switch (old session limit 12:55 CDT) | resumed after account fix 18:08Z; disk 4096 bench landed (368bec0d), 16384/32768 and kv running under quiet-measure; 27B chip run still waits for memory (avail 12 GiB) 2026-10-19T18:08Z +L019 2026-10-19T16:43Z sa-6-1d32482a open Agent: dflash-drafter handoff written + branch pushed with evidence + result reported to Drake resumed 13:0xZ-ish after subscription switch (old session limit 12:55 CDT) 2026-10-19T19:04:34Z +L020 2026-10-19T16:43Z resumed-agent open Agent: flashnext-port handoff written + branch pushed with evidence + result reported to Drake previous agent dead since 16:43Z; resume agent dispatched 18:17Z 2026-10-19T18:18Z +L021 2026-10-19T16:43Z sa-7-0d2a901c done Agent: symbolic-rewrite handoff written + branch pushed with evidence + result reported to Drake omega symbolic/rewrite-layer@75f0adb1, evidence/symbolic-rewrite/VERDICT.md, handoff ~/handoffs/2026-10-19-symbolic-rewrite.md 2026-10-19T18:06Z +L022 2026-10-19T16:43Z sa-9-cf84c37f open Agent: omega#580 rolls/chords handoff written + branch pushed with evidence + result reported to Drake dispatched | resumed 13:0xZ-ish after subscription switch (old session limit 12:55 CDT) | sa-9 resumed 13:10 CDT; r3 chip: 37/40 pass, rope fails (400/400 bad) -> investigating | r3 37/40; rope fails = host FMA contraction in test ref (fix Makefile -ffp-contract=off, rebuild queued behind quiet lock), r4 next 2026-10-19T18:16Z +L023 2026-10-19T16:43Z sa-0-f51ec35a open Agent: skipped ideas lab handoff written + branch pushed with evidence + result reported to Drake resumed 13:0xZ-ish after subscription switch (old session limit 12:55 CDT) | resumed 18:10Z by subagent after subscription switch; disk state intact: branch research/skipped-ideas pushed (48ad7919), chain.sh (skip:story running, then teal:story quant:code skip:code teal:code) and mtp.sh arch learn still alive, not restarted 2026-10-19T18:09Z +L024 2026-10-19T16:52Z sa-5-be9ad315 done Rig: Omega backend targets RTX 5070 sm_120 (omega rig/gb20x) branch pushed + GB10 gates still pass + handoff 2026-10-19-rig-omega-gb20x.md omega rig/gb20x@12e17891 pushed; M17 gates 18/18 (139 cum) evidence/rig/gb10_m17_gates.txt; handoff ~/handoffs/2026-10-19-rig-omega-gb20x.md 2026-10-19T18:09Z +L025 2026-10-19T16:52Z sa-2-8d339648 open Rig: engine serves best model in 12 GiB budget on Omega branch rig/engine-12gb pushed + GB10 receipts + engine/README.md resumed 13:0xZ-ish after subscription switch (old session limit 12:55 CDT) | resumed 13:0xZ by new agent; chip-fp8 PASS (5/5 tokens identical, 15.63 tok/s) committed; golden-w4-ceil running (pid 1204640), chain1/chain2 still alive | chip-fp8 PASS 5/5 15.63 tok/s; chip-w4-ceil PASS 5/5 20.17 tok/s (device 5.158 GiB); swap-kv control FAILs as it must; refusals ok; http gate fixed (try1 failed: no lock / wrong model id), chain3 rerunning http-w4-12gib then http-fp8-12gib; branch pushed f04ea21e 2026-10-19T18:55Z +L026 2026-10-19T16:52Z sa-2-7f8f4e57 open Rig: TARGETS.md, what others get on 5070 + ceilings + FPS levers docs/targets pushed with sources 2026-10-19T16:52Z +L027 2026-10-19T16:52Z sa-3-9c801994 open Rig: Windows FPS tuner in Rust (rig-tune.exe) tuner/v0 pushed + Windows CI green 2026-10-19T16:52Z +L028 2026-10-19T16:52Z sa-3-520e7485 done Rig: YouTube helper (rig-create) creator/v0 pushed + CI green + evidence/creator run creator/v0@87f98af, CI green at 7aef4de, evidence/creator/2026-10-19-e2e-18091 (exit 0, 49m43s), handoff ~/handoffs/2026-10-19-rig-creator.md 2026-10-19T18:16Z +L029 2026-10-19T16:52Z sa-5-resume open Rig: speech-to-text on Omega/AIEN speech/v0 pushed + WER and speed receipt resumed 13:0xZ-ish after subscription switch (old session limit 12:55 CDT) | resumed after usage cutoff; speech/v0 pushed @ac55d6e; remaining: stale-sha fix build.rs, rerun GPU receipts (gpu3 2961 CHIP_FAIL 0x51), evidence README, push, omega rig/speech push | speech/v0 force-pushed once to drop accidentally committed target dirs (2000 build files); now 5fdf9fb. GPU rerun queued (gpu4.log) 2026-10-19T18:57Z +L030 2026-10-19T16:52Z sa-6-6c0ae384 open Rig: app, release workflow, Windows GPU path answer app/v0 pushed + CI green + docs/WINDOWS-GPU-PATH.md Drake: WSL2 is the GPU path; app launches engine in WSL2, talks over localhost 2026-10-19T16:58Z +L031 2026-10-19T16:52Z desk open Rig: merge streams into aien-rig main, tag v0.1.0, send Drake the download link release URL with zip exists 2026-10-19T16:52Z +L032 2026-10-19T17:00Z coordinator open Measure whether a 2nd 27B server shares the model page cache with the 1st (36.7 GiB peak, ~35.5 GB is model files) receipt: MemAvailable drop when 2nd server starts measure during sa-9 fresh-account server start on 18391: MemAvailable before/after vs 36.7 GiB | measured: 2nd server does NOT share: loader demands 41,305 MiB + 8,192 MiB free regardless; refused at MemAvailable 46,249 MiB (serve-27b.log 17:22Z) 2026-10-19T17:23Z +L033 2026-10-19T17:00Z coordinator open Time a full 31 GB install --with-model into an empty dir receipt with wall time and MB/s after disk cleanup L010; run in /home/aienalpha style fresh dir, then delete 2026-10-19T17:14Z +L034 2026-10-19T17:00Z sa-1-0edae162 open Queue sc alpha/ceiling-and-model 56d42869 after alpha/try-it-guide; omega fix/decode-speed-gpr-test 585df2f5 into qwen38/decode-speed squash shas resumed 13:0xZ-ish after subscription switch (old session limit 12:55 CDT) 2026-10-19T18:05Z +L035 2026-10-19T17:23Z coordinator open Fix alpha docs/preflight memory figure: server requires 41,305 MiB + 8,192 MiB free (~48.3 GiB available) at load, not 37-40 GiB (fresh-account test finding) guide, ALPHA_STATUS, install preflight, serve-27b updated on an alpha branch fresh-account test confirms: installer check passed at 53 GiB, start refused at 46,249 MiB; peak RSS of current build 40,368,140 kB; evidence alpha/fresh-account-evidence@997d22bd 2026-10-19T18:57Z +L036 2026-10-19T17:23Z coordinator open serve-27b start script prints started/rc 0 even when the server refuses to load: wait for ready or exit and report failure with the log line test in test-install or a script test that a refused load returns non-zero confirmed again in fresh-account test: serve-start.try1.out and try2.out both say started, refusal only in serve-27b.log (evidence alpha/fresh-account-evidence@997d22bd) 2026-10-19T18:57Z +L037 2026-10-19T17:24Z sa-6-d929cfbd open Horizon: black-hole dusk animation for goodbye (ui), worktree aienos-goodbye-horizon feat/goodbye-event-horizon pushed, host test PASS with frames, READY line resumed 13:0xZ-ish after subscription switch (old session limit 12:55 CDT) | subagent resumed: dirty work committed 1c05936 and pushed feat/goodbye-event-horizon; now running host test | feat/goodbye-event-horizon pushed 903277b7ac5862d531fb5d6c00f0e66e7ef7cdb0; ui host test PASS 98 checks with frames, memory PASS, imac-kernel built 282624 B, crumbs OK; dusk 59 ms/frame avg one core (3x baseline, honest note in handoff); READY line appended; real iMac not tested 2026-10-19T18:49Z +L038 2026-10-19T17:24Z sa-7-940e3a25 done Panel off + no restart after goodbye (x86), worktree aienos-panel-off feat/goodbye-panel-off pushed, QEMU tests run, IMACKERN built, READY line feat/goodbye-panel-off@2954f5e pushed; handoff ~/handoffs/2026-10-19-goodbye-event-horizon.md (panel-off section), READY in 2026-10-18-pr-desk.md; NOT-TESTED real iMac 2026-10-19T18:06Z +L039 2026-10-19T17:24Z sa-sub-resume open Allen through the model: UDP courier + relay to 18091 + learning log, worktree aienos-allen-model feat/allen-through-the-model pushed, QEMU end-to-end PASS with 27B answering, READY line brief tells the agent to note L037 by mistake; read L037 notes as this item | resumed 13:0xZ-ish after subscription switch (old session limit 12:55 CDT) | resumed by new subagent: committing dirty work and pushing branch first | pushed: relay compiles, fmt/clippy/test green, UDP courier host test PASS (clean, lossy, busy) after fixing 3 courier/relay bugs; next: kernel build, QEMU e2e with 27B 2026-10-19T18:40Z +L040 2026-10-19T17:24Z desk open iMac bundle 1: merge horizon + panel-off + allen-model (+ stack #415..#424, allen-presence) into one image, stage once, Drake presses button once staged kernel in imac-netboot spool + report from the real iMac shows panel off and model answer panel-off LAB kernel 2954f5e was staged alone as next.job; moved aside to next.job.hold-panel-off-alone-20261019 so the iMac does not boot a one-feature image. Bundle waits on L037 (horizon) and L039 (model). | bundle worktree ~/workspace/aienos-bundle1 branch imac/bundle-1 at panel-off 2954f5e; trial merges: horizon conflicts only native/kernel/README.md, model conflicts only native/kernel/Makefile; kmain/x86.h auto-merge 2026-10-19T18:20Z +L041 2026-10-19T17:28Z coordinator open Quiet lock starvation fix: wrappers quiet-build/quiet-measure; confirm the 53-min waiter base-gu32 ran and every agent switched base-gu32 log non-empty; no raw flock -s on aien-quiet.lock held by agents (lsof) 2026-10-19T17:28Z +L042 2026-10-19T17:43Z coordinator open aien-sovereign-core CI lane build dirs (~205 GB) grow without bound: add periodic full clean of idle lanes to spark-cleanup spark-cleanup handles idle sc lanes; log shows a lane cleaned 2026-10-19T17:43Z +L043 2026-10-19T18:05Z coordinator open Claude Code on Spark resumed: ab-fp8head-4bit (session 9503193a) and ideas item3-bench (bcc82688) after 429; check logs *-agent-r2.log both r2 logs show a result without usage_limit_reached 2026-10-19T18:05Z +L044 2026-10-19T18:15Z coordinator open Merge note: sa-0 (old horizon agent) died, work continued as L037 (1c05936 pushed); panel-off branch feat/goodbye-panel-off 2954f5e is READY and done L037 closed or horizon READY line seen 2026-10-19T18:15Z +L045 2026-10-19T18:17Z coordinator open Run wip-snapshot on all active worktrees every 30 min (cron on Mac) so uncommitted agent work is on GitHub cron job exists; wip/ branches appear in origin cron wip-snapshot every 30m created on Mac 2026-10-19T18:19Z +L046 2026-10-19T18:20Z sa-0-ad58adfe open Allen canvas: the model decides what is painted (scene lines rendered in Allen style), worktree aienos-allen-canvas feat/allen-canvas pushed, host test PASS with frames from real 27B answers, READY line, handoff 2026-10-19-allen-canvas.md started; handoff ~/handoffs/2026-10-19-allen-canvas.md 2026-10-19T18:25Z +L047 2026-10-19T18:39Z sa-0-38e5012e open Research: omega#583 hardware-cost simulator (offline resource-DAG, reuses cost model + Spark traces) PR merged with acceptance gates in #583 passed, evidence pushed dispatched 13:3x CDT deleg_4dc22ac6 task-0, worktree omega-research-583 branch research/cost-sim-583; does L050 crossover first | worktree ~/workspace/omega-research-583 on research/cost-sim-583 off a8ffd2b9; handoff ~/handoffs/2026-10-19-research-583.md; crossover first | schema frozen: spec/offline-evidence-v1.md @5d864920 on research/cost-sim-583, fixture tests/dagsim/fixtures/m1_spark_subset.oev 2026-10-19T18:53Z +L048 2026-10-19T18:39Z sa-1-53afd92a open Research: omega#584 bounded learning-mechanism search + native pilot, retention/payoff PR merged with #584 gates passed, evidence pushed dispatched deleg_4dc22ac6 task-1, worktree omega-research-584 branch research/learning-search-584; consumes 583 schema via handoff | started; worktree omega-research-584 @a8ffd2b9; handoff ~/handoffs/2026-10-19-research-584.md; note: my rm -rf hit sibling 583 clone at ~/workspace/omega-mv, corrected to ~/workspace/omega 2026-10-19T18:53Z +L049 2026-10-19T18:39Z sa-2-533a4d94 open Research tracking: aien-architecture#276 (extends #265) + #246 plan-reuse campaign with compounding/retention/payback tests all child issues closed, #276 closed with evidence links dispatched deleg_4dc22ac6 task-2, worktree omega-e03-246 branch research/e03-payback-246 | E03 start: worktree omega-e03-246 branch research/e03-payback-246 @a8ffd2b9; no prior E03 branch/PR; campaign folder evidence/PLAN_REUSE; handoff ~/handoffs/2026-10-19-research-246-e03.md | frozen protocol pushed: evidence/PLAN_REUSE/e03-payback/00-frozen-protocol.md @293b49a7 2026-10-19T19:04Z +L050 2026-10-19T18:39Z sa-0-38e5012e open Symposium crossover check for #276: point research agent at symposium-dev/symposium + agents-in-tree BRIEF/ADR 0038 + borrowed-ideas PLAN before #583/#584 implementation starts crossover section written in aien-architecture#276 naming overlaps or none started: symposium cloned to ~/workspace/_ext/symposium@b420d5dc, reading BRIEF/ADR0038/PLAN; matrix next | matrix at omega-mv docs/research/276-crossover-matrix.md @1cd04c8e (research/cost-sim-583), comment https://github.com/aien-dev/aien-architecture-mv/issues/276#issuecomment-6274721769; verdict: no mechanism/file/contract overlap of Symposium or agents-in-tree with #583/#584/#246, one shared design idea (cache+invalidate) already in rx_plan 2026-10-19T18:49Z +L051 2026-10-19T18:44Z desk open Research: open PRs for research/cost-sim-583, research/learning-search-584, research/e03-payback-246 when READY lines land; comment crossover matrix on arch#276 if agent gh guard refused three PR numbers + #276 comment URL 2026-10-19T18:44Z +L052 2026-10-19T18:56Z coordinator open Public status dashboard at www.aienos.com/status: live agent work, next, decisions made, decisions pending; Spark publisher + site-builder page page live at URL, refreshes from ledger without hands 2026-10-19T18:56Z +L053 2026-10-19T18:56Z coordinator open aien-dev GitHub org profile README: cover Spark + iMac 2017 + Pi 5 + QEMU, speed numbers with receipts, everything in flight profile README merged on aien-dev/.github, renders on github.com/aien-dev 2026-10-19T18:56Z +L054 2026-10-19T18:56Z coordinator open www.aienos.com homepage: same inclusivity fix (all machines, speed test, all streams) merged to aienos.com main, live 2026-10-19T18:56Z +L055 2026-10-19T18:57Z coordinator open Fix install.sh --with-server exit 101: cargo build -p spark-crumbs is ambiguous (path crate + git dep), install.sh line 567; server never built fresh-account rerun of ./install.sh --with-server exits 0 and installs aien-serve-http; receipt on alpha branch 2026-10-19T18:57Z +L056 2026-10-19T18:57Z coordinator open serve-27b/qwen38 loader: memory check happens before the 30-min GPU lock wait; re-check memory after the lock is acquired or hold the check until then test or log line showing a re-check after lock; handoff 2026-10-19-alpha-fresh-account-test.md break 4 2026-10-19T18:57Z +L057 2026-10-19T18:59Z sa-0-986f09b9 open Inventory for site + org README: every machine (Spark, iMac 2017, Pi 5, QEMU), every stream in flight, every published speed number with receipt link, every repo with one-line purpose ~/handoffs/2026-10-19-site-inventory.md + inventory.json with GitHub links for every claim Machines section facts gathered: Spark (27B on Omega at 18091, native first boot 2026-09-24), iMac i5-7500 report 2026-10-19 commit 0930240d from feat/imac-bootdisk stack, Pi 5 first native runs 2026-10-13 PRs 345/346 + Pi house server (readings-window, pi-register), QEMU 24-gate receipt 7f0de7e 2026-10-09 2026-10-19T19:03Z From 4a02dd1e7a02d1ea0d025d0c8eb2c6696b08ec72 Mon Sep 17 00:00:00 2001 From: Hermes Date: Mon, 19 Oct 2026 14:17:58 -0500 Subject: [PATCH 2/2] now: classify research and public-record lines before the engine and iMac rules --- crates/site-builder/src/components/now.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/site-builder/src/components/now.rs b/crates/site-builder/src/components/now.rs index c51655ed..2611f94c 100644 --- a/crates/site-builder/src/components/now.rs +++ b/crates/site-builder/src/components/now.rs @@ -73,18 +73,18 @@ pub const STREAMS: [&str; 8] = [ fn classify(item: &str, owner: &str) -> &'static str { let t = item.to_ascii_lowercase(); - if t.starts_with("agent:") || t.contains("cascade") || t.contains("decode") || t.contains("tok/s") || t.contains("flashnext") || t.contains("omega#") { + if t.starts_with("research") || t.contains("symposium") || t.contains("#583") || t.contains("#584") || t.contains("inventory for site") { + "Research" + } else if t.starts_with("agent:") || t.contains("cascade") || t.contains("decode") || t.contains("tok/s") || t.contains("flashnext") || t.contains("omega#") { "Engine speed" } else if t.starts_with("rig") { "AIEN Rig" - } else if t.starts_with("research") || t.contains("symposium") || t.contains("#583") || t.contains("#584") { - "Research" + } else if t.contains("aienos.com") || t.contains("org profile") || t.contains("readme") || t.contains("dashboard") { + "Public record" } else if t.contains("alpha") || t.contains("install") || t.contains("serve-27b") || t.contains("27b server") { "Alpha release" } else if t.contains("imac") || t.contains("horizon") || t.contains("allen") || t.contains("aienos") || t.contains("bundle") { "AIENOS on the iMac" - } else if t.contains("aienos.com") || t.contains("org profile") || t.contains("readme") || t.contains("dashboard") || t.contains("inventory for site") { - "Public record" } else if owner == "desk" || t.starts_with("merge") || t.starts_with("queue") || t.contains("label") || t.contains("squash") { "PR desk" } else {