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
- 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
- 01b71c2edocs: neutral wording in missions, reports and logmre
- 3eeea733log: 2026-11-09 PR flow plan and membersmre
- e7c2ff1fdocs: neutral name for the apps-api reviewmre
- 120b7abdlog: step 3 queuedmre
- 358474bflog: P50 livemre
- 477d7bdcMerge branch 'p50'mre
- 00efc06fP50 reportmre
- e3f85afblog: commit mention slipmre
- 4d1a4cf4log: #25 numbersmre
- 1af0a60ddocs: H25 run() correctionmre