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
- 0f39e181Merge branch 'w64-org-slash' into mainGitoria
- 9c72d0bf|||PR org repo addresses work with a trailing slashmre
- a4a33081Merge branch 'w63-force-push' into mainGitoria
- 52576cb0force push: defer on a failed scan, one-to-one pairs, docs (#56)mre
- 5a7b3e68|||PR a force push keeps the same pull request (#56)mre
- cc1be2d6Merge branch 'w62-pr-close' into mainGitoria
- 6e03be0apull state: keep the resync marker until the sync ran (#56)mre
- 93bdd26cpull state: wait for a claimed row, resync when it stays busy (#56)mre
- e53d284bpull state: stop on a failed branch scan, claim the row on writes (#56)mre
- d8608224close and reopen: keep a manual close against sync (#56)mre
- ffb60746|||PR close and reopen pull requests (#56)mre
- fe209ffeMerge branch 'w56-owner-members' into mainGitoria
- fa0754c8|||PR repository owner transfer and members API (#55)mre
- 8862e537Merge branch 'w55-rename-org' into mainGitoria
- 014d2b7fOne immutable readers snapshot per move for the left-organization event (#53)mre
- 1859d506Decide who hears a repo left its organization by its readers before the move (#53)mre
- 499f25f2Review fixes for the Settings organization move (#53)mre
- ed3b922b|||PR move a repository into an organization in Settings (#53)mre
- 74ec2af8Merge branch 'w54-repo-rename-pr' into mainGitoria
- 9f7ce8d8Preserve rename compatibility and live page titlesmre