gitoria
All repositories: gitoria
4.5 KB
# W60 — gitoria audit clean-ups, logic part (#28 #29 #30 #32 #33)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):https://tickets.worldapi.org/api/projects/gitoria.worldapi.org/tickets/<n>Line numbers in the tickets are old (2026-10-26); find the current places with grep.## Read first- /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md (all), RULINGS.md in the same folder.- /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.- README.md "Test" and deploy.sh GATES.## Work (one commit per ticket, message starts with `gitoria#<n>:`)- #32: one copy of each helper in lib/util.hl with the limit as an argument; git.hl uses envOr. No behaviour change.- #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).- #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.- #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.- #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.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.## Proof- 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.- 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.- 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.- Screenshots of those pages before/after at 390 and 1280: no visible change.## Environment- `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.- Ports 8720-8739 only; check `ss -ltn` first. Stop every process you started and list them (name + PID).- No attribution lines in commits.- 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.## Reportreports/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
- 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
- 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
- 2a89d8d0|||PR person approvals: Approve button for people; merge needs the required checks or a listed person's approval (#52)mre
- 83f0c953Report person approval verificationmre
- 3ae94b86Record browser failures and verify owned tab cleanupmre
- 54eec687Gate person approvals and merge alternativesmre
- 12b08829Add person approvals for pull request headsmre
- 55c84779Merge branch 'gp-gate-ports' into mainGitoria
- 57af42bbREADME: point to deploy.sh for the port listmre
- d63375d2README: gate commands with explicit portsmre
- feeaa701|||PR gates: explicit ports only, deploy.sh passes themmre
- 6cc1f943Merge branch 'records-1112' into mainGitoria
- 9448c438|||PR records: LOG, missions and reports since 11-09mre
- 6dc08a8eMerge branch 'p51-public-pr-reads' into mainGitoria