tickets
All repositories: gitoria
4.5 KB
# Mission 001 — tickets.worldapi.org MVP (ticket 0001)You are a one-shot worker. The architect session (Claude Code on Byrodin) wrote this brief andwill verify your report. Read first: `/CONTAINERS/projects/antcolony/README.md`, `STATUS.md`,`/CONTAINERS/projects/antcolony/tickets/0001-tickets-app.md`.## Where- Host: **Loreana** (`ssh loreana`, user mre; login shell is fish → always `ssh loreana "bash -c '…'"`,or write scripts to a file and run them with bash).- App folder (new, you create it): `/media/STORAGE/projects/tickets.worldapi.org`- Hybriel repo (READ ONLY for you): `/media/STORAGE/projects/hybriel`. Language: `SPEC.md`,web framework: `COMPONENTS.md` + `plugins/webex/`. Reference app: `projects/demo-social-network`(read its README, project.hl, store.hl, components, tests/browser.mjs).- Binary: `native/zig-out/bin/hybriel` (built 2026-09-19 22:46, repo HEAD e565176b). **Vendor** it:copy the binary + the plugins it needs into the app folder (`bin/`, `plugins/`), like`/CONTAINERS/projects/landscape.ai.einicher.net` does on Byrodin. Record the source commit andthat the hybriel working tree had uncommitted plugin .so files at copy time.- Dev port: **8350** (checked free on 2026-09-23). Bind 0.0.0.0 so it is reachable on the LAN/tailnet.## Scope (MVP — keep it small)1. Data: projects, tickets (`id`, `project`, `subject`, `summary`, `state`, created/updated),and an append-only event history per ticket (created, comment, state change). Comments are events.States: `open`, `in progress`, `awaiting creator`, `confirmed`, `rejected`, `on hold`.No users/login yet (ident comes later) — but keep an `author` field on events (free string for now).2. Web UI (hl:webex, SSR + live push like the social app):- `/` — list of tickets, filter by project and state- `/tickets/:id` — ticket with its event history, comment form, state change- `/inbox` — all tickets in state `awaiting creator`, across projects- Live: a new comment/state change appears in other open browsers without reload.3. JSON API for the future scheduler/CLI: list/get tickets, create ticket, add comment, change state.4. Import: a command that imports the ticket files in `/CONTAINERS/projects/antcolony/tickets/*.md`(on Byrodin — copy them over with scp first). Format: `project:` and `subject:` header lines,blank line, summary. Import must be idempotent (re-running does not duplicate).5. Styles: dark palette from `/CONTAINERS/projects/layouts.worldapi.org/css/foundation/tokens.css`(on Byrodin), with **`--color-accent: #c586c0`** (purple) and `--color-danger: #f44747`.Markup/CSS rules: `/CONTAINERS/projects/layouts.worldapi.org/docs/conventions.md` (domain tags,mobile first, no div soup, tabs). Must work on a phone width (390px) and desktop.Do NOT edit files on Byrodin; only read them.Out of scope: login, deploy to Byrodin, Docker, the scheduler.## Rules- **No git** anywhere. Do not touch the hybriel repo (read only). Do not touch other projects.- Never kill processes by name pattern; only PIDs you started. Clean up every headless Chrome andserver you start (the machine is the creator's desktop; leaked Chromes caused an OOM there before).The GPU is currently wedged — run Chrome with `--disable-gpu`.- Scratch files go into the app folder's `.scratch/` or /tmp/antcolony-001/, not elsewhere.- **A test is the whole process**: start the server, drive it in a real headless browser(write `tests/browser.mjs` in the style of the social app's gate: CDP, two browsers for the livepush check), and verify the outcome. `curl` 200 alone proves nothing. Also verify the page at390px and 1280px widths (screenshots into `.scratch/`, look at them).- When you hit a Hybriel/webex bug: do NOT fix it in the hybriel repo. Work around it if possible,write it down precisely (minimal repro, file, observed vs expected) in your report under"Hybriel issues". These become hybriel tickets.- Leave the dev server RUNNING on port 8350 at the end (started with nohup/setsid, log in the appfolder), so the architect can verify. Report its PID.## Deliverables in the app folder- `README.md` — what it is, how to run, how to test (exact commands), how to import.- `STATUS.md` — current state, concise.- `tests/browser.mjs` — the gate.## Report (your final answer — this exact structure)```## Done## Verified (each: command run + observed output)## Not verified / open## Hybriel issues (repro, observed, expected)## Questions for the creator## Running (URL, PID, log path)```
Branches
- mainmain branch
Latest commits
- 9bfba36aantcolony#40: history (LOG.md), worker briefs (missions/) and reports moved here from antcolony, numbered per project; old numbers in antcolony docs/mission-map.mdmre
- c7bd2645tickets: Hybriel master 73267707 (#122 fixed); compactNow workaround removed (#110 covered)mre
- 2ab91ee9tickets: gate checks rows appear once (session sync); re-vendor to ff51cf46 stopped on hybriel#122, stays 837fe120mre
- e01c2b1dtickets#24: installable app (manifest, service worker, offline list), own icon; gate waits for the hello's pongmre
- 752fbb7fdeploy.sh: back up live storage/.sessions/.env before every deploy (newest 5 kept)mre
- 38bdd5e4deploy.sh: never send .git or .gitignore to Byrodinmre
- f12fa1bcState of 2026-09-27, before the move to gitoriamre