Version: hunk 0.23.0 (Homebrew, macOS)
Steps
hunk diff HEAD~2 HEAD --agent-notes --watch on a range with two files.
- In the TUI, add a note on the first file.
- Switch to single-file view and select the second file.
- From another shell:
hunk session review <id> --include-notes --json
Actual: files lists only the selected file, reviewNoteCount is 0 and reviewNotes is empty. hunk session comment list <id> --type all --json also returns [].
Expected: the session API reports every file in the review and every saved note, whatever the TUI's current view.
Leaving single-file view (no reload needed) makes both files and the note appear again.
Why it matters: agents read the human's notes through the session API, so in single-file view they conclude there are no notes. Related: #1150, #1138.
Version: hunk 0.23.0 (Homebrew, macOS)
Steps
hunk diff HEAD~2 HEAD --agent-notes --watchon a range with two files.hunk session review <id> --include-notes --jsonActual:
fileslists only the selected file,reviewNoteCountis 0 andreviewNotesis empty.hunk session comment list <id> --type all --jsonalso returns[].Expected: the session API reports every file in the review and every saved note, whatever the TUI's current view.
Leaving single-file view (no reload needed) makes both files and the note appear again.
Why it matters: agents read the human's notes through the session API, so in single-file view they conclude there are no notes. Related: #1150, #1138.