gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Main branchmainfe209ffeMerge branch 'w56-owner-members' into mainGitoriamain/missions/W60-cleanup-logic.md

4.5 KB

  1. # W60 — gitoria audit clean-ups, logic part (#28 #29 #30 #32 #33)
  2. TASK: the five audit tickets below; none changes how a page looks or what it does for a user. Read each ticket whole (GET with `Accept: text/markdown`, no token needed for reading; do not write to tickets):
  3. https://tickets.worldapi.org/api/projects/gitoria.worldapi.org/tickets/<n>
  4. Line numbers in the tickets are old (2026-10-26); find the current places with grep.
  5. ## Read first
  6. - /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md (all), RULINGS.md in the same folder.
  7. - /media/STORAGE/projects/hybriel/docs/HL-PRIMER.md, docs/CODE-ORDER.md. /media/STORAGE/projects/hybriel/COMPONENTS.md: members and handlers, forms (`value =` bound members), keyed lists (`@` property, list.upsert, one-argument remove). plugins/web/README.md line ~280 for `__hlOnline`. Copy a working shape from the docs; the app's own components/sshkeys.hl and tokens.hl show the bound-member form. A gap → stop on that item, minimal repro, DOCS line; no workaround, no hand-written JavaScript.
  8. - README.md "Test" and deploy.sh GATES.
  9. ## Work (one commit per ticket, message starts with `gitoria#<n>:`)
  10. - #32: one copy of each helper in lib/util.hl with the limit as an argument; git.hl uses envOr. No behaviour change.
  11. - #30: keyed rows + list.upsert / one-argument remove wherever a handler rebuilds a list by hand (grep `next = [`; includes files the ticket does not name). Review question: rows are identified by id, never position; order on screen stays as it is now (a new row first, if that is today's order; if upsert cannot keep that order, report it instead of working around it).
  12. - #28: bound members instead of `e.target.elements` / `.value = ''` in all components/*.hl (list, tickets, main, pull, orglist, settings and any other grep finds). login.js stays untouched by his explicit rule. A value not cleared on failure today stays uncleared on failure.
  13. - #29: remove netProbe, the animation, netTick, the `offline` polling; use the framework's `__hlOnline` member. Same note text and place. Update or remove the comment explaining the old workaround. Prove it: Chrome offline emulation in the plain tab shows the note, back online hides it.
  14. - #33: lib/users.hl holds the one login function (session, tag, retire of the old session); lib/tickets.hl holds connect state; lib/api.hl and the main.hl face only check input, call, answer.
  15. HARD LIMITS: logins never expire; never rename cookies, add prefixes or TTLs, or sign anyone out. The one intended change: the face path now also retires an old session like loginCallback does. Check it does not sign out another open tab of the same user in a way that it does not today; if it would, keep the face's behaviour, and report this as a decision for the conductor.
  16. ## Proof
  17. - Each changed behaviour has a gate that fails on old code (extend tests/, name the negative control). Tests act like a human with real clicks and keys.
  18. - All gates, LC_ALL=C: `node theme/check-theme.mjs .`, `node tests/browser.mjs`, every entry in deploy.sh GATES: 0 failed. A flake: rerun once, report it.
  19. - Whole path in his Chrome on lisbeth :9223 (`ssh -f -N -L 9223:127.0.0.1:9223 lisbeth`, stop that tunnel after): one own plain tab (Target.createTarget without browserContextId), closed in finally, browser.disconnect(); never clear cookies/cache; other tabs untouched; test app on your ports on test storage reached through the tunnel as the rules describe. Forms: create repo, add/remove key + token, member add, ticket form: field cleared, row appears once, second visit right. Sizes 390 and 1280.
  20. - Screenshots of those pages before/after at 390 and 1280: no visible change.
  21. ## Environment
  22. - `git worktree add /media/STORAGE/claude-scratch/gitoria/W60/wt -b w60-cleanup main` from the app root. bin/ and plugins .so are not in git: copy as README "Hybriel (vendored)" says, or symlink bin/ from the app root. All files under /media/STORAGE/claude-scratch/gitoria/W60/. Never deploy, push, merge, or touch byrodin, .env, live data.
  23. - Ports 8720-8739 only; check `ss -ltn` first. Stop every process you started and list them (name + PID).
  24. - No attribution lines in commits.
  25. - Budget: cap ~60 requests. At the cap commit what is proven, report what is left, and stop. If short, finish in this order: #32, #30, #28, #29, #33.
  26. ## Report
  27. reports/W60-REPORT.md in the worktree (committed): commits, per ticket what changed, gate numbers + negative controls, Chrome evidence, gaps, DOCS line, processes, the final `curl -s 127.0.0.1:9223/json/list` page list. Short final message. Then STOP.

Branches

Latest commits

  • 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
  • c3d95b6e|||PR separate names and addresses, rename repositories in Settings (#53)mre
  • ce08920dMerge branch 'w52c-header-phone' into mainGitoria
  • 0bab9e46|||PR header: ident status wraps on phones instead of clippingmre
  • e7af3eceMerge branch 'w52b-approval-followup' into mainGitoria
  • c01e66c6|||PR approvals follow-up: live Merge after status writes, helpers (#52)mre
  • 841da497Merge branch 'w53-pulls-speed-pr' into mainGitoria
  • 80307ae2|||PR pulls page cache: live PR numbers, complete scans onlymre
  • 69141f65|||PR pulls page: cache the git part per repo by branch tipsmre
  • 155861f6Merge branch 'w52-person-approval' into mainGitoria
  • b5435de8|||PR person approvals: second Kunibert round (#52)mre
  • 3a8b2fb8|||PR person approvals: Kunibert review fixes (#52)mre