gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Branchf2-api-bugs26117255|||PR apps API: review comments on files with spaces in their namemref2-api-bugs/missions/A3-audit.md

2.1 KB

  1. # A3 — bug audit of gitoria's code (report only)
  2. Task line (Apollo 2026-11-08, steering): "Work your open backlog now with Claude Sonnet workers: bug fixes, audits, tests and utility."
  3. 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.
  4. 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.
  5. ## Scope (read-only; no code changes, no worktree needed)
  6. Files: lib/*.hl, components/*.hl, plugins/, login.js is NOT ours to change (note only). Check for each finding:
  7. - 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?
  8. - Input: slugs, branch names, paths passed to git (argument injection like a leading "-", path traversal ".."), sizes and limits.
  9. - Error paths: what returns 500 / faults instead of 4xx; what leaves state half-written.
  10. - Identity: items identified by position instead of id; second visit / reload behaviour; concurrent edits.
  11. - Contract drift: docs/apps-api.md says X, code does Y.
  12. 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".
  13. ## Report
  14. reports/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

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