gitoria
All repositories: gitoria
3.7 KB
# A3b — remaining REST probe (2026-11-10)Completed against detached main b8796ce, with copied bin, disposable ident/storage, ports 8724/8728; no application changes or remote pushes.The whole probe ran twice. Evidence: /media/STORAGE/claude-scratch/A3b/{probe.log,recheck.log,probe.mjs}; original A3 probe unchanged.## Bugs, ranked by severity1. Medium — lib/reviews-helpers.hl:105–106 keeps git’s trailing TAB in a spaced filename, so valid inline reviews fail (§5).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"}]}}`.Fix: parse the new-side filename separately from git’s optional TAB separator; preserve spaces and decode quoted names correctly.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.Proof: `PROBE stranger merge => 403`; `PROBE stranger merge nonexistent PR (public repo) => 403`; `PROBE stranger merge on nonexistent repo => 404`.Fix: require membership before resolving the PR and return 404 for non-members, matching readerOfRequest.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”).Proof: `PROBE merge extra fields => 200 {"merged":true,...}`; `PROBE merge extra fields actual subject => Merge branch 'f1' into main` (request: {"method":"squash","message":"x"}).Fix: reject keys other than head before merging, with a structured 422 invalid response.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.Proof: `PROBE stranger private /pulls page => {"status":200,"missing":true,"leaksTitle":false}`.Fix: use a function route that checks visibility and returns the existing 404 page, as pullPage does.## Expected / not bugs- 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.- 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.- 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.- 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.- 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.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.DOCS: WORKER-RULES, archived MANUAL/RULINGS (current MANUAL path absent), README, apps API §§1–7, CONCEPT, DECISIONS, HL-PRIMER. No language gap encountered.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.Bugs found: 4.
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
- 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