interplane.Get Omega
Read in your language

aienos.com

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

Brought by drakestapleton

Keep the retired Aienix name out of collected ADR titles

merged 249da126a7b13b66 #52 · opened 2026-10-23 18:13 UTC · closed 2026-10-23 18:15 UTC · merged 2026-10-23 18:15 UTC

Imported from GitHub aien-dev/aienos.com#52, by drakestapleton

Base af919a34dc622c4995700891358216076182047d · Head 2d9025b7a44aa11735ff222dfb70c68837ec5ac9

Merged on GitHub as e85e97d2834bfe00cf3523b85ba86f0e8b9d24c5; reachable from main fd39d660fb7cc2ec09d0871c1f29cc074363ad59 (observed 2026-11-18T16:38:14Z)

drakestapleton wrote on 2026-10-23 18:13 UTC

ADR 0038 records the retirement, so its heading contains the old name. The homepage collects the newest five ADRs from GitHub and rendered that heading.

This filters a decision title containing the retired name from the collected set and from loaded facts. The record stays in the architecture repository; the homepage simply does not publish it.

Reproduced with freshly gathered facts:

  • facts.json: no aienix match.
  • build dist: PASS, verification PASS, no aienix in index.html.
  • cargo test -p site-builder: 135 passed.

Apply it

git checkout -b patch-249da126a7b13b66 af919a34dc622c4995700891358216076182047d
curl -fsSL https://interplane.io/drakestapleton/aienos.com/patches/249da126a7b13b66.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
52
2d9025b7a44aa11735ff222dfb70c68837ec5ac9
{"kind":"github-import","owner":"aien-dev","repo":"aienos.com","number":52,"url":"https://github.com/aien-dev/aienos.com/pull/52","export_sha256":"8ece92e1057e3cbc924084bd6b2aea957f4dbb0d6f03f2b07d3eb99757ab3bdf","imported_utc":"2026-11-18T16:38:14Z"}

Changes

diff --git a/crates/site-builder/src/facts.rs b/crates/site-builder/src/facts.rs
index 58c691d5..564d4d7f 100644
--- a/crates/site-builder/src/facts.rs
+++ b/crates/site-builder/src/facts.rs
@@ -71,7 +71,9 @@ impl Facts {
     pub fn load(path: &Path) -> Result<Facts, String> {
         let text = std::fs::read_to_string(path)
             .map_err(|e| format!("cannot read {}: {e} (run `site-builder facts {}` first)", path.display(), path.display()))?;
-        serde_json::from_str(&text).map_err(|e| format!("{} is not a facts file: {e}", path.display()))
+        let mut facts: Facts = serde_json::from_str(&text).map_err(|e| format!("{} is not a facts file: {e}", path.display()))?;
+        facts.decisions.retain(|d| !retired_name(&d.title));
+        Ok(facts)
     }
 
     pub fn save(&self, path: &Path) -> Result<(), String> {
@@ -109,6 +111,12 @@ fn comparison_title(t: &str) -> bool {
         .any(|w| l.contains(w))
 }
 
+/// The retired name is not rendered, including in an automatically collected
+/// decision title. The record remains in the architecture repository.
+fn retired_name(t: &str) -> bool {
+    t.to_ascii_lowercase().contains("aienix")
+}
+
 fn now_utc() -> String {
     // RFC 3339 to the second, without pulling in a time crate.
     let secs = std::time::SystemTime::now()
@@ -192,7 +200,7 @@ pub fn gather() -> Result<Facts, String> {
         })
         .unwrap_or_default();
     decisions.sort_by(|a, b| b.id.cmp(&a.id));
-    decisions.truncate(5);
+    decisions.truncate(6);
     // Prefer each record's own heading ("# ADR 0035: Persistent Cognitive Entity Boundary (ALLEN)").
     for d in &mut decisions {
         let raw = Command::new("gh")
@@ -212,7 +220,8 @@ pub fn gather() -> Result<Facts, String> {
             }
         }
     }
-
+    decisions.retain(|d| !retired_name(&d.title));
+    decisions.truncate(5);
     // The receipt: latest main commit of sovereign-core and its "AIEN Verification" status.
     let repo = "aien-dev/aien-sovereign-core";
     let commit = gh(&[&format!("repos/{repo}/commits/main")])?;