gitoria

tickets

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitfd83ac1ffd83ac1fconductor: caramboleyo is the user, not owner/creatorApollofd83ac1f/missions/030-edited-state-note-label.md

2.3 KB

  1. # Mission 030 — edited state note shown as "commented" (worker E30)
  2. Task (Tickets' finding 2026-11-03, GO Apollo 2026-11-03; NOT HIS words — no sentence of caramboleyo exists for it):
  3. After the author edits the note of a state change, the Markdown view of the ticket labels that history entry
  4. "Tickets commented (edited 2026-11-03 20:35)" instead of "Tickets changed the state: reopened → review".
  5. Live example: `curl -s -A E30 -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/tickets.worldapi.org/tickets/36` entry 8.
  6. The stored event is intact (JSON: kind "state", from/to set, label "changed the state", edited true). Only the display is wrong.
  7. ## Rules
  8. - Read /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md in full.
  9. - .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).
  10. - 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.
  11. - Never touch live storage or live data; never edit tickets on tickets.worldapi.org. Read-only curls to live are fine.
  12. - components/comments and components/md-editor are vendored (never edit them). If the cause sits there, stop and report.
  13. - Ports: loreana 8740–8749 only (check `ss -ltn` first). Cap about 60 requests.
  14. - No attribution lines in commits. Do not push, do not deploy.
  15. - Stop every process you started and list it (name + PID) in the report.
  16. ## Do
  17. 1. 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.
  18. 2. Fix it so an edited state note keeps "changed the state: X → Y" (plus "(edited …)") in every view. Comments stay as they are.
  19. 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.
  20. 4. Run all gates per README "Test" with own ports: browser, events, security, theme/check-theme.mjs, connect, subscriptions (sequential). All 0 failed.
  21. 5. Commit on e30. REPORT.md: cause, diff summary, gate numbers, old-fails/new-passes evidence, DOCS line, processes stopped.

Branches

Latest commits

  • 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
  • 0bf3fefaMission 030: edited state note labelmre
  • 691565c6Log neutral-ticket rule checkmre
  • bc3bdecerecords: day38b live, #94 purgedmre
  • f6c5aa0dMerge main (records)mre
  • e23d42acconnect gate: wait for hydration before clicking Disconnectmre
  • a5d45d00records: D38 cause, GOmre
  • 19eeb938records: D38 gates, two day38b failuresmre
  • f8e42a85Re-vendor tickets to Hybriel set day38b (1e554d7)mre
  • 51645016Merge purge-94 (#94, identity rule)mre
  • 94d6ca2arecords: D38 startedmre