Skip to main content

Module notes

Module notes 

Source
Expand description

Marker-delimited sections maintained in every review description: the stack-overview ledger and issue-closing links. Build, splice, parse, and self-repair of <!-- git-stk:NAME --> sections.

Functions§

update_closes_notes
Add a Closes #N line to each branch’s review when the branch name references an issue (e.g. 123-fix-thing, fix/issue-123), so the platform closes the issue when the review merges. Branches without an issue reference are passed over silently.
update_stack_notes
Maintain a stack overview in every review body: the full ledger leaf-first, the trunk at the bottom, and a pointing emoji marking the review being viewed. Lives between marker comments so refreshes replace it in place, and self-repairs if the markers were hand-edited away. Merged and closed entries are preserved from the previous note and restyled instead of dropped.