aienos.com
Source of www.aienos.com, served from my own hardware
Brought by drakestapleton
aienos.com / om / site / machine.om
| 1 | text smclasc "/classic/" |
| 2 | text smk0 "status_detail" |
| 3 | text sml0 "Evidence status" |
| 4 | text smk1 "claim_level" |
| 5 | text sml1 "Claim scope" |
| 6 | text smk2 "not_proves" |
| 7 | text sml2 "Does not prove" |
| 8 | text smk3 "on_main" |
| 9 | text sml3 "On the default branch at the recorded date" |
| 10 | text smk4 "evidence_date" |
| 11 | text sml4 "Evidence date" |
| 12 | text smk5 "next_dependency" |
| 13 | text sml5 "Next dependency" |
| 14 | text smk6 "done_when" |
| 15 | text sml6 "Done when" |
| 16 | text smk7 "now" |
| 17 | text sml7 "Recorded state" |
| 18 | text smk8 "class" |
| 19 | text sml8 "Implementation class" |
| 20 | text smk9 "box" |
| 21 | text sml9 "Source / receipt location" |
| 22 | text smk10 "tok_s" |
| 23 | text sml10 "Tokens per second" |
| 24 | text smk11 "not_yield" |
| 25 | text sml11 "Measurement limitation" |
| 26 | text smk12 "links" |
| 27 | text smk13 "more" |
| 28 | text smk14 "link" |
| 29 | text smk15 "label" |
| 30 | text smxgame "<script defer src=\"/js/turing-game.js\"></script>" |
| 31 | text smxev "\">Receipt on the forge</a>" |
| 32 | note Short-form repositories, for the <repo> <sha> text after a pinned anchor. |
| 33 | text smrcp "CUDApp" |
| 34 | text smrom "omega-mv" |
| 35 | text smrax "aienux" |
| 36 | text smrsc "aien-sovereign-core-mv" |
| 37 | text smadv "aien-dev/" |
| 38 | text smjc0 "<p class=\"source-link\">Judged commit: <code>" |
| 39 | text smjc1 "</code></p>" |
| 40 | text smxep "evidence/" |
| 41 | text smxhist "<p class=\"evidence\">The research narrative below preserves the scope of the research record as of " |
| 42 | text smxhend ". It is a dated account, not a fresh audit of every repository. <a href=\"/research/status/\">Read the complete research state and its source commits.</a></p>" |
| 43 | text smxrf "crates/site-builder/data/research_status.json" |
| 44 | text smxdate "as_of" |
| 45 | note Machine pages use shared OM-2 runtime and JSON APIs. Source baseline 3d36bd7829d1. |
| 46 | text smt0 "https://" |
| 47 | text smt1 "/" |
| 48 | text smt2 "//" |
| 49 | text smt3 "#" |
| 50 | text smt4 "o/:" |
| 51 | text smt5 "https://interplane.io/drakestapleton/omega-mv/tree/main/" |
| 52 | text smt6 "ob:" |
| 53 | text smt7 "https://interplane.io/drakestapleton/omega-mv/tree/" |
| 54 | text smt8 "o:" |
| 55 | text smt9 "https://interplane.io/drakestapleton/omega-mv/blob/main/" |
| 56 | text smt10 "p:" |
| 57 | text smt11 "https://interplane.io/drakestapleton/physics-mv/blob/main/" |
| 58 | text smt12 "c:" |
| 59 | text smt13 "https://interplane.io/drakestapleton/aien-sovereign-core-mv/blob/main/" |
| 60 | text smt14 "a:" |
| 61 | text smt15 "https://interplane.io/drakestapleton/aien-architecture-mv/blob/main/" |
| 62 | text smt16 "b:" |
| 63 | text smt17 "https://interplane.io/drakestapleton/omega-bridge/blob/main/" |
| 64 | text smt18 "issue:" |
| 65 | text smt19 "https://interplane.io/drakestapleton/omega-mv/issues/" |
| 66 | text smt20 "cp/:" |
| 67 | text smt21 "https://interplane.io/drakestapleton/CUDApp/tree/main/" |
| 68 | text smt22 "cp@:" |
| 69 | text smt23 "https://interplane.io/drakestapleton/CUDApp/blob/" |
| 70 | text smt24 "cp:" |
| 71 | text smt25 "https://interplane.io/drakestapleton/CUDApp/blob/main/" |
| 72 | text smt26 "om@:" |
| 73 | text smt27 "https://interplane.io/drakestapleton/omega-mv/blob/" |
| 74 | text smt28 "ax@:" |
| 75 | text smt29 "https://interplane.io/drakestapleton/aienux/blob/" |
| 76 | text smt30 "sc@/:" |
| 77 | text smt31 "https://interplane.io/drakestapleton/aien-sovereign-core-mv/tree/" |
| 78 | text smt32 "s:" |
| 79 | text smt33 "https://interplane.io/drakestapleton/aienos.com/blob/main/" |
| 80 | text smt34 "<a href=\"" |
| 81 | text smt35 "\">" |
| 82 | text smt36 "</a>" |
| 83 | text smt37 "<a class=\"box-link source-link\" href=\"" |
| 84 | text smt38 "https://interplane.io/drakestapleton/aienos.com/tree/main/crates/site-builder/data" |
| 85 | text smt39 "https://interplane.io/drakestapleton/" |
| 86 | text smt40 "\">Source on Interplane</a>" |
| 87 | text smt41 "<ul class=\"stack\">" |
| 88 | text smt42 "<li>" |
| 89 | text smt43 "</li>" |
| 90 | text smt44 "</ul>" |
| 91 | text smt45 "<dl class=\"evidence\">" |
| 92 | text smt46 "<div><dt>" |
| 93 | text smt47 "ours" |
| 94 | text smt48 "Implementation" |
| 95 | text smt49 "</dt><dd>" |
| 96 | text smt50 "status" |
| 97 | text smkid "id" |
| 98 | text smcode "<code>" |
| 99 | text smcodee "</code>" |
| 100 | text smt51 "<span class=\"rs-badge badge\">" |
| 101 | text smt52 "</span>" |
| 102 | text smt53 "</dd></div>" |
| 103 | text smt54 "</dl>" |
| 104 | text smt55 "title" |
| 105 | text smt56 "name" |
| 106 | text smt57 "step" |
| 107 | text smt58 "cuda" |
| 108 | text smlylab "Layer" |
| 109 | text smt59 "what" |
| 110 | text smt60 "id" |
| 111 | text smt61 "<article class=\"hub-card panel\"" |
| 112 | text smt62 ">" |
| 113 | text smt63 "<h3>" |
| 114 | text smt64 "</h3>" |
| 115 | text smt65 "box" |
| 116 | text smt66 "link" |
| 117 | text smt67 "url" |
| 118 | text smt68 "receipt" |
| 119 | text smt69 "</article>" |
| 120 | text smt70 "<div class=\"dashboard-grid\">" |
| 121 | text smt71 "</div>" |
| 122 | text smt72 "<section class=\"section\" id=\"" |
| 123 | text smt73 "\"><h2>" |
| 124 | text smt74 "</h2>" |
| 125 | text smt75 "<header class=\"page-intro\"><h1>" |
| 126 | text smt76 "</h1><p class=\"lede\">" |
| 127 | text smt77 "</p></header>" |
| 128 | text smt78 "<p>" |
| 129 | text smt79 "</p>" |
| 130 | text smt80 "PASS" |
| 131 | text smt81 "PARTIAL" |
| 132 | text smt82 "IN PROGRESS" |
| 133 | text smt83 "AS SHIPPED" |
| 134 | text smt84 "MISSING" |
| 135 | text smt85 "AS SHIPPED" |
| 136 | text smt86 "ledger" |
| 137 | text smt87 "L" |
| 138 | text smt88 "evidence/" |
| 139 | text smt89 "command" |
| 140 | text smt90 "crates/site-builder/data/omega.json" |
| 141 | text smt91 "bar" |
| 142 | text smt92 "performance" |
| 143 | text smt93 "layers" |
| 144 | text smt94 "<header class=\"page-intro\"><p class=\"eyebrow\">Omega</p><h1>" |
| 145 | text smt95 "claim" |
| 146 | text smt96 "</h1>" |
| 147 | text smt97 "claim_rest" |
| 148 | text smt98 "<p>Source-backed snapshot of the work and its current limits. All missing work and receipt limits remain visible.</p><p><a href=\"/cudaplusplus/\">CUDA++, the GPU half of Omega</a> · <a href=\"/omega.json\">The complete data record</a></p><p class=\"om-source\">Writing Omega yourself, or pointing an agent at it: the <a href=\"/omega/reference/\">Omega language reference</a> has every compiler error, every trap and every gated worked example.</p>" |
| 149 | text smt99 "source" |
| 150 | text smt100 "</header>" |
| 151 | text smt101 "verdicts" |
| 152 | text smt102 "The boundary of the claim" |
| 153 | text smt103 "<h3>True today, with a receipt</h3>" |
| 154 | text smt104 "true_today" |
| 155 | text smt105 "<h3>Not true yet</h3>" |
| 156 | text smt106 "not_true_yet" |
| 157 | text smt107 "</section>" |
| 158 | text smt108 "parts" |
| 159 | text smt109 "Four parts, and the driver below them" |
| 160 | text smt110 "below" |
| 161 | text smt111 "cuda-map" |
| 162 | text smt112 "Omega's layer map" |
| 163 | text smt113 "<p>The layers run from the language to the chip. Each row describes the work at that layer. Missing pieces are shown as missing. PASS means a receipt exists on the named commit; PARTIAL, MISSING and AS SHIPPED remain separate.</p>" |
| 164 | text smt114 "today" |
| 165 | text smt115 "What is already true, with a receipt" |
| 166 | text smt116 "<p>The receipt holds the binary sha256, mapped libraries, ldd, driver version and commands used.</p></section>" |
| 167 | text smt117 "not-yet" |
| 168 | text smt118 "What is not true yet" |
| 169 | text smt119 "not_yet" |
| 170 | text smt120 "The GPU acceptance checks: C1 to C6" |
| 171 | text smt121 "<p>I say it when every row is PASS, each with a receipt pushed on the exact commit. No row is waived. A row is ticked here only when its receipt is in the data file.</p>" |
| 172 | text smt122 "beyond" |
| 173 | text smt123 "More Omega work" |
| 174 | text smt124 "<p>The runtime, driver and host bindings each have their own acceptance checks.</p>" |
| 175 | text smt125 "Performance: what has been measured" |
| 176 | text smt126 "stand" |
| 177 | text smt127 "how" |
| 178 | text smt128 "rule" |
| 179 | text smt129 "crates/site-builder/data/cudaplusplus.json" |
| 180 | text smt130 "hops" |
| 181 | text smt131 "pains" |
| 182 | text smt132 "swaps" |
| 183 | text smt133 "<header class=\"page-intro\"><p class=\"eyebrow\">CUDA++ · open source, Apache-2.0 with the LLVM exception</p><h1>" |
| 184 | text smt134 "<p><a href=\"/omega/\">What Omega is</a> · <a href=\"/cudaplusplus.json\">Complete data record</a>. Dated source and receipt states, not an assertion that every target is qualified.</p></header>" |
| 185 | text smt135 "purpose" |
| 186 | text smt136 "What it is for" |
| 187 | text smt137 "purpose_title" |
| 188 | text smt138 "purpose_link" |
| 189 | text smt139 "source_note" |
| 190 | text smt140 "audit_link" |
| 191 | text smt141 "path" |
| 192 | text smt142 "The CUDA++ execution path" |
| 193 | text smt143 "<p>From your program to the chip: what runs at each layer. PASS has a receipt; PARTIAL is incomplete; IN PROGRESS carries its ledger id; AS SHIPPED marks the firmware boundary.</p>" |
| 194 | text smt144 "How I built the path" |
| 195 | text smt145 "how_lead" |
| 196 | text smt146 "steps" |
| 197 | text smt147 "<article class=\"hub-card panel\"><h3>Source and hardware boundaries</h3>" |
| 198 | text smt148 "did_not" |
| 199 | text smt149 "did_not_box" |
| 200 | text smt150 "</article></section>" |
| 201 | text smt151 "pain-points" |
| 202 | text smt152 "Developer workflow" |
| 203 | text smt153 "<p>Each workflow, its current status and the command that shows it.</p>" |
| 204 | text smt154 "pain_lead" |
| 205 | text smt155 "swap" |
| 206 | text smt156 "Installation and rollback" |
| 207 | text smt157 "swap_lead" |
| 208 | text smt158 "crates/site-builder/data/machines.json" |
| 209 | text smt159 "real-machines" |
| 210 | text smt160 "The bodies of one machine" |
| 211 | text smt161 "machines" |
| 212 | text smt162 "Five machines, one project" |
| 213 | text smt163 "<p>A DGX Spark, an Intel iMac, a Raspberry Pi 5, QEMU and a Windows PC target. QEMU is an emulator, not a physical body. AienOS is the operating-system project; aienux is its kernel. These are dated inventory observations, not live telemetry.</p><p>Inventory as of " |
| 214 | text smt164 "as_of" |
| 215 | text smt165 ". Each card states its environment, evidence date, branch and limitations.</p><div class=\"dashboard-grid\">" |
| 216 | text smt166 "<div id=\"machine-" |
| 217 | text smt167 "</div><p><a href=\"/classic/#speed\">The speeds measured on them, with receipts</a> · <a href=\"/machines.json\">The inventory data</a></p></section>" |
| 218 | text smt168 "speed" |
| 219 | text smt169 "Speed, with receipts" |
| 220 | text smt170 "<p>Recorded model and engine runs, not a claim about the server answering today. Every row measured a Qwen model. The Qwen models were retired on 2026-11-06 and none of them is served now, so these numbers are dated history. Numbers for the Omega LLM, my own model, will join them as its receipts land. Each row preserves its date, environment, previous run, ceiling, branch, verdict and exclusions. A faster candidate that fails its gate remains a failure.</p>" |
| 221 | text smt171 "judging" |
| 222 | text smt172 "<div class=\"stack\">" |
| 223 | text smt173 "speeds" |
| 224 | text smt174 "<div id=\"speed-" |
| 225 | text smt175 "</div><h3>Physical ceilings: modeled, not measured</h3>" |
| 226 | text smt176 "ceilings" |
| 227 | text smt177 "crates/site-builder/data/research_status.json" |
| 228 | text smt178 "turing_rows" |
| 229 | text smt179 "implementation_rows" |
| 230 | text smt180 "crates/site-builder/data/machine-pages.json" |
| 231 | text smt181 "machine_sections" |
| 232 | text smt182 "<section class=\"section prose\" id=\"" |
| 233 | text smt183 "paragraphs" |
| 234 | text smt184 "links" |
| 235 | text smt185 "loop" |
| 236 | text smt186 "loop_steps" |
| 237 | text smt187 "<p><a href=\"/classic/#loop-title\">See the loop diagram in the classic dashboard.</a></p>" |
| 238 | text smt188 "turing" |
| 239 | text smt189 "<pre><code>" |
| 240 | text smrsemb0 "<div class=\"rs-embed\">" |
| 241 | text smrsemb1 "<p class=\"rs-embed-link\"><a href=\"/research/status/\">Every experiment, its receipt and its limits</a></p></div>" |
| 242 | text smroot0 "<div id=\"root\">" |
| 243 | text smroot1 "</div>" |
| 244 | note Home notice slot; stays empty (the grievance block is removed, see chrome.om scwar). |
| 245 | text smwar "" |
| 246 | text smt190 "formula" |
| 247 | text smt191 "</code></pre>" |
| 248 | text smt192 "The Machine" |
| 249 | text smt193 "Turning search into verified understanding" |
| 250 | text smt194 "mission" |
| 251 | text smt195 "slogan" |
| 252 | text smt196 "<p>Suggestions and explanations have different epistemic roles. Neural systems generate hypotheses. Explicit artifacts suit inspection and verification. Physical execution provides contact with reality, measurement determines gain, and evidence provides continuity.</p>" |
| 253 | text smt197 "quantities" |
| 254 | text smt198 "TY-2" |
| 255 | text smt199 "TURING-YIELD-TJ" |
| 256 | text smt200 "ENERGY-ATTRIBUTION" |
| 257 | text smt201 "GENERAL-DISCOVERY" |
| 258 | text smt202 "cortex" |
| 259 | text smt203 "research-ladder" |
| 260 | text smt204 "self-improvement" |
| 261 | text smt205 "connections" |
| 262 | text smt206 "CEGIS" |
| 263 | text smt207 "Bayesian cost prediction (belief/estimation)" |
| 264 | text smt208 "EXP-003" |
| 265 | text smt209 "Equality saturation" |
| 266 | text smt210 "nature" |
| 267 | text smt211 "top" |
| 268 | text smt212 "thesis" |
| 269 | text smt213 "<figure class=\"panel\"><h2 id=\"loop-title\">The loop</h2><p>Proposals travel the generation path, meet reality, and are scored. The evidence that survives starts the next search. A perimeter of authority, observation and receipts surrounds the whole loop.</p><p>Generation path · Evidence feedback · Verification and authority perimeter</p><p>Perimeter: around the loop, never a stage</p><ul><li>AEGIS: authority + proof boundaries</li><li>ARGUS: observation / audit</li></ul><ol class=\"loop-stages\">" |
| 270 | text smt214 "<li><strong>" |
| 271 | text smt215 "</strong><p>" |
| 272 | text smt216 "role" |
| 273 | text smt217 "</p></li>" |
| 274 | text smt218 "</ol><p>Back to the <strong>next Aien / Omega search</strong>: CORTEX evidence feeds the next round.</p><ul><li>Capability system: controls what may happen</li><li>Evidence receipts: make outcomes reproducible</li></ul><figcaption>ATLAS, AienOS, Aien, OMEGA, FORGE, REALITY, TURING and CORTEX are the stages. AEGIS, ARGUS, the capability system and evidence receipts form the perimeter around them. <a href=\"/omega/\">What Omega is</a>, in plain words, and its GPU half, <a href=\"/cudaplusplus/\">CUDA++</a>.</figcaption></figure><h2>Three questions under the loop</h2><h3>Did it learn anything?</h3><p>Turing gain: net explanatory structure that survives held-out reality.</p>" |
| 275 | text smt219 "<h3>What did it cost to learn?</h3><p>Turing yield: verified explanatory gain per measured physical resource.</p>" |
| 276 | text smt220 "<h3>Did what it learned make future discovery easier?</h3><p>Search / verification gap: whether acquired abstraction would collapse future search complexity. An open question I want to study. Nothing here is measured yet.</p><p><a href=\"/start/\">Start here</a> · <a href=\"/machine/\">The Machine</a> · <a href=\"/discovery/\">Scientific Discovery</a> · <a href=\"#receipts\">See the evidence</a> · <a href=\"#architecture\">Explore the architecture</a> · <a href=\"https://interplane.io/explore\">Interplane</a></p><ul><li>C kernel boots via UEFI: see the dated receipts.</li><li>Every claim carries a receipt.</li><li>Failures published, not hidden.</li></ul></section>" |
| 277 | text smt221 "architecture" |
| 278 | text smt222 "How it fits together" |
| 279 | text smt223 "<p>Hardware is treated as capability metadata, never as identity. The identity is the lineage: who wakes the machine, what keeps it alive, what checks its work, and what learns from the results.</p><p>These are responsibilities, not a literal turn order. AEGIS, FORGE, ARGUS and CORTEX serve the system by verifying, realizing, observing and remembering. Nothing receives authority merely by advancing through a diagram.</p>" |
| 280 | text smt224 "roles" |
| 281 | text smt225 "<p><a href=\"https://interplane.io/drakestapleton/sovereign-intelligence\">Sovereign Intelligence stack map</a> · AienOS project · <a href=\"https://interplane.io/drakestapleton/aienux\">aienux kernel</a></p></section>" |
| 282 | text smt226 "facts.json" |
| 283 | text smt227 "live" |
| 284 | text smt228 "The components, as of the public-record snapshot" |
| 285 | text smt229 "<p>Facts gathered at " |
| 286 | text smt230 "generated_at" |
| 287 | text smt231 ". This is the checked-in public record read at build time, not live telemetry. Repository activity does not establish hardware qualification.</p>" |
| 288 | text smt232 "components" |
| 289 | text smt233 "<aside id=\"receipt\" class=\"panel\" aria-label=\"Latest recorded verification receipt\"><h3>AIEN VERIFICATION</h3>" |
| 290 | text smt234 "state" |
| 291 | text smt235 "<p class=\"badge\">" |
| 292 | text smt236 "success" |
| 293 | text smt237 "failure" |
| 294 | text smt238 "error" |
| 295 | text smt239 "FAIL" |
| 296 | text smt240 "pending" |
| 297 | text smt241 "PENDING" |
| 298 | text smt242 "NO RECEIPT YET" |
| 299 | text smt243 "<a class=\"box-link source-link\" href=\"https://interplane.io/drakestapleton/" |
| 300 | text smt244 "repo" |
| 301 | text smt245 "/commit/" |
| 302 | text smt246 "sha" |
| 303 | text smt247 "\">Judged commit on the forge</a>" |
| 304 | text smt247b "</aside><h3>Newest decision records in this snapshot</h3>" |
| 305 | text smt248 "decisions" |
| 306 | text smt249 "<p><a href=\"https://interplane.io/drakestapleton/aien-architecture-mv/tree/main/docs/adr\">All decision records</a> · <a href=\"/facts.json\">facts.json</a></p></section>" |
| 307 | text smt250 "crates/site-builder/data/status.json" |
| 308 | text smt251 "Recorded project state" |
| 309 | text smt252 "<p>The canonical layer record was updated " |
| 310 | text smt253 "updated" |
| 311 | text smt254 ". These dated states preserve their original evidence scope; they are not an assertion that a past release or implementation note describes the current checkout. For the current product, use <a href=\"/alpha/\">the Alpha release page</a> and <a href=\"https://interplane.io/drakestapleton/sovereign-intelligence/releases\">the release record</a>. <a href=\"/status.json\">status.json</a> and <a href=\"/llms.txt\">llms.txt</a> use this same canonical record.</p>" |
| 312 | text smt255 "story" |
| 313 | text smt256 "A machine and a persistent record" |
| 314 | text smt257 "<p>I am building a machine for persistent intelligence on hardware I own, with memory, identity, and a record of checks.</p><p>AienOS is the operating-system layer inside Sovereign Intelligence. The work spans the instructions after firmware, the runtime, and the learning loop. Its source and receipts show what has run and what remains open. The hardware underneath is capability, not identity: machines can be replaced, and the lineage persists.</p><p>I also built a seed-born compiler for Omega. <a href=\"/omega/#seed-birth\">Read how it was made, step by step</a>: explicit instruction words, a 408-byte seed, translator stages and a compiler written in its own language. The walkthrough links the source, reproducible checks and host dependencies. The legacy C/Rust migration is not finished.</p></section>" |
| 315 | text smt258 "terminal" |
| 316 | text smt259 "The syscall interface, simulated" |
| 317 | text smt260 "<p class=\"badge\">INTERACTIVE SIMULATION</p><p>A simulation that runs entirely in your browser. No live machine is attached to this page, and nothing you type leaves it. It shows the shape of the interface the real machine speaks. The real machine's proof is in the evidence section, receipts and all.</p><div class=\"terminal-shell panel\"><p>AienOS REPL v0.4.0 (sm_121a · aarch64 · 128GB LPDDR5x) · COHERENT_ACTIVE</p><div class=\"cluster\"><button type=\"button\" data-cmd=\"sys_telemetry\">sys_telemetry</button><button type=\"button\" data-cmd=\"sys_alloc_kv\">sys_alloc_kv</button><button type=\"button\" data-cmd=\"sys_vault\">sys_vault</button><button type=\"button\" id=\"terminal-clear-btn\">[clear]</button></div><div id=\"terminal-output\" role=\"log\"><p class=\"terminal-log-line sys\">[*] AienOS Neural Kernel v0.4.0 initialized on GB10 (aarch64).</p><p class=\"terminal-log-line sys\">[*] Unified coherent address space: 128 GB LPDDR5x online.</p><p class=\"terminal-log-line sys\">[*] Capability vault sealed. Zero disk secrets invariant active.</p><p class=\"terminal-log-line sys\">[*] Type a syscall below or click one of the quick trigger buttons above.</p></div><form id=\"terminal-form\"><label for=\"terminal-input\">Simulated syscall</label><input id=\"terminal-input\" type=\"text\" placeholder=\"sys_telemetry, sys_alloc_kv, sys_vault, help\" autocomplete=\"off\"><button type=\"submit\">RUN</button></form></div></section><script defer src=\"/js/terminal.js\"></script>" |
| 318 | text smt261 "follow" |
| 319 | text smt262 "Follow the work." |
| 320 | text smt263 "<p>Watch the repositories, read the receipts, open an issue. Release artifacts and installation instructions are on <a href=\"/alpha/\">the Alpha page</a>; source, qualification and deployment are separate states.</p><p>Learning to code with AI? You are welcome here. <a href=\"/learn/\">Start with a practical working method</a>, then <a href=\"/hive/\">watch my agents and me in Hive</a>: the instructions, the models, the corrections, and the work as it happens.</p><div class=\"cluster\"><a href=\"https://interplane.io/explore\">GitHub: aien-dev</a><a href=\"https://interplane.io/drakestapleton/aien-sovereign-core-mv\">Aien core tree</a><a href=\"/now/\">Now: what is being done today</a><a href=\"/progress/\">Project progress</a></div><p id=\"follow-reach\">Want to reach me? <a href=\"https://x.com/drakestapleton\">Follow me on X, @drakestapleton</a>, email <a href=\"mailto:drake@aienos.com\">drake@aienos.com</a>, or read <a href=\"/contact/\">where I am and how to reach me</a>.</p><p>Machine-readable: <a href=\"/status.json\">status.json</a> · <a href=\"/facts.json\">facts.json</a> · <a href=\"/llms.txt\">llms.txt</a></p><a class=\"box-link source-link\" href=\"https://interplane.io/explore\">The public repositories</a></section>" |
| 321 | text smt264 "Sovereign Intelligence™" |
| 322 | text smt265 "Sovereign Intelligence, built on AienOS. My work toward persistent intelligence that belongs to the person running it, from the language to the machine." |
| 323 | text smt266 "<div class=\"cluster\"><a class=\"button\" href=\"/alpha/\">Install / explore Alpha</a><a class=\"button button-secondary\" href=\"https://interplane.io/drakestapleton/sovereign-intelligence/releases\">Releases and signatures</a><a href=\"https://x.com/drakestapleton\">Follow me on X</a></div><section class=\"section dashboard-grid\" aria-label=\"Explore the owned stack\"><article class=\"hub-card panel\"><h2>Your starting point</h2><p>Sovereign Intelligence (SI) is the product and stack index. Alpha is experimental, not a promise that every machine or feature is qualified. Read the release's exact scope before running it.</p><a href=\"/alpha/\">Installer, source and release evidence</a><a class=\"box-link\" href=\"https://interplane.io/drakestapleton/sovereign-intelligence\">SI source and stack map</a></article><article class=\"hub-card panel\"><h2>The system and its kernel</h2><p>AienOS keeps its own identity. aienux is the kernel, not a new name for the whole system.</p><a href=\"/machine/\">Hardware, evidence and the closed loop</a><a class=\"box-link\" href=\"https://interplane.io/drakestapleton/aienux\">aienux kernel</a></article><article class=\"hub-card panel\"><h2>The language and the GPU</h2><p>Omega makes programs explicit. CUDA++ is its GPU half. The implementation, remaining dependencies and receipts are inspectable.</p><a href=\"/omega/\">Omega</a> · <a href=\"/cudaplusplus/\">CUDA++</a><a class=\"box-link\" href=\"https://interplane.io/drakestapleton/omega-mv\">Omega source</a></article><article class=\"hub-card panel\"><h2>Learn, discover, meet Aien</h2><p>I share the working methods, the mistakes and the evidence so that people learning to build with AI can start from real work.</p><a href=\"/learn/\">Learn</a> · <a href=\"/discoveries/\">Discoveries</a> · <a href=\"/aien/\">Aien</a><a class=\"box-link\" href=\"https://interplane.io/drakestapleton/aienos.com/tree/main/om/allen-page\">Aien source</a></article></section>" |
| 324 | text smt267 "<details class=\"section\"><summary>The design, machines and full evidence record</summary>" |
| 325 | text smt268 "</details>" |
| 326 | text smt269 "/machine/" |
| 327 | text smt270 "/omega/" |
| 328 | text smt271 "/cudaplusplus/" |
| 329 | text smt272 "/progress/" |
| 330 | text smt273 "public/data/project-progress.json" |
| 331 | text smt274 "summary" |
| 332 | text smt275 "<div id=\"aien-growth-observatory\">\n\n\n <div class=\"ag-mast\">\n <div>\n\n <h1>Project progress</h1>\n <p id=\"ag-scope\" class=\"ag-scope\">Measured history across the public Aien repositories</p>\n <p class=\"ag-caption text-small\">Read from retained Git history, pull requests and available CI records. This page measures footprint and activity. It does not rerun the reported experiments or qualify hardware. The evidence cards below link to the experiments they summarize, and the full scope is stated under \"Scope, counting rules and pinned sources\".</p>\n </div>\n <div class=\"ag-refresh\"><span id=\"ag-freshness\">Loading snapshot</span><button id=\"ag-refresh\" type=\"button\">Check for updates</button><span class=\"text-small\">Updated with reviewed releases</span></div></div><div class=\"ag-stats\" aria-live=\"polite\">\n <div class=\"ag-stat\"><span class=\"text-small text-muted\">Measured source lines</span><div><h2 id=\"ag-lines\" class=\"tabular-nums\">" |
| 333 | text smt276 "loc" |
| 334 | text smt277 "</h2><span id=\"ag-line-context\" class=\"ag-stat-context text-small text-muted\"></span></div></div>\n <div class=\"ag-stat\"><span class=\"text-small text-muted\">Unique recorded revisions</span><div><h2 id=\"ag-revisions\" class=\"tabular-nums\">" |
| 335 | text smt278 "commits" |
| 336 | text smt279 "</h2><span id=\"ag-rev-context\" class=\"ag-stat-context text-small text-muted\"></span></div></div>\n <div class=\"ag-stat\"><span class=\"text-small text-muted\">Available CI runs</span><div><h2 id=\"ag-ci\" class=\"tabular-nums\">" |
| 337 | text smt280 "ci" |
| 338 | text smt281 "</h2><span id=\"ag-ci-context\" class=\"ag-stat-context text-small text-muted\"></span></div></div>\n </div>\n <div class=\"ag-nav\">\n <div class=\"ag-date\"><label class=\"form-label\" for=\"ag-date-slider\">Daily snapshot <span id=\"ag-selected-date\" class=\"tabular-nums\"></span></label><span class=\"text-small text-muted\">Chicago time · latest day is partial</span></div>\n <input id=\"ag-date-slider\" type=\"range\" class=\"form-range\" min=\"0\" max=\"49\" value=\"49\" aria-label=\"Explore daily project snapshots\">\n </div>\n <div class=\"ag-section-head\"><h2>Codebase growth</h2><span class=\"text-small text-muted\">Physical lines, including blanks and comments</span></div>\n <div id=\"ag-code-legend\" class=\"ag-legends\"></div>\n <div id=\"ag-code\" class=\"ag-plot\"></div>\n <p class=\"ag-caption text-small\">August is retained site history. September 19 is the runtime's first recorded release; its initial import already contains substantial code.</p>\n\n <div class=\"ag-pair\">\n <section><h3>Revisions and review</h3><div id=\"ag-revision-legend\" class=\"ag-legends\"></div><div id=\"ag-revision\" class=\"ag-plot\"></div></section>\n <section><h3>Verification activity</h3><div class=\"ag-legends text-small\"><span>GitHub Actions workflow runs</span></div><div id=\"ag-ci-plot\" class=\"ag-plot\"></div></section>\n </div>\n <div class=\"ag-pair\">\n <section><h3>The test footprint</h3><div class=\"ag-legends text-small\"><span id=\"ag-test-summary\"></span></div><div id=\"ag-tests\" class=\"ag-plot\"></div><p class=\"ag-caption text-small\">Named test files, deduplicated by contents. Inline tests remain in the general source count.</p></section>\n <section><h3>The language shift</h3><div id=\"ag-lang-legend\" class=\"ag-legends\"></div><div id=\"ag-languages\" class=\"ag-plot\"></div><p class=\"ag-caption text-small\">C includes headers and .inc files; other languages include shell, assembly, web, Mojo, Python and CUDA.</p></section>\n </div>\n\n <section class=\"ag-section\">\n <div class=\"ag-section-head\"><h2>Evidence at different scales</h2><span class=\"text-small text-muted\">Selected reported experiments · candidate-specific</span></div>\n <div class=\"ag-evidence\">\n <div><span class=\"text-small text-muted\">Physical GB10 · SQRT</span><h3 class=\"tabular-nums\">4,294,967,296 inputs</h3><p class=\"text-small\">Exhaustive FP32 comparison · 0 mismatches</p><a class=\"text-small\" href=\"https://interplane.io/drakestapleton/omega-mv/patches\" target=\"_blank\" rel=\"noopener noreferrer\">Omega #141</a></div>\n <div><span class=\"text-small text-muted\">Host · OSC-3 handles</span><h3 class=\"tabular-nums\">4,896 fuzz executions</h3><p class=\"text-small\">Interpreter/native comparison · 0 mismatches</p><a class=\"text-small\" href=\"https://interplane.io/drakestapleton/omega-mv/patches\" target=\"_blank\" rel=\"noopener noreferrer\">Omega #166</a></div>\n <div><span class=\"text-small text-muted\">Host · R16 inventory repair</span><h3 class=\"tabular-nums\">329 loop sites classified</h3><p class=\"text-small\">0 unclassified · silicon reruns NOT_RUN</p><a class=\"text-small\" href=\"https://interplane.io/drakestapleton/omega-mv/patches\" target=\"_blank\" rel=\"noopener noreferrer\">Omega #172</a></div>\n </div>\n </section>\n <section class=\"ag-section\"><div class=\"ag-section-head\"><h2>Recent repository activity</h2><span class=\"text-small text-muted\">Merged and open pull requests</span></div><div id=\"ag-activity\" class=\"ag-events\"></div></section>\n <section class=\"ag-section\">\n <div class=\"ag-section-head\"><h2>From runtime to computing stack</h2><span class=\"text-small text-muted\">Historical milestones · select for evidence</span></div>\n <div id=\"ag-events\" class=\"ag-events\"></div>\n </section>\n\n <section class=\"ag-section\">\n <div class=\"ag-section-head\"><h2>The repositories behind the growth</h2><span class=\"text-small text-muted\">Current pinned heads · source and test lines</span></div>\n <div class=\"ag-legends text-small\"><span><i class=\"ag-swatch\" style=\"background:var(--viz-series-1)\"></i> General source</span><span><i class=\"ag-swatch\" style=\"background:var(--viz-series-2)\"></i> Test-path source</span><span><span id=\"ag-repo-counts\"></span></span></div>\n <div class=\"table-responsive\"><table class=\"table table-sm\" aria-label=\"Repository code and revision breakdown\"><thead><tr><th>Repository</th><th class=\"text-end\">Source lines</th><th class=\"text-end\">Revisions</th><th class=\"text-end\">PRs</th><th class=\"text-end\">CI runs</th></tr></thead><tbody id=\"ag-repos\"></tbody></table></div>\n <p class=\"ag-caption text-small\">Rows count each repository independently. The project total deduplicates exact matching file contents across repositories, so rows do not sum to the headline.</p>\n </section>\n\n <details class=\"ag-methods\">\n <summary class=\"cursor-interaction\">Scope, counting rules and pinned sources</summary>\n <p id=\"ag-asof\" class=\"text-small\"></p>\n <p class=\"text-small\">Scope: the original 29 public Aien repositories, including archived precursors, experimental projects, documentation and project websites; newly discovered public Aien, Spark, Omega, Atlas, Physics and related named repositories are added automatically. Forks are excluded. Private repositories, unrelated private applications, unmerged branches, deleted history and work before the retained imports are excluded.</p>\n <p class=\"text-small\">Lines: physical source lines, including blanks and comments, in Rust, C/headers/.inc, C++, Mojo, assembly, shell, Python, web, CUDA and Zig files. Evidence, receipts, data, fixture directories, generated/build/vendor trees and symlinks are excluded. Exact matching blobs are counted once per daily snapshot. Similar migrated copies can remain. Test classification follows file-path names; embedded tests are not separated. This is repository footprint, not original authored SLOC.</p>\n <p class=\"text-small\">Revisions: distinct commit SHAs reachable from the pinned default branches, including merges. Snapshots use the latest first-parent state at each Chicago day end. Pull requests include all states; merged counts use the merge date. CI counts use available GitHub Actions records, deduplicated by run URL and limited to the measurement cutoff. Deleted CI records cannot be reconstructed; a run is a workflow execution, not an individual test case.</p>\n <p class=\"text-small\">Charts connect daily observations. Hover values between observations are interpolated; the date scrubber and headline counts use exact daily snapshots. The latest day ends at the measurement cutoff. The data is republished only with a reviewed release of this site; nothing collects it on a schedule. This page checks for published data every five minutes. An unsuccessful collection leaves the previous deployment intact.</p>\n <p class=\"text-small\">There is no comparable project-wide count of individual executed tests: assertions, input sweeps, fuzz iterations and qualification gates measure different things. Reported evidence above is linked to its PR and applies to its candidate. These measurements inspect Git history and GitHub records; they do not rerun the reported runtime experiments or observe hardware. code growth and CI activity do not establish full-system qualification.</p>\n <p id=\"ag-secondary-counts\" class=\"text-small\"></p>\n <div id=\"ag-pins\" class=\"ag-pins text-small\"></div>\n </details>\n <div id=\"ag-tooltip\" class=\"ag-tooltip tooltip\" role=\"tooltip\"></div>\n\n\n\n<noscript><p>Enable JavaScript to explore the charts. <a href=\"/data/project-progress.json\">Read the measured dataset</a>.</p></noscript></div>" |
| 339 | text smt282 "<details class=\"section\"><summary>Read the complete retained data without charts</summary>" |
| 340 | text smt283 "</details><link rel=\"stylesheet\" href=\"/assets/progress.css\"><script defer src=\"/vendor/d3-7.9.0.min.js\"></script><script defer src=\"/js/project-progress.js\"></script>" |
| 341 | text smt284 "–" |
| 342 | text smt285 "—" |
| 343 | text smt286 "source|claim|claim_rest|true_today|not_true_yet|seed_birth|parts|below|layers|receipt|not_yet|bar|beyond|performance" |
| 344 | text smt287 "doc|branch|commit|checked|ledger|issue" |
| 345 | text smt288 "doc" |
| 346 | text smt289 "o:docs/OMEGA.md" |
| 347 | text smt290 "name|what|links|box" |
| 348 | text smt291 "cuda|job|omega|status|note|links|box" |
| 349 | text smt292 "title|taken|what|facts|box" |
| 350 | text smt293 "title|text|links|box" |
| 351 | text smt294 "id|title|done_when|status|now|?receipt|links" |
| 352 | text smt295 "C1|C2|C3|C4|C5|C6" |
| 353 | text smt296 "stand|how|links|box|rule|bar" |
| 354 | text smt297 "P0|P1|P2|P3|P4" |
| 355 | text smt298 "source|claim|claim_rest|purpose_title|purpose|purpose_link|source_note|audit_link|hops|how_lead|steps|did_not|did_not_box|pain_lead|pains|swap_lead|swaps" |
| 356 | text smt299 "repo|readme|how|how_branch|how_commit|main_commit|omega_doc|omega_branch|omega_commit|checked|ledger|visibility|owner_ledger" |
| 357 | text smt300 "visibility" |
| 358 | text smt301 "private" |
| 359 | text smt302 "public" |
| 360 | text smt303 "step|cuda|ours|status|note|?ledger|links|box" |
| 361 | text smt304 "title|text|status|?ledger|?command|?receipt|links|box" |
| 362 | text smt305 "C1" |
| 363 | text smt306 " id=\"c1\"" |
| 364 | text smt307 "C2" |
| 365 | text smt308 " id=\"c2\"" |
| 366 | text smt309 "C3" |
| 367 | text smt310 " id=\"c3\"" |
| 368 | text smt311 "C4" |
| 369 | text smt312 " id=\"c4\"" |
| 370 | text smt313 "C5" |
| 371 | text smt314 " id=\"c5\"" |
| 372 | text smt315 "C6" |
| 373 | text smt316 " id=\"c6\"" |
| 374 | text smt317 "P0" |
| 375 | text smt318 " id=\"p0\"" |
| 376 | text smt319 "P1" |
| 377 | text smt320 " id=\"p1\"" |
| 378 | text smt321 "P2" |
| 379 | text smt322 " id=\"p2\"" |
| 380 | text smt323 "P3" |
| 381 | text smt324 " id=\"p3\"" |
| 382 | text smt325 "P4" |
| 383 | text smt326 " id=\"p4\"" |
| 384 | note omega.rs expand(): c@: an aien-sovereign-core file at a commit, c/: a folder at a commit. |
| 385 | text smt327 "c@:" |
| 386 | text smt328 "https://interplane.io/drakestapleton/aien-sovereign-core-mv/blob/" |
| 387 | text smt329 "c/:" |
| 388 | text smt330 "https://interplane.io/drakestapleton/aien-sovereign-core-mv/tree/" |
| 389 | note cudaplusplus.rs linked_note(): https:// spans become external links. |
| 390 | text smt331 "<a href=\"" |
| 391 | text smt332 "\" target=\"_blank\" rel=\"noopener noreferrer\">" |
| 392 | text smt333 "</a>" |
| 393 | |
| 394 | note Machine dashboard renderers. Composition supplies om2 and shared runtime/JSON/chrome. |
| 395 | note Data is loaded at render time. Historical observations retain their dates and limitations. |
| 396 | fn sm_need obj ulong key view uchar * to ulong |
| 397 | nd = sj_find obj key |
| 398 | if eq nd 0 |
| 399 | sr_flush |
| 400 | sr_diag key |
| 401 | exit 65 |
| 402 | end |
| 403 | ret nd |
| 404 | end |
| 405 | |
| 406 | fn sm_field obj ulong key view uchar * to void |
| 407 | sj_emit sm_need obj key |
| 408 | end |
| 409 | |
| 410 | fn sm_prefix nd ulong pre view uchar * base view uchar * to bool |
| 411 | if sj_prefix nd pre |
| 412 | sr_raw base |
| 413 | sj_slice nd len pre |
| 414 | ret true |
| 415 | end |
| 416 | ret false |
| 417 | end |
| 418 | |
| 419 | fn sm_url nd ulong to void |
| 420 | if ne sj_kind nd 3 |
| 421 | exit 65 |
| 422 | end |
| 423 | sz = sj_size nd |
| 424 | if eq sz 0 |
| 425 | exit 65 |
| 426 | end |
| 427 | for ix ulong sz |
| 428 | by = sj_byte nd ix |
| 429 | if or le by 32 eq by 92 |
| 430 | exit 65 |
| 431 | end |
| 432 | if eq by 46 |
| 433 | if lt add ix 1 sz |
| 434 | if eq sj_byte nd add ix 1 46 |
| 435 | exit 65 |
| 436 | end |
| 437 | end |
| 438 | end |
| 439 | end |
| 440 | if sj_prefix nd smt0 |
| 441 | sj_href nd |
| 442 | ret |
| 443 | end |
| 444 | if sj_prefix nd smt1 |
| 445 | if sj_prefix nd smt2 |
| 446 | exit 65 |
| 447 | end |
| 448 | sj_href nd |
| 449 | ret |
| 450 | end |
| 451 | if sj_prefix nd smt3 |
| 452 | sj_href nd |
| 453 | ret |
| 454 | end |
| 455 | if sm_prefix nd smt4 smt5 |
| 456 | ret |
| 457 | end |
| 458 | if sm_prefix nd smt6 smt7 |
| 459 | ret |
| 460 | end |
| 461 | if sm_prefix nd smt8 smt9 |
| 462 | ret |
| 463 | end |
| 464 | if sm_prefix nd smt10 smt11 |
| 465 | ret |
| 466 | end |
| 467 | if sm_prefix nd smt327 smt328 |
| 468 | ret |
| 469 | end |
| 470 | if sm_prefix nd smt329 smt330 |
| 471 | ret |
| 472 | end |
| 473 | if sm_prefix nd smt12 smt13 |
| 474 | ret |
| 475 | end |
| 476 | if sm_prefix nd smt14 smt15 |
| 477 | ret |
| 478 | end |
| 479 | if sm_prefix nd smt16 smt17 |
| 480 | ret |
| 481 | end |
| 482 | if sm_prefix nd smt20 smt21 |
| 483 | ret |
| 484 | end |
| 485 | if sj_prefix nd smt22 |
| 486 | sm_pinned nd 4 |
| 487 | end |
| 488 | if sm_prefix nd smt22 smt23 |
| 489 | ret |
| 490 | end |
| 491 | if sm_prefix nd smt24 smt25 |
| 492 | ret |
| 493 | end |
| 494 | if sj_prefix nd smt26 |
| 495 | sm_pinned nd 4 |
| 496 | end |
| 497 | if sm_prefix nd smt26 smt27 |
| 498 | ret |
| 499 | end |
| 500 | if sj_prefix nd smt28 |
| 501 | sm_pinned nd 4 |
| 502 | end |
| 503 | if sm_prefix nd smt28 smt29 |
| 504 | ret |
| 505 | end |
| 506 | if sj_prefix nd smt30 |
| 507 | sm_pinned nd 5 |
| 508 | end |
| 509 | if sm_prefix nd smt30 smt31 |
| 510 | ret |
| 511 | end |
| 512 | if sm_prefix nd smt32 smt33 |
| 513 | ret |
| 514 | end |
| 515 | exit 65 |
| 516 | end |
| 517 | |
| 518 | fn sm_isurl nd ulong to bool |
| 519 | if eq nd 0 |
| 520 | ret false |
| 521 | end |
| 522 | if ne sj_kind nd 3 |
| 523 | ret false |
| 524 | end |
| 525 | note A link never holds a space or control byte: "/dev/nvidia0, /dev/nvidiactl" is text, not a path. |
| 526 | sz = sj_size nd |
| 527 | for ix ulong sz |
| 528 | if le sj_byte nd ix 32 |
| 529 | ret false |
| 530 | end |
| 531 | end |
| 532 | if or sj_prefix nd smt0 sj_prefix nd smt1 |
| 533 | ret true |
| 534 | end |
| 535 | if or sj_prefix nd smt3 sj_prefix nd smt8 |
| 536 | ret true |
| 537 | end |
| 538 | if or sj_prefix nd smt4 sj_prefix nd smt6 |
| 539 | ret true |
| 540 | end |
| 541 | if or sj_prefix nd smt10 sj_prefix nd smt12 |
| 542 | ret true |
| 543 | end |
| 544 | if or sj_prefix nd smt14 sj_prefix nd smt16 |
| 545 | ret true |
| 546 | end |
| 547 | if sj_prefix nd smt24 |
| 548 | ret true |
| 549 | end |
| 550 | if or sj_prefix nd smt20 sj_prefix nd smt22 |
| 551 | ret true |
| 552 | end |
| 553 | if or sj_prefix nd smt26 sj_prefix nd smt28 |
| 554 | ret true |
| 555 | end |
| 556 | if or sj_prefix nd smt327 sj_prefix nd smt329 |
| 557 | ret true |
| 558 | end |
| 559 | ret or sj_prefix nd smt30 sj_prefix nd smt32 |
| 560 | end |
| 561 | |
| 562 | fn sm_anchor nd ulong to void |
| 563 | sr_raw smt34 |
| 564 | sm_url nd |
| 565 | sr_raw smt35 |
| 566 | sj_emit nd |
| 567 | sr_raw smt36 |
| 568 | sm_rad nd |
| 569 | end |
| 570 | |
| 571 | note The receipt text after an anchor: a forge commit/blob/tree URL, or a pinned short form. |
| 572 | fn sm_rad nd ulong to void |
| 573 | if sj_prefix nd smt22 |
| 574 | rd_rcptat nd len smt22 smrcp |
| 575 | ret |
| 576 | end |
| 577 | if sj_prefix nd smt26 |
| 578 | rd_rcptat nd len smt26 smrom |
| 579 | ret |
| 580 | end |
| 581 | if sj_prefix nd smt28 |
| 582 | rd_rcptat nd len smt28 smrax |
| 583 | ret |
| 584 | end |
| 585 | if sj_prefix nd smt30 |
| 586 | rd_rcptat nd len smt30 smrsc |
| 587 | ret |
| 588 | end |
| 589 | if sj_prefix nd smt327 |
| 590 | rd_rcptat nd len smt327 smrsc |
| 591 | ret |
| 592 | end |
| 593 | rd_rcpt nd |
| 594 | end |
| 595 | |
| 596 | note An absent or empty foot opens the data directory; any other https foot must be a forge page. |
| 597 | fn sm_foot nd ulong to void |
| 598 | if ne nd 0 |
| 599 | if eq sj_kind nd 3 |
| 600 | if eq sj_size nd 0 |
| 601 | nd = 0 |
| 602 | end |
| 603 | end |
| 604 | end |
| 605 | sr_raw smt37 |
| 606 | if eq nd 0 |
| 607 | sr_raw smt38 |
| 608 | else |
| 609 | if not sm_isurl nd |
| 610 | exit 65 |
| 611 | end |
| 612 | if or sj_prefix nd smt1 sj_prefix nd smt3 |
| 613 | exit 65 |
| 614 | end |
| 615 | if sj_prefix nd smt0 |
| 616 | if not sj_prefix nd smt39 |
| 617 | exit 65 |
| 618 | end |
| 619 | end |
| 620 | sm_url nd |
| 621 | end |
| 622 | if sm_contains nd smxep |
| 623 | sr_raw smxev |
| 624 | else |
| 625 | sm_srclbl nd |
| 626 | end |
| 627 | if ne nd 0 |
| 628 | sm_rad nd |
| 629 | end |
| 630 | end |
| 631 | |
| 632 | fn sm_srclbl nd ulong to void |
| 633 | sr_raw smt40 |
| 634 | end |
| 635 | |
| 636 | fn sm_value nd ulong to void |
| 637 | kind = sj_kind nd |
| 638 | if eq kind 1 |
| 639 | sm_fields nd 0 |
| 640 | ret |
| 641 | end |
| 642 | if eq kind 2 |
| 643 | sr_raw smt41 |
| 644 | it = sj_first nd |
| 645 | while ne it 0 bound 100000 |
| 646 | sr_raw smt42 |
| 647 | sm_value it |
| 648 | sr_raw smt43 |
| 649 | it = sj_next it |
| 650 | end |
| 651 | sr_raw smt44 |
| 652 | ret |
| 653 | end |
| 654 | if sm_isurl nd |
| 655 | sm_anchor nd |
| 656 | else |
| 657 | sj_emit nd |
| 658 | end |
| 659 | end |
| 660 | |
| 661 | fn sm_fields nd ulong omit ulong to void |
| 662 | sr_raw smt45 |
| 663 | it = sj_first nd |
| 664 | while ne it 0 bound 100000 |
| 665 | if ne it omit |
| 666 | sr_raw smt46 |
| 667 | sm_label nd it |
| 668 | sr_raw smt49 |
| 669 | if or eq it sj_find nd smt50 eq it sj_find nd smk8 |
| 670 | sr_raw smt51 |
| 671 | sj_emit it |
| 672 | sr_raw smt52 |
| 673 | else |
| 674 | if eq it sj_find nd smkid |
| 675 | sr_raw smcode |
| 676 | sj_emit it |
| 677 | sr_raw smcodee |
| 678 | else |
| 679 | if or eq it sj_find nd smk12 eq it sj_find nd smk13 |
| 680 | sm_links it |
| 681 | else |
| 682 | sm_value it |
| 683 | end |
| 684 | end |
| 685 | end |
| 686 | sr_raw smt53 |
| 687 | end |
| 688 | it = sj_next it |
| 689 | end |
| 690 | sr_raw smt54 |
| 691 | end |
| 692 | |
| 693 | fn sm_title nd ulong to ulong |
| 694 | hd = sj_find nd smt55 |
| 695 | if eq hd 0 |
| 696 | hd = sj_find nd smt56 |
| 697 | end |
| 698 | if eq hd 0 |
| 699 | hd = sj_find nd smt57 |
| 700 | end |
| 701 | if eq hd 0 |
| 702 | hd = sj_find nd smt58 |
| 703 | end |
| 704 | if eq hd 0 |
| 705 | hd = sj_find nd smt59 |
| 706 | end |
| 707 | if eq hd 0 |
| 708 | hd = sj_find nd smt60 |
| 709 | end |
| 710 | ret hd |
| 711 | end |
| 712 | |
| 713 | fn sm_card nd ulong to void |
| 714 | sr_raw smt61 |
| 715 | sm_cardid nd |
| 716 | sr_raw smt62 |
| 717 | hd = sm_title nd |
| 718 | if ne hd 0 |
| 719 | sr_raw smt63 |
| 720 | sj_emit hd |
| 721 | sr_raw smt64 |
| 722 | end |
| 723 | sm_fields nd hd |
| 724 | ft = sj_find nd smt65 |
| 725 | if eq ft 0 |
| 726 | ft = sj_find nd smt66 |
| 727 | end |
| 728 | if eq ft 0 |
| 729 | ft = sj_find nd smt67 |
| 730 | end |
| 731 | if eq ft 0 |
| 732 | rc = sj_find nd smt68 |
| 733 | if sm_isurl rc |
| 734 | ft = rc |
| 735 | end |
| 736 | end |
| 737 | sm_foot ft |
| 738 | sr_raw smt69 |
| 739 | end |
| 740 | |
| 741 | fn sm_cards nd ulong to void |
| 742 | if ne sj_kind nd 2 |
| 743 | exit 65 |
| 744 | end |
| 745 | sr_raw smt70 |
| 746 | it = sj_first nd |
| 747 | while ne it 0 bound 100000 |
| 748 | sm_card it |
| 749 | it = sj_next it |
| 750 | end |
| 751 | sr_raw smt71 |
| 752 | end |
| 753 | |
| 754 | fn sm_section ident view uchar * title view uchar * to void |
| 755 | sr_raw smt72 |
| 756 | sr_esc ident |
| 757 | sr_raw smt73 |
| 758 | sr_esc title |
| 759 | sr_raw smt74 |
| 760 | end |
| 761 | |
| 762 | fn sm_intro title view uchar * body view uchar * to void |
| 763 | sr_raw smt75 |
| 764 | sr_esc title |
| 765 | sr_raw smt76 |
| 766 | sr_esc body |
| 767 | sr_raw smt77 |
| 768 | end |
| 769 | |
| 770 | fn sm_par nd ulong to void |
| 771 | sr_raw smt78 |
| 772 | sj_emit nd |
| 773 | sr_raw smt79 |
| 774 | end |
| 775 | |
| 776 | fn sm_urlbyte c uchar to bool |
| 777 | if or or le c 32 eq c 60 or eq c 62 eq c 34 |
| 778 | ret false |
| 779 | end |
| 780 | ret ne c 39 |
| 781 | end |
| 782 | |
| 783 | fn sm_urltrail c uchar to bool |
| 784 | ret or or eq c 46 eq c 44 or or eq c 59 eq c 58 eq c 41 |
| 785 | end |
| 786 | |
| 787 | fn sm_athttps nd ulong ps ulong s view uchar * to bool |
| 788 | if gt add ps len s sj_size nd |
| 789 | ret false |
| 790 | end |
| 791 | for j ulong len s |
| 792 | if ne sj_byte nd add ps j get s j |
| 793 | ret false |
| 794 | end |
| 795 | end |
| 796 | ret true |
| 797 | end |
| 798 | |
| 799 | fn sm_urlend nd ulong ps ulong s view uchar * to ulong |
| 800 | sz = sj_size nd |
| 801 | lo = add ps len s |
| 802 | e = lo |
| 803 | go = true |
| 804 | while go bound 65536 |
| 805 | go = false |
| 806 | if lt e sz |
| 807 | if sm_urlbyte sj_byte nd e |
| 808 | e = add e 1 |
| 809 | go = true |
| 810 | end |
| 811 | end |
| 812 | end |
| 813 | go = true |
| 814 | while go bound 65536 |
| 815 | go = false |
| 816 | if gt e lo |
| 817 | if sm_urltrail sj_byte nd sub e 1 |
| 818 | e = sub e 1 |
| 819 | go = true |
| 820 | end |
| 821 | end |
| 822 | end |
| 823 | ret e |
| 824 | end |
| 825 | |
| 826 | note Only forge URLs in a note become links (with their rad text); any other URL stays plain text. |
| 827 | fn sm_linknote nd ulong to void |
| 828 | sr_raw smt78 |
| 829 | sz = sj_size nd |
| 830 | base = ulong get sjoff nd |
| 831 | i = ulong 0 |
| 832 | s = ulong 0 |
| 833 | while lt i sz bound 65536 |
| 834 | if sm_athttps nd i smt39 |
| 835 | sj_dec_emit add base s sub i s |
| 836 | e = sm_urlend nd i smt0 |
| 837 | sr_raw smt331 |
| 838 | sj_dec_emit add base i sub e i |
| 839 | sr_raw smt332 |
| 840 | sj_dec_emit add base i sub e i |
| 841 | sr_raw smt333 |
| 842 | rd_rcptr add base i sub e i |
| 843 | i = e |
| 844 | s = e |
| 845 | else |
| 846 | i = add i 1 |
| 847 | end |
| 848 | end |
| 849 | sj_dec_emit add base s sub sz s |
| 850 | sr_raw smt79 |
| 851 | end |
| 852 | |
| 853 | fn sm_status_valid st ulong cuda bool to void |
| 854 | if cuda |
| 855 | if or sj_eq st smt80 sj_eq st smt81 |
| 856 | ret |
| 857 | end |
| 858 | if or sj_eq st smt82 sj_eq st smt83 |
| 859 | ret |
| 860 | end |
| 861 | else |
| 862 | if or sj_eq st smt80 sj_eq st smt81 |
| 863 | ret |
| 864 | end |
| 865 | if or sj_eq st smt84 sj_eq st smt85 |
| 866 | ret |
| 867 | end |
| 868 | end |
| 869 | exit 65 |
| 870 | end |
| 871 | |
| 872 | fn sm_contains nd ulong word view uchar * to bool |
| 873 | if eq nd 0 |
| 874 | ret false |
| 875 | end |
| 876 | if ne sj_kind nd 3 |
| 877 | ret false |
| 878 | end |
| 879 | sz = sj_size nd |
| 880 | if lt sz len word |
| 881 | ret false |
| 882 | end |
| 883 | for ix ulong add sub sz len word 1 |
| 884 | match = true |
| 885 | for jx ulong len word |
| 886 | if ne sj_byte nd add ix jx get word jx |
| 887 | match = false |
| 888 | end |
| 889 | end |
| 890 | if match |
| 891 | ret true |
| 892 | end |
| 893 | end |
| 894 | ret false |
| 895 | end |
| 896 | |
| 897 | fn sm_checkrows nd ulong cuda bool hops bool to void |
| 898 | it = sj_first nd |
| 899 | while ne it 0 bound 100000 |
| 900 | st = sm_need it smt50 |
| 901 | sm_status_valid st cuda |
| 902 | if cuda |
| 903 | if sj_eq st smt82 |
| 904 | lg = sm_need it smt86 |
| 905 | if not sj_prefix lg smt87 |
| 906 | exit 65 |
| 907 | end |
| 908 | if lt sj_size lg 2 |
| 909 | exit 65 |
| 910 | end |
| 911 | for ix ulong sub sj_size lg 1 |
| 912 | by = sj_byte lg add ix 1 |
| 913 | if or lt by 48 gt by 57 |
| 914 | exit 65 |
| 915 | end |
| 916 | end |
| 917 | end |
| 918 | if not hops |
| 919 | if or sj_eq st smt83 sj_eq st smt81 |
| 920 | exit 65 |
| 921 | end |
| 922 | end |
| 923 | end |
| 924 | rc = sj_find it smt68 |
| 925 | if hops |
| 926 | rc = sm_need it smt65 |
| 927 | end |
| 928 | if sj_eq st smt80 |
| 929 | if not sm_contains rc smt88 |
| 930 | exit 65 |
| 931 | end |
| 932 | if and cuda not hops |
| 933 | cmd = sm_need it smt89 |
| 934 | if eq sj_kind cmd 7 |
| 935 | exit 65 |
| 936 | end |
| 937 | end |
| 938 | else |
| 939 | if not cuda |
| 940 | if ne rc 0 |
| 941 | if ne sj_kind rc 7 |
| 942 | exit 65 |
| 943 | end |
| 944 | end |
| 945 | end |
| 946 | end |
| 947 | it = sj_next it |
| 948 | end |
| 949 | end |
| 950 | |
| 951 | note The seed-birth walkthrough (L497/L500): stages pinned to an omega-mv commit, each with its source box. |
| 952 | text smsb0 "seed_birth" |
| 953 | text smsb1 "seed-birth" |
| 954 | text smsb2 "How I made the language, from instruction words to a compiler written in Omega" |
| 955 | text smsb3 "text" |
| 956 | text smsb4 "steps" |
| 957 | text smsb5 "limits" |
| 958 | text smsb6 "text|steps|limits|links" |
| 959 | text smsb7 "name|what|box" |
| 960 | fn sm_pars nd ulong to void |
| 961 | if ne sj_kind nd 2 |
| 962 | exit 65 |
| 963 | end |
| 964 | it = sj_first nd |
| 965 | while ne it 0 bound 100000 |
| 966 | sm_par it |
| 967 | it = sj_next it |
| 968 | end |
| 969 | end |
| 970 | |
| 971 | fn sm_seedbirth sb ulong to void |
| 972 | sm_section smsb1 smsb2 |
| 973 | sm_pars sm_need sb smsb3 |
| 974 | sm_cards sm_need sb smsb4 |
| 975 | sm_pars sm_need sb smsb5 |
| 976 | sm_links sm_need sb smk12 |
| 977 | sr_raw smt107 |
| 978 | end |
| 979 | |
| 980 | fn sm_omega to void |
| 981 | rt = sj_load smt90 |
| 982 | sm_checkomega rt |
| 983 | sm_checkrows sm_need rt smt91 false false |
| 984 | perf = sm_need rt smt92 |
| 985 | sm_checkrows sm_need perf smt91 false false |
| 986 | ly = sm_need rt smt93 |
| 987 | if lt sj_len ly 13 |
| 988 | exit 65 |
| 989 | end |
| 990 | it = sj_first ly |
| 991 | while ne it 0 bound 100000 |
| 992 | sm_status_valid sm_need it smt50 false |
| 993 | it = sj_next it |
| 994 | end |
| 995 | sr_raw smt94 |
| 996 | sm_field rt smt95 |
| 997 | sr_raw smt96 |
| 998 | sm_value sm_need rt smt97 |
| 999 | sr_raw smt98 |
| 1000 | sm_value sm_need rt smt99 |
| 1001 | sr_raw smt100 |
| 1002 | sm_section smt101 smt102 |
| 1003 | sr_raw smt103 |
| 1004 | sm_par sm_need rt smt104 |
| 1005 | sr_raw smt105 |
| 1006 | sm_par sm_need rt smt106 |
| 1007 | sr_raw smt107 |
| 1008 | sm_seedbirth sm_need rt smsb0 |
| 1009 | sm_section smt108 smt109 |
| 1010 | sm_cards sm_need rt smt108 |
| 1011 | sm_card sm_need rt smt110 |
| 1012 | sr_raw smt107 |
| 1013 | sm_section smt111 smt112 |
| 1014 | sr_raw smt113 |
| 1015 | sm_cards ly |
| 1016 | sr_raw smt107 |
| 1017 | sm_section smt114 smt115 |
| 1018 | sm_card sm_need rt smt68 |
| 1019 | sr_raw smt116 |
| 1020 | sm_section smt117 smt118 |
| 1021 | sm_cards sm_need rt smt119 |
| 1022 | sr_raw smt107 |
| 1023 | sm_section smt91 smt120 |
| 1024 | sr_raw smt121 |
| 1025 | sm_cards sm_need rt smt91 |
| 1026 | sr_raw smt107 |
| 1027 | sm_section smt122 smt123 |
| 1028 | sr_raw smt124 |
| 1029 | sm_cards sm_need rt smt122 |
| 1030 | sr_raw smt107 |
| 1031 | sm_section smt92 smt125 |
| 1032 | sm_par sm_need perf smt126 |
| 1033 | sm_par sm_need perf smt127 |
| 1034 | sm_links sm_need perf smk12 |
| 1035 | sm_foot sm_need perf smt65 |
| 1036 | sm_par sm_need perf smt128 |
| 1037 | sm_cards sm_need perf smt91 |
| 1038 | sr_raw smt107 |
| 1039 | end |
| 1040 | |
| 1041 | fn sm_cuda to void |
| 1042 | rt = sj_load smt129 |
| 1043 | sm_checkcuda rt |
| 1044 | hops = sm_need rt smt130 |
| 1045 | if lt sj_len hops 8 |
| 1046 | exit 65 |
| 1047 | end |
| 1048 | sm_checkrows hops true true |
| 1049 | sm_checkrows sm_need rt smt131 true false |
| 1050 | sm_checkrows sm_need rt smt132 true false |
| 1051 | sr_raw smt133 |
| 1052 | sm_field rt smt95 |
| 1053 | sr_raw smt96 |
| 1054 | sm_value sm_need rt smt97 |
| 1055 | sm_value sm_need rt smt99 |
| 1056 | sr_raw smt134 |
| 1057 | sm_section smt135 smt136 |
| 1058 | sm_par sm_need rt smt137 |
| 1059 | sm_par sm_need rt smt135 |
| 1060 | sm_foot sm_need rt smt138 |
| 1061 | sm_linknote sm_need rt smt139 |
| 1062 | sm_foot sm_need rt smt140 |
| 1063 | sr_raw smt107 |
| 1064 | sm_section smt141 smt142 |
| 1065 | sr_raw smt143 |
| 1066 | sm_cards hops |
| 1067 | sr_raw smt107 |
| 1068 | sm_section smt127 smt144 |
| 1069 | sm_par sm_need rt smt145 |
| 1070 | sm_cards sm_need rt smt146 |
| 1071 | sr_raw smt147 |
| 1072 | sm_value sm_need rt smt148 |
| 1073 | sm_foot sm_need rt smt149 |
| 1074 | sr_raw smt150 |
| 1075 | sm_section smt151 smt152 |
| 1076 | sr_raw smt153 |
| 1077 | sm_par sm_need rt smt154 |
| 1078 | sm_cards sm_need rt smt131 |
| 1079 | sr_raw smt107 |
| 1080 | sm_section smt155 smt156 |
| 1081 | sm_par sm_need rt smt157 |
| 1082 | sm_cards sm_need rt smt132 |
| 1083 | sr_raw smt107 |
| 1084 | end |
| 1085 | |
| 1086 | fn sm_machines real bool to void |
| 1087 | rt = sj_load smt158 |
| 1088 | if real |
| 1089 | sm_section smt159 smt160 |
| 1090 | else |
| 1091 | sm_section smt161 smt162 |
| 1092 | end |
| 1093 | sr_raw smt163 |
| 1094 | sm_field rt smt164 |
| 1095 | sr_raw smt165 |
| 1096 | it = sj_first sm_need rt smt161 |
| 1097 | while ne it 0 bound 100000 |
| 1098 | sr_raw smt166 |
| 1099 | sm_field it smt60 |
| 1100 | sr_raw smt35 |
| 1101 | sm_card it |
| 1102 | sr_raw smt71 |
| 1103 | it = sj_next it |
| 1104 | end |
| 1105 | sr_raw smt167 |
| 1106 | end |
| 1107 | |
| 1108 | fn sm_speeds to void |
| 1109 | rt = sj_load smt158 |
| 1110 | sm_section smt168 smt169 |
| 1111 | sr_raw smt170 |
| 1112 | sm_par sm_need rt smt171 |
| 1113 | sr_raw smt172 |
| 1114 | it = sj_first sm_need rt smt173 |
| 1115 | while ne it 0 bound 100000 |
| 1116 | sr_raw smt174 |
| 1117 | sm_field it smt60 |
| 1118 | sr_raw smt35 |
| 1119 | sm_card it |
| 1120 | sr_raw smt71 |
| 1121 | it = sj_next it |
| 1122 | end |
| 1123 | sr_raw smt175 |
| 1124 | sm_cards sm_need rt smt176 |
| 1125 | sr_raw smt107 |
| 1126 | end |
| 1127 | |
| 1128 | fn sm_researchrow rid view uchar * impl bool to void |
| 1129 | rt = sj_load smt177 |
| 1130 | arr = sj_find rt smt178 |
| 1131 | if impl |
| 1132 | arr = sm_need rt smt179 |
| 1133 | end |
| 1134 | it = sj_first arr |
| 1135 | while ne it 0 bound 100000 |
| 1136 | if sj_eq sm_need it smt60 rid |
| 1137 | sm_card it |
| 1138 | ret |
| 1139 | end |
| 1140 | it = sj_next it |
| 1141 | end |
| 1142 | exit 65 |
| 1143 | end |
| 1144 | |
| 1145 | fn sm_machine_section wanted view uchar * to void |
| 1146 | rt = sj_load smt180 |
| 1147 | it = sj_first sm_need rt smt181 |
| 1148 | while ne it 0 bound 100000 |
| 1149 | if sj_eq sm_need it smt60 wanted |
| 1150 | sr_raw smt182 |
| 1151 | sr_esc wanted |
| 1152 | sr_raw smt73 |
| 1153 | sm_field it smt55 |
| 1154 | sr_raw smt74 |
| 1155 | ps = sj_first sm_need it smt183 |
| 1156 | while ne ps 0 bound 100000 |
| 1157 | sm_par ps |
| 1158 | ps = sj_next ps |
| 1159 | end |
| 1160 | sm_value sm_need it smt184 |
| 1161 | if sr_equal wanted smt203 |
| 1162 | sr_raw smrsemb0 |
| 1163 | sd_ladder |
| 1164 | sr_raw smrsemb1 |
| 1165 | end |
| 1166 | if sr_equal wanted smt185 |
| 1167 | sm_value sm_need rt smt186 |
| 1168 | sr_raw smt187 |
| 1169 | end |
| 1170 | if sr_equal wanted smt188 |
| 1171 | sr_raw smt189 |
| 1172 | sm_field rt smt190 |
| 1173 | sr_raw smt191 |
| 1174 | end |
| 1175 | sm_foot 0 |
| 1176 | sr_raw smt107 |
| 1177 | ret |
| 1178 | end |
| 1179 | it = sj_next it |
| 1180 | end |
| 1181 | exit 65 |
| 1182 | end |
| 1183 | |
| 1184 | fn sm_machine to void |
| 1185 | sm_intro smt192 smt193 |
| 1186 | rt = sj_load smt180 |
| 1187 | sm_par sm_need rt smt194 |
| 1188 | sm_par sm_need rt smt195 |
| 1189 | sr_raw smt196 |
| 1190 | rt = sj_load smxrf |
| 1191 | sr_raw smxhist |
| 1192 | sm_field rt smxdate |
| 1193 | sr_raw smxhend |
| 1194 | sm_machines true |
| 1195 | sm_machine_section smt185 |
| 1196 | sm_machine_section smt188 |
| 1197 | sm_machine_section smt197 |
| 1198 | sm_researchrow smt198 false |
| 1199 | sm_researchrow smt199 false |
| 1200 | sm_researchrow smt200 false |
| 1201 | sm_researchrow smt201 false |
| 1202 | sm_machine_section smt202 |
| 1203 | sm_machine_section smt203 |
| 1204 | sm_machine_section smt204 |
| 1205 | sm_machine_section smt205 |
| 1206 | sm_researchrow smt206 true |
| 1207 | sm_researchrow smt207 true |
| 1208 | sm_researchrow smt208 false |
| 1209 | sm_researchrow smt209 true |
| 1210 | sm_machine_section smt114 |
| 1211 | sd_implementation |
| 1212 | sm_machine_section smt210 |
| 1213 | end |
| 1214 | |
| 1215 | fn sm_loop to void |
| 1216 | rt = sj_load smt180 |
| 1217 | sm_section smt211 smt193 |
| 1218 | sm_par sm_need rt smt194 |
| 1219 | sm_value sm_need rt smt212 |
| 1220 | sm_par sm_need rt smt195 |
| 1221 | sr_raw smt213 |
| 1222 | it = sj_first sm_need rt smt185 |
| 1223 | while ne it 0 bound 100000 |
| 1224 | sr_raw smt214 |
| 1225 | sm_field it smt56 |
| 1226 | sr_raw smt215 |
| 1227 | sm_field it smt216 |
| 1228 | sr_raw smt217 |
| 1229 | it = sj_next it |
| 1230 | end |
| 1231 | sr_raw smt218 |
| 1232 | sm_researchrow smt198 false |
| 1233 | sr_raw smt219 |
| 1234 | sm_researchrow smt199 false |
| 1235 | sr_raw smt220 |
| 1236 | end |
| 1237 | |
| 1238 | fn sm_matrix to void |
| 1239 | rt = sj_load smt180 |
| 1240 | sm_section smt221 smt222 |
| 1241 | sr_raw smt223 |
| 1242 | sm_cards sm_need rt smt224 |
| 1243 | sr_raw smt225 |
| 1244 | end |
| 1245 | |
| 1246 | fn sm_live to void |
| 1247 | rt = sj_load smt226 |
| 1248 | sm_section smt227 smt228 |
| 1249 | sr_raw smt229 |
| 1250 | sm_field rt smt230 |
| 1251 | sr_raw smt231 |
| 1252 | sm_cards sm_need rt smt232 |
| 1253 | sr_raw smt233 |
| 1254 | rc = sm_need rt smt68 |
| 1255 | st = sm_need rc smt234 |
| 1256 | sr_raw smt235 |
| 1257 | if sj_eq st smt236 |
| 1258 | sr_raw smt80 |
| 1259 | else |
| 1260 | if or sj_eq st smt237 sj_eq st smt238 |
| 1261 | sr_raw smt239 |
| 1262 | else |
| 1263 | if sj_eq st smt240 |
| 1264 | sr_raw smt241 |
| 1265 | else |
| 1266 | sr_raw smt242 |
| 1267 | end |
| 1268 | end |
| 1269 | end |
| 1270 | sr_raw smt79 |
| 1271 | sm_fields rc 0 |
| 1272 | sm_judged rc |
| 1273 | sm_live_tail rt |
| 1274 | end |
| 1275 | |
| 1276 | note The judged commit: a forge commit link with its <repo> <sha> text when the repository (an |
| 1277 | note aien-dev/ prefix dropped) is in rdallow, otherwise the repository name and sha as plain text. |
| 1278 | fn sm_judged rc ulong to void |
| 1279 | rp = sm_need rc smt244 |
| 1280 | sh = sm_need rc smt246 |
| 1281 | ro = ulong get sjoff rp |
| 1282 | rn = sj_size rp |
| 1283 | if sj_prefix rp smadv |
| 1284 | ro = add ro len smadv |
| 1285 | rn = sub rn len smadv |
| 1286 | end |
| 1287 | row = rd_row ro rn |
| 1288 | if eq row 0 |
| 1289 | sr_raw smjc0 |
| 1290 | sj_emit rp |
| 1291 | sr_byte 32 |
| 1292 | sj_emit sh |
| 1293 | sr_raw smjc1 |
| 1294 | sr_raw smt247b |
| 1295 | ret |
| 1296 | end |
| 1297 | sr_raw smt243 |
| 1298 | for j ulong rn |
| 1299 | mc8 = get sjdec add ro j |
| 1300 | md8 = mc8 |
| 1301 | if lt add j 1 rn |
| 1302 | md8 = get sjdec add add ro j 1 |
| 1303 | end |
| 1304 | sr_escref mc8 md8 |
| 1305 | end |
| 1306 | sr_raw smt245 |
| 1307 | sj_emit sh |
| 1308 | sr_raw smt247 |
| 1309 | sr_raw rdk0 |
| 1310 | rd_repout row |
| 1311 | sr_byte 32 |
| 1312 | sj_emit sh |
| 1313 | sr_raw rdk1 |
| 1314 | sr_raw smt247b |
| 1315 | end |
| 1316 | |
| 1317 | fn sm_live_tail rt ulong to void |
| 1318 | sm_value sm_need rt smt248 |
| 1319 | sr_raw smt249 |
| 1320 | end |
| 1321 | |
| 1322 | fn sm_status to void |
| 1323 | rt = sj_load smt250 |
| 1324 | sm_section smt50 smt251 |
| 1325 | sr_raw smt252 |
| 1326 | sm_field rt smt253 |
| 1327 | sr_raw smt254 |
| 1328 | sm_cards sm_need rt smt93 |
| 1329 | sr_raw smt107 |
| 1330 | sm_live |
| 1331 | end |
| 1332 | |
| 1333 | fn sm_story to void |
| 1334 | sm_section smt255 smt256 |
| 1335 | sr_raw smt257 |
| 1336 | end |
| 1337 | |
| 1338 | fn sm_terminal to void |
| 1339 | sm_section smt258 smt259 |
| 1340 | sr_raw smt260 |
| 1341 | end |
| 1342 | |
| 1343 | fn sm_follow to void |
| 1344 | sm_section smt261 smt262 |
| 1345 | sr_raw smt263 |
| 1346 | end |
| 1347 | |
| 1348 | note sm_home: the former front page, inside <div id="root"> as main.rs requires of /classic/. |
| 1349 | note The homepage keeps the floor, Meet Aien, Go deeper, the Install strip and Follow (Drake, 2026-11-09); |
| 1350 | note /record/ carries every other former homepage block, unchanged and in the same order. |
| 1351 | text smhomeh "<header class=\"page-intro\"><h2>" |
| 1352 | text smhomep "</h2><p class=\"lede\">" |
| 1353 | text smrecord "/record/" |
| 1354 | text smrect "The record" |
| 1355 | text smrecl "Everything the homepage used to hold, unchanged: the stack, the loop, the five real machines and their measured speeds, the evidence, research, the Turing game, the terminal and the dated status of every layer." |
| 1356 | text smgrid0 "<section" |
| 1357 | note sm_cut: where the Install strip in smt266 ends and the stack grid begins. |
| 1358 | fn sm_cut to ulong |
| 1359 | ret sk_find smt266 len smt266 smgrid0 0 |
| 1360 | end |
| 1361 | fn sm_body to void |
| 1362 | sm_loop |
| 1363 | sm_story |
| 1364 | sm_machines false |
| 1365 | sm_speeds |
| 1366 | sd_receipts |
| 1367 | sm_matrix |
| 1368 | sd_research_home |
| 1369 | sr_raw smxgame |
| 1370 | sm_terminal |
| 1371 | sm_status |
| 1372 | end |
| 1373 | fn sm_home front bool to void |
| 1374 | sr_raw smroot0 |
| 1375 | if front |
| 1376 | floor_home |
| 1377 | floor_deeper |
| 1378 | floor_follow |
| 1379 | sr_raw smroot1 |
| 1380 | ret |
| 1381 | end |
| 1382 | sm_intro smt264 smt265 |
| 1383 | sr_raw smwar |
| 1384 | sr_raw smt266 |
| 1385 | sm_body |
| 1386 | sm_follow |
| 1387 | sr_raw smroot1 |
| 1388 | end |
| 1389 | fn sm_record to void |
| 1390 | sr_raw smroot0 |
| 1391 | sm_intro smrect smrecl |
| 1392 | sr_raw smhomeh |
| 1393 | sr_esc smt264 |
| 1394 | sr_raw smhomep |
| 1395 | sr_esc smt265 |
| 1396 | sr_raw smt77 |
| 1397 | sr_raw smwar |
| 1398 | c = sm_cut |
| 1399 | sr_raw part smt266 c sub len smt266 c |
| 1400 | sm_body |
| 1401 | sr_raw smroot1 |
| 1402 | end |
| 1403 | |
| 1404 | fn sm_page route view uchar * to bool |
| 1405 | if sr_equal route smclasc |
| 1406 | sm_home false |
| 1407 | ret true |
| 1408 | end |
| 1409 | if sr_equal route smt1 |
| 1410 | sm_home true |
| 1411 | ret true |
| 1412 | end |
| 1413 | if sr_equal route smrecord |
| 1414 | sm_record |
| 1415 | ret true |
| 1416 | end |
| 1417 | if sr_equal route smt269 |
| 1418 | sm_machine |
| 1419 | ret true |
| 1420 | end |
| 1421 | if sr_equal route smt270 |
| 1422 | sm_omega |
| 1423 | ret true |
| 1424 | end |
| 1425 | if sr_equal route smt271 |
| 1426 | sm_cuda |
| 1427 | ret true |
| 1428 | end |
| 1429 | if sr_equal route smt272 |
| 1430 | sm_progress |
| 1431 | ret true |
| 1432 | end |
| 1433 | ret false |
| 1434 | end |
| 1435 | |
| 1436 | fn sm_progress to void |
| 1437 | rt = sj_load smt273 |
| 1438 | sum = sm_need rt smt274 |
| 1439 | sr_raw smt275 |
| 1440 | sm_uint sm_need sum smt276 |
| 1441 | sr_raw smt277 |
| 1442 | sm_uint sm_need sum smt278 |
| 1443 | sr_raw smt279 |
| 1444 | sm_uint sm_need sum smt280 |
| 1445 | sr_raw smt281 |
| 1446 | sr_raw smt282 |
| 1447 | sm_value rt |
| 1448 | sr_raw smt283 |
| 1449 | end |
| 1450 | |
| 1451 | note Schema fields use optional ? prefixes. Every other field must exist; unknown fields refuse. |
| 1452 | fn sm_shape nd ulong spec view uchar * to void |
| 1453 | if ne sj_kind nd 1 |
| 1454 | exit 65 |
| 1455 | end |
| 1456 | count = ulong 0 |
| 1457 | start = ulong 0 |
| 1458 | for ix ulong add len spec 1 |
| 1459 | stop = eq ix len spec |
| 1460 | if not stop |
| 1461 | stop = eq get spec ix 124 |
| 1462 | end |
| 1463 | if stop |
| 1464 | begin = start |
| 1465 | opt = false |
| 1466 | if lt begin ix |
| 1467 | if eq get spec begin 63 |
| 1468 | opt = true |
| 1469 | begin = add begin 1 |
| 1470 | end |
| 1471 | end |
| 1472 | keynd = sj_find nd part spec begin sub ix begin |
| 1473 | if eq keynd 0 |
| 1474 | if not opt |
| 1475 | exit 65 |
| 1476 | end |
| 1477 | else |
| 1478 | count = add count 1 |
| 1479 | end |
| 1480 | start = add ix 1 |
| 1481 | end |
| 1482 | end |
| 1483 | if ne count sj_len nd |
| 1484 | exit 65 |
| 1485 | end |
| 1486 | end |
| 1487 | |
| 1488 | fn sm_clean nd ulong to void |
| 1489 | kind = sj_kind nd |
| 1490 | if or eq kind 1 eq kind 2 |
| 1491 | it = sj_first nd |
| 1492 | while ne it 0 bound 100000 |
| 1493 | sm_clean it |
| 1494 | it = sj_next it |
| 1495 | end |
| 1496 | ret |
| 1497 | end |
| 1498 | if eq kind 3 |
| 1499 | if or sm_contains nd smt284 sm_contains nd smt285 |
| 1500 | exit 65 |
| 1501 | end |
| 1502 | end |
| 1503 | end |
| 1504 | |
| 1505 | fn sm_shapelist nd ulong spec view uchar * to void |
| 1506 | if ne sj_kind nd 2 |
| 1507 | exit 65 |
| 1508 | end |
| 1509 | it = sj_first nd |
| 1510 | while ne it 0 bound 100000 |
| 1511 | sm_shape it spec |
| 1512 | it = sj_next it |
| 1513 | end |
| 1514 | end |
| 1515 | |
| 1516 | fn sm_order nd ulong spec view uchar * to void |
| 1517 | it = sj_first nd |
| 1518 | start = ulong 0 |
| 1519 | for ix ulong add len spec 1 |
| 1520 | stop = eq ix len spec |
| 1521 | if not stop |
| 1522 | stop = eq get spec ix 124 |
| 1523 | end |
| 1524 | if stop |
| 1525 | if eq it 0 |
| 1526 | exit 65 |
| 1527 | end |
| 1528 | if not sj_eq sm_need it smt60 part spec start sub ix start |
| 1529 | exit 65 |
| 1530 | end |
| 1531 | it = sj_next it |
| 1532 | start = add ix 1 |
| 1533 | end |
| 1534 | end |
| 1535 | if ne it 0 |
| 1536 | exit 65 |
| 1537 | end |
| 1538 | end |
| 1539 | |
| 1540 | fn sm_checkomega rt ulong to void |
| 1541 | sm_clean rt |
| 1542 | sm_shape rt smt286 |
| 1543 | src = sm_need rt smt99 |
| 1544 | sm_shape src smt287 |
| 1545 | if not sj_prefix sm_need src smt288 smt289 |
| 1546 | exit 65 |
| 1547 | end |
| 1548 | sb = sm_need rt smsb0 |
| 1549 | sm_shape sb smsb6 |
| 1550 | sm_shapelist sm_need sb smsb4 smsb7 |
| 1551 | if lt sj_len sm_need sb smsb4 8 |
| 1552 | exit 65 |
| 1553 | end |
| 1554 | sm_shapelist sm_need rt smt108 smt290 |
| 1555 | sm_shape sm_need rt smt110 smt290 |
| 1556 | sm_shapelist sm_need rt smt93 smt291 |
| 1557 | sm_shape sm_need rt smt68 smt292 |
| 1558 | sm_shapelist sm_need rt smt119 smt293 |
| 1559 | sm_shapelist sm_need rt smt122 smt293 |
| 1560 | sm_shapelist sm_need rt smt91 smt294 |
| 1561 | sm_order sm_need rt smt91 smt295 |
| 1562 | pf = sm_need rt smt92 |
| 1563 | sm_shape pf smt296 |
| 1564 | sm_shapelist sm_need pf smt91 smt294 |
| 1565 | sm_order sm_need pf smt91 smt297 |
| 1566 | end |
| 1567 | |
| 1568 | fn sm_checkcuda rt ulong to void |
| 1569 | sm_clean rt |
| 1570 | sm_shape rt smt298 |
| 1571 | src = sm_need rt smt99 |
| 1572 | sm_shape src smt299 |
| 1573 | vis = sm_need src smt300 |
| 1574 | if not or sj_eq vis smt301 sj_eq vis smt302 |
| 1575 | exit 65 |
| 1576 | end |
| 1577 | sm_shapelist sm_need rt smt130 smt303 |
| 1578 | sm_shapelist sm_need rt smt146 smt293 |
| 1579 | sm_shapelist sm_need rt smt131 smt304 |
| 1580 | sm_shapelist sm_need rt smt132 smt304 |
| 1581 | end |
| 1582 | |
| 1583 | fn sm_pinned nd ulong offset ulong to void |
| 1584 | if le sj_size nd add offset 40 |
| 1585 | exit 65 |
| 1586 | end |
| 1587 | for ix ulong 40 |
| 1588 | by = sj_byte nd add offset ix |
| 1589 | ok = and ge by 48 le by 57 |
| 1590 | ok = or ok and ge by 97 le by 102 |
| 1591 | ok = or ok and ge by 65 le by 70 |
| 1592 | if not ok |
| 1593 | exit 65 |
| 1594 | end |
| 1595 | end |
| 1596 | if ne sj_byte nd add offset 40 47 |
| 1597 | exit 65 |
| 1598 | end |
| 1599 | end |
| 1600 | |
| 1601 | fn sm_uint nd ulong to void |
| 1602 | if ne sj_kind nd 4 |
| 1603 | exit 65 |
| 1604 | end |
| 1605 | sj_emit nd |
| 1606 | end |
| 1607 | |
| 1608 | fn sm_cardid nd ulong to void |
| 1609 | ident = sj_find nd smt60 |
| 1610 | if eq ident 0 |
| 1611 | ret |
| 1612 | end |
| 1613 | if sj_eq ident smt305 |
| 1614 | sr_raw smt306 |
| 1615 | ret |
| 1616 | end |
| 1617 | if sj_eq ident smt307 |
| 1618 | sr_raw smt308 |
| 1619 | ret |
| 1620 | end |
| 1621 | if sj_eq ident smt309 |
| 1622 | sr_raw smt310 |
| 1623 | ret |
| 1624 | end |
| 1625 | if sj_eq ident smt311 |
| 1626 | sr_raw smt312 |
| 1627 | ret |
| 1628 | end |
| 1629 | if sj_eq ident smt313 |
| 1630 | sr_raw smt314 |
| 1631 | ret |
| 1632 | end |
| 1633 | if sj_eq ident smt315 |
| 1634 | sr_raw smt316 |
| 1635 | ret |
| 1636 | end |
| 1637 | if sj_eq ident smt317 |
| 1638 | sr_raw smt318 |
| 1639 | ret |
| 1640 | end |
| 1641 | if sj_eq ident smt319 |
| 1642 | sr_raw smt320 |
| 1643 | ret |
| 1644 | end |
| 1645 | if sj_eq ident smt321 |
| 1646 | sr_raw smt322 |
| 1647 | ret |
| 1648 | end |
| 1649 | if sj_eq ident smt323 |
| 1650 | sr_raw smt324 |
| 1651 | ret |
| 1652 | end |
| 1653 | if sj_eq ident smt325 |
| 1654 | sr_raw smt326 |
| 1655 | ret |
| 1656 | end |
| 1657 | end |
| 1658 | |
| 1659 | fn sm_alias nd ulong fld ulong key view uchar * label view uchar * to bool |
| 1660 | if eq fld sj_find nd key |
| 1661 | sr_raw label |
| 1662 | ret true |
| 1663 | end |
| 1664 | ret false |
| 1665 | end |
| 1666 | |
| 1667 | fn sm_label nd ulong fld ulong to void |
| 1668 | if sm_alias nd fld smk0 sml0 |
| 1669 | ret |
| 1670 | end |
| 1671 | if sm_alias nd fld smk1 sml1 |
| 1672 | ret |
| 1673 | end |
| 1674 | if sm_alias nd fld smk2 sml2 |
| 1675 | ret |
| 1676 | end |
| 1677 | if sm_alias nd fld smk3 sml3 |
| 1678 | ret |
| 1679 | end |
| 1680 | if sm_alias nd fld smk4 sml4 |
| 1681 | ret |
| 1682 | end |
| 1683 | if sm_alias nd fld smk5 sml5 |
| 1684 | ret |
| 1685 | end |
| 1686 | if sm_alias nd fld smk6 sml6 |
| 1687 | ret |
| 1688 | end |
| 1689 | if sm_alias nd fld smk7 sml7 |
| 1690 | ret |
| 1691 | end |
| 1692 | if sm_alias nd fld smk8 sml8 |
| 1693 | ret |
| 1694 | end |
| 1695 | if sm_alias nd fld smk9 sml9 |
| 1696 | ret |
| 1697 | end |
| 1698 | if sm_alias nd fld smk10 sml10 |
| 1699 | ret |
| 1700 | end |
| 1701 | if sm_alias nd fld smk11 sml11 |
| 1702 | ret |
| 1703 | end |
| 1704 | if sm_alias nd fld smt47 smt48 |
| 1705 | ret |
| 1706 | end |
| 1707 | if sm_alias nd fld smt58 smlylab |
| 1708 | ret |
| 1709 | end |
| 1710 | sj_key fld |
| 1711 | end |
| 1712 | |
| 1713 | fn sm_links nd ulong to void |
| 1714 | sr_raw smt41 |
| 1715 | it = sj_first nd |
| 1716 | while ne it 0 bound 100000 |
| 1717 | lab = ulong 0 |
| 1718 | url = ulong 0 |
| 1719 | if eq sj_kind it 2 |
| 1720 | lab = sj_first it |
| 1721 | url = sj_next lab |
| 1722 | else |
| 1723 | lab = sm_need it smk15 |
| 1724 | url = sm_need it smk14 |
| 1725 | end |
| 1726 | sr_raw smt42 |
| 1727 | if and eq sj_kind url 3 eq sj_size url 0 |
| 1728 | sj_emit lab |
| 1729 | else |
| 1730 | sr_raw smt34 |
| 1731 | sm_url url |
| 1732 | sr_raw smt35 |
| 1733 | sj_emit lab |
| 1734 | sr_raw smt36 |
| 1735 | sm_rad url |
| 1736 | end |
| 1737 | sr_raw smt43 |
| 1738 | it = sj_next it |
| 1739 | end |
| 1740 | sr_raw smt44 |
| 1741 | end |