gitoria
All repositories: gitoria
1.7 KB
# F2 — two apps API bugs from A3b (Sol, cap $1.6)Task line (Apollo 2026-11-10): "Bug fixes from your backlog through PRs."Source: reports/A3b-REPORT.md bugs 1 and 2 (read it; probe evidence in /media/STORAGE/claude-scratch/A3b/). Contract: docs/apps-api.md §5 (reviews) and §7 (member merge, lines ~170–187).Read first: /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md; /media/STORAGE/projects/hybriel/docs/HL-STANDARD.md (L5, L6, L10, L16, L17).## Bugs1. Inline review comment on a file whose name has a space ("my file.txt") → 422 no_such_file. lib/reviews-helpers.hl:105–106 keeps git's trailing TAB in the diff filename. Fix: strip git's TAB separator from the new-side name; keep spaces. (Quoted names with special characters: only if it is a few lines; otherwise note it.)2. A valid token of a NON-member merging on a PUBLIC repo → 403; §7 says 404 not_found (never reveal that a repo or PR exists). lib/api.hl:314–315. Fix: check membership first and answer 404 like readerOfRequest; members keep their current answers.## Do1. `git worktree add -b f2-api-bugs ../gitoria-F2 main`, `cp -a bin ../gitoria-F2/bin`. Ports 8720–8739 only (`ss -ltn` first; GITORIA_GATE_* variables as in reports/V52-REPORT.md).2. Fix both; add a check for each to the matching existing gate test (reviews gate for 1, member-merge gate for 2); each new check must fail on old code.3. Gates LC_ALL=C: `node theme/check-theme.mjs .` and every gate in deploy.sh's GATES list: all 0 failed.4. One commit, subject `|||PR apps API: review comments on files with spaces; non-member merge gives 404`. Do NOT push or merge.## Reportreports/F2-REPORT.md (≤15 lines): sha, diff summary, old-code failure of each new check, each gate's count. Then stop. Budget ~45 requests.
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
- a4a33081Merge branch 'w63-force-push' into mainGitoria
- 52576cb0force push: defer on a failed scan, one-to-one pairs, docs (#56)mre
- 5a7b3e68|||PR a force push keeps the same pull request (#56)mre
- cc1be2d6Merge branch 'w62-pr-close' into mainGitoria
- 6e03be0apull state: keep the resync marker until the sync ran (#56)mre
- 93bdd26cpull state: wait for a claimed row, resync when it stays busy (#56)mre
- e53d284bpull state: stop on a failed branch scan, claim the row on writes (#56)mre
- d8608224close and reopen: keep a manual close against sync (#56)mre
- ffb60746|||PR close and reopen pull requests (#56)mre
- 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