Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/apps/aienos-site/om/site/repos.om # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / apps / aienos-site / om / site / repos.om` 552 lines ยท 10260 bytes Raw Blame History 1 note Public repository list on /switched-off/ (Drake, 2026-11-07; names only since 2026-11-14, when 2 note Radicle was removed). Rows come from data/public-repos.md at build time: the first | repo | RID | 3 note table, kept as the record of what was public. The count and every row are read there, never 4 note written into the page; the page shows repository names only, never an ID or a clone command. 5 note Every row must match one rdallow entry exactly (name and RID); rdallow is the public table and 6 note nothing else, so a repository outside it can never be published (RD0007). A name or RID listed 7 note twice fails (RD0011). A row that says PRIVATE or WITHDRAWN (any case), or has a malformed cell, 8 note fails too. The page source holds one marker inside main. 9 global rdbuf uchar 65536 10 global rdlen ulong 1 11 global rdrs ulong 64 12 global rdrn ulong 64 13 global rdis ulong 64 14 global rdin ulong 64 15 global rdcnt ulong 1 16 text rdroute "/switched-off/" 17 text rdpath "data/public-repos.md" 18 text rdhead "\n| repo | RID |" 19 text rdrule "|---" 20 text rdmark "" 21 text rdpriv "PRIVATE" 22 text rdwith "WITHDRAWN" 23 text rdsep " | " 24 text rdend " |" 25 text rdpfx "rad:z" 26 text rdcname "cuda-crack" 27 text RD0001 "data/public-repos.md is missing, unreadable or larger than 64 KiB" 28 text RD0002 "data/public-repos.md has no | repo | RID | table with a |--- rule" 29 text RD0003 "data/public-repos.md lists a PRIVATE or WITHDRAWN row in its public table" 30 text RD0004 "data/public-repos.md has a malformed repo or RID cell" 31 text RD0005 "data/public-repos.md lists no repositories, or more than 64" 32 text RD0006 "/switched-off/ source needs exactly one marker inside main" 33 text RD0007 "data/public-repos.md lists a repository or RID that is not in the rdallow public list of om/site/forge.om" 34 text RD0011 "data/public-repos.md lists a repository name or RID more than once" 35 text rdt0 "

" 36 text rdt1 " public repositories, listed by name.

