gitoria
All repositories: gitoria
2.2 KB
# F3 — repo pull list of a missing or private repo answers 404 (Sol, cap $1.5)Task line (Apollo 2026-11-10): "Until then, backlog fixes through PRs."Source: reports/A3b-REPORT.md bug 4 (probe evidence in /media/STORAGE/claude-scratch/A3b/). Rule: DECISIONS.md GO34 ("pages, API and the ssh access check answer 404 / 'No such repository' as for a missing name").Read first: /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md; /media/STORAGE/projects/hybriel/docs/HL-STANDARD.md (L5, L10, L14, L16, L17, F17, F20).## BugA stranger (anonymous or logged in without access) opening `/pulls` or `/:orepo/pulls` of a private or missing repo gets HTTP 200 with an empty "missing" page; GO34 says 404. Content does not leak. project.hl routes these with `component = Pulls`; `/pulls/:n` already uses a function route (`pullPage(route, req, &server, PullPage, NotFound)`) that checks visibility and returns the NotFound page with 404.Fix: route `/pulls` and `/:orepo/pulls` through the same kind of function route (a small `pullsPage` next to `pullPage`, same file, same checks), returning the Pulls component for readers and NotFound with 404 otherwise. Members and public-repo visitors keep exactly today's page. project.hl stays a map (only the route line changes). If the other list pages (/code, /commit, /branch, /releases, /tickets) have the same 200 behaviour, LIST them in the report; do not fix them.## Do1. `git worktree add -b f3-pulls-404 ../gitoria-F3 main`, `cp -a bin ../gitoria-F3/bin`. Ports 8720–8739 only (`ss -ltn` first; GITORIA_GATE_* variables as in reports/V52-REPORT.md).2. Fix; add checks to the matching existing gate test (private repo /pulls as stranger → 404, missing repo → 404, member → 200, public repo stranger → 200); the 404 checks 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 pull list of a missing or private repo answers 404`. Do NOT push or merge. Do NOT edit LOG.md, STATUS.md or tickets.## Reportreports/F3-REPORT.md (≤15 lines): sha, diff summary, old-code failure of each new check, each gate's count, the other list pages found with 200. Stop servers you started; then stop. Budget ~45 requests.
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