gitoria
All repositories: gitoria
4.6 KB
# V37 — gitoria: re-vendor Hybriel set-day27b → set-day37, plus a stop-then-start deploy mode (gitoria#37, step 1 of G37)TASK (Apollo, GO 2026-11-02 21:10–02:10): "re-vendor day37 (G37) — under the mpackdb freeze only stop-then-start (wait old pid gone), no standby swap; gates, then live check."His words on the ticket (https://tickets.worldapi.org/gitoria.worldapi.org/37, do not write to tickets): "'@media (min-width: 60rem)' { <- the language has also something for this". The style work itself is NOT in this mission.## Read first- /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md (all) and RULINGS.md in that folder.- README.md "Hybriel (vendored)" (how earlier re-vendors were done and noted), "Test", "Deploy"; deploy.sh; /media/STORAGE/projects/WorldAPI/worldapi-conductor/deploy-init.sh (how the real deploy calls deploy.sh).- Earlier attempt on day35 (stopped on a since-fixed framework bug): branch g37-style commit 0c77ed8 in the worktree /media/STORAGE/claude-scratch/gitoria/G37/wt. Use it as a model only. Start fresh from main.- The set: /media/STORAGE/claude-scratch/anton/set-day37 (SOURCE file: commit f6b3d45bc5df9ad9f358a08219541bb1ecc19e26, source worktree /media/STORAGE/claude-scratch/anton/day37/wt2; use `git archive f6b3d45b`, NOT that worktree's HEAD, which has moved on). Check its SHA256SUMS.- Hybriel changes day28 → day37: /media/STORAGE/projects/hybriel (git log, docs, CHANGES or similar), for call sites gitoria has.## Scope (repo /media/STORAGE/projects/WorldAPI/gitoria.worldapi.org, main 03b5bb0; new worktree /media/STORAGE/claude-scratch/gitoria/V37/wt, branch v37)1. Re-vendor, one commit: bin/ = set bin/hybriel + set lib/ contents (hlc.o, libhlrt.a, hlrt/) (bin is not in git); plugins core crypto data fetch fs http http1 mpackdb proc time web from `git archive f6b3d45b plugins/<p>` plus the set's .so files for each plugin; README vendoring note in the existing style (set, sha256, what changed, call sites, gate numbers). Note: day37 does NOT contain fix 538 (hybriel#277: a member that reads a field of server data is not re-derived after a handler write). If a gate fails in that pattern, STOP and report the repro; no workaround.2. One commit: remove the dummy route `{ pattern = "/pulls/:n" component = PullPage }` and the comment line above it from project.hl (hybriel#294 is fixed in day37; proven: tests/pr-page.mjs 61/0 without it). Also check the same kind of dummy line for `/:orepo/pulls/:n`, if there is one.3. One commit: deploy.sh gets a stop-then-start mode for the mpackdb freeze, switched on by `DEPLOY_STOP_START=1`. It replaces only step 4 (the standby swap). On the target (over $SSH like the swap): make sure gitoria-standby is not running; `docker compose stop gitoria`; wait until the container is no longer running AND its old pid is gone (check `docker inspect -f '{{.State.Running}} {{.State.Pid}}'` and that the pid no longer exists, up to 60 s; otherwise fail and do NOT start); then `docker compose up -d gitoria`. Keep a dry-run text for it. The default (no variable) stays the standby swap. Keep the string standby-swap.sh in deploy.sh (deploy-init.sh relies on it to skip a second restart). Comment above it: Apollo 2026-11-02 mpackdb freeze, why.- Never run deploy.sh or deploy-init.sh without dry run. Run `DEPLOY_STOP_START=1 ./deploy.sh` in DRY mode only (see deploy.sh for the dry flag) and show the step 4 output. Do not touch byrodin otherwise. Never open a live store.## Proof- Gates (LC_ALL=C) on the re-vendored tree after steps 1 and 2: node theme/check-theme.mjs ., node tests/browser.mjs, tests/pr-page.mjs, and EVERY gate in deploy.sh's GATES list. All 0 failed. A flake: rerun once and report it.- Real data: boot the new tree on a COPY of the latest backup /media/STORAGE/deploy-backups/gitoria.worldapi.org/gitoria.worldapi.org-20261102-1646.tgz (unpack under /media/STORAGE/claude-scratch/gitoria/V37/, never live). Request /, a repo page, a code file, commits, pulls and /api/repos: all 200. Use tests/realdata-baseline.mjs if it fits.## Environment- Ports 8720–8739 only. Check `ss -ltn` first and pass the ports in the GITORIA_* env names the gates use. Stop every process you started and list them (name + PID). No browser tabs in anyone's Chrome; headless gates only.- No attribution lines in commits. Do not push, merge or deploy.- Cap: about 60 requests. When you hit it, report and stop.## Report: /media/STORAGE/claude-scratch/gitoria/V37/REPORT.md and a short final messageCommits (hash + subject), gate numbers per gate, the real-data check, day28–37 call sites checked, the dry-run step 4 output, processes started/stopped, any DOCS gaps.
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