" 37 text rdt2 "" 39 text rdt5 "
Repository
" 38 text rdt3 "
" 40 41 fn rd_load path view uchar * fail view uchar * to void 42 fd = fopen path 0 len path 0 0 43 if lt fd 0 44 st_fail fail 45 end 46 n = ulong 0 47 while true bound 999999 48 r = read int fd rdbuf n sub len rdbuf n 49 if lt r 0 50 st_fail fail 51 end 52 if eq r 0 53 break 54 end 55 n = add n ulong r 56 if ge n len rdbuf 57 st_fail fail 58 end 59 end 60 r = fclose int fd 61 if ne r 0 62 st_fail fail 63 end 64 put rdlen 0 n 65 end 66 67 fn rd_at pattern view uchar * pos ulong to bool 68 if gt len pattern sub get rdlen 0 pos 69 ret false 70 end 71 for i ulong len pattern 72 if ne get rdbuf add pos i get pattern i 73 ret false 74 end 75 end 76 ret true 77 end 78 79 fn rd_find pattern view uchar * pos ulong finish ulong to ulong 80 p = pos 81 while lt p finish bound 999999 82 if rd_at pattern p 83 ret p 84 end 85 p = add p 1 86 end 87 ret finish 88 end 89 90 fn rd_lc c uchar to uchar 91 if and ge c 65 le c 90 92 ret uchar add c 32 93 end 94 ret c 95 end 96 97 fn rd_iat pattern view uchar * pos ulong to bool 98 if gt len pattern sub get rdlen 0 pos 99 ret false 100 end 101 for i ulong len pattern 102 if ne rd_lc get rdbuf add pos i rd_lc get pattern i 103 ret false 104 end 105 end 106 ret true 107 end 108 109 fn rd_ihas pattern view uchar * pos ulong finish ulong to bool 110 p = pos 111 while lt p finish bound 999999 112 if rd_iat pattern p 113 ret le add p len pattern finish 114 end 115 p = add p 1 116 end 117 ret false 118 end 119 120 fn rd_eol pos ulong to ulong 121 p = pos 122 while lt p get rdlen 0 bound 999999 123 if eq get rdbuf p 10 124 ret p 125 end 126 p = add p 1 127 end 128 ret get rdlen 0 129 end 130 131 fn rd_alnum c uchar to bool 132 if and ge c 48 le c 57 133 ret true 134 end 135 if and ge c 65 le c 90 136 ret true 137 end 138 ret and ge c 97 le c 122 139 end 140 141 fn rd_name start ulong finish ulong to void 142 if or ge start finish gt sub finish start 64 143 st_fail RD0004 144 end 145 for i ulong sub finish start 146 c = get rdbuf add start i 147 if not or or or rd_alnum c eq c 45 eq c 46 eq c 95 148 st_fail RD0004 149 end 150 end 151 end 152 153 fn rd_rid start ulong finish ulong to void 154 if or lt sub finish start 10 gt sub finish start 64 155 st_fail RD0004 156 end 157 if not rd_at rdpfx start 158 st_fail RD0004 159 end 160 for i ulong sub sub finish start 4 161 if not rd_alnum get rdbuf add add start 4 i 162 st_fail RD0004 163 end 164 end 165 end 166 167 fn rd_same ts ulong tn ulong bs ulong bn ulong to bool 168 if ne tn bn 169 ret false 170 end 171 for i ulong tn 172 if ne get rdallow add ts i get rdbuf add bs i 173 ret false 174 end 175 end 176 ret true 177 end 178 179 fn rd_tsame ts ulong tn ulong pattern view uchar * to bool 180 if ne tn len pattern 181 ret false 182 end 183 for i ulong tn 184 if ne get rdallow add ts i get pattern i 185 ret false 186 end 187 end 188 ret true 189 end 190 191 fn rd_bsame xs ulong xn ulong ys ulong yn ulong to bool 192 if ne xn yn 193 ret false 194 end 195 for i ulong xn 196 if ne get rdbuf add xs i get rdbuf add ys i 197 ret false 198 end 199 end 200 ret true 201 end 202 203 fn rd_allow cr bool s ulong a ulong b ulong f ulong to bool 204 i = ulong 0 205 while lt i len rdallow bound 4096 206 sp = i 207 while ne get rdallow sp 32 bound 128 208 sp = add sp 1 209 end 210 e = add sp 1 211 while ne get rdallow e 10 bound 128 212 e = add e 1 213 end 214 if rd_same add sp 1 sub e add sp 1 b sub f b 215 if cr 216 if rd_tsame i sub sp i rdcname 217 ret true 218 end 219 end 220 if not cr 221 if rd_same i sub sp i s sub a s 222 ret true 223 end 224 end 225 end 226 i = add e 1 227 end 228 ret false 229 end 230 231 fn rd_dup s ulong a ulong b ulong f ulong c ulong to void 232 for j ulong c 233 if rd_bsame get rdrs j get rdrn j s sub a s 234 st_fail RD0011 235 end 236 if rd_bsame get rdis j get rdin j b sub f b 237 st_fail RD0011 238 end 239 end 240 end 241 242 fn rd_parse to void 243 rd_load rdpath RD0001 244 h = rd_find rdhead 0 get rdlen 0 245 if eq h get rdlen 0 246 st_fail RD0002 247 end 248 p = add rd_eol add h 1 1 249 if not rd_at rdrule p 250 st_fail RD0002 251 end 252 p = add rd_eol p 1 253 c = ulong 0 254 while lt p get rdlen 0 bound 999999 255 if ne get rdbuf p 124 256 break 257 end 258 e = rd_eol p 259 if or rd_ihas rdpriv p e rd_ihas rdwith p e 260 st_fail RD0003 261 end 262 s = add p 2 263 a = rd_find rdsep s e 264 if eq a e 265 st_fail RD0004 266 end 267 b = add a len rdsep 268 f = rd_find rdend b e 269 if eq f e 270 st_fail RD0004 271 end 272 rd_name s a 273 rd_rid b f 274 if not rd_allow false s a b f 275 st_fail RD0007 276 end 277 rd_dup s a b f c 278 if ge c len rdrs 279 st_fail RD0005 280 end 281 put rdrs c s 282 put rdrn c sub a s 283 put rdis c b 284 put rdin c sub f b 285 c = add c 1 286 p = add e 1 287 end 288 if eq c 0 289 st_fail RD0005 290 end 291 put rdcnt 0 c 292 end 293 294 fn rd_emit start ulong cnt ulong to void 295 buf = new uchar 64 0 296 for i ulong cnt 297 put buf i get rdbuf add start i 298 end 299 sr_raw part buf 0 cnt 300 end 301 302 fn rd_table to void 303 sr_raw rdt0 304 sr_num get rdcnt 0 305 sr_raw rdt1 306 for i ulong get rdcnt 0 307 sr_raw rdt2 308 rd_emit get rdrs i get rdrn i 309 sr_raw rdt3 310 end 311 sr_raw rdt5 312 end 313 314 fn rd_body source view uchar * to void 315 rd_parse 316 sh_load source 317 p = sh_find shmain 0 318 if eq p get shlen 0 319 st_fail RD0006 320 end 321 q = sh_end p 322 finish = sh_find shmc q 323 m = sh_find rdmark q 324 if ge m finish 325 st_fail RD0006 326 end 327 if lt sh_find rdmark add m 1 get shlen 0 328 st_fail RD0006 329 end 330 sr_raw shdiv 331 sh_range add p len shmain q 332 sh_preserve q m 333 rd_table 334 sh_preserve add m len rdmark finish 335 sr_raw shdivc 336 sh_extra add finish len shmc get shlen 0 337 end 338 339 note rd_skip: the rdallow offset after the newline that ends the row holding i. 340 fn rd_skip i ulong to ulong 341 t = len rdallow 342 go = true 343 while go bound 4096 344 if ge i t 345 go = false 346 else 347 if eq get rdallow i 10 348 go = false 349 end 350 i = add i 1 351 end 352 end 353 ret i 354 end 355 356 note rd_row: offset of "rad:" in the rdallow row named by decoded bytes [o, o+n), or 0. 357 fn rd_row o ulong n ulong to ulong 358 t = len rdallow 359 i = ulong 0 360 while lt i t bound 128 361 ok = and gt n 0 le add add i n 1 t 362 if ok 363 for k ulong n 364 if ne get rdallow add i k get sjdec add o k 365 ok = false 366 end 367 end 368 end 369 if ok 370 ok = eq get rdallow add i n 32 371 end 372 if ok 373 ret add add i n 1 374 end 375 i = rd_skip i 376 end 377 ret 0 378 end 379 380 note rd_rowt: rd_row for a repository name held in text. 381 fn rd_rowt name view uchar * to ulong 382 t = len rdallow 383 n = len name 384 i = ulong 0 385 while lt i t bound 128 386 ok = le add add i n 1 t 387 if ok 388 for k ulong n 389 if ne get rdallow add i k get name k 390 ok = false 391 end 392 end 393 end 394 if ok 395 ok = eq get rdallow add i n 32 396 end 397 if ok 398 ret add add i n 1 399 end 400 i = rd_skip i 401 end 402 ret 0 403 end 404 405 note rd_repout: the repository name of the rdallow row whose RID starts at r (the name ends one 406 note byte before r), so a receipt names its repository and commit, never a Radicle ID. 407 fn rd_repout r ulong to void 408 s = sub r 1 409 go = true 410 while go bound 128 411 if eq s 0 412 go = false 413 else 414 if eq get rdallow sub s 1 10 415 go = false 416 else 417 s = sub s 1 418 end 419 end 420 end 421 for i ulong sub sub r 1 s 422 sr_byte get rdallow add s i 423 end 424 end 425 426 fn rd_atd o ulong n ulong p ulong s view uchar * to bool 427 if gt add p len s n 428 ret false 429 end 430 for j ulong len s 431 if ne get sjdec add o add p j get s j 432 ret false 433 end 434 end 435 ret true 436 end 437 438 fn rd_hex c uchar to bool 439 ret or and ge c 48 le c 57 and ge c 97 le c 102 440 end 441 442 note rd_slash: index of the first / at or after p in [o, o+n), or n. 443 fn rd_slash o ulong n ulong p ulong to ulong 444 q = p 445 while lt q n bound 65536 446 if eq get sjdec add o q 47 447 ret q 448 end 449 q = add q 1 450 end 451 ret n 452 end 453 454 note rd_sha: emits the rad text when [o+k, ...) is 7 to 40 hex bytes ending the range or a segment. 455 fn rd_sha o ulong n ulong k ulong row ulong to void 456 h = k 457 go = true 458 while go bound 64 459 if ge h n 460 go = false 461 else 462 if rd_hex get sjdec add o h 463 h = add h 1 464 else 465 go = false 466 end 467 end 468 end 469 hn = sub h k 470 if or lt hn 7 gt hn 40 471 ret 472 end 473 if lt h n 474 if ne get sjdec add o h 47 475 ret 476 end 477 end 478 sr_raw rdk0 479 rd_repout row 480 sr_byte 32 481 for j ulong hn 482 sr_byte get sjdec add o add k j 483 end 484 sr_raw rdk1 485 end 486 487 note rd_rcptr: the rad text after a receipt anchor whose URL is decoded bytes [o, o+n). 488 fn rd_rcptr o ulong n ulong to void 489 p = len rdfgb 490 if not rd_atd o n 0 rdfgb 491 ret 492 end 493 q = rd_slash o n p 494 if ge q n 495 ret 496 end 497 row = rd_row add o p sub q p 498 if eq row 0 499 ret 500 end 501 k = add q 1 502 if rd_atd o n k rdcm 503 rd_sha o n add k len rdcm row 504 ret 505 end 506 if rd_atd o n k rdbl 507 rd_sha o n add k len rdbl row 508 ret 509 end 510 if rd_atd o n k rdtr 511 rd_sha o n add k len rdtr row 512 end 513 end 514 515 fn rd_rcpt nd ulong to void 516 if eq nd 0 517 ret 518 end 519 if ne sj_kind nd 3 520 ret 521 end 522 rd_rcptr ulong get sjoff nd sj_size nd 523 end 524 525 note rd_rcptat: rad text for a short link form whose sha starts at byte p of nd, repo named in text. 526 fn rd_rcptat nd ulong p ulong repo view uchar * to void 527 row = rd_rowt repo 528 if eq row 0 529 ret 530 end 531 rd_sha ulong get sjoff nd sj_size nd p row 532 end 533 534 note rd_repolink: true for FORGE/, nothing after. 535 fn rd_repolink nd ulong to bool 536 if eq nd 0 537 ret false 538 end 539 if ne sj_kind nd 3 540 ret false 541 end 542 o = ulong get sjoff nd 543 n = sj_size nd 544 if not rd_atd o n 0 rdfgb 545 ret false 546 end 547 p = len rdfgb 548 if lt rd_slash o n p n 549 ret false 550 end 551 ret ne rd_row add o p sub n p 0 552 end