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
- 5d144817Merge branch 'records-t40' into mainTickets
- 44ee6f06|||PR records: #43 #45 livemre
- b8fdeee9Merge branch 'p39-routes' into mainTickets
- a0187a0a|||PR Remove redundant route-order loopmre
- 369e4b9cMerge branch 'k40-lists' into mainTickets
- 9af8e780|||PR Use keyed list mutations for live ticket updatesmre
- 610d8e8aMerge branch 'records-t39' into mainTickets
- 32bcdf24|||PR records: GO P39 K40mre
- 4123c6d1Merge branch 'records-t38' into mainTickets
- cd3641a1|||PR records: day72 deploy live, tickets closedmre
- 7d44d852Merge branch 'records-t37' into mainTickets
- 926f7061|||PR records: merges, D36 deploymre
- bf58534eMerge branch 'l33-final' into mainTickets
- 759a9ac3|||PR thin login (tickets#46, #45): merge main, route entry cleanupmre
- 239436d8Merge remote-tracking branch 'origin/main' into l33-finalmre
- 5822cb3aMerge branch 'o34-clean' into mainTickets
- 0870653c|||PR offline note from __hlOnline, no polling (tickets#41)mre
- 14cf96b4Merge branch 'records-t36' into mainTickets
- 07749fa1|||PR records: day72 + #40 mergedmre
- ecd7e226|||PR Consolidate login and move handler logic into topic libraries (partial)mre