gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commita3cd5329a3cd5329Tickets conductor: tickets#51 opened, brief 026 draftmrea3cd5329/missions/026-push-api-eval.md

3.8 KB

  1. # 026 — Evaluation: a push API for ticket events (tickets#51). NO CODE.
  2. TASK (his words, unchanged): "we will also change the information you get to a delta like we have in conductor-hub as
  3. vinzenz the conductors should get their ticket updates directly as a push from tickets via a similar subscriber as gitoria
  4. builds it now. you don't need to know every detail of all projects its enough if you keep the overview." ('you' = Apollo)
  5. Ticket: https://tickets.worldapi.org/tickets.worldapi.org/51 (do not write to it).
  6. NOT HIS (Apollo's order): tickets gets a push API: a conductor (or any app) subscribes to a project and gets its events
  7. pushed, built the same way as gitoria's push API (gitoria#38), one design shared with gitoria. It replaces Apollo's
  8. subscriber byrodin:/CONTAINERS/APOLLO/tools/ticket-push/subscriber.py (reads GET /api/events, wakes parked conductors).
  9. This mission is an evaluation only: no code, no commits, no deploy.
  10. ## Read first
  11. - /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md (all).
  12. - tickets: CONCEPT.md, DECISIONS.md, README.md (esp. "API", "Event stream for programs (ticket #26)", the connect flow
  13. /connect, tokens), project.hl, lib/ (events, connect/gitoria link, tokens, sessions).
  14. - gitoria's evaluation: /media/STORAGE/projects/WorldAPI/gitoria.worldapi.org/reports/E38-push-api-eval.md (Option B:
  15. per-repo apps, connect-style registration, one signed POST per event, back-channel) and what Gitoria answered (below).
  16. - conductor-hub's delta as Vinzenz explained it (below).
  17. - Apollo's subscriber (read only): `ssh byrodin cat /CONTAINERS/APOLLO/tools/ticket-push/subscriber.py`.
  18. - The consumer side: how HyperConductor wakes a parked chat (a message to it via its API); ask nothing, read what is
  19. documented in /media/STORAGE/projects/hyper-conductor (README/docs only).
  20. ## Answers (what was asked, with facts from code and docs, file:line)
  21. 1. Today: what /api/events sends (event kinds, fields, cursor `after`, filters, auth, limits, reconnect), who uses it, and
  22. what Apollo's subscriber does with it (filters, batching, how it wakes whom, what it loses when down).
  23. 2. The delta: what conductor-hub's delta is, and what a ticket delta would be (fields; one event vs. a summary since the
  24. last delivery; how "you don't need to know every detail … keep the overview" maps to it, e.g. per-subscriber filters
  25. or a short form).
  26. 3. Options, at least: A push = signed HTTP POST per event to a registered URL (gitoria Option B); B push = a held stream
  27. (today's /api/events) with a small shared client; C a hybrid (POST "something changed" + pull of the delta by cursor).
  28. For each: registration (who may subscribe to which project; private projects; the connect flow), authentication and
  29. signature, delivery (retry, order, de-duplication, catch-up after downtime by cursor), how a parked conductor is woken
  30. (where does the receiver run: loreana/byrodin/lisbeth; does it need a public URL?), load, failure modes, and what it
  31. costs (work steps).
  32. 4. Shared design with gitoria: which names, headers, signature format, event envelope and registration UI both apps should
  33. use; what is already decided there; what differs and why.
  34. 5. Compatibility: /api/events and the Markdown view must keep working for existing users (CONDUCTOR.md); what changes for
  35. them and what must be announced.
  36. 6. Recommendation with reasons, and the open questions only caramboleyo can decide (each one short, with the choices).
  37. ## Environment
  38. - Scratch: /media/STORAGE/claude-scratch/tickets/P51/ (REPORT.md there; nothing else anywhere). Read-only on byrodin.
  39. - No servers needed; if you start one, ports 8740–8759 only, stop and list it.
  40. - Model Sol (codex|gpt-6.1-sol), budget hard cap given by the conductor. Cap ~40 requests.
  41. ## Report
  42. REPORT.md: short answer first (at most 10 lines), then sections 1–6 with file:line evidence; facts vs. assumptions marked;
  43. "not checked" list. Short final message.

Branches

Latest commits

  • a3cd5329Tickets conductor: tickets#51 opened, brief 026 draftmre
  • 6f6e5797Tickets conductor: STATUS wordingmre
  • 957de51fTickets conductor: T36 live, #36 review, #50 donemre
  • bc2fde32Merge branch 'main' into t36-stylemre
  • b7ca093atests: wait for the new row and normalize editor marker spacesmre
  • 41da3525Tickets conductor: flake cause, T36 deploy stepmre
  • 64c477e6Tickets conductor: deploy waits for Arachnemre
  • 467d7286Tickets conductor: T36 done, deploy questionmre
  • fed5ca81ticket_list: remove repeated selected-state coloursmre
  • 8542fc8aTickets conductor: T36 proof reviewedmre
  • 35980936inbox: preserve desktop columns after list styles were scopedmre
  • 2a5b8b91Tickets conductor: T36 cap stop, resumed for proofmre
  • c077a5cbstyles: format Style with nested language rulesmre
  • ccdde2beticket: format Style with nested language rulesmre
  • d083535bticket_list: nest Style rules and bare media queriesmre
  • c24608ebmarkdown: format Style with nested language rulesmre
  • de964b3bsettings: format Style with nested language rulesmre
  • 03c1de05new_project: format Style with nested language rulesmre
  • bd76cfa6connect: format Style with nested language rulesmre
  • 01fad593inbox: format Style with nested language rulesmre