gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitac2c4e3fac2c4e3fident selector back in the header (creator 2026-10-24): selector top right signed in and out on phone and desktop, no second Log in button, new gate checks (WIP: gates not re-run after the last edits)mreac2c4e3f/tests/security.mjs

19.0 KB

  1. // tests/security.mjs — SECURITY GATE of gitoria.worldapi.org (mission SG): real HTTP requests against a real local
  2. // gitoria + its own ident (tests/identkit.mjs). Who may do what (signed out / another user / owner) on every route, API
  3. // endpoint and face; injection; the session cookie; the answer headers; the open /__hl/upload.
  4. // node tests/security.mjs (GITORIA_SEC_PORT default 8914, GITORIA_SEC_PORT2 default 8915 = the https-configured server,
  5. // GITORIA_SEC_IDENT_PORT default 8913)
  6. // Known hl:web gaps (page security headers, the 404 page echoing the path, no Origin check on emit) are PRINTED as `known:` lines, not counted.
  7. import { spawn, execFileSync } from 'node:child_process';
  8. import { request } from 'node:http';
  9. import { mkdirSync, rmSync, writeFileSync, existsSync } from 'node:fs';
  10. import { dirname, join, resolve } from 'node:path';
  11. import { fileURLToPath } from 'node:url';
  12. import { startIdent } from './identkit.mjs';
  13. const HERE = dirname(fileURLToPath(import.meta.url));
  14. const APP = resolve(HERE, '..');
  15. const PORT = Number(process.env.GITORIA_SEC_PORT || 8914), PORT2 = Number(process.env.GITORIA_SEC_PORT2 || 8915), IDENT_PORT = Number(process.env.GITORIA_SEC_IDENT_PORT || 8913);
  16. const IDENT_DIR = process.env.GITORIA_GATE_IDENT_DIR || [resolve(APP, '../ident.worldapi.org'), '/media/STORAGE/projects/WorldAPI/ident.worldapi.org'].find(d => existsSync(join(d, 'project.hl')));
  17. const STORE = join(APP, '.scratch/sec-store');
  18. const SSH_SECRET = 'sshsecret-for-the-security-gate';
  19. const J = JSON.stringify, sleep = (ms) => new Promise(r => setTimeout(r, ms));
  20. let passes = 0, failures = 0;
  21. const check = (label, ok, detail = '') => { console.log(`${ok ? 'ok ' : 'FAIL'} ${label}${ok ? '' : ' — ' + detail}`); if (ok) passes++; else failures++; };
  22. const known = (label) => console.log('known: ' + label);
  23. function raw(port, method, path, { host = `localhost:${port}`, headers = {}, body = null, cookie = null } = {}) {
  24. return new Promise((res, rej) => {
  25. const h = { host, ...headers }; if (cookie) h.cookie = cookie;
  26. if (body !== null) h['content-length'] = Buffer.byteLength(body);
  27. const r = request({ host: '127.0.0.1', port, method, path, headers: h }, (m) => { const c = []; m.on('data', d => c.push(d)); m.on('end', () => res({ status: m.statusCode, headers: m.headers, body: Buffer.concat(c).toString('latin1') })); });
  28. r.on('error', rej); if (body !== null) r.write(body); r.end();
  29. });
  30. }
  31. const get = (path, o = {}) => raw(PORT, 'GET', path, o);
  32. const procs = [];
  33. function spawnServer(port, base, env) {
  34. let log = '';
  35. const p = spawn(join(APP, 'bin/hybriel'), ['project.hl'], { cwd: APP, stdio: ['ignore', 'pipe', 'pipe'],
  36. env: { ...process.env, GITORIA_PORT: String(port), GITORIA_WATCH: '0', GITORIA_PUBLIC_URL: base, GITORIA_SSH_SECRET: SSH_SECRET, GITORIA_TICKETS_URL: 'http://127.0.0.1:1', ...env } });
  37. p.stdout.on('data', d => log += d); p.stderr.on('data', d => log += d); procs.push(p);
  38. return { p, log: () => log };
  39. }
  40. async function up(port, srv) {
  41. for (let i = 0; i < 960; i++) { try { if ((await raw(port, 'GET', '/api/repos')).status === 200) return; } catch {} await sleep(250); }
  42. throw new Error('gitoria did not come up\n' + srv.log());
  43. }
  44. let ident;
  45. try {
  46. rmSync(STORE, { recursive: true, force: true }); mkdirSync(STORE, { recursive: true });
  47. ident = await startIdent({ identDir: IDENT_DIR, workDir: join(STORE, 'ident'), port: IDENT_PORT });
  48. const alice = await ident.signIn('[email protected]'), bob = await ident.signIn('[email protected]');
  49. const BASE = `http://localhost:${PORT}`;
  50. const app = await ident.registerApp(alice, 'gitoria (security gate)', [BASE]);
  51. const env = (d, base) => ({ GITORIA_STORAGE: join(STORE, d, 'mpackdb'), GITORIA_SESSIONS: join(STORE, d, 'sessions') + '/', GITORIA_GIT: join(STORE, d, 'git'), IDENT_URL: ident.base, IDENT_EXCHANGE_URL: ident.base, IDENT_API_KEY: app.key, IDENT_API_SECRET: app.secret });
  52. const s1 = spawnServer(PORT, BASE, env('one'));
  53. const s2 = spawnServer(PORT2, `https://localhost:${PORT2}`, env('two')); // https public URL: the cookie must be Secure
  54. await Promise.all([up(PORT, s1), up(PORT2, s2)]);
  55. const cookieOf = (r) => (r.headers['set-cookie'] || []).map(c => c.split(';')[0])[0] || null;
  56. const login = async (who, pre = null, next = '/') => {
  57. const first = pre ? { cookie: pre } : null;
  58. const ck = pre || cookieOf(await get('/'));
  59. const code = await ident.selectorCode(who, app, BASE);
  60. const cb = await get('/login/callback?ident_code=' + code + '&next=' + encodeURIComponent(next), { cookie: ck });
  61. return { cookie: cookieOf(cb) || ck, cb, pre: ck };
  62. };
  63. let n = 0;
  64. const face = async (who, event, payload) => {
  65. const r = await raw(PORT, 'POST', '/__hl/emit', { headers: { 'content-type': 'application/json' }, cookie: who && who.cookie, body: J({ t: 'emit', i: ++n, event, payload }) });
  66. let j = null; try { j = JSON.parse(r.body); } catch {}
  67. return { status: r.status, value: j && j.value, error: j && j.error };
  68. };
  69. const A = await login(alice), B = await login(bob);
  70. await face(A, 'gitoriaSaveName', ['Alice']); await face(B, 'gitoriaSaveName', ['Bob']);
  71. // ---- 1. authz: the faces (who may, result) --------------------------------------------------------------------
  72. const mk = await face(A, 'gitoriaCreate', ['alpha', 'a <b>repo</b>']);
  73. check('face gitoriaCreate: owner creates', !!(mk.value && mk.value.repo && mk.value.repo.slug === 'alpha'), J(mk.value));
  74. check('face gitoriaCreate: signed out refused', !!(await face(null, 'gitoriaCreate', ['zeta', 'x'])).value.error);
  75. check('face gitoriaCreate: a slug with .. or / refused', !!(await face(B, 'gitoriaCreate', ['../x', 'x'])).value.error && !!(await face(B, 'gitoriaCreate', ['a/b', 'x'])).value.error);
  76. const tk = await face(A, 'gitoriaMakeToken', ['laptop']);
  77. check('face gitoriaMakeToken: signed-in user makes one', !!(tk.value && /^gtr_[0-9a-f]{40}$/.test(tk.value.token || '')), J(tk.value));
  78. check('face gitoriaMakeToken: signed out refused', !!(await face(null, 'gitoriaMakeToken', ['x'])).value.error);
  79. check('face gitoriaRemoveToken: another user cannot remove it', (await face(B, 'gitoriaRemoveToken', [tk.value.row.id])).value.error === 'no such token');
  80. check('face gitoriaRemoveToken: signed out refused', !!(await face(null, 'gitoriaRemoveToken', [tk.value.row.id])).value.error);
  81. check('face gitoriaAddKey / gitoriaRemoveKey: signed out refused', !!(await face(null, 'gitoriaAddKey', ['k', 'ssh-ed25519 AAAA'])).value.error && !!(await face(null, 'gitoriaRemoveKey', ['1'])).value.error);
  82. for (const [w, wn] of [[null, 'signed out'], [B, 'another user']]) {
  83. check(`face gitoriaSetBranch: ${wn} refused`, !!(await face(w, 'gitoriaSetBranch', ['alpha', 'main', 'code', ''])).value.error);
  84. check(`face gitoriaDisconnectTickets: ${wn} refused`, !!(await face(w, 'gitoriaDisconnectTickets', ['alpha'])).value.error);
  85. check(`face gitoriaMergePull: ${wn} refused`, !!(await face(w, 'gitoriaMergePull', ['alpha', 'a'.repeat(40)])).value.error);
  86. }
  87. check('face gitoriaOpenTicket: signed out refused', !!(await face(null, 'gitoriaOpenTicket', ['alpha', 's', 't'])).value.error);
  88. check('face gitoriaSaveName: signed out refused', !!(await face(null, 'gitoriaSaveName', ['x'])).value.error);
  89. check('face gitoriaSaveName: the name is asked ONCE (a second set refused)', !!(await face(A, 'gitoriaSaveName', ['Other'])).value.error);
  90. check('face gitoriaLogin: a junk code is refused', !!(await face(B, 'gitoriaLogin', ['not a code'])).value.error);
  91. check('client-side events cannot be called by a peer', !(await face(null, 'repoCreated', [{ slug: 'evil' }])).value);
  92. // ---- 1b. authz: routes ----------------------------------------------------------------------------------------------
  93. const apiRow = JSON.parse((await get('/api/repos/alpha')).body);
  94. check('API /api/repos/:slug: public read, no secret field', !('tktKey' in apiRow) && !('tktApi' in apiRow) && !('owner_id' in apiRow) && !('identity' in apiRow), J(Object.keys(apiRow)));
  95. check('API: POST refused (405)', (await raw(PORT, 'POST', '/api/repos', { body: '{}' })).status === 405);
  96. check('/settings/connect: signed out is sent to /settings (no nonce)', (await get('/settings/connect', { host: `alpha.localhost:${PORT}` })).headers.location === '/settings');
  97. check('/settings/connect: another user is sent to /settings (no redirect to tickets)', (await get('/settings/connect', { host: `alpha.localhost:${PORT}`, cookie: B.cookie })).headers.location === '/settings');
  98. check('/settings/connect: the owner is sent on to tickets', /\/connect\?app=gitoria/.test((await get('/settings/connect', { host: `alpha.localhost:${PORT}`, cookie: A.cookie })).headers.location || ''));
  99. check('/settings/connected: another user is sent to /settings, nothing stored', (await get('/settings/connected?code=abc&state=x', { host: `alpha.localhost:${PORT}`, cookie: B.cookie })).headers.location === '/settings');
  100. const q = '/__git/access?user=x&slug=alpha&write=1';
  101. check('/__git/access: no secret → 403', (await get(q)).status === 403);
  102. check('/__git/access: wrong secret → 403', (await get(q, { headers: { 'x-gitoria-secret': 'nope' } })).status === 403);
  103. check('/__git/access: right secret through the proxy (X-Forwarded-For) → 403', (await get(q, { headers: { 'x-gitoria-secret': SSH_SECRET, 'x-forwarded-for': '1.2.3.4' } })).status === 403);
  104. check('/__git/access: right secret, a non-owner write → 403', (await get(q, { headers: { 'x-gitoria-secret': SSH_SECRET } })).status === 403);
  105. check('/__git/keys: no secret → 403', (await get('/__git/keys?type=ssh-ed25519&key=AAAA')).status === 403);
  106. // ---- 1c. git over HTTPS: who may push -------------------------------------------------------------------------------
  107. const tokB = (await face(B, 'gitoriaMakeToken', ['bobs'])).value.token;
  108. const W = join(STORE, 'work'); mkdirSync(W, { recursive: true });
  109. const genv = { ...process.env, GIT_TERMINAL_PROMPT: '0', GIT_CONFIG_GLOBAL: '/dev/null', GIT_AUTHOR_NAME: 'a', GIT_AUTHOR_EMAIL: 'a@a', GIT_COMMITTER_NAME: 'a', GIT_COMMITTER_EMAIL: 'a@a' };
  110. const g = (...a) => execFileSync('git', a, { cwd: W, encoding: 'utf8', env: genv, stdio: ['ignore', 'pipe', 'pipe'] });
  111. g('init', '-q', '-b', 'main');
  112. writeFileSync(join(W, 'README.md'), '# T\n\n[js](javascript:alert(1)) [d](data:text/html,x) [ok](https://example.org/a) <script>window.__x=1</script> [p](//evil.com)\n');
  113. writeFileSync(join(W, '<img src=x onerror=alert(1)>.txt'), 'hello <script>alert(1)</script>\n');
  114. g('add', '-A'); g('commit', '-q', '-m', 'init <script>alert(1)</script>'); g('branch', 'feat<b>x');
  115. const url = (t) => `http://u:${t}@alpha.localhost:${PORT}/alpha.git`;
  116. const push = (t) => { try { g('push', '-q', url(t), 'main'); return true; } catch { return false; } };
  117. check('git push: another user\'s valid token refused', !push(tokB));
  118. check('git push: a made-up token refused', !push('gtr_' + '0'.repeat(40)));
  119. try { g('push', '-q', `http://alpha.localhost:${PORT}/alpha.git`, 'main'); check('git push: without credentials refused', false); } catch { check('git push: without credentials refused', true); }
  120. check('git push: the owner\'s token works', push(tk.value.token));
  121. g('push', '-q', url(tk.value.token), 'feat<b>x');
  122. const adv = await get('/alpha.git/info/refs?service=git-receive-pack', { host: `alpha.localhost:${PORT}` });
  123. check('git receive-pack advertisement needs a token (401)', adv.status === 401);
  124. check('git clone/ls-remote needs no login (public)', /refs\/heads\/main/.test(g('ls-remote', `http://alpha.localhost:${PORT}/alpha.git`)));
  125. check('git transport on the main address / a foreign repo name: 404', (await get('/alpha.git/info/refs?service=git-upload-pack')).status === 404 && (await get('/beta.git/info/refs?service=git-upload-pack', { host: `alpha.localhost:${PORT}` })).status === 404);
  126. // ---- 2. injection ---------------------------------------------------------------------------------------------------
  127. const own = (b) => b.replace(/<script type="application\/json" id="hl-seed">[\s\S]*?<\/script>/, '');
  128. for (const p of ['/', '/code', '/branch/' + encodeURIComponent('feat<b>x'), '/code/' + encodeURIComponent('<img src=x onerror=alert(1)>.txt')]) {
  129. const r = await get(p, { host: `alpha.localhost:${PORT}` });
  130. check(`page ${p.slice(0, 30)}: no repo text lands as HTML (script / img / bold)`, !/<script>(alert|window\.__x)|<img src=x|<b>repo<\/b>|<b>x</.test(own(r.body)), J(own(r.body).match(/<script>(alert|window\.__x)|<img src=x|<b>repo<\/b>|<b>x</)));
  131. check(`page ${p.slice(0, 30)}: the page data seed cannot close its script tag`, !/<\/script/i.test((r.body.match(/id="hl-seed">([\s\S]*?)<\/script>/) || [, ''])[1]));
  132. }
  133. const home = own((await get('/', { host: `alpha.localhost:${PORT}` })).body);
  134. const hrefs = [...home.matchAll(/<a [^>]*href="([^"]*)"/g)].map(m => m[1]);
  135. check('Markdown: no javascript: / data: / protocol-relative link in the README page', !hrefs.some(h => /^(javascript|data|vbscript):/i.test(h) || h.startsWith('//')), J(hrefs));
  136. check('Markdown: the safe https link stays a link', hrefs.includes('https://example.org/a'));
  137. const nextOf = async (nx) => (await get('/login/callback?ident_code=' + await ident.selectorCode(bob, app, BASE) + '&next=' + encodeURIComponent(nx))).headers.location;
  138. let ok = true; const bad = [];
  139. for (const nx of ['//evil.com', '/\\evil.com', 'http://evil.com/', 'javascript:alert(1)', 'http://x.localhost:' + PORT + '@evil.com/', 'http://alpha.localhost:' + PORT + '.evil.com/']) { const l = await nextOf(nx); if (l !== '/') { ok = false; bad.push(nx + ' → ' + l); } }
  140. check('login ?next=: no open redirect (//, backslash, other host, javascript:, userinfo / suffix tricks)', ok, bad.join('; '));
  141. check('login ?next=: a repo address of this system is allowed', (await nextOf(`http://alpha.localhost:${PORT}/code`)) === `http://alpha.localhost:${PORT}/code`);
  142. const header = await get('/login/callback?ident_code=x&next=' + encodeURIComponent('/a\r\nSet-Cookie: x=1'));
  143. check('login ?next=: no header injection', !J(header.headers['set-cookie'] || '').includes('x=1') && !('x' in header.headers) && header.headers.location === '/login/failed', J(header.headers));
  144. check('files: source, storage, .env, .git are not served', (await Promise.all(['/.env', '/project.hl', '/lib/users.hl', '/storage/mpackdb/users.db', '/.git/config', '/icons/%2e%2e/project.hl', '/%2e%2e/%2e%2e/etc/passwd', '/docker-compose.yml'].map(p => get(p)))).every(r => r.status === 404));
  145. const mod = await get('/components/main.hl');
  146. check('served client modules hold no secret (ident secret, ssh secret)', !mod.body.includes(app.secret) && !mod.body.includes(SSH_SECRET));
  147. for (const w of [A, B]) {
  148. const r = await get('/settings', { host: `alpha.localhost:${PORT}`, cookie: w.cookie }); const r2 = await get('/', { cookie: w.cookie });
  149. check('pages carry no secret (app secret, ssh secret, session id, token, ident identity)', ![r.body, r2.body].some(b => b.includes(app.secret) || b.includes(SSH_SECRET) || b.includes(w.cookie.split('=')[1]) || b.includes(tk.value.token) || /"identity"/.test(b)), J([r.body, r2.body].map(b => [b.includes(app.secret), b.includes(SSH_SECRET), b.includes(w.cookie.split('=')[1]), b.includes(tk.value.token), /"identity"/.test(b)])));
  150. }
  151. // ---- 3. uploads -----------------------------------------------------------------------------------------------------
  152. const upl = await raw(PORT, 'POST', '/__hl/upload', { headers: { 'content-type': 'application/json' }, body: J({ name: 'x', type: 'text/plain', size: 900000000 }) });
  153. check('/__hl/upload: a signed-out visitor cannot start a 900 MB upload (no face takes a file) → 413', upl.status === 413, upl.status + " " + upl.body.slice(0, 100));
  154. // ---- 4. sessions and cookies ----------------------------------------------------------------------------------------
  155. const c1 = (await get('/')).headers['set-cookie'][0];
  156. check('cookie: HttpOnly, SameSite=Lax, Path=/', /HttpOnly/.test(c1) && /SameSite=Lax/.test(c1) && /Path=\//.test(c1), c1);
  157. const c2 = (await raw(PORT2, 'GET', '/')).headers['set-cookie'][0];
  158. check('cookie: Secure when the public address is https', /; Secure/.test(c2), c2);
  159. const pre = cookieOf(await get('/'));
  160. const fixed = await login(bob, pre);
  161. check('login rotates the session id (a cookie planted before login is not the logged-in one)', fixed.cookie !== pre, 'same cookie ' + pre);
  162. const mkAsPre = await face({ cookie: pre }, 'gitoriaMakeToken', ['fixation']);
  163. check('the pre-login cookie does not act as the user', !!(mkAsPre.value && mkAsPre.value.error), J(mkAsPre.value));
  164. check('the new session acts as the user', !!(await face(fixed, 'gitoriaMakeToken', ['after'])).value.token);
  165. const C = await login(bob);
  166. await face(C, 'gitoriaLogOut', []);
  167. check('logout: the same cookie is signed out afterwards', !!(await face(C, 'gitoriaMakeToken', ['x'])).value.error);
  168. const code2 = await ident.selectorCode(bob, app, BASE);
  169. await get('/login/callback?ident_code=' + code2); const again = await get('/login/callback?ident_code=' + code2);
  170. check('a login code works once (reuse → /login/failed)', again.headers.location === '/login/failed');
  171. // ---- 6. headers on the function routes (pages: known gap) ------------------------------------------------------------
  172. const nos = async (label, r) => check(`X-Content-Type-Options: nosniff — ${label}`, (r.headers['x-content-type-options'] || '') === 'nosniff', J(r.headers));
  173. await nos('/api/repos', await get('/api/repos'));
  174. await nos('/api/repos/alpha (markdown)', await get('/api/repos/alpha', { headers: { accept: 'text/markdown' } }));
  175. await nos('/login/callback redirect', await get('/login/callback?ident_code=zz'));
  176. await nos('/settings/connect redirect', await get('/settings/connect', { host: `alpha.localhost:${PORT}` }));
  177. await nos('/__git/access', await get(q));
  178. await nos('git info/refs', await get('/alpha.git/info/refs?service=git-upload-pack', { host: `alpha.localhost:${PORT}` }));
  179. await nos('git 401', adv);
  180. const page = await get('/');
  181. for (const h of ['content-security-policy', 'x-content-type-options', 'x-frame-options', 'referrer-policy']) if (!page.headers[h]) known(`page answers carry no ${h} (hl:web has no hook for page headers — .scratch/SG-hlweb-gaps.md)`);
  182. const nf = await get('/nope%3Cscript%3Ealert(1)%3C/script%3E');
  183. if (/<script>alert/.test(nf.body) && /html/.test(nf.headers['content-type'])) known('hl:web 404 page echoes the decoded path as text/html: reflected XSS (.scratch/SG-hlweb-gaps.md)');
  184. const ev = await raw(PORT, 'POST', '/__hl/emit', { headers: { 'content-type': 'text/plain', origin: 'https://evil.example' }, cookie: A.cookie, body: J({ t: 'emit', i: 999, event: 'gitoriaMakeToken', payload: ['csrf'] }) });
  185. if (/"ok":true/.test(ev.body)) known('/__hl/emit does not check Origin (SameSite=Lax is the only CSRF guard; faces cannot read headers) (.scratch/SG-hlweb-gaps.md)');
  186. } catch (e) {
  187. check('the security gate ran to its end', false, String(e && e.stack || e));
  188. } finally {
  189. for (const p of procs) { try { p.kill('SIGTERM'); } catch {} }
  190. if (ident) await ident.stop();
  191. await sleep(500);
  192. console.log(`\n${passes} passed, ${failures} failed`);
  193. process.exit(failures ? 1 : 0);
  194. }

Branches

Latest commits

  • ac2c4e3fident selector back in the header (creator 2026-10-24): selector top right signed in and out on phone and desktop, no second Log in button, new gate checks (WIP: gates not re-run after the last edits)mre
  • b279f536theme: sync from layouts 4994037 (list rows stack, td word-keep, heading code, edited tap target)mre
  • 2b01515ctests/ticketskit: a failed start kills the tickets server (own process group); stop() kills the groupmre
  • 109cfc5ctests/ticketskit: keep the rotated session cookie of the tickets login (tickets ST2 session rotation)mre
  • 7eb6be27sessions last 99 years (creator 2026-10-23: logins never expire; only sign out ends them)mre
  • b3911918reports/MG-mobile.md: 404 fixed, rebased gatesMG
  • 9da65b42tests/browser.mjs: 404 checks (host, no hydration wait)MG
  • 00517fafgitoria: shell 404 page for unknown paths (catch-all route, status 404, JSON 404 under /api), 390 gate checksMG
  • d9e977f0reports/MG-mobile.md, LOGMG
  • 2f2725actests/browser.mjs: commit-row check (one row, centred date)MG
  • 4df1ea01tests/browser.mjs: MG phone checks (list first, no dead strip, one branch heading, tab grid, commit rows, PR title row, ticket columns, wrapping commands)MG
  • c52424e9gitoria mobile: repo list before the forms, 3x2 tab grid, no duplicate branch heading, ordered commit rows, aligned ticket rows, pull title on its own row, wrapping clone commands, no dead strip under formsMG
  • 3a95252dG3: cache parsed README blocks by sha256 of the text (bounded LRU), reportmre
  • 570138cddeploy: security gate (tests/security.mjs)mre
  • da6b20fcgitoria SG: security audit fixes (uploadMax 0, Secure cookie on https, session rotation at login, nosniff on function routes, no identity in page data) + tests/security.mjs gate + reportmre
  • f98c981fgitoria B1: report wordingmre
  • c6364cedgitoria B1: compact Markdown blocks (one kind flag per block/span, empty and false fields omitted); same rendered HTML, page values -67%mre
  • cd99d2feWIP gitoria#22: always render the repo level's slot (missing-repo boot hang), pages render nothing without a repo; hydration diagnosis in reports/G2-hydrate.mdmre
  • e5404b9breport: commit idsmre
  • 63cfa21ereports/G2-repotabs.mdmre