tickets
All repositories: gitoria
3.2 KB
# PROCEDURES — Tickets (current how-to recipes; history in LOG.md, rules in CONDUCTOR.md)## Access- Repo (loreana): /media/STORAGE/projects/WorldAPI/tickets.worldapi.org. Git ssh://[email protected]:2222/tickets.git, main is PR-only.- Live (byrodin): /CONTAINERS/projects/tickets.worldapi.org, container `tickets.worldapi.org`, port 45003 (standby 45013). Data (storage/, .sessions/, .env) only there.- Tickets API as Tickets: `curl -s -A Tickets -H "Authorization: Bearer $(cat ~/.config/tickets/tickets-token)" -H 'Accept: text/markdown' https://tickets.worldapi.org/...` (JSON: `Accept: application/json`). Never print the token.- Open tickets: GET /api/projects/tickets.worldapi.org/tickets?state=open (JSON: tickets[].ref, subject, summary).- My push subscription: GET /api/subscriptions/0mvxs1ppcqcc/delta (marks read; ?peek=1 only looks).- Gitoria token: ~/.config/tickets/gitoria-token (user Tickets).- His Chrome: `ssh -f -N -L 9223:127.0.0.1:9223 lisbeth`, then CDP on 127.0.0.1:9223 (own plain tab, closed in finally, never contexts or data clearing); check `curl -s 127.0.0.1:9223/json`.## Change → main (PR-only)1. Branch, commit titled `|||PR <title>` (no attribution), push the branch.2. Find the PR number on gitoria, then merge: `curl -s -X POST -A Tickets -H "Authorization: Bearer $(cat ~/.config/tickets/gitoria-token)" -H 'Content-Type: application/json' -d '{"head":"<sha>"}' https://tickets.gitoria.worldapi.org/api/pulls/N/merge`.3. `git fetch && git checkout main && git merge --ff-only origin/main`. Records (LOG/STATUS/missions) go the same way.## Tests (README "Test")- Gates: `node tests/browser.mjs`, `node tests/events.mjs`, `node tests/security.mjs`, `node theme/check-theme.mjs .`, plus tests/connect.mjs, tests/short-id-switch.mjs, tests/move.mjs, topic tests. Own ports per server (README env vars); my workers' slot on loreana 8740–8759.- Refactor = same output: tests/realdata-baseline.mjs + tests/realdata-compare*.py on a COPY of storage (README "Same output").- Vendored Hybriel set: day38b (1e554d758, README). Check a feature exists in it: grep plugins/web/ (e.g. `__hlReach` yes; `dialog { modal = flag }` #329 no).## Deploy- bin/ is untracked: after a re-vendor merge, copy the tested set's bin/ into THIS checkout (deploy-init deploys from here); check `sha256sum bin/hybriel` against README "Vendored Hybriel". A day38b bin/ with day72 plugins failed the boot gate (hlSession not compilable, 2026-11-23).- Only `/media/STORAGE/projects/WorldAPI/worldapi-conductor/deploy-init.sh` (tickets), run by a worker in the background with ≥30 min; it always exits 0: grep /media/STORAGE/claude-scratch/atlas/deploy/initdeploy-tickets.log for `rc=0` and `FAILED`. Backups go to /media/STORAGE/deploy-backups (loreana /media/SLOW1TB2 is read-only). Never `deploy.sh --skip-tests`.- After: https://tickets.worldapi.org/, a project page, a ticket page, Markdown view, /api/events answer; curl loop during the swap 0×5xx; main == origin/main.- Live proof data only in test projects push-test / push-test-2 (Tickets is admin), never his projects.## Workers- spawn_subagent, model codex|gpt-6.1-sol, maxUsd per Apollo's cap; brief in missions/NNN-<topic>.md; scratch /media/STORAGE/claude-scratch/tickets/<NAME>/.
Branches
Latest commits
- b8fdeee9Merge branch 'p39-routes' into mainTickets
- a0187a0a|||PR Remove redundant route-order loopmre
- 369e4b9cMerge branch 'k40-lists' into mainTickets
- 9af8e780|||PR Use keyed list mutations for live ticket updatesmre
- 610d8e8aMerge branch 'records-t39' into mainTickets
- 32bcdf24|||PR records: GO P39 K40mre
- 4123c6d1Merge branch 'records-t38' into mainTickets
- cd3641a1|||PR records: day72 deploy live, tickets closedmre
- 7d44d852Merge branch 'records-t37' into mainTickets
- 926f7061|||PR records: merges, D36 deploymre
- bf58534eMerge branch 'l33-final' into mainTickets
- 759a9ac3|||PR thin login (tickets#46, #45): merge main, route entry cleanupmre
- 239436d8Merge remote-tracking branch 'origin/main' into l33-finalmre
- 5822cb3aMerge branch 'o34-clean' into mainTickets
- 0870653c|||PR offline note from __hlOnline, no polling (tickets#41)mre
- 14cf96b4Merge branch 'records-t36' into mainTickets
- 07749fa1|||PR records: day72 + #40 mergedmre
- ecd7e226|||PR Consolidate login and move handler logic into topic libraries (partial)mre
- 6dea1c60Merge branch 'r35-day72' into mainTickets
- 7bcfdc22|||PR drop worker edits to conductor recordsmre