tickets
All repositories: gitoria
2.0 KB
# tickets.worldapi.org — concept (from the creator)**The World Ticket System: everyone can write everyone a ticket.** It is the only state store ofAntColony (`/CONTAINERS/projects/antcolony/README.md` on Byrodin).## Decided so far- Tickets belong to projects; numbers count per project from 1; URL `/<project>/<number>` (ticket #25; `/projects/<project>/<number>` answers 301)(2026-09-24). Old global numbers #1–#40 stay resolvable.- States: open, in progress, awaiting creator, confirmed, rejected, on hold. Workers can at most set"awaiting creator"; "confirmed" means the creator tested it.- Data formats: JSON for API writes (strictly validated), Markdown inside text fields, a Markdown readview for LLM readers (2026-09-24).## Login via ident (creator, 2026-09-24 — all seven points accepted as proposed)1. **Reading**: anyone, without logging in.2. **Writing** (create tickets, comment, change states other than confirm/reject): anyone logged inthrough ident, in any project.3. **Confirming and rejecting**: only the creator.4. **Author** comes from the login; no free author field any more. Existing entries keep their author.5. **Machine clients** (the architect, later the scheduler) write with **API tokens** a tickets usercreates for themselves; a token acts as that user. The creator makes an ident identity "Architect",logs in to tickets with it and creates a token for the architect.6. **Display name**: for now tickets asks for a display name once, at the first login. **Interim**: identwill hand over properties during the first handshake (creator: "just not yet"); then the namecomes from ident and the question goes — keep the name a normal user field so it can be filled either way.7. **Setup**: tickets is registered in ident as an app with origin `https://tickets.worldapi.org`; the keyand secret are in tickets' `.env` on Byrodin as `IDENT_API_KEY` / `IDENT_API_SECRET` (set by the creator).Login UI: ident's identity selector top right (concept of ident: `ident.worldapi.org/CONCEPT.md`), plusthe login button flow.
Branches
Latest commits
- 9c5fd42amission 020: attachments E2E proof (lisbeth Chrome, real-data copy), reportmre
- 1206404fREADME attachments, report 018, LOG/STATUSmre
- 3d9e7f3ctests: m017 gate fixes (list count, waits before delete clicks); gate 373/0mre
- dd41d5bcre-sync components 15be2ac; mission 018mre
- 420ad1bbtickets (mission 017 WIP, tickets#27): comment attachments — lib/attachments.hl (storage/attachments, limits, type by content, members-only GET /api/attachments/:id, delete drops, edit keeps), multipart POST …/comments (lib/multipart.hl), Respond block in FilesUpload (blocks verbatim from components w27c 1f8d79d), gate m017 checks written (not yet run); report, LOG, STATUSmre
- a7a1380dmission brief 017mre
- f83d9c0dtickets (mission 016): report reports/016-comments-block.md, LOG, STATUS, README gate countmre
- eef80f55tickets (mission 016): comments through the shared Comments block (layouts#2) — edit (author, earlier versions kept), delete (author, asks; leaves one line in the history), like (members, toggle) on the server (lib/comments.hl, append-only tables), faces + API …/comments/:comment/{edit,delete,like}, push commentChanged; every run of comments is a block in place in the history; Markdown fields on the Hybriel MdEditor (shared/md-editor.js retired: it took over the block's <md-editor>); blocks copied verbatim from components.hybriel 9db927d (tools/sync-components.sh); gates browser 351/0 (old 326/0), events 52/0 (old 52/0)mre
- eb7aeeb9mission brief 016mre
- e4c34759paths: projects moved into /media/STORAGE/projects/WorldAPI/mre
- 26efb23freport w6-events (events test)mre
- c6bfab04mission 015: re-vendor Hybriel 0f396652 (static build), reportmre
- b7ec5981mission brief 015mre
- 5dc68731docker-compose: init: true (hybriel#156, PID 1 ignored SIGTERM, every restart waited 10 s)mre
- 8a460b16mission 014: Apollo's 'stream opened right after the start gets no live events' is not a tickets bug — events.mjs checks early streamsmre
- 6309ca81mission brief 014mre
- c1161469mission 013: GitHub pipe tables on ticket pages (lib/markdown.hl + View + CSS) and re-vendor hybriel master a832f73bmre
- a30b5d12mission brief (w13)mre
- b50a6f93w9 (tickets): re-vendor hybriel 9f912f3b (#146 emit in a lib static, #147) — the 12 live-push emits in lib/api.hl compile as they are; cold start (#148): tests wait TICKETS_COLD_MS for every start, deploy.sh gates browser + events and waits up to 120 s for the URL, container /tmp tmpfs + hybriel-cache volume; events-client stops at EVENTS_MAX inside a chunk; connect.mjs ports by env. bin/hybriel sha256 7421907868ac07d8a7d08296b083c6f8b20407d0e099ce4bebbf7ae053d9060a. Gates (8720–8739): browser 315/0 (+ all-cold 315/0), events 48/0 cold, connect 60/0, short-id 19/0; real-data copy old 0e8a41c vs new: 2,425 reads + 72 writes identical after masking ?v hashes, offline at, route order; event stream on the copy delivers. Not deployed.mre
- 43be6578w9: re-vendor hybriel master edfd400a; event stream imports sseStart/sseSend/sseAlive from hl:http1 (hybriel#144), useTransport gone; tools/import.hl plain declarations. BLOCKED: hybriel-native refuses `emit client` in a static (lib/api.hl) — the server does not compile on edfd400a, gates fail at start; scratch copy without those emits: events 48/0, gate 254 ok up to the first live pushmre