gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit41da352541da3525Tickets conductor: flake cause, T36 deploy stepmre41da3525/CONCEPT.md

2.0 KB

  1. # tickets.worldapi.org — concept (from the creator)
  2. **The World Ticket System: everyone can write everyone a ticket.** It is the only state store of
  3. AntColony (`/CONTAINERS/projects/antcolony/README.md` on Byrodin).
  4. ## Decided so far
  5. - Tickets belong to projects; numbers count per project from 1; URL `/<project>/<number>` (ticket #25; `/projects/<project>/<number>` answers 301)
  6. (2026-09-24). Old global numbers #1–#40 stay resolvable.
  7. - States: open, in progress, awaiting creator, confirmed, rejected, on hold. Workers can at most set
  8. "awaiting creator"; "confirmed" means the creator tested it.
  9. - Data formats: JSON for API writes (strictly validated), Markdown inside text fields, a Markdown read
  10. view for LLM readers (2026-09-24).
  11. ## Login via ident (creator, 2026-09-24 — all seven points accepted as proposed)
  12. 1. **Reading**: anyone, without logging in.
  13. 2. **Writing** (create tickets, comment, change states other than confirm/reject): anyone logged in
  14. through ident, in any project.
  15. 3. **Confirming and rejecting**: only the creator.
  16. 4. **Author** comes from the login; no free author field any more. Existing entries keep their author.
  17. 5. **Machine clients** (the architect, later the scheduler) write with **API tokens** a tickets user
  18. creates for themselves; a token acts as that user. The creator makes an ident identity "Architect",
  19. logs in to tickets with it and creates a token for the architect.
  20. 6. **Display name**: for now tickets asks for a display name once, at the first login. **Interim**: ident
  21. will hand over properties during the first handshake (creator: "just not yet"); then the name
  22. comes from ident and the question goes — keep the name a normal user field so it can be filled either way.
  23. 7. **Setup**: tickets is registered in ident as an app with origin `https://tickets.worldapi.org`; the key
  24. and secret are in tickets' `.env` on Byrodin as `IDENT_API_KEY` / `IDENT_API_SECRET` (set by the creator).
  25. Login UI: ident's identity selector top right (concept of ident: `ident.worldapi.org/CONCEPT.md`), plus
  26. the login button flow.

Branches

Latest commits

  • 41da3525Tickets conductor: flake cause, T36 deploy stepmre
  • 64c477e6Tickets conductor: deploy waits for Arachnemre
  • 467d7286Tickets conductor: T36 done, deploy questionmre
  • 8542fc8aTickets conductor: T36 proof reviewedmre
  • 2a5b8b91Tickets conductor: T36 cap stop, resumed for proofmre
  • 6a82097fTickets conductor: Arachne W228 on day35 flakemre
  • 0ee5a6f2Tickets conductor: T36 resumedmre
  • 9149c165Tickets conductor: T36 diagnosismre
  • 91713313Tickets conductor: T36 report 1mre
  • 756315d2Tickets conductor: T36 startedmre
  • 0814ce6bTickets conductor: brief 025 tickets#36 style formmre
  • 1b6916c4Tickets conductor: Atlas handover tickets#36mre
  • aab95226Tickets conductor: worldapi-conductor paths, deploy blocker = read-only diskmre
  • 6372b06dTickets conductor: worker port slotmre
  • 836af31cTickets conductor: token pathsmre
  • b03f11b6Tickets conductor: CONDUCTOR.md (project part), short STATUS.md, old STATUS to archive/2026-10-31mre
  • a4123831tickets#42: the /connect and /login/callback error pages are app pages: the function routes redirect to /connect/failed/<code> and /login/failed/<code> (components/problem.hl, sentences in lib/problems.hl), htmlPage and its hand-written stylesheet are gone; gate tests/error-pages.mjsmre
  • cefc7b4atickets: a startup error prints its message before exit 1 (hybriel#247)mre
  • 99bd6570tickets: lib/migrate.hl writes no table of another topic any more: projects.hl rewriteSlug / addProjectNamed / hasMembers, tickets.hl moveToProject / ticketRecords / ticketRecordsOf, events.hl renameStates / eventRecords / eventRecordsOf; the migration calls them (tickets#47)mre
  • b57161e3tickets: the markup names its own rules (Style.pMessage, Style.olTickets, ...) instead of hand-written class strings that copy a stylesheet rule; the shared bodies sit in lib/looks.hl (tickets#38)mre