tracker
All repositories: gitoria
2.9 KB
# PROCEDURES — tracker.worldapi.org (how-to, current)Made 2026-11-23 on Apollo's order from LOG.md and CONDUCTOR.md. Search LOG.md and this file before asking or saying "can't".## Tickets- Read: `curl -s -A Tracker -H "Authorization: Bearer $(cat ~/.config/tracker/tickets-token)" -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/tracker.worldapi.org/tickets/<n>`- Delta (marks read): `.../api/subscriptions/0mvxs1pjuj70/delta` (`?peek=1` only looks). API manual: /media/STORAGE/projects/antcolony-docs/docs/tickets-for-sessions.md.- Assign takes the ident (caramboleyo = az5b2), not the name.## Records and code changes (PRs)- Branch, commit whose first line starts `|||PR `, `git push origin <branch>` -> gitoria opens the PR; Kunibert reviews (non-blocking).- Merge: `curl -X POST -H "Authorization: Bearer $(cat ~/.config/tracker/gitoria-token)" -H 'Content-Type: application/json' -d '{"head":"<sha>"}' https://tracker.gitoria.worldapi.org/api/pulls/<N>/merge`. Direct pushes to main are refused.## Gates (local, loreana)- 11 gates (GATES list in deploy.sh). Run only under `flock /media/STORAGE/claude-scratch/tracker/gates.lock bash <gates.sh>`; template claude-scratch/tracker/CB/gates.sh (copy, set paths, HL_CACHE_DIR/TMPDIR in scratch, LC_ALL=C, HL_HOST=127.0.0.1). Sign-in gate uses app port + 1. Every start waits >=120 s.- Ports: my slot 8701-8719 (8700 is his jukebox); check `ss -ltnp`.## Real data for tests- Newest backup in /media/STORAGE/deploy-backups/tracker.worldapi.org/*.tgz, unpack storage only (no posters/profiles/sessions) into the worker's scratch; never live table files while the app runs; delete afterwards.## Deploy (live byrodin, after merge to main)- Template claude-scratch/tracker/deploy/run.sh: worktree of HEAD + `cp -a bin`, worldapi-conductor/boot-gate.sh, then deploy-init.lock (fd 9) only around `DEPLOY_SSH=.../byrodin-ssh.sh DEPLOY_BACKUP_ROOT=/media/STORAGE/deploy-backups DEPLOY_URL_WAIT=300 ./deploy.sh --skip-tests`, `exec 9>&-` after.- Run detached with `setsid` (a respawn killed a non-detached run, DP75); log in claude-scratch/tracker/DP<n>/. Backup step takes ~1.5 h (~21 GB); deploy.sh does gzip -t and keeps the newest 2.- Outside probe every 2 s, 15 s timeout, during the deploy (see DP75/probe.log scripts). Done = rc=0, 0 non-200 during the swap, curl / /shows /movies 200, /100sp 301, Chrome check.## Chrome proof- His Chrome on lisbeth :9223: `ssh -f -N -L 9223:127.0.0.1:9223 lisbeth`, under `flock /media/STORAGE/claude-scratch/atlas/lisbeth.lock`; one own plain tab, closed in finally; never touch cookies/cache. Widths 390, 800x1280, 1280x800. Scripts: claude-scratch/tracker/DP56/chrome/live.mjs, DP75/chrome/. That Chrome has no tracker login (signed-in checks not possible there).- Workers may use a local headless Chrome with their own scratch profile.## Workers- spawn_subagent; brief in missions/<ID>-<topic>.md; report reports/<ID>.md; maxUsd per worker; after the report: review, log, session_stop, remove worktree/scratch, `ss -ltnp`.
Branches
Latest commits
- ae3b80dc|||PR records: HM55b briefTracker
- 7ef3cb3bMerge branch 'records-st55' into mainTracker
- fec2e080|||PR records: STATUS HM55Tracker
- 8e174918Merge branch 'records-hm55b' into mainTracker
- b1ecee57|||PR records: HM55 stateTracker
- 28eab08cMerge branch 'records-hm55' into mainTracker
- d3edaa05|||PR records: HM55 start, PROCEDURES.mdTracker
- 3059f86cMerge branch 'records-design-rule' into mainTracker
- 421a4809|||PR records: his-design rule (Apollo 2026-11-13)Tracker
- d1390692Merge branch 'records-dp75b' into mainTracker
- a4d1a7d2|||PR records: later steps checked, branch auditTracker
- e070e16fMerge branch 'records-dp75' into mainTracker
- 642b4fa8|||PR records: DP75 day62 live, AP62 briefTracker
- bfc4ea4dMerge branch 'ap62' into mainTracker
- 2c95ac46|||PR AP62: re-vendor Hybriel set day62 (source 70341ad2, bin a54f5f08)Tracker
- b9c7c3c8Merge branch 'records-dp74' into mainTracker
- 85cfb4ae|||PR records: AP61 day61, DP74 liveTracker
- b1496147Merge branch 'ap61' into mainTracker
- 2047955bMerge branch 'u12-gateports' into mainTracker
- c8da40f3|||PR AP61: re-vendor Hybriel set day61 (source a05af47c, bin a11042e5)Tracker