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/aienos.com/blob/main/om/site/chrome.om
# aienos.com
Source of www.aienos.com, served from my own hardware
Brought by drakestapleton
Sign in to star 0 stars 0 watching
About Files History Releases Proposed changes Issues For developers
branch `main` Branches Tags History
`aienos.com / om / site / chrome.om`
327 lines · 17239 bytes Raw Blame History
1 note Readable homepage restored at Drake's request, 2026-11-06. Aien stays at /aien/.
2 note Readable site chrome. The homepage has navigation; the optional Aien scene has quiet controls.
3 note sc_begin stores metadata; sc_route emits head and opens main; sc_end finishes the document.
4 note Core sc_extrahead owns registry-aware JSONLD, citations and route assets.
5 note Native root and Aien scripts come from Core. The consent dialog mirrors main's allen_intro.rs dialog().
6 global sctitle uchar 2048
7 global scdesc uchar 8192
8 global sclens ulong 2
9 global scstate uchar 2
10 global scarea ulong 1
11 text scnav "
"
12 text scroot "/"
13 text sclass "/classic/"
14 text scallen "/aien/"
15 text scsi "SI"
16 text scomega "Omega"
17 text scmach "Machine"
18 text scdisco "Discoveries"
19 text sclearn "Learn"
20 text scuomega "/omega/"
21 text scumach "/machine/"
22 text scudisc "/discoveries/"
23 text sculearn "/learn/"
24 text scdoc "
"
27 text sctend ""
41 text scerr "/404.html"
42 text scrobots ""
43 text scnoidx ""
44 note turing-look.css follows site.css: the pre-2026-11-06 near-black Turing look wins over the base layout (Drake, 2026-11-06).
45 text sctokens ""
46 note Reading pages carry the shared stylesheets inline: one "
56 text scsupp "/support/"
57 note Two pages keep the seven linked sheets (the same tags as before). /now/: its static page is 902,101 bytes, the dist verifier walks a page in loops bounded at 999,999 bytes, and the hub serves /now/ from the live floor service.
58 note /owned/: verify V16 forbids the text rs-badge anywhere on that page, and the shared CSS names .rs-badge.
59 text scnowp "/now/"
60 text scownp "/owned/"
61 text scstylnk ""
62 text scnative ""
63 text scclient ""
64 text scfrontc ""
65 text scbody ""
67 text scskip "Skip to content"
68 note Site-wide notice slot (Drake 2026-11-08: the GitHub grievance banner is removed, do not restore it).
69 note /switched-off/ is the neutral Get the code page; scwar stays empty.
70 text scwar ""
71 text scutil0 "
"
80 text scmain ""
81 note About the engineer keeps its galaxy edge to edge, as on drakestapleton.com.
82 text scbmain ""
83 text sceng "/engineer/"
84 text scnmain ""
85 text schmain ""
86 text scclose ""
87 text scfoot0 ""
89 text sccontct "/contact/"
90 text scalph "/alpha/"
91 text scdone "\n"
92 text scnext0 ""
99 fn sc_begin title view uchar * desc view uchar * to void
100 if gt len title len sctitle
101 trap 3
102 end
103 if gt len desc len scdesc
104 trap 3
105 end
106 put sclens 0 len title
107 put sclens 1 len desc
108 for i ulong len title
109 put sctitle i get title i
110 end
111 for i ulong len desc
112 put scdesc i get desc i
113 end
114 end
115 fn sc_title to void
116 buf = new uchar 2048 0
117 for i ulong get sclens 0
118 put buf i get sctitle i
119 end
120 sr_esc part buf 0 get sclens 0
121 end
122 fn sc_desc to void
123 buf = new uchar 8192 0
124 for i ulong get sclens 1
125 put buf i get scdesc i
126 end
127 sr_esc part buf 0 get sclens 1
128 end
129 fn sc_prefix route view uchar * pre view uchar * to bool
130 if lt len route len pre
131 ret false
132 end
133 for i ulong len pre
134 if ne get route i get pre i
135 ret false
136 end
137 end
138 ret true
139 end
140 fn sc_mdpath route view uchar * to void
141 if sr_equal route scroot
142 sr_esc route
143 sr_raw scindex
144 else
145 n = len route
146 if gt n 0
147 if eq get route sub n 1 47
148 n = sub n 1
149 end
150 end
151 sr_esc part route 0 n
152 sr_raw scmd
153 end
154 end
155 fn sc_meta route view uchar * to void
156 sr_raw scdoc
157 sr_raw scen
158 sr_raw schead
159 sc_title
160 sr_raw sctend
161 sc_desc
162 sr_raw scogt
163 sc_title
164 sr_raw scogd
165 sc_desc
166 sr_raw sctwt
167 sc_title
168 sr_raw sctwd
169 sc_desc
170 if not sr_equal route scerr
171 sr_raw sccan
172 sr_esc route
173 end
174 sr_raw scogurl
175 sr_esc route
176 sr_raw scogtype
177 ss_ogtype route
178 sr_raw scogimg
179 ss_image route
180 sr_raw sctwimg
181 ss_image route
182 sr_raw scendat
183 note the error page has no markdown mirror, so it names none
184 if not sr_equal route scerr
185 sr_raw scalt
186 sc_mdpath route
187 sr_raw scendat
188 end
189 sr_raw scmdend
190 if sr_equal route scerr
191 sr_raw scnoidx
192 else
193 sr_raw scrobots
194 end
195 end
196 fn sc_areaurl to void
197 if eq get scarea 0 2
198 sr_raw scuomega
199 else
200 if eq get scarea 0 3
201 sr_raw scumach
202 else
203 if eq get scarea 0 4
204 sr_raw scudisc
205 else
206 if eq get scarea 0 5
207 sr_raw sculearn
208 else
209 sr_raw sclass
210 end
211 end
212 end
213 end
214 end
215 fn sc_styles route view uchar * to void
216 if or sr_equal route scnowp sr_equal route scownp
217 sr_raw scstylnk
218 ret
219 end
220 if sr_equal route scroot
221 sr_raw schomlnk
222 else
223 sr_raw sctoklnk
224 end
225 sr_raw scstyo
226 css_emit
227 sa_look
228 if sr_equal route scsupp
229 sr_raw scstyc
230 sr_raw scsuplnk
231 sr_raw scstyo
232 end
233 sa_nav
234 css_restored
235 sr_raw scstyc
236 end
237 fn sc_route route view uchar * area view uchar * to void
238 put scstate 0 0
239 put scstate 1 0
240 if sr_equal route scroot
241 put scstate 0 1
242 end
243 if sr_equal route scallen
244 put scstate 1 1
245 end
246 put scarea 0 1
247 if sr_equal area scomega
248 put scarea 0 2
249 end
250 if sr_equal area scmach
251 put scarea 0 3
252 end
253 if sr_equal area scdisco
254 put scarea 0 4
255 end
256 if sr_equal area sclearn
257 put scarea 0 5
258 end
259 sc_meta route
260 if eq get scstate 1 1
261 sr_raw sctokens
262 else
263 sc_styles route
264 end
265 if sr_equal route scroot
266 sr_raw scfrontc
267 else
268 sr_raw scclient
269 end
270 sc_extrahead route
271 sr_raw scbody
272 sr_esc area
273 sr_raw scendat
274 sr_raw scskip
275 if not sr_equal route scroot
276 if eq get scarea 0 5
277 sr_raw slnotice
278 else
279 sr_raw scwar
280 end
281 end
282 if ne get scstate 1 1
283 sr_raw scnav
284 else
285 sr_raw scutil0
286 sr_raw scutnat
287 sr_raw scutile
288 end
289 if eq get scstate 1 1
290 sr_raw scind0
291 sr_raw schmain
292 else
293 if sc_prefix route sceng
294 sr_raw scbmain
295 else
296 sr_raw scmain
297 end
298 end
299 end
300 fn sc_next to void
301 sr_raw scnext0
302 if eq get scarea 0 1
303 sr_raw scnext1
304 end
305 if eq get scarea 0 2
306 sr_raw scnext2
307 end
308 if eq get scarea 0 3
309 sr_raw scnext3
310 end
311 if eq get scarea 0 4
312 sr_raw scnext4
313 end
314 if eq get scarea 0 5
315 sr_raw scnext5
316 end
317 sr_raw scnexte
318 end
319 fn sc_end to void
320 sr_raw scclose
321 if ne get scstate 1 1
322 sr_raw scfoot0
323 sr_raw scind0
324 sr_raw scfoot1
325 end
326 sr_raw scdone
327 end