gitoria
All repositories: gitoria
1.5 KB
# Mission 002 — gitoria: code order cleanup (no behaviour change)Rules: /CONTAINERS/projects/antcolony/docs/code-order.md on Byrodin (the creator's own wording — read it fully).Repo loreana:/media/STORAGE/projects/gitoria.worldapi.org (main at HEAD, deployed). Kill by PID only, never read .env;git: commit on main only, never push. Ports 8750–8759 (gate env vars as in README; GITORIA_GATE_PORT=8750 …; also push.mjs and ssh.mjs gates).1. Baseline on a real-data copy (signed in as az5b2): HTML of /, a repo page incl. the tracker README, a file view, /pulls, a clone + push over ssh, /api responses used bytools (projects list, ticket get, events) — saved for diffing. Counts: root .hl, project.hl lines, let total/neverreassigned.2. One lib/ file per topic with its central logic (repos, git, pulls, users, markdown…);noise + cross-topic helpers to lib/util.hl; api.hl/faces/page handlers = thin wrappers calling the topic functions;project.hl = map (config, routes, index comment). `let` only where reassigned. No new concepts, no layers.3. Gates green (browser, push, ssh); outputs identical to the baseline. README (file map) + STATUS + LOG. Small commits.## Report — loreana …/gitoria.worldapi.org/reports/002-code-order.md (+ copy /CONTAINERS/projects/antcolony/reports/latest-w082.md)Note: tickets did this first — read loreana tickets.worldapi.org/reports/010-code-order.md (lessons: pass request/session by & through extra function calls; 83 loop-body lets must stay until hybriel#128).
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
- 5dccbe38gitoria#43: in-flight rows are left alone by the other process; gate in deploy.sh; READMEmre
- 8c8805f3merge main (gitoria#42), delivery log and redelivery routes, sweep fixmre
- 5a996ea8gitoria#42: short-lived app tokens, read-only git fetch with them (merge w42-app-token)mre
- afdb0cbfgitoria#43: rename the moved helper (name clash in the browser build)mre
- 15e01e94gitoria#43: tests/events.mjs and its probemre
- 77829b73gitoria#43: signed events to connected apps (deliveries table, sender timer, pull_request events, ping)mre
- b5d696fegitoria#42: app tokens (gat_, one hour), appOfRequest, app token as the git read passwordmre
- 1997e77dgitoria#40: stable PR numbers, refs/pull/N/head, ssh pushes reach the app (merge w40-pr-number)mre
- 9364fb16gitoria#40: ssh pushes call /__git/pushed before and after (ensurePulls, notifyPush, syncPulls); gate over the sshd imagemre
- fdb9ed28gitoria#41: repo owners can connect an app (merge w41-apps-connect)mre
- 2ef23df0gitoria#40: the browser gate reads the title without the #Nmre
- 9af07ecegitoria#41: connect an app to a repo (apps table, connect flow, manual add, allow-list, settings)mre
- b9137ff0gitoria#40: pull requests are stored with a number, refs/pull/N/head, syncPulls and pullObject; /pulls shows #Nmre
- 06d622daown image tag gitoria-runtime:debian12 for gitoria and standby (shared tag lost git)mre
- 20caa33agitoria#37: media queries in the language's @media block (minWidth = '60rem') in list, codebrowser and repomre
- c4175e6dgitoria: a startup error prints its message before exit 1 (hybriel#247)mre
- c50d17efKeep function-route not-found style in shared stylesheetmre
- e42d78d3Preserve ticket state CSS and document function-route style gapmre
- c6b7154eWIP gitoria#26: move styles into nested component blocksmre
- 77a2c31cgitoria#31: plain declarations instead of needless let in lib/ and tools/ (103 let removed, 137 kept because reassigned); no other changemre