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
- 03c1de05new_project: format Style with nested language rulesmre
- bd76cfa6connect: format Style with nested language rulesmre
- 01fad593inbox: format Style with nested language rulesmre
- 79dc9392you: format Style with nested language rulesmre
- 78073baamain: format Style with nested language rulesmre
- 5499c290Sync theme unchanged from layouts 17e0f03mre
- fd33ee21Sync reviewed components from 8176eb1mre
- 93348453Re-vendor tickets to Hybriel set day35mre
- 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
- f767b24dtickets: 111 needless let became plain declarations (3 in ticket.hl, ticket_list.hl, comments.hl and 108 never-reassigned, not captured loop-body ones); the 212 really reassigned lets stay (tickets#44)mre
- 16c0d3b5tickets: the modal window is phone first: the full-screen sheet is the base rule, the centred window sits in the min-width 60rem block (tickets#39)mre
- 090ee809tickets: every component's styles in its own nested Style {} block; styles.hl keeps only the theme inherit, the accent and the site-wide rules (tickets#36)mre
- d395763ftickets: ident-access gate ports 8769/8768 (8797 is taken on loreana)mre
- afb9a403tickets: an ident access key (Authorization: Bearer idt_…) works in the API (ident#27 app side): lib/ident-access.hl copied from components, read keys GET only, ident down 503; gate tests/ident-access-tickets.mjsmre
- 48c1ba79tickets: md-paste-files gate with the file manager casesmre
- f04afc43tickets: MdEditor from components 59704ce (a file manager copy still attaches, pipe rows, tickets#49)mre
- 06599fa0tickets: MdEditor from components b0f1ec2 (a clipboard with text always pastes the text, tickets#49); real Ctrl+V gatemre