gitoria
All repositories: gitoria
3.3 KB
# B1 — compact Markdown blocks (gitoria, README tab data)Branch `b1-blocks` (from main cd99d2f). Change: `lib/markdown.hl` only; the view `components/markdown.hl` is untouched.* Block = one flag naming its kind (`isP`/`isH1`/`isH2`/`isH3`/`isUl`/`isOl`/`isCode`/`isQuote`/`isTable`/`isHr` = true) plus only the fields that kind has(`spans`; `items` (+`start` for ol); `code`; `head`+`rows`). Was: 10 booleans + `spans items start code head rows` on EVERY block.* Span = `{ text, isText|isStrong|isEm|isStrongEm|isCode|isLink = true }` (+`href` for links only). Was: text + 6 booleans + href on every span (the bulk of the 607 KB).* NOT a literal `kind` string: a View `if` takes a member/field path, not a comparison ("hl:web: a View `if` takes a member, a field path … this one is an expression" — tried, the app does not boot). So the kind is the (single) present true field, the rest omitted. A `kind` string would need hl:web to allow `if (b.kind == 'p')` in a View (gap for Arachne, not worked around with JS).## Proof 1 — rendered HTML byte-identicalNewest backup (gitoria.worldapi.org-20261022-2202.tgz) extracted to a COPY (two copies: old and new server), 14 repos' homepages fetched as server-rendered HTML(Host: <repo>.localhost), seed script and `?v=` hashes and ports normalised: all 14 `cmp` identical (9 real READMEs: tracker 1655 lines, antcolony 1294, tickets 945, ident 744, routger, gitoria, notes, calendar, components; 3 without README).`termuplex` got the 2 005-line "longdoc" README (G2's generator); `email` got an edge README (h1–h5, empty `#`, strong/em/both, code, links incl. a refused `javascript:`, bare and `<…>` URLs, quote, hr, ul/ol with start 3, `1)`, wrapped item, table with inline spans, fenced js, tilde fence, unclosed fence): identical too.Client-rendered DOM (after the Code→Readme click in Chrome): `#homepage` innerHTML sha256 c5b6dfd2785a64a2 (640 282 chars), identical old/new, at 1280 and 390.Method sensitivity: the first compare run flagged differences from ports alone (cmp fails on any byte); tools: s/snap.sh.## Proof 2 — value size and click→text, longdoc, headless real Chrome (/opt/google/chrome/chrome; lisbeth's Chrome on :9223 did not answer), 5 runs, G2's stopwatch (pointerdown → h2 in DOM + 2 rAF)* Page values (`hl-seed` text): **675 229 → 221 941 chars (−67 %)**. The Code→Readme click ships one websocket frame: **675 265 → 221 977 chars**. Full page HTML (longdoc) 1 319 761 → 866 473; tracker 1 465 979 → 1 071 925 bytes.* click→text ms (runs; median): 1280 old 2712 2639 2565 2348 2195 (2565) | new 2739 2953 2677 2640 2557 (2677). 390 old 2622 2629 3227 3125 2937 (2937) | new 2440 2592 2399 2736 2916 (2592). Long tasks ~500–800 ms both.* Honest reading: **no measurable click→text gain** (differences are inside the machine noise); the time is the client building ~2 600 elements (hl:web, Arachne's W85), not parse/copy of the values. The win is 3x smaller values/frames/page HTML and less server serialisation.## Proof 3 — gates (deploy.sh GATES, my ports 8720–8723, Chrome 8710–8719, Firefox 8729)old (cd99d2f): theme check rc 0; browser.mjs **232 passed, 0 failed**. new: theme rc 0; browser.mjs **232 passed, 0 failed**. (One earlier new run had 1 FAIL "chain: Back button" while a stray worktree sat inside my tree and the theme check scanned it; rerun clean: 0 failed.)
Branches
- f1-broken-json
- f2-api-bugs
- gp-gate-ports
- heap-revert
- hl25-records
- ident-chooser-selector
- mainmain branch
- p51-public-pr-reads
- records-1112
- s25-no-session-on-login-error
- v59
- w52-person-approval
- w52b-approval-followup
- w52c-header-phone
- w53-pulls-speed-pr
- w54-repo-rename-pr
- w55-rename-org
- w56-owner-members
- w62-pr-close
- w63-force-push
- w64-org-slash
Latest commits
- cb634512log: 2026-11-08 keyed lists livemre
- 07c98d4aLists: keyed rows with @id, remove(id) and one whole-list assignment instead of hand-rebuilt loopsmre
- 0db0d81elog: 2026-11-08 day52 live, W30 startedmre
- b05f6d92tests/status: the gate's 3 s app token expired during the restart; it lives 60 s like status-keyedmre
- 1e8f4f0avendor: Hybriel set-day52 (fault-path leak fix #335, keyed rows #331)mre
- f5f0fb7blog: 2026-11-08 day50/#29 live, H25 correction, V52 startedmre
- dc77fb95main: offline note from __hlOnline, tick removed (#29)mre
- 37a86d93tests/reviews: seeded fake hook's DNS failures are not server errors (flaky gate)mre
- 07ab845bvendor: Hybriel set-day50 (run() leak fix #335)mre
- 71b2fa4blog: hybriel#335mre
- bd94cc7elog: #25 cause found (run() leak)mre
- 565cb508log: H25 round 1mre
- 90a0af84log: H25 startedmre
- 87bd53b8mission H25mre
- 71a746cflog: day48 livemre
- bf568e14log: V48 mergedmre
- 09955dedMerge v48: Hybriel set-day48, theme layouts ce4a0bamre
- f2a2b0cevendor: Hybriel set-day48, theme layouts ce4a0bamre
- 5d0834e7log: Apollo model rulemre
- fe8e5bd5log: #25 sample, V48 missionmre