gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Main branchmainfe209ffeMerge branch 'w56-owner-members' into mainGitoriamain/reports/A3b-REPORT.md

3.7 KB

  1. # A3b — remaining REST probe (2026-11-10)
  2. Completed against detached main b8796ce, with copied bin, disposable ident/storage, ports 8724/8728; no application changes or remote pushes.
  3. The whole probe ran twice. Evidence: /media/STORAGE/claude-scratch/A3b/{probe.log,recheck.log,probe.mjs}; original A3 probe unchanged.
  4. ## Bugs, ranked by severity
  5. 1. Medium — lib/reviews-helpers.hl:105–106 keeps git’s trailing TAB in a spaced filename, so valid inline reviews fail (§5).
  6. Proof: `PROBE review path with space => 422 {"error":{"code":"invalid","message":"some inline comments are not on a line of the diff; nothing was stored","details":[{"index":0,"path":"my file.txt","line":3,"reason":"no_such_file"}]}}`.
  7. Fix: parse the new-side filename separately from git’s optional TAB separator; preserve spaces and decode quoted names correctly.
  8. 2. Medium — lib/api.hl:314–315 returns 403 for a non-member merging a public repo, while nonexistent repos return 404, violating §7’s non-member rule.
  9. Proof: `PROBE stranger merge => 403`; `PROBE stranger merge nonexistent PR (public repo) => 403`; `PROBE stranger merge on nonexistent repo => 404`.
  10. Fix: require membership before resolving the PR and return 404 for non-members, matching readerOfRequest.
  11. 3. Medium — lib/api.hl:320 validates only head and silently accepts unsupported merge options; a caller asking for squash gets a normal merge (§7: “No other fields”).
  12. Proof: `PROBE merge extra fields => 200 {"merged":true,...}`; `PROBE merge extra fields actual subject => Merge branch 'f1' into main` (request: {"method":"squash","message":"x"}).
  13. Fix: reject keys other than head before merging, with a structured 422 invalid response.
  14. 4. Low — project.hl:129,144 routes missing/private repo lists straight to components, returning 200 instead of the 404 stated in DECISIONS.md GO34; content stays hidden.
  15. Proof: `PROBE stranger private /pulls page => {"status":200,"missing":true,"leaksTitle":false}`.
  16. Fix: use a function route that checks visibility and returns the existing 404 page, as pullPage does.
  17. ## Expected / not bugs
  18. - Setup/create/push succeed; six brokenJSON probes now return 400 invalid_json; member reads return 200, stranger reads/private merge/private repo API return 404. Public repo-list reads use sessions; bearer support there is not documented.
  19. - Size checks return 413 for 1.1 MB and 422 for 70k characters; framing headers are present; URL tricks return 400 and allowed return URLs return 302; invalid members return 422 without creating zz1, duplicates 409, unavailable orgs 403.
  20. - Invalid state/cursor strings return 422; numeric/opaque odd cursors and invalid/fractional limits are tolerated without a promised rejection contract; malformed PR/SHA paths and unknown redelivery return 404.
  21. - App tokens on another repo return 404; app-token pushes/advertisements return 403, anonymous private fetch 401, stranger fetch 404; SSH guards refuse missing secrets/proxies and hide inaccessible repos; hidden refs reject pushes; bad head values return 422 and an array body 400.
  22. - Probe corrections: decode string-valued face answers, use the app token for the app push (original helper used Alice’s token), replace the foreign-repo placeholder, inspect missing-page content, and verify the actual merge subject.
  23. Cleanup: app PIDs 2274189/2284132 and ident PIDs 2269842/2283950 stopped by the probes; ps confirmed all absent and ss confirmed no listeners on 8720–8739. No browsers or tunnels started.
  24. DOCS: WORKER-RULES, archived MANUAL/RULINGS (current MANUAL path absent), README, apps API §§1–7, CONCEPT, DECISIONS, HL-PRIMER. No language gap encountered.
  25. Work: about 8 requests reading/setup, 13 running/inspecting, 6 repeat/report/cleanup; below the ~40-request cap. Worktree and disposable storage removed after proof.
  26. Bugs found: 4.

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