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