Expand description
The kranz ticket note|notes surface (D-BW-3, adopted from beads):
environment concerns (note author) and terminal rendering over
kranz_engine::ticket_notes, which owns storage, the append-only
durability idiom, and the draft-context folding — so every surface
(CLI today, REST/Slack later) shares one implementation.
Functions§
- cmd_
ticket_ note kranz ticket note <slug> <text...>: append one note to the ticket’s discussion. Refuses on an unknown ticket (a typo’d slug must not orphan a notes sidecar with no ticket behind it).- cmd_
ticket_ notes kranz ticket notes <slug>: print the discussion chronologically.- note_
author - The author for a new note:
$KRANZ_NOTE_AUTHORwhen set and non-blank, else"operator". - render_
ticket_ notes - Render the notes listing: one
<ts> <author>: <text>line per note, in file order (== chronological order).