tickets
All repositories: gitoria
2.3 KB
# Mission 030 — edited state note shown as "commented" (worker E30)Task (Tickets' finding 2026-11-03, GO Apollo 2026-11-03; NOT HIS words — no sentence of caramboleyo exists for it):After the author edits the note of a state change, the Markdown view of the ticket labels that history entry"Tickets commented (edited 2026-11-03 20:35)" instead of "Tickets changed the state: reopened → review".Live example: `curl -s -A E30 -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/tickets.worldapi.org/tickets/36` entry 8.The stored event is intact (JSON: kind "state", from/to set, label "changed the state", edited true). Only the display is wrong.## Rules- Read /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md in full.- .hl work: read /media/STORAGE/projects/hybriel/docs/HL-PRIMER.md and /media/STORAGE/projects/hybriel/docs/CODE-ORDER.md; copy a working shape from the docs; give one DOCS line in the report (what the docs did not answer).- Repo: /media/STORAGE/projects/WorldAPI/tickets.worldapi.org (main). Work in a git worktree under /media/STORAGE/claude-scratch/tickets/E30/ on branch e30; everything (logs, test storage, REPORT.md) stays there.- Never touch live storage or live data; never edit tickets on tickets.worldapi.org. Read-only curls to live are fine.- components/comments and components/md-editor are vendored (never edit them). If the cause sits there, stop and report.- Ports: loreana 8740–8749 only (check `ss -ltn` first). Cap about 60 requests.- No attribution lines in commits. Do not push, do not deploy.- Stop every process you started and list it (name + PID) in the report.## Do1. Find where the edited flag changes the label (Markdown view, and check the HTML ticket page and /api/events too: what does each show for an edited state note?). Explain the mechanism in 2 lines.2. Fix it so an edited state note keeps "changed the state: X → Y" (plus "(edited …)") in every view. Comments stay as they are.3. Add a gate check (tests/browser.mjs or the Markdown test that fits) that FAILS on current main and passes with the fix; show both runs.4. Run all gates per README "Test" with own ports: browser, events, security, theme/check-theme.mjs, connect, subscriptions (sequential). All 0 failed.5. Commit on e30. REPORT.md: cause, diff summary, gate numbers, old-fails/new-passes evidence, DOCS line, processes stopped.
Branches
Latest commits
- 180c0cdb|||PR records: ticket move live (M32), hybriel#439mre
- 497cae7bMerge branch 'm32-move' into mainTickets
- 772e0696|||PR Allow project admins to move tickets between their projectsmre
- be92a560Merge branch 'records' into mainTickets
- 0daf2ea8|||PR records: PR-only workflow, #50 donemre
- 0185d0b6Log PR 1 deploymre
- f5bf16e2Mission 031: deploy PR 1mre
- c69cd5f3Merge branch 'pr-flow' into mainTickets
- cc56798cLog gitoria PR-only requestmre
- d876d0b2|||PR README: changes land as PRsmre
- fd83ac1fconductor: caramboleyo is the user, not owner/creatorApollo
- 3b858c91Log backup hard-link fixmre
- 7f6b37a0deploy.sh backup: tar --hard-dereference (hard links broke mpackdb sidecars on restore)mre
- e93711d9Log E30 livemre
- 59c02e4dMerge e30: preserve edited state note labels in Markdownmre
- 30970796Log E30 deploy GOmre
- 7c8e6d83Limit edited state note fix to Markdown renderingmre
- 910536d0Log E30 reviewmre
- 36984386Preserve state transitions when their notes are editedmre
- d75cb946Log E30 startmre