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
- cb634512log: 2026-11-08 keyed lists livemre
- 07c98d4aLists: keyed rows with @id, remove(id) and one whole-list assignment instead of hand-rebuilt loopsmre
- 0db0d81elog: 2026-11-08 day52 live, W30 startedmre
- b05f6d92tests/status: the gate's 3 s app token expired during the restart; it lives 60 s like status-keyedmre
- 1e8f4f0avendor: Hybriel set-day52 (fault-path leak fix #335, keyed rows #331)mre
- f5f0fb7blog: 2026-11-08 day50/#29 live, H25 correction, V52 startedmre
- dc77fb95main: offline note from __hlOnline, tick removed (#29)mre
- 37a86d93tests/reviews: seeded fake hook's DNS failures are not server errors (flaky gate)mre
- 07ab845bvendor: Hybriel set-day50 (run() leak fix #335)mre
- 71b2fa4blog: hybriel#335mre
- bd94cc7elog: #25 cause found (run() leak)mre
- 565cb508log: H25 round 1mre
- 90a0af84log: H25 startedmre
- 87bd53b8mission H25mre
- 71a746cflog: day48 livemre
- bf568e14log: V48 mergedmre
- 09955dedMerge v48: Hybriel set-day48, theme layouts ce4a0bamre
- f2a2b0cevendor: Hybriel set-day48, theme layouts ce4a0bamre
- 5d0834e7log: Apollo model rulemre
- fe8e5bd5log: #25 sample, V48 missionmre