Future follow-up from approved review on PR #69.
Reviewer: Claude
Follow-up:
- Truncation edge case for oversized newest comment. When the newest comment alone exceeds the character budget, the greedy loop should break early and fall directly to the "all omitted" path. Instead it iterates through all remaining comments, potentially selecting older ones over the newest. A guard like
if not kept_comments and len(issue_header + notice + comment_text) > max_chars: break before the elif not kept_comments branch would fix this.
This was mentioned in an approved review as future work and did not block merge readiness.
Future follow-up from approved review on PR #69.
Reviewer: Claude
Follow-up:
if not kept_comments and len(issue_header + notice + comment_text) > max_chars: breakbefore theelif not kept_commentsbranch would fix this.This was mentioned in an approved review as future work and did not block merge readiness.