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
- 24b479e7W60: record final gates, Chrome failures and AE evidencemre
- 5e11184cW60: record partial validation, framework gaps and cleanupmre
- 20fe13fagitoria#33: centralize login and tickets connection statemre
- 859754c0gitoria#29: retain the offline note and record the framework gapmre
- d140bc04gitoria#30: reproduce the upsert ordering constraintmre
- 6960e8f8gitoria#28: keep form values in bound component membersmre
- 0db27200gitoria#32: share character checks and environment lookupmre
- 452f6a1amission W60: logic clean-upsmre
- 1448c899log: cleanup, #49 GPTBot, tracker mentions on #36mre
- fcf95936log: v1.5.1 provenmre
- 22105420log: W51b livemre
- 7e8aabeareport: W51b pull source verificationmre
- 6c18de76fix: preserve pull sources across containing branchesmre
- fc36fa2elog: W51b pull source bugmre
- 56bc1220log: v1.5.1 livemre
- 845fc0aareport: W51mre
- 83127391fix: return v1.5.1 app and merge error detailsmre
- b07d0e97log: W51 v1.5.1 startedmre
- 0b417d06docs: apps-api v1.5 user tokens (#48, W49)mre
- d046940alog: vinzenz contract note sentmre