sergio/takana
> Una distribución Linux construida con un laboratorio funcional y hermético en el > sótano, y una terminal mutable, clásica y anárquica en el piso de arriba — diseñada > desde el suelo para que una IA programadora entienda, modifique y co…
sitio: el diagrama de los dos pisos en SVG, y fuera el voseo
1<!DOCTYPE html>
2<html lang="es" data-lang="es">
3<head>
4<meta charset="utf-8">
5<meta name="viewport" content="width=device-width,initial-scale=1">
6<title>takana — la forja determinista</title>
7<meta name="description" content="Una distribución de Linux con dos pisos: un laboratorio hermético que compila todo desde fuente y direcciona por hash, y un Linux clásico y mutable encima.">
8<meta name="color-scheme" content="light dark">
9<link rel="icon" href="simbolo.svg" type="image/svg+xml">
10<link rel="stylesheet" href="fuentes.css">
11<meta property="og:title" content="takana — la forja determinista">
12<meta property="og:description" content="Un laboratorio hermético abajo, un Linux clásico y mutable arriba. 941 recetas, 926 selladas.">
13<meta property="og:url" content="https://takana-os.net/">
14<meta property="og:type" content="website">
15<style>
16/* ── paleta oficial (docs/marca/README.md) ─────────────────────────────────────
17 Obsidiana #17130E · Piedra #2A241B · Alpaca #F2EBDD
18 Brasa #DF6B2A · Inti #E3A63D · Rojo fragua #A63A25 · Chispa #FFF6DE
19 El tema claro OSCURECE brasa para el texto: #DF6B2A sobre alpaca no llega a 3:1. */
20:root{
21 --obsidiana:#17130E;--piedra:#2A241B;--alpaca:#F2EBDD;
22 --brasa:#DF6B2A;--inti:#E3A63D;--fragua:#A63A25;--chispa:#17130E;
23 --fondo:#F2EBDD;--papel:#FAF6EC;--papel2:#EAE0CC;--linea:#DBCFB5;--linea2:#C4B593;
24 --texto:#17130E;--tenue:#544A3C;--debil:#6B604E;
25 --acento:#9E3F16;--acento2:#8A5A12;
26 --display:"Chivo","Arial Black",system-ui,sans-serif;
27 --sans:"IBM Plex Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
28 --mono:"IBM Plex Mono",ui-monospace,"DejaVu Sans Mono",monospace;
29 color-scheme:light}
30@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
31 --chispa:#FFF6DE;
32 --fondo:#17130E;--papel:#1D1813;--papel2:#2A241B;--linea:#332B21;--linea2:#4A3F30;
33 --texto:#F2EBDD;--tenue:#B8AB95;--debil:#9C907B;
34 --acento:#E8834A;--acento2:#E3A63D;
35 color-scheme:dark}}
36:root[data-theme="dark"]{
37 --chispa:#FFF6DE;
38 --fondo:#17130E;--papel:#1D1813;--papel2:#2A241B;--linea:#332B21;--linea2:#4A3F30;
39 --texto:#F2EBDD;--tenue:#B8AB95;--debil:#9C907B;
40 --acento:#E8834A;--acento2:#E3A63D;
41 color-scheme:dark}
42
43*{margin:0;padding:0;box-sizing:border-box}
44html{scroll-behavior:smooth}
45body{background:var(--fondo);color:var(--texto);font:17px/1.62 var(--sans);
46 -webkit-font-smoothing:antialiased;overflow-x:hidden}
47.envoltura{max-width:840px;margin:0 auto;padding:0 1.5rem}
48p{margin:0 0 1rem}
49a{color:inherit;text-decoration:none}
50h1,h2,h3{font-weight:600;letter-spacing:-.01em;line-height:1.15}
51/* el selector de variante: nombre, qué es, y entre llaves lo que trae */
52/* SIEMPRE dos y dos, y las cuatro del mismo alto: `grid-auto-rows:1fr` iguala las
53 dos filas entre sí, y el `stretch` por defecto iguala las dos de cada fila. */
54.selector{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:1fr;gap:.5rem;
55 margin:1.5rem 0 1.7rem}
56.opcion{display:flex;flex-direction:column;text-align:left;background:var(--papel);
57 border:1px solid var(--linea2);border-radius:12px;
58 padding:.72rem .85rem;cursor:pointer;font:inherit;color:var(--texto);
59 transition:border-color .15s,box-shadow .15s}
60.opcion:hover{border-color:var(--acento)}
61.opcion.on{border-color:var(--acento);box-shadow:inset 0 0 0 1px var(--acento)}
62.opcion .nom{display:block;font:500 .95rem/1.2 var(--mono)}
63.opcion.on .nom{color:var(--acento)}
64.opcion .que{display:block;font-size:.8rem;color:var(--tenue);margin-top:.18rem}
65.opcion .trae{display:block;font:.72rem/1.35 var(--mono);color:var(--debil);margin-top:.32rem}
66
67/* cada bloque de comandos: rótulo, peso a la derecha, y su botón de copiar */
68.bloque{margin:0 0 1.2rem}
69.rotulo{display:flex;align-items:baseline;gap:.5rem;margin:0 0 .38rem;
70 font:.7rem/1 var(--mono);letter-spacing:.14em;text-transform:uppercase;color:var(--debil)}
71.rotulo .peso{margin-left:auto;letter-spacing:0;text-transform:none;color:var(--tenue)}
72.codigo{position:relative}
73/* el botón vive en una banda propia arriba: así no pisa la primera línea ni cuando
74 el comando es largo y el bloque scrollea por debajo. Y el `min-height` deja todas
75 las cajas del mismo alto — con tres líneas, con dos, o con el aviso de que no hay. */
76.codigo pre{margin:0;padding:2.7rem 1rem .9rem;min-height:7.8rem}
77.copiar{position:absolute;top:.55rem;right:.6rem;font:500 .7rem/1 var(--sans);color:var(--tenue);
78 background:var(--papel);border:1px solid var(--linea2);border-radius:8px;padding:.35rem .58rem;
79 cursor:pointer;transition:color .15s,border-color .15s}
80.copiar:hover,.copiar.ok{color:var(--acento);border-color:var(--acento)}
81.bloque.novale .copiar{display:none}
82pre a{color:var(--acento);text-decoration:underline;text-underline-offset:2px}
83pre .vacio{color:var(--debil)}
84code{font:.86em/1.5 var(--mono);background:var(--papel2);border:1px solid var(--linea);
85 border-radius:5px;padding:.08em .38em}
86:root[data-lang="es"] [data-l="en"],:root[data-lang="en"] [data-l="es"]{display:none!important}
87
88/* el símbolo: martillo en retícula tocapu 7×7 */
89.simbolo{display:inline-block;flex:0 0 auto;aspect-ratio:1}
90.simbolo .chispa{fill:var(--chispa)}
91
92header.barra{position:sticky;top:0;z-index:60;
93 background:color-mix(in srgb,var(--fondo) 88%,transparent);
94 backdrop-filter:blur(10px);border-bottom:1px solid var(--linea)}
95.barra .envoltura{display:flex;align-items:center;gap:1rem;height:58px;max-width:1080px}
96.marca{display:flex;align-items:center;gap:.55rem;
97 font:900 .95rem/1 var(--display);letter-spacing:.06em;text-transform:uppercase}
98.marca .simbolo{width:20px}
99nav.enlaces{margin-left:auto;display:flex;gap:1.15rem;font-size:.88rem}
100nav.enlaces a{color:var(--tenue)}
101nav.enlaces a:hover{color:var(--acento)}
102.perillas{display:flex;gap:.35rem}
103.perilla{font:500 .76rem/1 var(--sans);color:var(--tenue);background:transparent;
104 border:1px solid var(--linea2);border-radius:99px;padding:.42rem .6rem;cursor:pointer}
105.perilla:hover{color:var(--texto);border-color:var(--acento)}
106.perilla.on{color:var(--acento);font-weight:700;border-color:var(--acento)}
107@media(max-width:860px){nav.enlaces{display:none}.perillas{margin-left:auto}}
108
109.portada{position:relative;padding:4.6rem 0 2.6rem;overflow:hidden}
110.portada .fragua{position:absolute;inset:-45% -25% 5% -25%;pointer-events:none;z-index:0;
111 background:radial-gradient(42% 46% at 22% 32%,color-mix(in srgb,var(--brasa) 26%,transparent),transparent 70%),
112 radial-gradient(42% 46% at 76% 22%,color-mix(in srgb,var(--inti) 20%,transparent),transparent 70%),
113 radial-gradient(38% 42% at 55% 60%,color-mix(in srgb,var(--fragua) 16%,transparent),transparent 70%);
114 filter:blur(14px)}
115.portada .envoltura{position:relative;z-index:1}
116.antetitulo{font:.72rem/1 var(--mono);letter-spacing:.2em;text-transform:uppercase;
117 color:var(--debil);margin-bottom:1rem}
118.titular{display:flex;align-items:center;gap:1.1rem;margin-bottom:.9rem}
119.titular .simbolo{width:clamp(48px,9vw,74px)}
120h1{font:900 clamp(3rem,10vw,5.2rem)/.92 var(--display);letter-spacing:.01em;
121 text-transform:uppercase;
122 background:linear-gradient(100deg,var(--fragua),var(--brasa) 52%,var(--inti));
123 -webkit-background-clip:text;background-clip:text;color:transparent}
124.lema{font:400 clamp(1.1rem,2.4vw,1.35rem)/1.45 var(--sans);color:var(--texto);max-width:44ch}
125.botones{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:1.6rem}
126.boton{display:inline-flex;align-items:center;gap:.4rem;font:600 .9rem/1 var(--sans);
127 padding:.75rem 1.1rem;border-radius:99px;border:1px solid var(--linea2);color:var(--texto);
128 transition:border-color .2s,transform .2s}
129.boton:hover{transform:translateY(-1px);border-color:var(--acento)}
130.boton.lleno{border-color:transparent;color:#17130E;
131 background:linear-gradient(100deg,var(--brasa),var(--inti))}
132
133section.franja{padding:3.4rem 0;border-top:1px solid var(--linea)}
134.sello{display:flex;align-items:center;gap:.5rem;font:.7rem/1 var(--mono);letter-spacing:.18em;
135 text-transform:uppercase;color:var(--debil);margin-bottom:.9rem}
136.sello .simbolo{width:12px}
137.franja h2{font-size:clamp(1.55rem,3.4vw,2rem);margin-bottom:1rem}
138.franja p{color:var(--tenue)}
139.franja p strong,.franja li strong{color:var(--texto)}
140
141ul.limpia{list-style:none;margin:.4rem 0 1rem}
142ul.limpia li{position:relative;padding-left:1.15rem;margin-bottom:.45rem;color:var(--tenue);font-size:.95rem}
143ul.limpia li::before{content:"";position:absolute;left:0;top:.62em;width:7px;height:2px;background:var(--brasa)}
144
145/* las decisiones: cada una es una ficha con tres lecturas de lo mismo —
146 contra qué se decide, qué implica por dentro, y qué quiere decir sin jerga */
147/* el diagrama de los dos pisos: SVG inline, no una imagen. Los colores van por
148 variable ⇒ cambia con el tema; el texto es texto ⇒ se traduce con el resto y lo
149 lee un lector de pantalla. En pantalla angosta scrollea DENTRO de su caja: encoger
150 un diagrama hasta que las etiquetas no se lean es peor que dejarlo desplazarse. */
151.diagrama{overflow-x:auto;margin:1.7rem 0 1.5rem}
152.diagrama svg{display:block;width:100%;max-width:560px;min-width:404px;height:auto;margin:0 auto;
153 font-family:var(--sans)}
154.diagrama .caja{fill:var(--papel);stroke:var(--linea)}
155.diagrama .cajita{fill:var(--papel2);stroke:var(--linea2)}
156.diagrama .encima{fill:none;stroke:var(--linea2);stroke-dasharray:5 4}
157.diagrama .t{fill:var(--texto)}
158.diagrama .s{fill:var(--tenue)}
159.diagrama .d{fill:var(--debil)}
160.diagrama .a{fill:var(--acento)}
161.diagrama .mono{font-family:var(--mono);letter-spacing:1.7px}
162.diagrama .flecha{stroke:var(--acento);stroke-width:1.6;fill:none}
163.diagrama .cabeza{fill:var(--acento)}
164
165.decisiones{display:grid;gap:.5rem;margin-top:1.5rem}
166.decision{border:1px solid var(--linea);border-radius:14px;background:var(--papel)}
167/* plegadas de entrada: trece fichas abiertas son una pared. La aseveración basta
168 para elegir cuál abrir, y `<details>` funciona sin una línea de JavaScript. */
169.decision summary{display:flex;gap:.65rem;align-items:baseline;cursor:pointer;
170 list-style:none;position:relative;padding:.9rem 2.7rem .9rem 1.3rem;
171 font-size:1.02rem;line-height:1.35}
172.decision summary::-webkit-details-marker{display:none}
173.decision summary::after{content:"";position:absolute;right:1.3rem;top:1.25rem;
174 width:.46rem;height:.46rem;border-right:1.5px solid var(--debil);
175 border-bottom:1.5px solid var(--debil);transform:rotate(45deg);transition:transform .18s}
176.decision[open] summary::after{transform:rotate(-135deg);border-color:var(--acento)}
177.decision summary:hover::after{border-color:var(--acento)}
178.decision .num{font:500 .72rem/1 var(--mono);letter-spacing:.1em;color:var(--acento);flex:0 0 auto}
179.decision dl{margin:0;padding:0 1.3rem 1.25rem}
180.decision dt{font:500 .65rem/1 var(--mono);letter-spacing:.16em;text-transform:uppercase;
181 color:var(--debil);margin-bottom:.32rem}
182.decision dd{margin:0 0 .9rem;color:var(--tenue);font-size:.93rem}
183.decision dd:last-child{margin-bottom:0}
184.decision dt.simple{color:var(--acento)}
185.decision dd.simple{color:var(--texto);border-left:2px solid var(--acento);padding-left:.8rem}
186@media(max-width:600px){.decision summary{padding:.85rem 2.4rem .85rem 1.05rem;
187 flex-direction:column;gap:.25rem}
188 .decision dl{padding:0 1.05rem 1.05rem}}
189
190.marco{border:1px solid var(--linea);border-radius:14px;background:var(--papel);
191 padding:1.3rem 1.4rem;margin-bottom:1rem;position:relative;overflow:hidden}
192.marco::before{content:"";position:absolute;inset:0 0 auto 0;height:3px;
193 background:linear-gradient(90deg,var(--fragua),var(--brasa),var(--inti))}
194.marco h3{font-size:1.15rem;margin-bottom:.4rem}
195
196/* la ficha de repo: la dirección, grande y copiable */
197.direccion{border:1px solid var(--linea2);border-radius:12px;background:var(--papel);
198 padding:1rem 1.1rem;margin:.2rem 0 1rem}
199.direccion .etiqueta{font:.68rem/1 var(--mono);letter-spacing:.18em;text-transform:uppercase;
200 color:var(--debil);margin-bottom:.5rem}
201.direccion .url{font:500 clamp(.86rem,2.3vw,1.02rem)/1.45 var(--mono);color:var(--acento);
202 word-break:break-all}
203.direccion .url:hover{text-decoration:underline}
204
205pre{font:.84rem/1.65 var(--mono);background:var(--papel2);border:1px solid var(--linea);
206 border-radius:10px;padding:.85rem 1rem;overflow-x:auto;margin:0 0 1rem;color:var(--texto)}
207pre .p{color:var(--debil);user-select:none}
208pre .c{color:var(--debil)}
209
210table{border-collapse:collapse;width:100%;margin:1rem 0 1.4rem;font-size:.9rem;display:block;overflow-x:auto}
211th,td{border:1px solid var(--linea);padding:.52rem .7rem;text-align:left;vertical-align:top}
212th{background:var(--papel2);font-weight:600;white-space:nowrap}
213td{color:var(--tenue)}
214td.n{font-family:var(--mono);white-space:nowrap;color:var(--texto)}
215.semaforo{white-space:nowrap}
216
217/* los paquetes principales al estilo de una ficha de distro: nombre y versión en
218 rejilla, para que entren de un vistazo y no en una tabla de quince filas */
219.versiones{display:grid;grid-template-columns:repeat(auto-fill,minmax(158px,1fr));
220 gap:.22rem .9rem;margin:.7rem 0 1.3rem;list-style:none}
221.versiones li{display:flex;justify-content:space-between;align-items:baseline;gap:.5rem;
222 font:.85rem/1.85 var(--mono);border-bottom:1px dotted var(--linea)}
223.versiones li b{font-weight:500;color:var(--texto)}
224.versiones li span{color:var(--tenue)}
225
226.nota{font-size:.82rem;color:var(--debil);border-left:2px solid var(--linea2);padding-left:.8rem}
227
228footer.pie{border-top:1px solid var(--linea);background:var(--papel);padding:2.6rem 0 3.4rem}
229.pie-rejilla{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:1.4rem}
230.pie-rejilla a.casa{display:block;font-weight:600;margin-bottom:.15rem}
231.pie-rejilla a.casa:hover{color:var(--acento)}
232.pie-rejilla p{font-size:.84rem;color:var(--debil);margin:0}
233.pie-fin{margin-top:2rem;font-size:.8rem;color:var(--debil)}
234@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
235</style>
236</head>
237<body>
238
239<svg width="0" height="0" style="position:absolute" aria-hidden="true">
240 <symbol id="tocapu" viewBox="0 0 748 748">
241 <rect x="0" y="0" width="100" height="100" fill="#A63A25"/>
242 <rect x="108" y="0" width="100" height="100" fill="#DF6B2A"/>
243 <rect x="216" y="0" width="100" height="100" fill="#E3A63D"/>
244 <rect x="324" y="0" width="100" height="100" fill="#E3A63D"/>
245 <rect x="432" y="0" width="100" height="100" fill="#E3A63D"/>
246 <rect x="540" y="0" width="100" height="100" fill="#DF6B2A"/>
247 <rect x="648" y="0" width="100" height="100" fill="#A63A25"/>
248 <rect x="108" y="108" width="100" height="100" fill="#DF6B2A"/>
249 <rect x="216" y="108" width="100" height="100" fill="#E3A63D"/>
250 <rect x="324" y="108" width="100" height="100" class="chispa"/>
251 <rect x="432" y="108" width="100" height="100" fill="#E3A63D"/>
252 <rect x="540" y="108" width="100" height="100" fill="#DF6B2A"/>
253 <rect x="0" y="216" width="100" height="100" fill="#A63A25"/>
254 <rect x="108" y="216" width="100" height="100" fill="#DF6B2A"/>
255 <rect x="216" y="216" width="100" height="100" fill="#E3A63D"/>
256 <rect x="324" y="216" width="100" height="100" fill="#E3A63D"/>
257 <rect x="432" y="216" width="100" height="100" fill="#E3A63D"/>
258 <rect x="540" y="216" width="100" height="100" fill="#DF6B2A"/>
259 <rect x="648" y="216" width="100" height="100" fill="#A63A25"/>
260 <rect x="324" y="324" width="100" height="100" fill="#DF6B2A"/>
261 <rect x="324" y="432" width="100" height="100" fill="#A63A25"/>
262 <rect x="324" y="540" width="100" height="100" fill="#A63A25"/>
263 <rect x="324" y="648" width="100" height="100" fill="#A63A25"/>
264 </symbol>
265</svg>
266
267<header class="barra"><div class="envoltura">
268 <a class="marca" href="/"><svg class="simbolo" viewBox="0 0 748 748"><use href="#tocapu"/></svg>takana</a>
269 <nav class="enlaces">
270 <a href="#descargar"><span data-l="es">Descargar</span><span data-l="en">Download</span></a>
271 <a href="#decisiones"><span data-l="es">Las decisiones</span><span data-l="en">The decisions</span></a>
272 <a href="#componentes"><span data-l="es">Los componentes</span><span data-l="en">Components</span></a>
273 <a href="#codigo"><span data-l="es">El código</span><span data-l="en">The code</span></a>
274 </nav>
275 <div class="perillas">
276 <button class="perilla" data-poner-lang="es">ES</button>
277 <button class="perilla" data-poner-lang="en">EN</button>
278 <button class="perilla" id="tema" title="tema">◐</button>
279 </div>
280</div></header>
281
282<section class="portada"><div class="fragua" aria-hidden="true"></div><div class="envoltura">
283 <p class="antetitulo"><span data-l="es">takana · el martillo</span><span data-l="en">takana · the hammer</span></p>
284 <div class="titular">
285 <svg class="simbolo" viewBox="0 0 748 748" aria-hidden="true"><use href="#tocapu"/></svg>
286 <h1>takana</h1>
287 </div>
288 <p class="lema">
289 <span data-l="es">Un Linux mutable que puedes romper y recuperar, manteniendo su pureza hasta el último bit.</span>
290 <span data-l="en">A mutable Linux you can break and recover, its purity intact down to the last bit.</span>
291 </p>
292 <div class="botones">
293 <a class="boton lleno" href="#descargar"><span data-l="es">Descargar</span><span data-l="en">Download</span></a>
294 <a class="boton" href="#codigo"><span data-l="es">El repositorio</span><span data-l="en">The repository</span></a>
295 <a class="boton" href="https://tawasuyu.net">tawasuyu.net ↗</a>
296 </div>
297</div></section>
298
299<section class="franja" id="descargar"><div class="envoltura">
300 <p class="sello"><svg class="simbolo" viewBox="0 0 748 748"><use href="#tocapu"/></svg><span data-l="es">01 · descargar</span><span data-l="en">01 · download</span></p>
301 <h2><span data-l="es">Descargar</span><span data-l="en">Download</span></h2>
302
303 <div class="selector" id="variantes" role="group" aria-label="variante">
304 <button class="opcion" data-v="base" type="button">
305 <span class="nom">base</span>
306 <span class="que"><span data-l="es">sólo el arranque</span><span data-l="en">boot only</span></span>
307 <span class="trae">{<span data-l="es">consola</span><span data-l="en">console</span>}</span>
308 </button>
309 <button class="opcion" data-v="mirada" type="button">
310 <span class="nom">mirada</span>
311 <span class="que"><span data-l="es">el escritorio de la suite</span><span data-l="en">the suite's desktop</span></span>
312 <span class="trae">{userland + mirada}</span>
313 </button>
314 <button class="opcion" data-v="servidor" type="button">
315 <span class="nom">servidor</span>
316 <span class="que"><span data-l="es">la máquina que sirve</span><span data-l="en">the serving machine</span></span>
317 <span class="trae">{userland + <span data-l="es">servicios</span><span data-l="en">services</span>}</span>
318 </button>
319 <button class="opcion" data-v="full" type="button">
320 <span class="nom">full</span>
321 <span class="que"><span data-l="es">todo junto</span><span data-l="en">everything at once</span></span>
322 <span class="trae">{userland + cli + <span data-l="es">5 escritorios + servicios</span><span data-l="en">5 desktops + services</span>}</span>
323 </button>
324 </div>
325
326 <div class="bloque" id="bloque-sh">
327 <p class="rotulo"><span data-l="es">un archivo</span><span data-l="en">one file</span><span class="peso" id="peso-sh"></span></p>
328 <div class="codigo"><pre id="cmd-sh"></pre></div>
329 </div>
330 <div class="bloque">
331 <p class="rotulo"><span data-l="es">imagen USB</span><span data-l="en">USB image</span><span class="peso" id="peso-img"></span></p>
332 <div class="codigo"><pre id="cmd-img"></pre></div>
333 </div>
334
335 <div class="bloque">
336 <p class="rotulo"><span data-l="es">desde el código</span><span data-l="en">from source</span></p>
337 <div class="codigo"><pre>$ git clone https://git.gioser.net/sergio/takana.git
338<span class="p">$</span> cd takana && cargo build --release
339<span class="p">$</span> ./target/release/takana --help</pre></div>
340 </div>
341
342 <p class="nota" id="nota-full" hidden>
343 <span data-l="es"><code>full</code> son 8,6 GiB y trae <strong>los cinco escritorios</strong>: mirada, sway, COSMIC, GNOME y KDE Plasma. Entra en un pendrive de 16 GB. No hay archivo único para esta variante: ése carga el sistema entero en memoria, y 17 GiB de rootfs no entran.</span>
344 <span data-l="en"><code>full</code> is 8.6 GiB and carries <strong>all five desktops</strong>: mirada, sway, COSMIC, GNOME and KDE Plasma. It fits on a 16 GB stick. There is no single file for this variant: that one loads the whole system into memory, and a 17 GiB rootfs does not fit.</span>
345 </p>
346
347 <noscript><p class="nota"><span data-l="es">Las descargas se arman con JavaScript. Sin él: takana-os.net/descargas/</span><span data-l="en">Downloads are assembled with JavaScript. Without it: takana-os.net/descargas/</span></p></noscript>
348</div></section>
349
350<section class="franja" id="decisiones"><div class="envoltura">
351 <p class="sello"><svg class="simbolo" viewBox="0 0 748 748"><use href="#tocapu"/></svg><span data-l="es">02 · las decisiones</span><span data-l="en">02 · the decisions</span></p>
352 <h2><span data-l="es">Trece decisiones, y contra qué se tomaron</span><span data-l="en">Thirteen decisions, and what they were taken against</span></h2>
353 <p>
354 <span data-l="es">Cada una se abre: en qué se aparta de lo habitual, qué implica por dentro, y qué quiere decir sin jerga.</span>
355 <span data-l="en">Each one opens: how it departs from the usual, what it involves under the hood, and what it means without jargon.</span>
356 </p>
357<div class="diagrama">
358<svg viewBox="0 0 520 470" xmlns="http://www.w3.org/2000/svg">
359 <defs>
360 <linearGradient id="fragua" x1="0" y1="0" x2="0" y2="1">
361 <stop offset="0%" stop-color="#E3A63D"/><stop offset="55%" stop-color="#DF6B2A"/>
362 <stop offset="100%" stop-color="#A63A25"/>
363 </linearGradient>
364 <marker id="punta" viewBox="0 0 8 8" refX="6.5" refY="4" markerWidth="5.5" markerHeight="5.5" orient="auto">
365 <path class="cabeza" d="M0.5,0.5 L7.5,4 L0.5,7.5 Z"/>
366 </marker>
367 </defs>
368
369 <rect x="0" y="14" width="5" height="442" rx="2.5" fill="url(#fragua)"/>
370
371 <rect class="encima" x="26" y="14" width="480" height="58" rx="12"/>
372 <text data-l="es" class="s" x="46" y="40" font-size="18" font-weight="600" text-anchor="start">tawasuyu</text>
373 <text data-l="en" class="s" x="46" y="40" font-size="18" font-weight="600" text-anchor="start">tawasuyu</text>
374 <text data-l="es" class="d" x="46" y="59" font-size="12" font-weight="400" text-anchor="start">el escritorio y la suite, encima</text>
375 <text data-l="en" class="d" x="46" y="59" font-size="12" font-weight="400" text-anchor="start">the desktop and the suite, on top</text>
376 <path class="flecha" d="M266,102 L266,80" marker-end="url(#punta)"/>
377
378 <rect class="caja" x="26" y="104" width="480" height="94" rx="14"/>
379 <text data-l="es" class="d mono" x="46" y="130" font-size="10" font-weight="500" text-anchor="start">EL PISO DE ARRIBA</text>
380 <text data-l="en" class="d mono" x="46" y="130" font-size="10" font-weight="500" text-anchor="start">THE UPPER FLOOR</text>
381 <text data-l="es" class="t" x="46" y="155" font-size="17" font-weight="600" text-anchor="start">Tu máquina, mutable</text>
382 <text data-l="en" class="t" x="46" y="155" font-size="17" font-weight="600" text-anchor="start">Your machine, mutable</text>
383 <text data-l="es" class="s" x="46" y="178" font-size="12.5" font-weight="400" text-anchor="start">/bin · /lib · /etc reales — se rompe, se prueba, se vuelve atrás</text>
384 <text data-l="en" class="s" x="46" y="178" font-size="12.5" font-weight="400" text-anchor="start">a real /bin · /lib · /etc — break it, try it, go back</text>
385
386 <path class="flecha" d="M140,306 L140,210" marker-end="url(#punta)"/>
387 <path class="flecha" d="M392,210 L392,306" marker-end="url(#punta)"/>
388 <text data-l="es" class="a" x="158" y="238" font-size="12.5" font-weight="500" text-anchor="start">hidratación</text>
389 <text data-l="en" class="a" x="158" y="238" font-size="12.5" font-weight="500" text-anchor="start">hydration</text>
390 <text data-l="es" class="s" x="158" y="256" font-size="11.5" font-weight="400" text-anchor="start">enlaces duros desde el almacén</text>
391 <text data-l="en" class="s" x="158" y="256" font-size="11.5" font-weight="400" text-anchor="start">hard links from the store</text>
392 <text data-l="es" class="a" x="374" y="282" font-size="12.5" font-weight="500" text-anchor="end">diario</text>
393 <text data-l="en" class="a" x="374" y="282" font-size="12.5" font-weight="500" text-anchor="end">journal</text>
394 <text data-l="es" class="s" x="374" y="300" font-size="11.5" font-weight="400" text-anchor="end">lo que cambias a mano, registrado</text>
395 <text data-l="en" class="s" x="374" y="300" font-size="11.5" font-weight="400" text-anchor="end">what you change by hand, recorded</text>
396
397 <rect class="caja" x="26" y="316" width="480" height="140" rx="14"/>
398 <text data-l="es" class="d mono" x="46" y="342" font-size="10" font-weight="500" text-anchor="start">EL PISO DE ABAJO</text>
399 <text data-l="en" class="d mono" x="46" y="342" font-size="10" font-weight="500" text-anchor="start">THE LOWER FLOOR</text>
400 <text data-l="es" class="t" x="46" y="367" font-size="17" font-weight="600" text-anchor="start">La fábrica, cerrada</text>
401 <text data-l="en" class="t" x="46" y="367" font-size="17" font-weight="600" text-anchor="start">The factory, closed</text>
402 <text data-l="es" class="s" x="46" y="389" font-size="12.5" font-weight="400" text-anchor="start">compila desde el código fuente, aislada y sin red</text>
403 <text data-l="en" class="s" x="46" y="389" font-size="12.5" font-weight="400" text-anchor="start">builds from source code, sandboxed and offline</text>
404 <rect class="cajita" x="46" y="398" width="440" height="46" rx="10"/>
405 <text data-l="es" class="t" x="62" y="418" font-size="12.5" font-weight="600" text-anchor="start">el almacén</text>
406 <text data-l="en" class="t" x="62" y="418" font-size="12.5" font-weight="600" text-anchor="start">the store</text>
407 <text data-l="es" class="s" x="62" y="435" font-size="11.5" font-weight="400" text-anchor="start">cada artefacto por su hash BLAKE3</text>
408 <text data-l="en" class="s" x="62" y="435" font-size="11.5" font-weight="400" text-anchor="start">every artefact by its BLAKE3 hash</text>
409</svg>
410</div>
411
412 <div class="decisiones">
413<details class="decision">
414<summary><span class="num">01</span><span data-l="es">Una fábrica cerrada abajo, tu máquina de siempre arriba</span><span data-l="en">A closed factory below, your usual machine above</span></summary>
415<dl>
416 <dt><span data-l="es">Frente a lo habitual</span><span data-l="en">Compared to the usual</span></dt>
417 <dd><span data-l="es">Hay que elegir: una distro inmutable, que da reproducibilidad y te quita la terminal, o una clásica, que te la deja y no sabe decir de dónde salió un binario.</span><span data-l="en">You have to choose: an immutable distro, which gives reproducibility and takes the terminal away, or a classic one, which leaves it to you and cannot say where a binary came from.</span></dd>
418 <dt><span data-l="es">Técnicamente</span><span data-l="en">Technically</span></dt>
419 <dd><span data-l="es">Abajo, compilación aislada y direccionada por hash BLAKE3, sin efectos de borde. Arriba, un Linux con <code>/bin</code>, <code>/lib</code> y <code>/etc</code> de verdad; los binarios se proyectan del almacén por enlaces duros, normalizados para no arrastrar rutas internas. El puente —la hidratación— va en un solo sentido.</span><span data-l="en">Below, sandboxed builds addressed by BLAKE3 hash, with no side effects. Above, a Linux with a real <code>/bin</code>, <code>/lib</code> and <code>/etc</code>; binaries are projected from the store by hard links, normalised so they carry no internal paths. The bridge — hydration — goes one way only.</span></dd>
420 <dt class="simple"><span data-l="es">En simple</span><span data-l="en">In plain words</span></dt>
421 <dd class="simple"><span data-l="es">La parte que tiene que ser exacta lo es, y la parte donde trabajas sigue siendo un Linux normal. Lo demás de esta lista sale de ahí.</span><span data-l="en">The part that has to be exact is exact, and the part where you work is still an ordinary Linux. Everything else on this list follows from that.</span></dd>
422</dl>
423</details>
424
425<details class="decision">
426<summary><span class="num">02</span><span data-l="es">Se instala con un archivo, sin ISO y sin red</span><span data-l="en">It installs from one file, no ISO and no network</span></summary>
427<dl>
428 <dt><span data-l="es">Frente a lo habitual</span><span data-l="en">Compared to the usual</span></dt>
429 <dd><span data-l="es">Lo normal es bajar un ISO, grabarlo en un pendrive, y que el instalador se baje los paquetes mientras instala — justo en la máquina que todavía no tiene red.</span><span data-l="en">The usual is downloading an ISO, burning it to a stick, and having the installer fetch packages while it installs — on the very machine that has no network yet.</span></dd>
430 <dt><span data-l="es">Técnicamente</span><span data-l="en">Technically</span></dt>
431 <dd><span data-l="es">El fichero es una cabecera POSIX de shell con el sistema entero pegado detrás: comprueba su propio contenido, se carga en memoria y salta con <code>kexec</code> al instalador, que suelta el disco de la máquina viva para poder formatearlo. <strong>Nada se descarga durante la instalación.</strong> Si ese kernel no deja saltar, lo dice y nombra cuál de las tres condiciones falta; para ese caso está la imagen USB, que es el mismo instalador por otro camino.</span><span data-l="en">The file is a POSIX shell header with the whole system appended: it verifies its own contents, loads into memory and jumps with <code>kexec</code> into the installer, which releases the live machine's disk so it can be formatted. <strong>Nothing is downloaded while installing.</strong> If that kernel will not allow the jump, it says so and names which of the three conditions is missing; for that case there is the USB image, the same installer arriving another way.</span></dd>
432 <dt class="simple"><span data-l="es">En simple</span><span data-l="en">In plain words</span></dt>
433 <dd class="simple"><span data-l="es">Un archivo, permiso de ejecución, y ya. Se puede leer con <code>head</code> antes de correrlo, no necesita internet, y el disco desde el que arrancaste nunca aparece como destino.</span><span data-l="en">One file, make it executable, done. You can read it with <code>head</code> before running it, it needs no internet, and the disk you booted from is never offered as a target.</span></dd>
434</dl>
435</details>
436
437<details class="decision">
438<summary><span class="num">03</span><span data-l="es">Trae su propio escritorio, y el ecosistema que va encima</span><span data-l="en">It brings its own desktop, and the ecosystem above it</span></summary>
439<dl>
440 <dt><span data-l="es">Frente a lo habitual</span><span data-l="en">Compared to the usual</span></dt>
441 <dd><span data-l="es">Una distribución suele ensamblar escritorios ajenos y ahí termina su alcance: lo que corre encima es problema de otro proyecto.</span><span data-l="en">A distribution usually assembles other people's desktops and that is where its scope ends: what runs on top is another project's problem.</span></dd>
442 <dt><span data-l="es">Técnicamente</span><span data-l="en">Technically</span></dt>
443 <dd><span data-l="es"><code>mirada</code> es el escritorio propio y viaja en la imagen. Encima está <strong>tawasuyu</strong>, que no es un añadido: comparten el almacén direccionado por contenido, el grafo de arranque y <code>arje</code> —su proceso número uno— como init de las imágenes. Y los cuatro escritorios conocidos están construidos igual, con su clausura sellada: KDE, GNOME, COSMIC y sway.</span><span data-l="en"><code>mirada</code> is the project's own desktop and travels in the image. Above it sits <strong>tawasuyu</strong>, which is not an add-on: they share the content-addressed store, the boot graph and <code>arje</code> — its process number one — as the init of the images. And the four well-known desktops are built the same way, with their closure sealed: KDE, GNOME, COSMIC and sway.</span></dd>
444 <dt class="simple"><span data-l="es">En simple</span><span data-l="en">In plain words</span></dt>
445 <dd class="simple"><span data-l="es">No es sólo una base para que otros pongan cosas encima: el escritorio y lo que corre en él son parte del mismo proyecto y están pensados juntos. Si prefieres uno conocido, también está.</span><span data-l="en">It is not just a base for others to put things on: the desktop and what runs on it belong to the same project and are designed together. If you prefer a well-known one, it is there too.</span></dd>
446</dl>
447</details>
448
449<details class="decision">
450<summary><span class="num">04</span><span data-l="es">Todo se compila desde fuente, y la fuente está clavada</span><span data-l="en">Everything is compiled from source, and the source is pinned</span></summary>
451<dl>
452 <dt><span data-l="es">Frente a lo habitual</span><span data-l="en">Compared to the usual</span></dt>
453 <dd><span data-l="es">Una distro normal te entrega un binario que compiló otra persona en otra máquina; lo que verificas es la firma de quien lo subió, no lo que hay adentro.</span><span data-l="en">A normal distro hands you a binary somebody else compiled on another machine; what you verify is the signature of whoever uploaded it, not what is inside.</span></dd>
454 <dt><span data-l="es">Técnicamente</span><span data-l="en">Technically</span></dt>
455 <dd><span data-l="es">Cada receta fija su fuente por <em>commit</em> de git o por <code>sha256</code> — nunca contra una rama viva. El hash del artefacto se deriva de la receta entera: fuente, compilador, banderas, fases de build y los hashes de cada dependencia. <code>takana hash</code> lo calcula sin construir nada.</span><span data-l="en">Each recipe pins its source by git <em>commit</em> or <code>sha256</code> — never against a live branch. The artefact hash is derived from the whole recipe: source, compiler, flags, build phases and the hash of every dependency. <code>takana hash</code> computes it without building anything.</span></dd>
456 <dt class="simple"><span data-l="es">En simple</span><span data-l="en">In plain words</span></dt>
457 <dd class="simple"><span data-l="es">Nadie te manda comida hecha: te manda la receta y la cocina tu máquina. Y la receta dice exactamente qué ingredientes, no «harina» a secas.</span><span data-l="en">Nobody sends you cooked food: they send the recipe and your machine cooks it. And the recipe names the exact ingredients, not just «flour».</span></dd>
458</dl>
459</details>
460
461<details class="decision">
462<summary><span class="num">05</span><span data-l="es">Reproducible bit a bit — y cuando no, se dice por qué</span><span data-l="en">Bit-for-bit reproducible — and when it isn't, it says why</span></summary>
463<dl>
464 <dt><span data-l="es">Frente a lo habitual</span><span data-l="en">Compared to the usual</span></dt>
465 <dd><span data-l="es">Compilar el mismo paquete dos veces casi nunca da el mismo fichero, y en la práctica nadie lo comprueba: la diferencia se acepta como normal.</span><span data-l="en">Building the same package twice almost never yields the same file, and in practice nobody checks: the difference is accepted as normal.</span></dd>
466 <dt><span data-l="es">Técnicamente</span><span data-l="en">Technically</span></dt>
467 <dd><span data-l="es">El build corre aislado con <code>bubblewrap</code>, sin red y con la fecha fijada. Cuando dos artefactos difieren, <code>why-differs</code> desciende sólo por donde los hashes no coinciden y <strong>nombra la causa</strong>: un mtime dentro de un <code>.gz</code>, la cabecera <code>ar</code> de un <code>.a</code>, qué sección ELF cambió, una ruta del árbol de build filtrada al binario.</span><span data-l="en">Builds run sandboxed with <code>bubblewrap</code>, without network and with a fixed date. When two artefacts differ, <code>why-differs</code> descends only where the hashes disagree and <strong>names the cause</strong>: an mtime inside a <code>.gz</code>, the <code>ar</code> header of a <code>.a</code>, which ELF section changed, a build-tree path leaked into the binary.</span></dd>
468 <dt class="simple"><span data-l="es">En simple</span><span data-l="en">In plain words</span></dt>
469 <dd class="simple"><span data-l="es">Si dos personas hacen el mismo paquete, tiene que salir el mismo fichero. Y si sale distinto, el sistema te dice en qué — no te deja adivinando.</span><span data-l="en">If two people build the same package, the same file must come out. And if it doesn't, the system tells you where it differed — it doesn't leave you guessing.</span></dd>
470</dl>
471</details>
472
473<details class="decision">
474<summary><span class="num">06</span><span data-l="es">Un paquete es una receta, no un binario</span><span data-l="en">A package is a recipe, not a binary</span></summary>
475<dl>
476 <dt><span data-l="es">Frente a lo habitual</span><span data-l="en">Compared to the usual</span></dt>
477 <dd><span data-l="es">El repositorio te manda el programa ya hecho, así que hay que confiar en el repositorio — y en cada espejo suyo.</span><span data-l="en">The repository sends you the finished program, so you have to trust the repository — and every one of its mirrors.</span></dd>
478 <dt><span data-l="es">Técnicamente</span><span data-l="en">Technically</span></dt>
479 <dd><span data-l="es">El índice va firmado con Ed25519 y ancla el <code>digest</code> de cada paquete. <code>install</code> resuelve el nombre, verifica la firma, <strong>reconstruye desde fuente</strong> y recién entonces hidrata. <code>--repo</code> acepta varios orígenes separados por comas y los prueba en orden.</span><span data-l="en">The index is Ed25519-signed and anchors each package's <code>digest</code>. <code>install</code> resolves the name, verifies the signature, <strong>rebuilds from source</strong> and only then hydrates. <code>--repo</code> takes several comma-separated origins and tries them in order.</span></dd>
480 <dt class="simple"><span data-l="es">En simple</span><span data-l="en">In plain words</span></dt>
481 <dd class="simple"><span data-l="es">El sitio del que lo bajas no necesita ser de fiar, porque no te da el resultado: te da las instrucciones, y se comprueba que sean las firmadas.</span><span data-l="en">The site you download from doesn't need to be trustworthy, because it doesn't give you the result: it gives you the instructions, and they are checked against the signed ones.</span></dd>
482</dl>
483</details>
484
485<details class="decision">
486<summary><span class="num">07</span><span data-l="es">Se reconstruye a sí misma, sin creerle a ningún binario</span><span data-l="en">It rebuilds itself, without trusting anybody's binary</span></summary>
487<dl>
488 <dt><span data-l="es">Frente a lo habitual</span><span data-l="en">Compared to the usual</span></dt>
489 <dd><span data-l="es">El compilador de tu distro salió de un binario que compiló otra máquina, que salió de otro, hacia atrás sin fondo. Ese primer eslabón se cree por fe.</span><span data-l="en">Your distro's compiler came from a binary built by another machine, which came from another, backwards without end. That first link is taken on faith.</span></dd>
490 <dt><span data-l="es">Técnicamente</span><span data-l="en">Technically</span></dt>
491 <dd><span data-l="es">Cadena de Rust pura de <code>mrustc</code> a <code>rustc</code>, kernel Linux compilado acá que arranca la máquina, y el toolchain reconstruyéndose a sí mismo dentro de una máquina virtual. Hecho dos veces: mismo resultado, bit por bit.</span><span data-l="en">A pure Rust chain from <code>mrustc</code> to <code>rustc</code>, a Linux kernel built here that boots the machine, and the toolchain rebuilding itself inside a virtual machine. Done twice: same result, bit for bit.</span></dd>
492 <dt class="simple"><span data-l="es">En simple</span><span data-l="en">In plain words</span></dt>
493 <dd class="simple"><span data-l="es">La distro se puede fabricar a sí misma casi desde cero. No queda un eslabón que haya que aceptar sin poder mirarlo.</span><span data-l="en">The distro can manufacture itself from near zero. No link is left that you must accept without being able to look at it.</span></dd>
494</dl>
495</details>
496
497<details class="decision">
498<summary><span class="num">08</span><span data-l="es">musl, estático, y <code>zig cc</code> de compilador</span><span data-l="en">musl, static, and <code>zig cc</code> as the compiler</span></summary>
499<dl>
500 <dt><span data-l="es">Frente a lo habitual</span><span data-l="en">Compared to the usual</span></dt>
501 <dd><span data-l="es">Lo habitual es glibc y enlazado dinámico: actualizar una librería puede romper un programa que no tocaste, y descubrirlo al arrancarlo.</span><span data-l="en">The usual is glibc and dynamic linking: updating one library can break a program you never touched, and you find out when you launch it.</span></dd>
502 <dt><span data-l="es">Técnicamente</span><span data-l="en">Technically</span></dt>
503 <dd><span data-l="es"><code>zig cc</code> es el compilador por defecto del laboratorio —trae los headers y la libc de cada target, sin cross-toolchain a mano— y es reemplazable receta por receta. El rootfs del lab se ancla a una imagen pineada por <code>sha256</code>, no se resuelve con un gestor de paquetes.</span><span data-l="en"><code>zig cc</code> is the lab's default compiler — it brings each target's headers and libc, with no hand-built cross-toolchain — and is replaceable recipe by recipe. The lab rootfs is pinned to an image by <code>sha256</code>, not resolved by a package manager.</span></dd>
504 <dt class="simple"><span data-l="es">En simple</span><span data-l="en">In plain words</span></dt>
505 <dd class="simple"><span data-l="es">Cada programa se lleva sus piezas adentro, así que tocar uno no rompe a los demás. Y el código de la libc es lo bastante chico como para leerlo.</span><span data-l="en">Each program carries its pieces inside, so touching one doesn't break the others. And the libc's code is small enough to actually read.</span></dd>
506</dl>
507</details>
508
509<details class="decision">
510<summary><span class="num">09</span><span data-l="es">Sin systemd: el init es propio y el arranque es un grafo</span><span data-l="en">No systemd: the init is our own and boot is a graph</span></summary>
511<dl>
512 <dt><span data-l="es">Frente a lo habitual</span><span data-l="en">Compared to the usual</span></dt>
513 <dd><span data-l="es">El arranque lo gobierna un binario grande con formato de unidades propio y un registro binario que hay que consultar con su propia herramienta.</span><span data-l="en">Boot is governed by a large binary with its own unit format and a binary log you must query with its own tool.</span></dd>
514 <dt><span data-l="es">Técnicamente</span><span data-l="en">Technically</span></dt>
515 <dd><span data-l="es"><code>arje-zero</code> es el proceso número uno, estático contra musl. Los servicios se declaran en <em>Cards</em> JSON, con supervisión y reintento con backoff, y hablan por un socket Unix con <code>SO_PEERCRED</code>. El menú de arranque es la navegación del grafo de estados del sistema.</span><span data-l="en"><code>arje-zero</code> is process number one, statically linked against musl. Services are declared in JSON <em>Cards</em>, with supervision and backoff restarts, and talk over a Unix socket with <code>SO_PEERCRED</code>. The boot menu is navigation of the system's state graph.</span></dd>
516 <dt class="simple"><span data-l="es">En simple</span><span data-l="en">In plain words</span></dt>
517 <dd class="simple"><span data-l="es">Lo que enciende tu máquina se puede leer con un editor de texto y contar de memoria. No hay una pieza central que decida por ti y cueste inspeccionar.</span><span data-l="en">What starts your machine can be read in a text editor and held in your head. There is no central piece deciding for you that is hard to inspect.</span></dd>
518</dl>
519</details>
520
521<details class="decision">
522<summary><span class="num">10</span><span data-l="es">Romper a mano está permitido — y se puede volver</span><span data-l="en">Breaking things by hand is allowed — and you can come back</span></summary>
523<dl>
524 <dt><span data-l="es">Frente a lo habitual</span><span data-l="en">Compared to the usual</span></dt>
525 <dd><span data-l="es">Las inmutables no te dejan tocar sin aprender antes un lenguaje declarativo; las clásicas te dejan tocar y después el gestor de paquetes pierde el rastro de lo que hiciste.</span><span data-l="en">Immutable ones won't let you touch anything until you learn a declarative language; classic ones let you touch and then the package manager loses track of what you did.</span></dd>
526 <dt><span data-l="es">Técnicamente</span><span data-l="en">Technically</span></dt>
527 <dd><span data-l="es"><code>try</code> monta un overlay sobre el FHS real; <code>commit</code> lo promueve y <code>discard</code> lo tira. Un demonio <code>fanotify</code> registra cada cambio a mano y calcula el delta contra la base limpia; <code>export</code> lo convierte en un manifiesto compartible.</span><span data-l="en"><code>try</code> mounts an overlay over the real FHS; <code>commit</code> promotes it and <code>discard</code> throws it away. A <code>fanotify</code> daemon records every hand edit and computes the delta against the clean base; <code>export</code> turns it into a shareable manifest.</span></dd>
528 <dt class="simple"><span data-l="es">En simple</span><span data-l="en">In plain words</span></dt>
529 <dd class="simple"><span data-l="es">Prueba lo que quieras: si sale mal se desmonta la capa y listo. Y lo que cambiaste a mano queda anotado solo — el registro <em>es</em> tu configuración, sin que hayas escrito ninguna.</span><span data-l="en">Try whatever you want: if it goes wrong the layer is unmounted and that's it. And what you changed by hand gets written down on its own — the log <em>is</em> your configuration, without you having written one.</span></dd>
530</dl>
531</details>
532
533<details class="decision">
534<summary><span class="num">11</span><span data-l="es">Wayland y nada más; el audio es PipeWire</span><span data-l="en">Wayland and nothing else; audio is PipeWire</span></summary>
535<dl>
536 <dt><span data-l="es">Frente a lo habitual</span><span data-l="en">Compared to the usual</span></dt>
537 <dd><span data-l="es">Casi todas arrastran X11 y varios servidores de audio a la vez por compatibilidad, y mantienen los dos caminos para siempre.</span><span data-l="en">Almost all of them drag X11 and several audio servers along for compatibility, and maintain both paths forever.</span></dd>
538 <dt><span data-l="es">Técnicamente</span><span data-l="en">Technically</span></dt>
539 <dd><span data-l="es">Ninguna receta del catálogo publica <code>libGL.so</code> de escritorio ni GLX: las aplicaciones de gráficos van por EGL, y a las que no sabían hubo que portarlas. El audio es <code>pipewire</code> con <code>wireplumber</code>, como servicio de sesión, sin capa de compatibilidad permanente.</span><span data-l="en">No recipe in the catalogue ships a desktop <code>libGL.so</code> or GLX: graphics applications go through EGL, and the ones that didn't know how had to be ported. Audio is <code>pipewire</code> with <code>wireplumber</code>, as a session service, with no permanent compatibility layer.</span></dd>
540 <dt class="simple"><span data-l="es">En simple</span><span data-l="en">In plain words</span></dt>
541 <dd class="simple"><span data-l="es">Se eligió el camino nuevo y se borró el viejo, en vez de cargar los dos para siempre. Cuesta más al principio y se paga una sola vez.</span><span data-l="en">The new path was chosen and the old one deleted, instead of carrying both forever. It costs more up front and is paid only once.</span></dd>
542</dl>
543</details>
544
545<details class="decision">
546<summary><span class="num">12</span><span data-l="es">Lo ajeno corre enjaulado, y fuera del almacén</span><span data-l="en">Foreign software runs caged, and outside the store</span></summary>
547<dl>
548 <dt><span data-l="es">Frente a lo habitual</span><span data-l="en">Compared to the usual</span></dt>
549 <dd><span data-l="es">O se mezclan binarios de terceros con los del sistema —y ya no se sabe de dónde salió cada cosa—, o directamente no hay forma de correrlos.</span><span data-l="en">Either third-party binaries get mixed in with the system's — and then you no longer know where anything came from — or there is simply no way to run them.</span></dd>
550 <dt><span data-l="es">Técnicamente</span><span data-l="en">Technically</span></dt>
551 <dd><span data-l="es">Un rootfs de otra distribución se trae pineado por <code>digest</code> y corre enjaulado con <code>bubblewrap</code> sobre el mismo kernel, sin compartir un solo <code>.so</code> con el anfitrión. <strong>No entra al store</strong>: no reproduce desde fuente, y meterlo ahí haría que el almacén mienta.</span><span data-l="en">Another distribution's rootfs is fetched pinned by <code>digest</code> and runs caged with <code>bubblewrap</code> on the same kernel, without sharing a single <code>.so</code> with the host. <strong>It does not enter the store</strong>: it does not reproduce from source, and putting it there would make the store lie.</span></dd>
552 <dt class="simple"><span data-l="es">En simple</span><span data-l="en">In plain words</span></dt>
553 <dd class="simple"><span data-l="es">Lo que no se puede cocinar acá igual se usa, pero en su propia caja y sin mezclarse. Así el catálogo no dice «esto es mío» de algo que no lo es.</span><span data-l="en">What cannot be cooked here is still used, but in its own box and unmixed. That way the catalogue never claims as its own something that isn't.</span></dd>
554</dl>
555</details>
556
557<details class="decision">
558<summary><span class="num">13</span><span data-l="es">Hecha para que una IA la opere, con el humano decidiendo</span><span data-l="en">Built for an AI to operate it, with the human deciding</span></summary>
559<dl>
560 <dt><span data-l="es">Frente a lo habitual</span><span data-l="en">Compared to the usual</span></dt>
561 <dd><span data-l="es">Están pensadas para manos humanas: la automatización termina simulando a una persona —parsear salidas, adivinar formatos— y el sistema esconde su estado en bases binarias.</span><span data-l="en">They are designed for human hands: automation ends up simulating a person — parsing output, guessing formats — and the system hides its state in binary databases.</span></dd>
562 <dt><span data-l="es">Técnicamente</span><span data-l="en">Technically</span></dt>
563 <dd><span data-l="es">Todo el estado del sistema es texto plano y binarios inspeccionables con <code>readelf</code> u <code>objdump</code>; nada de bases de configuración opacas. Hay un bus por socket Unix por el que un agente dispara compilaciones, escucha fallos y propone cambios — siempre contra un overlay, nunca contra el sistema vivo.</span><span data-l="en">All system state is plain text and binaries inspectable with <code>readelf</code> or <code>objdump</code>; no opaque configuration databases. There is a Unix-socket bus through which an agent triggers builds, listens for failures and proposes changes — always against an overlay, never against the live system.</span></dd>
564 <dt class="simple"><span data-l="es">En simple</span><span data-l="en">In plain words</span></dt>
565 <dd class="simple"><span data-l="es">Un asistente puede entender y cambiar el sistema entero sin adivinar nada, y cada cosa que hace es reversible y queda anotada. Propone; tú dispones.</span><span data-l="en">An assistant can understand and change the whole system without guessing, and everything it does is reversible and recorded. It proposes; you decide.</span></dd>
566</dl>
567</details>
568 </div>
569</div></section>
570
571<section class="franja" id="componentes"><div class="envoltura">
572 <p class="sello"><svg class="simbolo" viewBox="0 0 748 748"><use href="#tocapu"/></svg><span data-l="es">03 · los componentes</span><span data-l="en">03 · the components</span></p>
573 <h2><span data-l="es">Qué lleva dentro</span><span data-l="en">What is inside</span></h2>
574
575 <table>
576 <thead><tr>
577 <th><span data-l="es">pieza</span><span data-l="en">piece</span></th>
578 <th><span data-l="es">versión</span><span data-l="en">version</span></th>
579 <th></th>
580 </tr></thead>
581 <tbody>
582 <tr><td><span data-l="es">init</span><span data-l="en">init</span></td><td class="n">arje-zero</td><td><span data-l="es">el proceso número uno, estático contra musl; los servicios se declaran en Cards JSON</span><span data-l="en">process number one, statically linked against musl; services are declared in JSON Cards</span></td></tr>
583 <tr><td>libc</td><td class="n">musl 1.2.5</td><td><span data-l="es">estática por defecto</span><span data-l="en">static by default</span></td></tr>
584 <tr><td><span data-l="es">compilador del laboratorio</span><span data-l="en">laboratory compiler</span></td><td class="n">zig cc 0.16.0</td><td><span data-l="es">reemplazable receta por receta; también hay LLVM 21.1.2 y clang 18.1.8</span><span data-l="en">replaceable recipe by recipe; LLVM 21.1.2 and clang 18.1.8 are there too</span></td></tr>
585 <tr><td>kernel</td><td class="n">Linux 6.16.12 · 7.1.2</td><td><span data-l="es">compilados acá; arrancan la máquina y reproducen idénticos</span><span data-l="en">built here; they boot the machine and reproduce identically</span></td></tr>
586 <tr><td><span data-l="es">gráficos</span><span data-l="en">graphics</span></td><td class="n">Wayland 1.25.0 · Mesa 24.0.9</td><td><span data-l="es">sin X11 en todo el catálogo</span><span data-l="en">no X11 anywhere in the catalogue</span></td></tr>
587 <tr><td><span data-l="es">audio</span><span data-l="en">audio</span></td><td class="n">PipeWire 1.2.7 · WirePlumber 0.5.15</td><td><span data-l="es">servicio de sesión</span><span data-l="en">session service</span></td></tr>
588 <tr><td><span data-l="es">almacén</span><span data-l="en">store</span></td><td class="n">BLAKE3</td><td><span data-l="es"><strong>1.490 artefactos</strong> direccionados por contenido</span><span data-l="en"><strong>1,490 artefacts</strong> addressed by content</span></td></tr>
589 <tr><td><span data-l="es">catálogo</span><span data-l="en">catalogue</span></td><td class="n">954</td><td><span data-l="es">recetas, <strong>las 954 selladas</strong>, sin deuda</span><span data-l="en">recipes, <strong>all 954 sealed</strong>, no debt</span></td></tr>
590 <tr><td><span data-l="es">paquetes</span><span data-l="en">packages</span></td><td class="n">.tkn</td><td><span data-l="es">índice firmado Ed25519; se reconstruyen desde fuente al instalar</span><span data-l="en">Ed25519-signed index; rebuilt from source on install</span></td></tr>
591 <tr><td><span data-l="es">herramienta</span><span data-l="en">tool</span></td><td class="n">takana 0.0.1</td><td><code>build · hash · hydrate · install · kernel · qorpa</code></td></tr>
592 </tbody>
593 </table>
594
595 <h3><span data-l="es">Escritorios</span><span data-l="en">Desktops</span></h3>
596 <table>
597 <thead><tr>
598 <th><span data-l="es">escritorio</span><span data-l="en">desktop</span></th>
599 <th><span data-l="es">versión</span><span data-l="en">version</span></th>
600 <th><span data-l="es">de su clausura, sellados</span><span data-l="en">of its closure, sealed</span></th>
601 </tr></thead>
602 <tbody>
603 <tr><td><code>mirada</code></td><td class="n"><span data-l="es">propio</span><span data-l="en">our own</span></td><td class="n">41/41</td></tr>
604 <tr><td>KDE Plasma</td><td class="n">6.7.2</td><td class="n">430/431</td></tr>
605 <tr><td>GNOME</td><td class="n">48.8</td><td class="n">359/359</td></tr>
606 <tr><td>COSMIC</td><td class="n">1.5.0</td><td class="n">294/294</td></tr>
607 <tr><td>sway</td><td class="n">1.10</td><td class="n">281/281</td></tr>
608 </tbody>
609 </table>
610
611 <h3><span data-l="es">Paquetes principales</span><span data-l="en">Main packages</span></h3>
612 <ul class="versiones">
613 <li><b>bash</b><span>5.3</span></li>
614 <li><b>coreutils</b><span>9.8</span></li>
615 <li><b>uutils</b><span>0.9.0</span></li>
616 <li><b>busybox</b><span>1.36.1</span></li>
617 <li><b>git</b><span>2.54.0</span></li>
618 <li><b>curl</b><span>8.20.0</span></li>
619 <li><b>openssl</b><span>3.5.4</span></li>
620 <li><b>openssh</b><span>10.3p1</span></li>
621 <li><b>gnupg</b><span>2.4.9</span></li>
622 <li><b>python</b><span>3.12.10</span></li>
623 <li><b>go</b><span>1.26.4</span></li>
624 <li><b>rust</b><span>1.97.0</span></li>
625 <li><b>llvm</b><span>21.1.2</span></li>
626 <li><b>sqlite</b><span>3.46.1</span></li>
627 <li><b>zstd</b><span>1.5.7</span></li>
628 <li><b>ffmpeg</b><span>7.1</span></li>
629 <li><b>vim</b><span>9.2.0747</span></li>
630 <li><b>nano</b><span>9.0</span></li>
631 <li><b>helix</b><span>25.07.1</span></li>
632 <li><b>ripgrep</b><span>14.1.1</span></li>
633 <li><b>zellij</b><span>0.44.3</span></li>
634 <li><b>foot</b><span>1.27.0</span></li>
635 <li><b>firefox</b><span>154.0</span></li>
636 <li><b>atuq</b><span>0.5.0</span></li>
637 </ul>
638
639 <p class="nota">
640 <span data-l="es">Las versiones salen de las recetas del catálogo y las cifras de <code>docs/state/build-state.json</code> y del almacén de la caja. No se estiman: se cuentan. Lo que sigue abierto también está escrito: consenso de reconstrucción M-de-N.</span>
641 <span data-l="en">Versions come from the catalogue's recipes and the figures from <code>docs/state/build-state.json</code> and the box's store. They are not estimated: they are counted. What is still open is written down too: M-of-N rebuild consensus.</span>
642 </p>
643</div></section>
644
645<section class="franja" id="codigo"><div class="envoltura">
646 <p class="sello"><svg class="simbolo" viewBox="0 0 748 748"><use href="#tocapu"/></svg><span data-l="es">04 · el código</span><span data-l="en">04 · the code</span></p>
647 <h2><span data-l="es">Dónde vive y cómo se llama</span><span data-l="en">Where it lives and how it is called</span></h2>
648
649 <div class="direccion">
650 <p class="etiqueta"><span data-l="es">código · licencia MIT</span><span data-l="en">code · MIT licence</span></p>
651 <a class="url" href="https://git.gioser.net/sergio/takana">https://git.gioser.net/sergio/takana</a>
652 </div>
653
654 <div class="direccion">
655 <p class="etiqueta"><span data-l="es">paquetes · índice firmado</span><span data-l="en">packages · signed index</span></p>
656 <a class="url" href="/repo/">https://takana-os.net/repo/</a>
657 </div>
658
659 <div class="marco">
660 <h3><span data-l="es">Cómo está repartido</span><span data-l="en">How it is laid out</span></h3>
661 <ul class="limpia">
662 <li><code>crates/</code> — <span data-l="es">el CLI, el laboratorio de build, el demonio, el diario y el overlay.</span><span data-l="en">the CLI, the build lab, the daemon, the journal and the overlay.</span></li>
663 <li><code>recipes/</code> — <span data-l="es">el catálogo: una receta <code>.toml</code> por paquete.</span><span data-l="en">the catalogue: one <code>.toml</code> recipe per package.</span></li>
664 <li><code>docs/</code> — <span data-l="es">el diseño entero (SDD y ADR). Empieza por <code>00-vision.md</code>.</span><span data-l="en">the entire design (SDDs and ADRs). Start at <code>00-vision.md</code>.</span></li>
665 <li><code>scripts/</code> — <span data-l="es">la granja de compilación, la cosecha y los arneses de verificación.</span><span data-l="en">the build farm, the harvest and the verification harnesses.</span></li>
666 </ul>
667 </div>
668
669<div class="bloque">
670 <p class="rotulo"><span data-l="es">el laboratorio</span><span data-l="en">the laboratory</span></p>
671 <div class="codigo"><pre>$ takana hash ripgrep <span class="c"># <span data-l="es">el hash vigente, sin construir</span><span data-l="en">the current hash, without building</span></span>
672<span class="p">$</span> takana build ripgrep <span class="c"># <span data-l="es">compila aislado y sella en el almacén</span><span data-l="en">builds sandboxed and seals into the store</span></span>
673<span class="p">$</span> takana why-differs a/ b/ <span class="c"># <span data-l="es">nombra la causa de una diferencia</span><span data-l="en">names the cause of a difference</span></span></pre></div>
674 </div>
675
676 <div class="bloque">
677 <p class="rotulo"><span data-l="es">los paquetes</span><span data-l="en">packages</span></p>
678 <div class="codigo"><pre>$ takana repo list --repo https://takana-os.net/repo
679<span class="p">$</span> takana repo verify --repo https://takana-os.net/repo --trust ./trust
680<span class="p">$</span> takana install age --repo https://takana-os.net/repo --trust ./trust</pre></div>
681 </div>
682
683 <div class="bloque">
684 <p class="rotulo"><span data-l="es">el sistema vivo</span><span data-l="en">the live system</span></p>
685 <div class="codigo"><pre>$ takana try <span class="c"># <span data-l="es">abre el overlay sobre el sistema real</span><span data-l="en">opens the overlay over the real system</span></span>
686<span class="p">$</span> takana journal <span class="c"># <span data-l="es">lo que cambiaste a mano, registrado</span><span data-l="en">what you changed by hand, recorded</span></span>
687<span class="p">$</span> takana commit <span class="c"># <span data-l="es">promueve · <code>discard</code> lo descarta</span><span data-l="en">promotes · <code>discard</code> throws it away</span></span></pre></div>
688 </div>
689</div></section>
690
691<footer class="pie"><div class="envoltura">
692 <div class="pie-rejilla">
693 <div>
694 <a class="casa" href="https://git.gioser.net/sergio/takana"><span data-l="es">El repositorio</span><span data-l="en">The repository</span> ↗</a>
695 <p>git.gioser.net/sergio/takana</p>
696 </div>
697 <div>
698 <a class="casa" href="/repo/"><span data-l="es">Paquetes</span><span data-l="en">Packages</span></a>
699 <p>takana-os.net/repo</p>
700 </div>
701 <div>
702 <a class="casa" href="https://tawasuyu.net">tawasuyu.net ↗</a>
703 <p><span data-l="es">El territorio que se para encima.</span><span data-l="en">The territory that stands on top.</span></p>
704 </div>
705 <div>
706 <a class="casa" href="https://hifas.gioser.net">hifas ↗</a>
707 <p><span data-l="es">Réplicas sin coordinarse, con demostración.</span><span data-l="en">Replicas without coordination, with a proof.</span></p>
708 </div>
709 </div>
710 <p class="pie-fin">
711 <span data-l="es">takana · licencia MIT · esta página se sirve del propio repositorio (<code>web/takana-os.net/</code>) y no le pide nada a terceros: las tipografías —Chivo e IBM Plex, ambas SIL OFL— viajan con ella.</span>
712 <span data-l="en">takana · MIT licence · this page is served from the repository itself (<code>web/takana-os.net/</code>) and asks nothing of third parties: the typefaces — Chivo and IBM Plex, both SIL OFL — travel with it.</span>
713 </p>
714</div></footer>
715
716<script>
717(function(){
718 var r=document.documentElement;
719 function pintar(){
720 var l=r.dataset.lang;
721 document.querySelectorAll('[data-poner-lang]').forEach(function(b){
722 b.classList.toggle('on', b.dataset.ponerLang===l);
723 });
724 r.setAttribute('lang', l);
725 }
726 try{ var g=localStorage.getItem('takana-lang'); if(g) r.dataset.lang=g;
727 var t=localStorage.getItem('takana-tema'); if(t) r.dataset.theme=t; }catch(e){}
728 if(!r.dataset.lang) r.dataset.lang = (navigator.language||'es').slice(0,2)==='es' ? 'es' : 'en';
729 pintar();
730 document.querySelectorAll('[data-poner-lang]').forEach(function(b){
731 b.addEventListener('click', function(){
732 r.dataset.lang=b.dataset.ponerLang; pintar();
733 if(SEL) pinta(vAhora); // la coma decimal del peso cambia con el idioma
734 try{ localStorage.setItem('takana-lang', r.dataset.lang); }catch(e){}
735 });
736 });
737
738 /* ── las descargas se arman ACÁ, no en el HTML ──────────────────────────────────
739 Ninguna URL de instalador está en el documento: se compone al pulsar el
740 selector. Un rastreador que lee el HTML no encuentra ninguna, y estos ficheros
741 pesan de 81 MiB a 8,6 GiB — no son para que se los baje un bot. */
742 var SEL = document.getElementById('variantes'), vAhora = 'mirada', pinta;
743 if (SEL) {
744 var DIR = '/de'+'scargas/', PRE = 'takana-'+'instalador-';
745 var PESO = { base: {sh:85317423, img:374341632},
746 mirada: {sh:325502854, img:1067450368},
747 servidor: {sh:405219154, img:2535456768},
748 full: {sh:0, img:9225371648} };
749 var notaFull=document.getElementById('nota-full');
750 var bSh=document.getElementById('bloque-sh'),
751 preSh=document.getElementById('cmd-sh'), preImg=document.getElementById('cmd-img'),
752 pSh=document.getElementById('peso-sh'), pImg=document.getElementById('peso-img');
753
754 function tam(b){
755 if(!b) return '';
756 var coma = r.dataset.lang==='es' ? ',' : '.';
757 return b>=1073741824 ? (b/1073741824).toFixed(1).replace('.',coma)+' GiB'
758 : Math.round(b/1048576)+' MiB';
759 }
760 function esc(t){ return t.replace(/&/g,'&').replace(/</g,'<'); }
761 function cmd(t,u){ return '<span class="p">$</span> '+esc(t)+(u?'<a href="'+u+'">'+esc(u)+'</a>':''); }
762 /* el peso REAL, por si el instalador se reconstruyó: un HEAD lo corrige solo.
763 Si falla, se queda el medido — nunca en blanco. */
764 function pesar(u,donde){ try{
765 fetch(u,{method:'HEAD'}).then(function(res){
766 var n=parseInt(res.headers.get('content-length'),10);
767 if(n>0) donde.textContent=tam(n);
768 })['catch'](function(){});
769 }catch(e){} }
770
771 pinta = function(v){
772 vAhora = v;
773 var raiz=location.protocol+'//'+location.host, sh=PRE+v+'.sh', img=PRE+'usb-'+v+'.img';
774 var hay = !!PESO[v].sh;
775 /* `full` no tiene archivo único. El bloque NO se esconde: se queda del mismo
776 tamaño con el aviso adentro, para que la página no salte al elegir. */
777 bSh.classList.toggle('novale', !hay);
778 preSh.innerHTML = hay
779 ? [cmd('curl -LO ', raiz+DIR+sh), cmd('chmod +x '+sh), cmd('sudo ./'+sh)].join('\n')
780 : '<span class="vacio">— ' + (r.dataset.lang==='es' ? 'sin archivo único · sólo USB'
781 : 'no single file · USB only') + '</span>';
782 preImg.innerHTML = [cmd('curl -LO ', raiz+DIR+img),
783 cmd('sudo dd if='+img+' of=/dev/sdX bs=4M oflag=sync status=progress')].join('\n');
784 pSh.textContent = tam(PESO[v].sh); pImg.textContent = tam(PESO[v].img);
785 if(hay) pesar(DIR+sh,pSh);
786 pesar(DIR+img,pImg);
787 /* `full` tiene dos cosas que hay que decir ANTES de bajar 17 GiB: el tamaño del pendrive
788 que pide, y que GNOME no está — con su motivo, para que no se lea como un olvido. */
789 if(notaFull) notaFull.hidden = (v!=='full');
790 SEL.querySelectorAll('.opcion').forEach(function(b){ b.classList.toggle('on', b.dataset.v===v); });
791 };
792 SEL.querySelectorAll('.opcion').forEach(function(b){
793 b.addEventListener('click', function(){ pinta(b.dataset.v); });
794 });
795 pinta(vAhora);
796 }
797
798 /* un botón de copiar por bloque de comandos, puesto desde acá para no repetirlo
799 diez veces en el HTML. Copia sin el `$` del prompt. */
800 function rotulo(txt_es, txt_en){
801 return '<span data-l="es">'+txt_es+'</span><span data-l="en">'+txt_en+'</span>';
802 }
803 document.querySelectorAll('.codigo').forEach(function(c){
804 var b=document.createElement('button');
805 b.className='copiar'; b.type='button';
806 b.innerHTML=rotulo('copiar','copy');
807 b.addEventListener('click', function(){
808 var t=c.querySelector('pre').innerText.replace(/^\$ /gm,'');
809 var ok=function(){
810 b.classList.add('ok'); b.innerHTML=rotulo('copiado ✓','copied ✓');
811 setTimeout(function(){ b.classList.remove('ok'); b.innerHTML=rotulo('copiar','copy'); },1600);
812 };
813 if(navigator.clipboard && navigator.clipboard.writeText){
814 navigator.clipboard.writeText(t).then(ok,function(){});
815 } else {
816 var ta=document.createElement('textarea'); ta.value=t; document.body.appendChild(ta);
817 ta.select(); try{ document.execCommand('copy'); ok(); }catch(e){}
818 document.body.removeChild(ta);
819 }
820 });
821 c.appendChild(b);
822 });
823
824 document.getElementById('tema').addEventListener('click', function(){
825 var oscuro = r.dataset.theme ? r.dataset.theme==='dark'
826 : matchMedia('(prefers-color-scheme:dark)').matches;
827 r.dataset.theme = oscuro ? 'light' : 'dark';
828 try{ localStorage.setItem('takana-tema', r.dataset.theme); }catch(e){}
829 });
830})();
831</script>
832</body>
833</html>