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
- 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
- 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
- 2a89d8d0|||PR person approvals: Approve button for people; merge needs the required checks or a listed person's approval (#52)mre
- 83f0c953Report person approval verificationmre
- 3ae94b86Record browser failures and verify owned tab cleanupmre
- 54eec687Gate person approvals and merge alternativesmre
- 12b08829Add person approvals for pull request headsmre
- 55c84779Merge branch 'gp-gate-ports' into mainGitoria
- 57af42bbREADME: point to deploy.sh for the port listmre
- d63375d2README: gate commands with explicit portsmre
- feeaa701|||PR gates: explicit ports only, deploy.sh passes themmre
- 6cc1f943Merge branch 'records-1112' into mainGitoria
- 9448c438|||PR records: LOG, missions and reports since 11-09mre
- 6dc08a8eMerge branch 'p51-public-pr-reads' into mainGitoria
- 7b88cfe0Type publicReaderOfRequest parameters (L10)Gitoria
- 2a4b3dc1|||PR Anonymous reads of public repos' pulls and statusesmre
- 21b2c141Merge branch 's25-no-session-on-login-error' into mainGitoria