gitoria
All repositories: gitoria
2.1 KB
# A3 — bug audit of gitoria's code (report only)Task line (Apollo 2026-11-08, steering): "Work your open backlog now with Claude Sonnet workers: bug fixes, audits, tests and utility."The last audit (Atlas, 2026-10-26) produced tickets #27–#37, all fixed. Since then the push API (#38 children), app tokens, PR merge for members (#48), POST /api/repos (#39), keyed lists (#30) and offline note (#29) were added. This audit looks for REAL bugs in that newer code first, then the rest.Read first, fully: /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md; README.md; docs/apps-api.md (the apps contract v1.5.x); CONCEPT.md and DECISIONS.md (his intent: what is a bug vs. a decision). For .hl: /media/STORAGE/projects/hybriel/docs/HL-PRIMER.md.## Scope (read-only; no code changes, no worktree needed)Files: lib/*.hl, components/*.hl, plugins/, login.js is NOT ours to change (note only). Check for each finding:- Authorization: can a non-member/non-owner read or change something (private data, PR merge, app hooks, tokens, ssh keys, org membership)? Token checks on every API route?- Input: slugs, branch names, paths passed to git (argument injection like a leading "-", path traversal ".."), sizes and limits.- Error paths: what returns 500 / faults instead of 4xx; what leaves state half-written.- Identity: items identified by position instead of id; second visit / reload behaviour; concurrent edits.- Contract drift: docs/apps-api.md says X, code does Y.Prove each finding where cheap: a local run of the day52 bin (copy main's bin/ is not needed: run from this root read-only? NO — run tests only in a scratch copy: `git worktree add ../gitoria-A3 main`, copy bin/ in; ports 8720-8739 only, `ss -ltn` first, port 8700 taken; GITORIA_GATE_* variables as in reports/V52-REPORT.md). A finding without proof is marked "unproven".## Reportreports/A3-REPORT.md (≤40 lines): findings ranked by severity, each: file:line, what goes wrong, proof (command + observed result) or "unproven", suggested fix in one line. Separate list "not bugs / decisions for him". No tickets (Gitoria files them). Remove the worktree at the end. Then stop. Budget ~70 requests.
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
- 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
- 220a80e0|||PR Remove temporary /__heap route and heap helper; logmre
- 13f0c342Merge branch 'hl25-records' into mainGitoria
- a002ecb7|||PR records: HL25 report, heap helper, logmre
- 2492a55cTemporary keyed /__heap route for the live memory snapshotmre
- fefaedd2log: tracker PR-only, HL25 startedmre
- 21aa57calog: parkmre
- e9f950a8reports: G25c soakmre
- a7783686log: deploy 9f41ffcmre
- 9f41ffc1log: W30b mergedmre
- bef635c1Merge branch 'w30b'mre
- 15b996a5Org list: keyed rows by @id, newest first, concat instead of hand loopmre
- c4f6d9e3reports: G25c growth huntmre
- b88e39f1log: privacy cleanup donemre
- bfd7826ddocs: neutral example organisation namemre