Skip to main content

notice_message

Function notice_message 

Source
pub(crate) fn notice_message(
    number: u32,
    replied: usize,
    resolved: usize,
    open: usize,
    scope: &str,
) -> String
Expand description

The reviewer-facing one-line summary a worker’s review turn produces: worker addressed review #N - A replied, B resolved, C open. Open /diff. open is the review’s current open-comment count after the turn, and scope names the review itself, because each scope’s comments open in a door of their own: the document viewer, the files page, or the diff overlay (the lead’s gate, 2026-10-17: a tree scope pointed at /diff, which never carries one - the same hole the doc scope’s door had closed).