aienos.com
Source of www.aienos.com, served from my own hardware
Brought by drakestapleton
aienos.com / om / site / verify-site.om
| 1 | note verify-site.om: main.rs verify_site rules V1-V19, the hub gates H (hubs.rs), box links E |
| 2 | note (boxlink.rs), the /now/ body rule N1 (now.rs page_holds_invariants), the published-path rule P1, the file loop that runs |
| 3 | note C1/C2/G/O5/F on every file, the pre-generation gate (B1-B4) and the CLI entry point. |
| 4 | text vbnone "box-none" |
| 5 | text vrtree "/tree/" |
| 6 | text vrnet "https://radicle.network/nodes/rosa.radicle.network/rad:z" |
| 7 | text vrv3 "V3" |
| 8 | text vrv4 "V4" |
| 9 | text vrv5 "V5" |
| 10 | text vrv6 "V6" |
| 11 | text vrv7 "V7" |
| 12 | text vrv8 "V8" |
| 13 | text vrv9 "V9" |
| 14 | text vrv10 "V10" |
| 15 | text vrv11 "V11" |
| 16 | text vrv12 "V12" |
| 17 | text vrv13 "V13" |
| 18 | text vrv15 "V15" |
| 19 | text vrv16 "V16" |
| 20 | text vrv17 "V17" |
| 21 | text vrv18 "V18" |
| 22 | text vrv19 "V19" |
| 23 | text vrh "H" |
| 24 | text vre "E" |
| 25 | text vrn1 "N1" |
| 26 | text vrr0 "R0" |
| 27 | text vtmisspg "missing or unreadable" |
| 28 | text vtneed "missing required text" |
| 29 | text vtnot "carries forbidden text" |
| 30 | text vtbrace "assets/style.css braces do not balance" |
| 31 | text vtcrumb "local coordination file is published" |
| 32 | text vtorder "real-machines must come before the loop" |
| 33 | text vtfloor "fewer boxes than its floor" |
| 34 | text vtnobox "box without a GitHub link" |
| 35 | text vtoffgh "box-link off Interplane" |
| 36 | text vtstatw "status word on a hub that must carry none" |
| 37 | text vtrow "experiment card missing or not from data" |
| 38 | text vtnowb "the /now/ body must carry no script and no Renda dial" |
| 39 | text vfcls "classic/index.html" |
| 40 | text vfroot "index.html" |
| 41 | text vfrec "record/index.html" |
| 42 | text vfaien "aien/index.html" |
| 43 | text vfmach "machine/index.html" |
| 44 | text vfdisc "discovery/index.html" |
| 45 | text vfown "owned/index.html" |
| 46 | text vfstart "start/index.html" |
| 47 | text vfomega "omega/index.html" |
| 48 | text vfcuda "cudaplusplus/index.html" |
| 49 | text vfnowp "now/index.html" |
| 50 | text vftl "assets/turing-look.css" |
| 51 | text vfsty "assets/style.css" |
| 52 | text vfrsj "research-status.json" |
| 53 | text vfont "fonts.googleapis.com" |
| 54 | text vv3 "<div id=\"root\"\n<main id=\"main-content\"\nid=\"terminal-output\"\nid=\"follow\"\nhref=\"/now/\"\nid=\"receipt\"\nid=\"live\"\n" |
| 55 | text vv4 "AienOS is an owned experimental machine for turning search into verified understanding.\nWeights suggest. Programs explain. Verification decides. Evidence teaches. The Turing keeps score.\nDid it learn anything?\nWhat did it cost to learn?\nDid what it learned make future discovery easier?\n<ol class=\"loop-stages\"\n" |
| 56 | text vv5 "id=\"machines\"\nid=\"speed\"\nid=\"machine-spark\"\nid=\"machine-imac\"\nid=\"machine-pi5\"\nid=\"machine-qemu\"\nid=\"machine-rig\"\nid=\"speed-27b-live\"\n7.63 tok/s\n" |
| 57 | text vv5f "facts.json\nassets/machines.css\nmachines.json\nassets/style.css\njs/terminal.js\nprogress/index.html\ndata/project-progress.json\nsitemap.xml\nrobots.txt\nblog/index.html\nblog/aien-v3-research-plan/index.html\nresearch/status/index.html\nnow/index.html\nnow.json\nassets/now.css\nresearch-status.json\nomega/index.html\nomega.json\nassets/omega.css\ncudaplusplus/index.html\ncudaplusplus.json\nassets/cudaplusplus.css\n" |
| 58 | text vv6 ".aien-footer\n.aien-footer-row\n.aien-footer-brand\n.aien-footer-links\n.aien-footer-legal\n" |
| 59 | text vcrumb "data/.crumb.local" |
| 60 | text vv11 "Omega does not yet cover every GPU layer above the kernel driver\nid=\"seed-birth\"\nid=\"cuda-map\"\nid=\"today\"\nid=\"not-yet\"\nid=\"bar\"\nevidence/WHAT-OMEGA-IS-20261021/live-serve-no-cuda.txt\n" |
| 61 | text vv11a "Omega is Aien's language for all computing, GPU to CPU." |
| 62 | text vv11b "Omega is Aien's language for all computing, GPU to CPU." |
| 63 | text vv12 "CUDA++ is the GPU half of Omega\nUseful work on a machine I own.\nid=\"path\"\nid=\"how\"\nid=\"pain-points\"\nid=\"swap\"\nhttps://interplane.io/drakestapleton/CUDApp\n" |
| 64 | text vcpl "href=\"/cudaplusplus/\"" |
| 65 | text vomh "href=\"/omega/\"" |
| 66 | text vsbh "href=\"/omega/#seed-birth\"" |
| 67 | text vv13 "blog/index.html\nblog/aien-v3-research-plan/index.html\nresearch/status/index.html\nnow/index.html\nomega/index.html\ncudaplusplus/index.html\n" |
| 68 | text vogt "og:title" |
| 69 | text vrsb "rs-badge" |
| 70 | text vstb "status-badge" |
| 71 | text vthes "Intelligence should be owned by the people who made it." |
| 72 | text vsign "Drake Stapleton" |
| 73 | text vv17 "Weights suggest. Programs explain. Verification decides. Evidence teaches. The Turing keeps score.\nT(M; B, D, P) = [L(B) + L(D | B)] - [L(M) + L(D | M)]\nid=\"real-machines\"\nid=\"research-ladder\"\nclass=\"rs-ladder\"\nclass=\"rs-impl\"\n" |
| 74 | text vrm "id=\"real-machines\"" |
| 75 | text vloop "id=\"loop\"" |
| 76 | text vv18 "/machine/#today\n/research/status/#implementation\n/evidence/\n/AGENTS.md\nhttps://www.drakestapleton.com\nhttps://interplane.io/\n" |
| 77 | text vblafter ".box-link::after" |
| 78 | note main.rs GENERATED_PAGES (RustOracle lane) with each page's least number of boxes. |
| 79 | text vgen "index.html\nclassic/index.html\ndiscoveries/index.html\naien/index.html\nalpha/index.html\nresearch/computing-machinery-and-understanding/profiles/index.html\nstart/index.html\nprivacy/index.html\ncontact/index.html\nmachine/index.html\ndiscovery/index.html\nexperiments/index.html\nevidence/index.html\nphilosophy/index.html\nowned/index.html\nresearch/status/index.html\nnow/index.html\ndash/index.html\nhive/index.html\nlearn/index.html\nomega/index.html\ncudaplusplus/index.html\nprogress/index.html\nagents/index.html\nblog/index.html\nblog/aien-v3-research-plan/index.html\n" |
| 80 | text vgenf "0\n30\n0\n0\n0\n0\n0\n0\n0\n15\n0\n15\n7\n4\n7\n40\n0\n0\n0\n0\n30\n12\n0\n10\n2\n0\n" |
| 81 | note boxlink.rs BOX_CLASSES |
| 82 | text vboxc "mx-card\nmx-row\nglow-box\nlineage-card\nlineage-role\nstatus-row\nlive-row\nreceipt\nrs-card\nrs-step\nrs-impl-item\nhub-card\nnarr-card\nblog-card\nnow-card\nnow-queue-row\nnow-tl\nnow-usage\nom-part\nom-layer\nom-receipt\nom-gap\nom-bar-row\nom-beyond\ncp-hop\ncp-card\ncp-row\ndash-card\n" |
| 83 | text vbcls "class=\"" |
| 84 | text vbhref "href=\"" |
| 85 | text vbla "<a " |
| 86 | text vblink "box-link" |
| 87 | text vgh "https://interplane.io/drakestapleton/" |
| 88 | text vhubs "experiments/index.html\nevidence/index.html\nphilosophy/index.html\n" |
| 89 | text vhub0 "<section id=\"experiment-cards\"\n<div class=\"rs-cards\">\n<a class=\"hub-button\" href=\"/research/status/\">\n" |
| 90 | text vhub1 "Failure is evidence.\nhref=\"/research/status/\"\nhref=\"/research-status.json\"\n" |
| 91 | text vhub2 "Position, not evidence\n" |
| 92 | text vfooter "<footer" |
| 93 | text vdrow "data-row=\"" |
| 94 | text vdst "\" data-status=\"" |
| 95 | text vxquote "\"" |
| 96 | text vrenda "renda" |
| 97 | text vnidq "id=\"" |
| 98 | text vxmainc "</main>" |
| 99 | |
| 100 | note ---------------------------------------------------------------- helpers |
| 101 | fn sv_pg rel view uchar * rule view uchar * to ulong |
| 102 | ws = sv_loadrel rel |
| 103 | if eq ws 0 |
| 104 | sv_fail rule vtmisspg |
| 105 | end |
| 106 | ret ws |
| 107 | end |
| 108 | fn sv_must s ulong t view uchar * rule view uchar * to void |
| 109 | for wk ulong sv_tcount t |
| 110 | wa = sv_tat t wk |
| 111 | if not sv_has s part t wa sv_tlen t wa |
| 112 | sv_failt rule vtneed part t wa sv_tlen t wa |
| 113 | end |
| 114 | end |
| 115 | end |
| 116 | fn sv_must1 s ulong n view uchar * rule view uchar * to void |
| 117 | if not sv_has s n |
| 118 | sv_failt rule vtneed n |
| 119 | end |
| 120 | end |
| 121 | fn sv_mustno s ulong n view uchar * rule view uchar * to void |
| 122 | if sv_has s n |
| 123 | sv_failt rule vtnot n |
| 124 | end |
| 125 | end |
| 126 | fn sv_files t view uchar * rule view uchar * to void |
| 127 | for wk ulong sv_tcount t |
| 128 | wa = sv_tat t wk |
| 129 | sv_prel part t wa sv_tlen t wa |
| 130 | if not sv_exists |
| 131 | sv_failt rule vtmisspg part t wa sv_tlen t wa |
| 132 | end |
| 133 | end |
| 134 | end |
| 135 | fn sv_nodash s ulong rule view uchar * to void |
| 136 | if sv_dash s |
| 137 | sv_fail rule vtdsh |
| 138 | end |
| 139 | end |
| 140 | fn sv_forbid s ulong rule view uchar * to void |
| 141 | for wk ulong sv_tcount vforbid |
| 142 | wa = sv_tat vforbid wk |
| 143 | if sv_hasc s part vforbid wa sv_tlen vforbid wa |
| 144 | sv_failt rule vtfor part vforbid wa sv_tlen vforbid wa |
| 145 | end |
| 146 | end |
| 147 | end |
| 148 | |
| 149 | note ---------------------------------------------------------------- V1-V18 |
| 150 | fn sv_v1 to void |
| 151 | if sv_there vfnow |
| 152 | sv_prel vfnow |
| 153 | wled = sv_vledger |
| 154 | end |
| 155 | end |
| 156 | fn sv_vroot to void |
| 157 | wr = sv_pg vfroot vrr0 |
| 158 | if eq wr 0 |
| 159 | ret |
| 160 | end |
| 161 | sv_mustno wr vfont vrr0 |
| 162 | sv_nodash wr vrr0 |
| 163 | sv_forbid wr vrv5 |
| 164 | sv_root wr |
| 165 | sv_drop wr |
| 166 | wr = sv_pg vfrec vrr0 |
| 167 | if ne wr 0 |
| 168 | sv_mustno wr vfont vrr0 |
| 169 | sv_nodash wr vrr0 |
| 170 | sv_forbid wr vrv5 |
| 171 | sv_record wr |
| 172 | sv_must1 wr vsbh vrv11 |
| 173 | sv_drop wr |
| 174 | end |
| 175 | wa = sv_pg vfaien vro4 |
| 176 | if ne wa 0 |
| 177 | sv_aien_intro wa |
| 178 | sv_drop wa |
| 179 | end |
| 180 | end |
| 181 | fn sv_vclassic to void |
| 182 | wc = sv_pg vfcls vrv3 |
| 183 | if eq wc 0 |
| 184 | ret |
| 185 | end |
| 186 | sv_must wc vv3 vrv3 |
| 187 | sv_mustno wc vfont vrv3 |
| 188 | sv_must wc vv4 vrv4 |
| 189 | sv_must wc vv5 vrv5 |
| 190 | sv_forbid wc vrv5 |
| 191 | sv_nodash wc vrv7 |
| 192 | sv_must1 wc vomh vrv11 |
| 193 | sv_must1 wc vsbh vrv11 |
| 194 | sv_must1 wc vcpl vrv12 |
| 195 | sv_drop wc |
| 196 | end |
| 197 | fn sv_v6 to void |
| 198 | ws = sv_pg vfsty vrv6 |
| 199 | if eq ws 0 |
| 200 | ret |
| 201 | end |
| 202 | wd = long 0 |
| 203 | wneg = false |
| 204 | for wj ulong sv_n ws |
| 205 | c = sv_b ws wj |
| 206 | if eq c 123 |
| 207 | wd = add wd 1 |
| 208 | end |
| 209 | if eq c 125 |
| 210 | wd = sub wd 1 |
| 211 | end |
| 212 | if lt wd 0 |
| 213 | wneg = true |
| 214 | end |
| 215 | end |
| 216 | if or wneg ne wd 0 |
| 217 | sv_fail vrv6 vtbrace |
| 218 | end |
| 219 | sv_must ws vv6 vrv6 |
| 220 | sv_drop ws |
| 221 | end |
| 222 | fn sv_v8 to void |
| 223 | if sv_there vcrumb |
| 224 | sv_fail vrv8 vtcrumb |
| 225 | end |
| 226 | end |
| 227 | fn sv_v11 to void |
| 228 | wo = sv_pg vfomega vrv11 |
| 229 | if eq wo 0 |
| 230 | ret |
| 231 | end |
| 232 | if not or sv_has wo vv11a sv_has wo vv11b |
| 233 | sv_failt vrv11 vtneed vv11a |
| 234 | end |
| 235 | sv_must wo vv11 vrv11 |
| 236 | sv_must1 wo vcpl vrv12 |
| 237 | sv_drop wo |
| 238 | wc = sv_pg vfcuda vrv12 |
| 239 | if eq wc 0 |
| 240 | ret |
| 241 | end |
| 242 | sv_must wc vv12 vrv12 |
| 243 | sv_drop wc |
| 244 | end |
| 245 | fn sv_v13 to void |
| 246 | for wk ulong sv_tcount vv13 |
| 247 | wa = sv_tat vv13 wk |
| 248 | ws = sv_pg part vv13 wa sv_tlen vv13 wa vrv13 |
| 249 | if ne ws 0 |
| 250 | sv_nodash ws vrv13 |
| 251 | sv_must1 ws vogt vrv13 |
| 252 | sv_drop ws |
| 253 | end |
| 254 | end |
| 255 | end |
| 256 | fn sv_v15 rel view uchar * to void |
| 257 | ws = sv_pg rel vrv15 |
| 258 | if eq ws 0 |
| 259 | ret |
| 260 | end |
| 261 | sv_nodash ws vrv15 |
| 262 | sv_must1 ws vogt vrv15 |
| 263 | sv_must1 ws vrsb vrv15 |
| 264 | sv_mustno ws vstb vrv15 |
| 265 | if sv_fis0 rel vfmach |
| 266 | sv_must ws vv17 vrv17 |
| 267 | wa = sv_find ws vrm 0 |
| 268 | wb = sv_find ws vloop 0 |
| 269 | if or eq wb VNONE ge wa wb |
| 270 | sv_fail vrv17 vtorder |
| 271 | end |
| 272 | end |
| 273 | sv_drop ws |
| 274 | end |
| 275 | fn sv_fis0 a view uchar * b view uchar * to bool |
| 276 | ret sr_equal a b |
| 277 | end |
| 278 | fn sv_v16 to void |
| 279 | ws = sv_pg vfown vrv16 |
| 280 | if eq ws 0 |
| 281 | ret |
| 282 | end |
| 283 | sv_must1 ws vthes vrv16 |
| 284 | sv_must1 ws vsign vrv16 |
| 285 | sv_must1 ws vogt vrv16 |
| 286 | sv_nodash ws vrv16 |
| 287 | sv_mustno ws vrsb vrv16 |
| 288 | sv_drop ws |
| 289 | end |
| 290 | fn sv_v18 to void |
| 291 | ws = sv_pg vfstart vrv18 |
| 292 | if eq ws 0 |
| 293 | ret |
| 294 | end |
| 295 | sv_must ws vv18 vrv18 |
| 296 | sv_drop ws |
| 297 | end |
| 298 | fn sv_v19 to void |
| 299 | for wk ulong sv_tcount vgen |
| 300 | wa = sv_tat vgen wk |
| 301 | wf = sv_tat vgenf wk |
| 302 | wfl = ulong 0 |
| 303 | for wj ulong sv_tlen vgenf wf |
| 304 | wfl = add mul wfl 10 ulong sub get vgenf add wf wj 48 |
| 305 | end |
| 306 | ws = sv_pg part vgen wa sv_tlen vgen wa vrv19 |
| 307 | if ne ws 0 |
| 308 | wn = sv_boxes ws vrv19 |
| 309 | if lt wn wfl |
| 310 | sv_failn vrv19 vtfloor wn |
| 311 | end |
| 312 | sv_drop ws |
| 313 | end |
| 314 | end |
| 315 | wt = sv_pg vftl vrv19 |
| 316 | if ne wt 0 |
| 317 | sv_must1 wt vblafter vrv19 |
| 318 | sv_drop wt |
| 319 | end |
| 320 | end |
| 321 | note N1: now.rs page_holds_invariants, on the published page: inside the <main> element (the |
| 322 | note rendered /now/ body; the shared head, JSON-LD and consent loader stay outside it) no <script |
| 323 | note and no Renda dial: no "renda" in any class or id value (the retired dial was class="renda-..." |
| 324 | note markup). The unit test holds its fixture to no "renda" at all; the published page carries the |
| 325 | note live ledger, whose notes and evidence links may name the retired renda scripts. |
| 326 | fn sv_n1 to void |
| 327 | ws = sv_pg vfnowp vrn1 |
| 328 | if eq ws 0 |
| 329 | ret |
| 330 | end |
| 331 | wa = sv_findc ws vxmain 0 |
| 332 | wb = VNONE |
| 333 | if ne wa VNONE |
| 334 | wb = sv_findx ws vxmainc wa sv_n ws true |
| 335 | end |
| 336 | if or eq wa VNONE eq wb VNONE |
| 337 | sv_fail vrn1 vtnowb |
| 338 | else |
| 339 | wl = sv_lower ws |
| 340 | if or sv_hasn wl vxscro wa wb or sv_rdial wl wa wb vbcls sv_rdial wl wa wb vnidq |
| 341 | sv_fail vrn1 vtnowb |
| 342 | end |
| 343 | sv_drop wl |
| 344 | end |
| 345 | sv_drop ws |
| 346 | end |
| 347 | note P1: no published file, text or binary, carries a builder's home directory ("/home/" or |
| 348 | note "/Users/", raw bytes, case as written), and no LaTeX build file (.log .aux .out .toc) is |
| 349 | note published at all: those record the build machine's paths. 2026-11-07, after paper.log and |
| 350 | note paper.tex under /research/ shipped /home paths. |
| 351 | text vrp1 "P1" |
| 352 | text vp1h "/home/" |
| 353 | text vp1u "/Users/" |
| 354 | text vp1x ".log\n.aux\n.out\n.toc\n" |
| 355 | text vtp1h "carries a home directory path" |
| 356 | text vtp1x "LaTeX build file is published" |
| 357 | fn sv_p1 to void |
| 358 | for wq ulong get vfc 0 |
| 359 | if eq get vfk wq 1 |
| 360 | sv_pfile wq |
| 361 | for wk ulong sv_tcount vp1x |
| 362 | wa = sv_tat vp1x wk |
| 363 | if sv_fext wq part vp1x wa sv_tlen vp1x wa |
| 364 | sv_fail vrp1 vtp1x |
| 365 | end |
| 366 | end |
| 367 | ws = sv_rawload |
| 368 | if ne ws 0 |
| 369 | if or sv_has ws vp1h sv_has ws vp1u |
| 370 | sv_fail vrp1 vtp1h |
| 371 | end |
| 372 | sv_drop ws |
| 373 | end |
| 374 | end |
| 375 | end |
| 376 | end |
| 377 | note sv_rdial: true when some attr value (attr is class=" or id=") in s[a, b) holds "renda" or never closes. |
| 378 | fn sv_rdial s ulong a ulong b ulong attr view uchar * to bool |
| 379 | wi = a |
| 380 | while true bound 999999 |
| 381 | wf = sv_findn s attr wi b |
| 382 | if eq wf VNONE |
| 383 | ret false |
| 384 | end |
| 385 | wv = add wf len attr |
| 386 | we = sv_findn s vxquote wv b |
| 387 | if eq we VNONE |
| 388 | ret true |
| 389 | end |
| 390 | if sv_hasn s vrenda wv we |
| 391 | ret true |
| 392 | end |
| 393 | wi = add we 1 |
| 394 | end |
| 395 | ret false |
| 396 | end |
| 397 | |
| 398 | note ---------------------------------------------------------------- E box links |
| 399 | note sv_boxes: boxlink.rs check_boxes over page slot s; returns the number of boxes, failures reported. |
| 400 | fn sv_cval s ulong t0 ulong t1 ulong to ulong |
| 401 | wv = sv_findn s vbcls t0 add t1 1 |
| 402 | if eq wv VNONE |
| 403 | ret VNONE |
| 404 | end |
| 405 | wv = add wv len vbcls |
| 406 | wz = sv_findb2 s 34 wv |
| 407 | if or eq wz VNONE gt wz t1 |
| 408 | ret VNONE |
| 409 | end |
| 410 | put vav 0 sub wz wv |
| 411 | ret wv |
| 412 | end |
| 413 | fn sv_isbox s ulong t0 ulong t1 ulong to bool |
| 414 | wv = sv_cval s t0 t1 |
| 415 | if eq wv VNONE |
| 416 | ret false |
| 417 | end |
| 418 | wn = get vav 0 |
| 419 | for wk ulong sv_tcount vboxc |
| 420 | wa = sv_tat vboxc wk |
| 421 | if sv_hastok s wv wn part vboxc wa sv_tlen vboxc wa true |
| 422 | ret true |
| 423 | end |
| 424 | end |
| 425 | ret false |
| 426 | end |
| 427 | fn sv_islink s ulong t0 ulong t1 ulong to bool |
| 428 | if not sv_eqat s t0 vbla |
| 429 | ret false |
| 430 | end |
| 431 | wv = sv_cval s t0 t1 |
| 432 | if eq wv VNONE |
| 433 | ret false |
| 434 | end |
| 435 | ret sv_hastok s wv get vav 0 vblink true |
| 436 | end |
| 437 | fn sv_linkok s ulong t0 ulong t1 ulong to bool |
| 438 | wv = sv_findn s vbhref t0 add t1 1 |
| 439 | if eq wv VNONE |
| 440 | ret false |
| 441 | end |
| 442 | wv = add wv len vbhref |
| 443 | wz = sv_findb2 s 34 wv |
| 444 | if or eq wz VNONE gt wz t1 |
| 445 | ret false |
| 446 | end |
| 447 | wn = sub wz wv |
| 448 | if and ge wn len vgh sv_eqat s wv vgh |
| 449 | ret true |
| 450 | end |
| 451 | if not and gt wn len vrnet sv_eqat s wv vrnet |
| 452 | ret false |
| 453 | end |
| 454 | wi = add wv len vrnet |
| 455 | while lt wi wz bound 999999 |
| 456 | wc = sv_bat s wi |
| 457 | if eq wc 47 |
| 458 | note Rust boxlink rule: only /tree/... may follow the Radicle repository id. |
| 459 | if not gt wi add wv len vrnet |
| 460 | ret false |
| 461 | end |
| 462 | if lt sub wz wi len vrtree |
| 463 | ret false |
| 464 | end |
| 465 | ret sv_eqat s wi vrtree |
| 466 | end |
| 467 | if not sv_alnum wc |
| 468 | ret false |
| 469 | end |
| 470 | wi = add wi 1 |
| 471 | end |
| 472 | ret true |
| 473 | end |
| 474 | fn sv_isnone s ulong t0 ulong t1 ulong to bool |
| 475 | wv = sv_cval s t0 t1 |
| 476 | if eq wv VNONE |
| 477 | ret false |
| 478 | end |
| 479 | ret sv_hastok s wv get vav 0 vbnone true |
| 480 | end |
| 481 | fn sv_alnum c uchar to bool |
| 482 | if and ge c 48 le c 57 |
| 483 | ret true |
| 484 | end |
| 485 | if and ge c 65 le c 90 |
| 486 | ret true |
| 487 | end |
| 488 | ret and ge c 97 le c 122 |
| 489 | end |
| 490 | fn sv_boxes s ulong rule view uchar * to ulong |
| 491 | wn = ulong 0 |
| 492 | wopen = false |
| 493 | wres = true |
| 494 | wbx = ulong 0 |
| 495 | wi = ulong 0 |
| 496 | while true bound 999999 |
| 497 | wl = sv_findb2 s 60 wi |
| 498 | if eq wl VNONE |
| 499 | break |
| 500 | end |
| 501 | wg = sv_tagend s wl |
| 502 | if eq wg VNONE |
| 503 | break |
| 504 | end |
| 505 | wi = add wg 1 |
| 506 | wc = sv_bat s add wl 1 |
| 507 | if not or eq wc 47 eq wc 33 |
| 508 | if sv_isbox s wl wg |
| 509 | if and wopen not wres |
| 510 | sv_boxfail s wbx vtnobox rule |
| 511 | end |
| 512 | wopen = true |
| 513 | wres = false |
| 514 | wbx = wl |
| 515 | wn = add wn 1 |
| 516 | else |
| 517 | if and wopen not wres |
| 518 | if sv_islink s wl wg |
| 519 | wres = true |
| 520 | if not sv_linkok s wl wg |
| 521 | sv_boxfail s wbx vtoffgh rule |
| 522 | end |
| 523 | else |
| 524 | if sv_isnone s wl wg |
| 525 | wres = true |
| 526 | end |
| 527 | end |
| 528 | end |
| 529 | end |
| 530 | end |
| 531 | end |
| 532 | if and wopen not wres |
| 533 | sv_boxfail s wbx vtnobox rule |
| 534 | end |
| 535 | ret wn |
| 536 | end |
| 537 | fn sv_boxfail s ulong wpos ulong why view uchar * rule view uchar * to void |
| 538 | wg = sv_tagend s wpos |
| 539 | wn = sub add wg 1 wpos |
| 540 | if gt wn 90 |
| 541 | wn = 90 |
| 542 | end |
| 543 | sv_failx rule why add sv_off s wpos wn |
| 544 | end |
| 545 | |
| 546 | note ---------------------------------------------------------------- H hubs |
| 547 | fn sv_hub k ulong to void |
| 548 | wa = sv_tat vhubs k |
| 549 | ws = sv_pg part vhubs wa sv_tlen vhubs wa vrh |
| 550 | if eq ws 0 |
| 551 | ret |
| 552 | end |
| 553 | wf = sv_find ws vfooter 0 |
| 554 | if eq wf VNONE |
| 555 | wf = sv_n ws |
| 556 | end |
| 557 | if eq k 0 |
| 558 | sv_hubreq ws vhub0 wf |
| 559 | sv_hubrows ws |
| 560 | end |
| 561 | if eq k 1 |
| 562 | sv_hubreq ws vhub1 wf |
| 563 | sv_hubnost ws |
| 564 | end |
| 565 | if eq k 2 |
| 566 | sv_hubreq ws vhub2 wf |
| 567 | sv_hubnost ws |
| 568 | end |
| 569 | sv_nodash ws vrh |
| 570 | wb = sv_boxes ws vrh |
| 571 | sv_dests ws |
| 572 | sv_drop ws |
| 573 | end |
| 574 | fn sv_hubreq s ulong t view uchar * wf ulong to void |
| 575 | for wk ulong sv_tcount t |
| 576 | wa = sv_tat t wk |
| 577 | if not sv_hasn s part t wa sv_tlen t wa 0 wf |
| 578 | sv_failt vrh vtneed part t wa sv_tlen t wa |
| 579 | end |
| 580 | end |
| 581 | end |
| 582 | fn sv_hubnost s ulong to void |
| 583 | for wk ulong sv_tcount vrstat |
| 584 | wa = sv_tat vrstat wk |
| 585 | if sv_has s part vrstat wa sv_tlen vrstat wa |
| 586 | sv_failt vrh vtstatw part vrstat wa sv_tlen vrstat wa |
| 587 | end |
| 588 | end |
| 589 | end |
| 590 | note sv_hubrows: every turing row of the published research-status.json has its card, |
| 591 | note data-row="ID" data-status="STATUS" (the hub renders from the same data). |
| 592 | fn sv_hubrows s ulong to void |
| 593 | sv_prel vfrsj |
| 594 | if not sv_exists |
| 595 | sv_fail vrh vtrow |
| 596 | ret |
| 597 | end |
| 598 | wr = sv_jload |
| 599 | wc = sj_first sj_find wr vktrows |
| 600 | while ne wc 0 bound 65536 |
| 601 | wn = sv_snew |
| 602 | sv_pusht vdrow |
| 603 | sv_pushn sj_find wc vkid |
| 604 | sv_pusht vdst |
| 605 | sv_pushn sj_find wc vkstatus |
| 606 | sv_pusht vxquote |
| 607 | if eq sv_finda s 0 sv_n s sv_off wn sv_n wn VNONE |
| 608 | sv_failx vrh vtrow sv_off wn sv_n wn |
| 609 | end |
| 610 | sv_drop wn |
| 611 | wc = sj_next wc |
| 612 | end |
| 613 | end |
| 614 | fn sv_pushn node ulong to void |
| 615 | if ne sj_kind node 3 |
| 616 | ret |
| 617 | end |
| 618 | for wj ulong sj_size node |
| 619 | sv_push sj_byte node wj |
| 620 | end |
| 621 | end |
| 622 | |
| 623 | note ---------------------------------------------------------------- A1 accessibility |
| 624 | note A1 (ledger L501, 2026-11-09): the two axe rules Lighthouse failed on /omega/ on 2026-10-22, |
| 625 | note on every published .html page. Row: each child element of a role="row" element carries role |
| 626 | note cell, columnheader, rowheader or gridcell (aria-required-children; the CUDA map rows held |
| 627 | note their source links directly). Name: an <a> or <button> with an aria-label holds its own |
| 628 | note text. That text is the element's content with tags removed and nothing put between them |
| 629 | note (script, style, template and hidden or aria-hidden content dropped, entities decoded, |
| 630 | note whitespace squashed); it is empty or, ignoring ASCII case, inside the squashed label |
| 631 | note (label-content-name-mismatch: the header brand read "AienOSPERSISTENT ..."). Stricter than |
| 632 | note axe, which skips text CSS hides: here hidden-by-CSS text still counts. |
| 633 | text vra1 "A1" |
| 634 | text va1role "role" |
| 635 | text va1row "row" |
| 636 | text va1cell "cell\ncolumnheader\nrowheader\ngridcell\n" |
| 637 | text va1lab "aria-label" |
| 638 | text va1a "a" |
| 639 | text va1btn "button" |
| 640 | text vta1row "role=row child without a cell role" |
| 641 | text vta1nam "aria-label does not hold the element's text" |
| 642 | text vta1unt "unterminated tag or element" |
| 643 | fn sv_a1 s ulong to void |
| 644 | wi = ulong 0 |
| 645 | while lt wi sv_n s bound 999999 |
| 646 | wl = sv_findb2 s 60 wi |
| 647 | if eq wl VNONE |
| 648 | ret |
| 649 | end |
| 650 | wi = sv_a1tag s wl |
| 651 | end |
| 652 | end |
| 653 | note sv_a1tag: one '<' at wl; checks an opening tag and returns where scanning resumes. |
| 654 | fn sv_a1tag s ulong wl ulong to ulong |
| 655 | wn = sv_n s |
| 656 | if sv_eqat s wl vxcom |
| 657 | wz = sv_find s vxcomx wl |
| 658 | if eq wz VNONE |
| 659 | ret wn |
| 660 | end |
| 661 | ret add wz 3 |
| 662 | end |
| 663 | c = sv_bat s add wl 1 |
| 664 | if or eq c 47 eq c 33 |
| 665 | ret add wl 1 |
| 666 | end |
| 667 | wnl = sv_tname s wl |
| 668 | wg = sv_tagend s wl |
| 669 | if or eq wnl 0 eq wg VNONE |
| 670 | ret add wl 1 |
| 671 | end |
| 672 | if or sv_tnis vxscr sv_tnis vxsty |
| 673 | wz = sv_eend s add wg 1 |
| 674 | if eq wz VNONE |
| 675 | ret wn |
| 676 | end |
| 677 | ret wz |
| 678 | end |
| 679 | wab = or sv_tnis va1a sv_tnis va1btn |
| 680 | wv = sv_attr s wl wg va1role |
| 681 | if sv_aeq s wv va1row |
| 682 | sv_a1row s add wg 1 |
| 683 | end |
| 684 | if wab |
| 685 | wv = sv_attr s wl wg va1lab |
| 686 | if ne wv VNONE |
| 687 | sv_a1nam s wl wg wv |
| 688 | end |
| 689 | end |
| 690 | ret add wg 1 |
| 691 | end |
| 692 | note sv_a1row: the children of the row whose content starts at from, up to its close tag. |
| 693 | fn sv_a1row s ulong from ulong to void |
| 694 | wd = ulong 0 |
| 695 | wi = from |
| 696 | while true bound 999999 |
| 697 | wl = sv_findb2 s 60 wi |
| 698 | if eq wl VNONE |
| 699 | sv_fail vra1 vta1unt |
| 700 | ret |
| 701 | end |
| 702 | wg = sv_tagend s wl |
| 703 | if eq wg VNONE |
| 704 | sv_fail vra1 vta1unt |
| 705 | ret |
| 706 | end |
| 707 | if eq sv_bat s add wl 1 47 |
| 708 | if eq wd 0 |
| 709 | ret |
| 710 | end |
| 711 | wd = sub wd 1 |
| 712 | else |
| 713 | if ne sv_bat s add wl 1 33 |
| 714 | wnl = sv_tname s wl |
| 715 | if eq wd 0 |
| 716 | if not sv_a1cell s sv_attr s wl wg va1role |
| 717 | sv_failx vra1 vta1row add sv_off s wl add sub wg wl 1 |
| 718 | end |
| 719 | end |
| 720 | if not or sv_tnin vxvoid eq sv_b s sub wg 1 47 |
| 721 | wd = add wd 1 |
| 722 | end |
| 723 | end |
| 724 | end |
| 725 | wi = add wg 1 |
| 726 | end |
| 727 | end |
| 728 | note sv_a1cell: the role value at v (length vav[0], from sv_attr) is one of the cell roles. |
| 729 | fn sv_a1cell s ulong v ulong to bool |
| 730 | for wk ulong sv_tcount va1cell |
| 731 | wa = sv_tat va1cell wk |
| 732 | if sv_aeq s v part va1cell wa sv_tlen va1cell wa |
| 733 | ret true |
| 734 | end |
| 735 | end |
| 736 | ret false |
| 737 | end |
| 738 | note sv_a1nam: the <a> or <button> opening at wl ('>' at wg) whose aria-label value is at wv. |
| 739 | fn sv_a1nam s ulong wl ulong wg ulong wv ulong to void |
| 740 | wln = get vav 0 |
| 741 | wnl = sv_tname s wl |
| 742 | wz = sv_eend s add wg 1 |
| 743 | if eq wz VNONE |
| 744 | sv_fail vra1 vta1unt |
| 745 | ret |
| 746 | end |
| 747 | wf = sv_slot1 wv add wv wln s |
| 748 | sv_ents wf vxent1 |
| 749 | sv_squash wf |
| 750 | wt = sv_slot1 add wg 1 sub wz add 3 wnl s |
| 751 | wh = sv_strip wt 23 |
| 752 | sv_a1untag wh |
| 753 | sv_ents wh vxent1 |
| 754 | sv_squash wh |
| 755 | if not sv_a1in wh wf |
| 756 | sv_failx vra1 vta1nam add sv_off s wl add sub wg wl 1 |
| 757 | end |
| 758 | sv_drop wf |
| 759 | end |
| 760 | note sv_a1untag: the newest slot s in place, every tag removed and nothing put in its place. |
| 761 | fn sv_a1untag s ulong to void |
| 762 | wo = sv_off s |
| 763 | wout = ulong 0 |
| 764 | win = false |
| 765 | for wi ulong sv_n s |
| 766 | c = get va add wo wi |
| 767 | if eq c 60 |
| 768 | win = true |
| 769 | else |
| 770 | if and eq c 62 win |
| 771 | win = false |
| 772 | else |
| 773 | if not win |
| 774 | put va add wo wout c |
| 775 | wout = add wout 1 |
| 776 | end |
| 777 | end |
| 778 | end |
| 779 | end |
| 780 | sv_trunc s wout |
| 781 | end |
| 782 | note sv_a1in: slot t is empty or occurs in slot l, ASCII case ignored. |
| 783 | fn sv_a1in t ulong l ulong to bool |
| 784 | wn = sv_n t |
| 785 | wm = sv_n l |
| 786 | if eq wn 0 |
| 787 | ret true |
| 788 | end |
| 789 | if gt wn wm |
| 790 | ret false |
| 791 | end |
| 792 | wi = ulong 0 |
| 793 | while le add wi wn wm bound 999999 |
| 794 | wj = ulong 0 |
| 795 | while and lt wj wn eq sv_lc sv_bat l add wi wj sv_lc sv_bat t wj bound 999999 |
| 796 | wj = add wj 1 |
| 797 | end |
| 798 | if eq wj wn |
| 799 | ret true |
| 800 | end |
| 801 | wi = add wi 1 |
| 802 | end |
| 803 | ret false |
| 804 | end |
| 805 | |
| 806 | note ---------------------------------------------------------------- file loop |
| 807 | fn sv_each1 q ulong to void |
| 808 | if eq get vfk q 2 |
| 809 | ret |
| 810 | end |
| 811 | wh = ulong 0 |
| 812 | if sv_fext q vxhtm |
| 813 | wh = sv_fload q |
| 814 | if eq wh 0 |
| 815 | ret |
| 816 | end |
| 817 | wcon = ulong 1 |
| 818 | if or sv_fis q vredrel sv_fis q vrunrel |
| 819 | wcon = 0 |
| 820 | end |
| 821 | sv_c1 wh wcon |
| 822 | sv_contact q wh |
| 823 | sv_assets wh |
| 824 | sv_voice1 q wh |
| 825 | sv_a1 wh |
| 826 | sv_drop wh |
| 827 | ret |
| 828 | end |
| 829 | if or sv_fext q vxmd sv_fext q vxtxt |
| 830 | wh = sv_fload q |
| 831 | if ne wh 0 |
| 832 | sv_voice1 q wh |
| 833 | sv_drop wh |
| 834 | end |
| 835 | ret |
| 836 | end |
| 837 | if sv_fext q vxjs |
| 838 | wh = sv_fload q |
| 839 | if ne wh 0 |
| 840 | sv_c1js q wh |
| 841 | sv_drop wh |
| 842 | end |
| 843 | end |
| 844 | end |
| 845 | fn sv_eachf to void |
| 846 | for wq ulong get vfc 0 |
| 847 | sv_pfile wq |
| 848 | sv_each1 wq |
| 849 | end |
| 850 | end |
| 851 | |
| 852 | note ---------------------------------------------------------------- whole runs |
| 853 | text vkmach2 "machines" |
| 854 | text vfmj "machines.json" |
| 855 | text vfoj "omega.json" |
| 856 | text vfcj "cudaplusplus.json" |
| 857 | text vfsj "status.json" |
| 858 | text vfpp "data/project-progress.json" |
| 859 | text vfdi "data/index.json" |
| 860 | text vfdp "data/pages.json" |
| 861 | text vfnj "now.json" |
| 862 | text vffj "facts.json" |
| 863 | text vfar "data/agent-repos.json" |
| 864 | fn sv_dgates to bool |
| 865 | wok = sv_vdist vkmach vfmj |
| 866 | wok = and sv_vdist vkomega vfoj wok |
| 867 | wok = and sv_vdist vkcuda vfcj wok |
| 868 | wok = and sv_vdist vkres vfrsj wok |
| 869 | wok = and sv_vdist vkstat vfsj wok |
| 870 | wok = and sv_vdist vkprog vfpp wok |
| 871 | wok = and sv_vdist vkindex vfdi wok |
| 872 | wok = and sv_vdist vkpages vfdp wok |
| 873 | wok = and sv_vdist vknow vfnj wok |
| 874 | wok = and sv_vdist vkfacts vffj wok |
| 875 | ret and sv_vdist vkagent vfar wok |
| 876 | end |
| 877 | note sv_dist: the whole dist verification. dist, quotes and engineer are paths as given. |
| 878 | fn sv_dist dist view uchar * quotes view uchar * engr view uchar * to bool |
| 879 | sv_vinit |
| 880 | sv_setroot dist |
| 881 | wok = sv_vdata vkquote quotes |
| 882 | wok = and sv_vdata vkengr engr wok |
| 883 | sv_vrec |
| 884 | sv_walk |
| 885 | sv_regw |
| 886 | sv_vredir |
| 887 | sv_pages |
| 888 | sv_sitemap |
| 889 | wok = and sv_dgates wok |
| 890 | sv_eachf |
| 891 | sv_c2 |
| 892 | sv_cseo |
| 893 | sv_v1 |
| 894 | sv_vroot |
| 895 | sv_vclassic |
| 896 | sv_files vv5f vrv10 |
| 897 | sv_v6 |
| 898 | sv_v8 |
| 899 | sv_v11 |
| 900 | sv_v13 |
| 901 | for wk ulong 3 |
| 902 | sv_hub wk |
| 903 | end |
| 904 | sv_v15 vfmach |
| 905 | sv_v15 vfdisc |
| 906 | sv_v16 |
| 907 | sv_v18 |
| 908 | sv_v19 |
| 909 | sv_n1 |
| 910 | sv_p1 |
| 911 | sv_o8 |
| 912 | ret and wok eq get vfail 0 0 |
| 913 | end |
| 914 | note sv_pregen: B1-B4 over the repository before any output is written (paths relative to the |
| 915 | note current directory: the repository root). The generator calls this first and stops on false. |
| 916 | text vsnow "public/data/now.tsv" |
| 917 | text vsfacts "facts.json" |
| 918 | text vsagent "public/data/agent-repos.json" |
| 919 | text vsmach "crates/site-builder/data/machines.json" |
| 920 | text vsomega "crates/site-builder/data/omega.json" |
| 921 | text vscuda "crates/site-builder/data/cudaplusplus.json" |
| 922 | text vsres "crates/site-builder/data/research_status.json" |
| 923 | text vsstat "crates/site-builder/data/status.json" |
| 924 | text vsprog "public/data/project-progress.json" |
| 925 | text vsquote "data/quotes.json" |
| 926 | text vsengr "public/data/engineer.json" |
| 927 | fn sv_pregen to bool |
| 928 | sv_vinit |
| 929 | wok = true |
| 930 | put vpn 0 0 |
| 931 | sv_padd vsnow |
| 932 | sv_ctxp |
| 933 | if sv_exists |
| 934 | wok = sv_vdata vkledg vsnow |
| 935 | end |
| 936 | wok = and sv_vdata vkfacts vsfacts wok |
| 937 | wok = and sv_vdata vkagent vsagent wok |
| 938 | wok = and sv_vdata vkmach vsmach wok |
| 939 | wok = and sv_vdata vkomega vsomega wok |
| 940 | wok = and sv_vdata vkcuda vscuda wok |
| 941 | wok = and sv_vdata vkres vsres wok |
| 942 | wok = and sv_vdata vkstat vsstat wok |
| 943 | wok = and sv_vdata vkprog vsprog wok |
| 944 | wok = and sv_vdata vkquote vsquote wok |
| 945 | wok = and sv_vdata vkengr vsengr wok |
| 946 | ret and wok eq get vfail 0 0 |
| 947 | end |