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
- eefa2dbcRepo setting: refuse direct pushes to the main branch (pre-receive over HTTPS and ssh)mre
- 25309981log: STOP and paused workers 2026-11-08mre
- 5286803alog: worker briefs and reports of 2026-11-08mre
- 85c86605log: 2026-11-08 Arachne on list shapemre
- cb634512log: 2026-11-08 keyed lists livemre
- 07c98d4aLists: keyed rows with @id, remove(id) and one whole-list assignment instead of hand-rebuilt loopsmre
- 0db0d81elog: 2026-11-08 day52 live, W30 startedmre
- b05f6d92tests/status: the gate's 3 s app token expired during the restart; it lives 60 s like status-keyedmre
- 1e8f4f0avendor: Hybriel set-day52 (fault-path leak fix #335, keyed rows #331)mre
- f5f0fb7blog: 2026-11-08 day50/#29 live, H25 correction, V52 startedmre
- dc77fb95main: offline note from __hlOnline, tick removed (#29)mre
- 37a86d93tests/reviews: seeded fake hook's DNS failures are not server errors (flaky gate)mre
- 07ab845bvendor: Hybriel set-day50 (run() leak fix #335)mre
- 71b2fa4blog: hybriel#335mre
- bd94cc7elog: #25 cause found (run() leak)mre
- 565cb508log: H25 round 1mre
- 90a0af84log: H25 startedmre
- 87bd53b8mission H25mre
- 71a746cflog: day48 livemre
- bf568e14log: V48 mergedmre