gitoria
All repositories: gitoria
4.7 KB
# V48 — re-vendor gitoria to Hybriel set-day48 + theme from layouts ce4a0ba (gitoria#25 prep)Branch v48 (worktree ../gitoria-V48), one commit. Nothing merged, pushed or deployed. LOG.md and STATUS.md untouched (the conductor writes those).## What the new layout needs- set-day48 (SOURCE b6a8f429, all 135 SHA256SUMS entries OK) has the same tree as set-day39. The only new files are runtime/heapsnapshot.hl and lib/hlrt/heapsnapshot.hl. The "new layout" (bin/es, bin/hybriel-native, bin/hybriel.inputs.json, top-level runtime/, .so-only plugins/) was already there in day39.- The app runs `bin/hybriel` (es and hybriel-native are symlinks to it). runtime/ is not needed next to bin/: the binary carries its runtime. Since #326 (PLUGINS_AND_RELEASES §6, SPEC "lib/<sha>/") it uses a neighbouring libhlrt.a/hlc.o/hlrt/ only when their hashes match its own manifest. The set's lib/ matches, and `--build-only` prints no warning.- The scheme is unchanged from V39. bin/ = the set's bin/hybriel + lib/ contents. Plugins = `git archive b6a8f429 plugins/<p>` with the set's .so on top, all byte-identical. New plugin: heap (hl:heap, no .so). Before the change, gitoria's plugins equalled the V39 vendoring exactly (no local edits).- Binary sha256 660a9524ce21bf3e3d4d6d7693252392d2e3a362780c382239b718ece2fc6cd0 (static). The .so files need at most GLIBC_2.36 (libmpackdb), which debian 12 has.## Deploy / image- Dockerfile (debian:12-slim + libssl3, ca-certificates, git, openssh-client), docker-compose (`./bin/hybriel project.hl`, bind mount) and deploy.sh (rsync of the whole folder minus storage etc.) already ship bin/ and plugins/. No change is needed.- Note: deploy.sh syncs without --delete, but no plugin file was removed and the bin/ file names did not change. A stale old file cannot win anyway since #326.- First start on live: mpackdb rebuilds the indexes of legacy stores once on first open (mission 588), and the build cache is cold (~35 s here).## Files changed- plugins/ (fetch, mpackdb, web changed; heap new), theme/shell/{app-sidebar,content-first,list-first,three-pane}.hl (layouts ce4a0ba), README (V48 entry, theme note), lib/repos-helpers.hl.- The one .hl change is `tabOfPath = (String path)`. The cause: with day48, components/repo.hl's `tab` (from route.path through the imported helper tabOfPath) was no longer re-derived after a client navigation, so the Readme tab stayed marked. That made the browser gate fail 264/2 ("chain … the marked tab follows", "Code stays marked").- Bisect: day39 runtime + new theme gave 266/0; day48 runtime + old theme gave 264/2. So it is the runtime, not the theme.- Minimal repro: .scratch/V48-route-tab (run.mjs + app/). On day39 an untyped helper follows the route. On day48 only the inline form and the typed `(String path)` helper follow. The SPEC purity rules (day41+, missions 575–578) say "Builtin calls require a proven plain receiver: String/Number/Boolean parameters … Untyped … do not qualify". I copied that shape; with it the browser gate went from 264/2 to 266/0.## Gates (LC_ALL=C, ports 8720–8737 + 8738 for real data, final tree), all 0 failedcheck-theme 86 files 0 problems · create-api 47 · signin-return 3 · browser 266 · security 82 · private 158 · ident-access-gitoria 30 · apps 95 · pull-numbers 48 · pull-ssh 20 · app-token 42 · reviews 98 · events 52 · pr-page 61 · status 61 · limits 53 · status-keyed 13 · member-merge 82 · push 46 · ssh 44.Real data: a copy of backup 20261106-2143 (19 repos), signed in as az5b2 and signed out. `/`, `/api/repos`, repo page, code, a file, branch/main (commits), a commit, pulls, a PR page (kunibert-proof #1), releases and settings all returned 200 for gitoria and kunibert-proof. This ran before the tabOfPath typing, which affects only the browser re-derivation. The copy is deleted.## DOCSHL-PRIMER/SPEC (purity contracts, §lib/<sha>/), PLUGINS_AND_RELEASES §6, COMPONENTS "route" (#197), fetch/mpackdb READMEs, missions 603/604.- Gap: COMPONENTS says standing levels "are given the new route in place … and repaint". It does not say that a member derived through an untyped (therefore impure) imported helper silently keeps its old value after a navigation. This was neither a build error nor a warning; only the gate caught it. For Arachne/Anton: other apps with route-derived menu marks through untyped helpers are likely hit the same way.## Open risks- Other untyped helpers feeding browser-side derivations may now stay at their server value after navigations. The gates found only this one in gitoria.- No lisbeth-Chrome proof was done (the brief said headless gates only).- Stopped: every gate server/Chrome via the gates' own PID cleanup, and the real-data server (PID 3087627 and its second run) by SIGTERM. Nothing of mine listens on 8720–8739.
Branches
Latest commits
- fe209ffeMerge branch 'w56-owner-members' into mainGitoria
- fa0754c8|||PR repository owner transfer and members API (#55)mre
- 8862e537Merge branch 'w55-rename-org' into mainGitoria
- 014d2b7fOne immutable readers snapshot per move for the left-organization event (#53)mre
- 1859d506Decide who hears a repo left its organization by its readers before the move (#53)mre
- 499f25f2Review fixes for the Settings organization move (#53)mre
- ed3b922b|||PR move a repository into an organization in Settings (#53)mre
- 74ec2af8Merge branch 'w54-repo-rename-pr' into mainGitoria
- 9f7ce8d8Preserve rename compatibility and live page titlesmre
- c3d95b6e|||PR separate names and addresses, rename repositories in Settings (#53)mre
- ce08920dMerge branch 'w52c-header-phone' into mainGitoria
- 0bab9e46|||PR header: ident status wraps on phones instead of clippingmre
- e7af3eceMerge branch 'w52b-approval-followup' into mainGitoria
- c01e66c6|||PR approvals follow-up: live Merge after status writes, helpers (#52)mre
- 841da497Merge branch 'w53-pulls-speed-pr' into mainGitoria
- 80307ae2|||PR pulls page cache: live PR numbers, complete scans onlymre
- 69141f65|||PR pulls page: cache the git part per repo by branch tipsmre
- 155861f6Merge branch 'w52-person-approval' into mainGitoria
- b5435de8|||PR person approvals: second Kunibert round (#52)mre
- 3a8b2fb8|||PR person approvals: Kunibert review fixes (#52)mre