gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit55c8477955c84779Merge branch 'gp-gate-ports' into mainGitoria55c84779/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

  • 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
  • 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