open-code-review/internal/session
Soner 1b193db358
Some checks are pending
CI / cross-compile (arm64, linux) (push) Waiting to run
CI / cross-compile (arm64, windows) (push) Waiting to run
CI / cross-compile (arm64, darwin) (push) Waiting to run
CI / test (push) Waiting to run
CI / cross-compile (amd64, darwin) (push) Waiting to run
CI / cross-compile (amd64, windows) (push) Waiting to run
Deploy Pages / build (push) Waiting to run
Deploy Pages / deploy (push) Blocked by required conditions
feat(cli): add 'ocr session comments' to display saved review comments (#505) (#646)
Adds a new 'ocr session comments <session-id>' subcommand that prints the
review comments persisted in a session, rendered in the same style as
'ocr review' terminal output (path, line range, severity badge, suggestion
diff). Supports --json for machine-readable output and --severity/--category
comma-separated filters.

Comments are read from the review_item_done / review_item_reused checkpoint
records via a new session.LoadComments, mirroring resume replay semantics:
a later checkpoint for the same fingerprint supersedes the earlier one and a
subsequent failure drops it.

Also adds shell tab completion for session ids (session show, session
comments, and review --resume) and for the --severity/--category values.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-03 11:49:48 +08:00
..
comments.go feat(cli): add 'ocr session comments' to display saved review comments (#505) (#646) 2026-08-03 11:49:48 +08:00
comments_test.go feat(cli): add 'ocr session comments' to display saved review comments (#505) (#646) 2026-08-03 11:49:48 +08:00
history.go feat(manifest): run manifest coverage contract for review (#367) (#520) 2026-08-01 16:50:21 +08:00
history_test.go fix: align Go module path with actual GitHub repository (#526) 2026-07-27 19:52:35 +08:00
list.go feat(manifest): run manifest coverage contract for review (#367) (#520) 2026-08-01 16:50:21 +08:00
list_test.go feat(manifest): run manifest coverage contract for review (#367) (#520) 2026-08-01 16:50:21 +08:00
manifest.go feat(manifest): run manifest coverage contract for review (#367) (#520) 2026-08-01 16:50:21 +08:00
manifest_test.go feat(manifest): run manifest coverage contract for review (#367) (#520) 2026-08-01 16:50:21 +08:00
persist.go feat(manifest): run manifest coverage contract for review (#367) (#520) 2026-08-01 16:50:21 +08:00
persist_test.go feat(manifest): run manifest coverage contract for review (#367) (#520) 2026-08-01 16:50:21 +08:00
resume.go fix: align Go module path with actual GitHub repository (#526) 2026-07-27 19:52:35 +08:00
resume_test.go refactor(test): replace custom string helpers with strings.Contains in resume_test.go (#681) 2026-08-02 22:58:21 +08:00
testing.go fix(session): isolate test sessions to test-sessions subdirectory 2026-06-30 13:23:21 +08:00