gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit57af42bb57af42bbREADME: point to deploy.sh for the port listmre57af42bb/missions/F3-pulls-list-404.md

2.2 KB

  1. # F3 — repo pull list of a missing or private repo answers 404 (Sol, cap $1.5)
  2. Task line (Apollo 2026-11-10): "Until then, backlog fixes through PRs."
  3. 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").
  4. 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).
  5. ## Bug
  6. A 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.
  7. 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.
  8. ## Do
  9. 1. `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).
  10. 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.
  11. 3. Gates LC_ALL=C: `node theme/check-theme.mjs .` and every gate in deploy.sh's GATES list: all 0 failed.
  12. 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.
  13. ## Report
  14. reports/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

  • 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
  • 698458e2|||PR No session for cookieless login errors: READMEmre
  • cce7b785|||PR No session for cookieless login errorsmre
  • 678d6303Merge branch 'v59' into mainGitoria
  • 5803cf4f|||PR vendor: Hybriel set-day59 and GC budget 32 MiBmre
  • 9eff6627Merge branch 'f2-api-bugs' into mainGitoria
  • 26117255|||PR apps API: review comments on files with spaces in their namemre
  • b8796cecMerge branch 'f1-broken-json' into mainGitoria
  • 2f2959c5|||PR apps API: broken JSON body gives 400 invalid_json, not 500mre
  • f7c6ca07Merge branch 'ident-chooser-selector' into mainGitoria
  • 691abb8e|||PR tests: find ident identity choice without the removed .choose classmre
  • 16a3530fMerge branch 'heap-revert' into mainGitoria