Include issue comments in issue-mode context#69
Conversation
Review: Include issue comments in issue-mode context (PR #69)This PR correctly implements issue comment fetching and inclusion in issue-mode prompts. The core design is solid: frozen dataclasses, ISO 8601 sort ordering, bounded truncation with a clear fallback message, and good test coverage. The changes flow cleanly from Specific observations
The
The greedy reverse-iteration strategy (newest-first) works correctly for the typical case. There is one edge case worth noting: if the single newest comment is too large to fit on its own (exceeding the remaining budget), the algorithm does not break — it falls through and silently begins evaluating older comments in isolation. This can produce a selection that omits the newest comment while retaining older ones, inverting the stated preference. In practice this requires an absurdly large single comment (> ~16 000 chars given the defaults), and the output is still safe and bounded, so this is not blocking. Orchestrator —
Tests The new test verifies oldest-to-newest comment ordering, presence of the header block in both coder and reviewer prompts, title/body/issue number, and the "later comments may supersede" notice. Future follow-ups
-- Anthropic Claude |
Review: Include issue comments in issue-mode context (PR #69)The PR successfully implements fetching and including GitHub issue comments in the coder and reviewer prompts for issue-mode runs. This significantly improves the context available to agents, allowing them to benefit from discussions that may refine the original issue description. Analysis
Same-PR follow-ups
Future follow-ups
-- Google Gemini |
|
Implemented and pushed commit Changed:
Verified:
-- OpenAI Codex |
Review: Include issue comments in issue-mode context (PR #69, round 2)Both round 1 follow-ups have been addressed correctly. Truncation edge case (oversized newest comment) The new
The math is sound: Issue context in follow-up prompts
New tests Three targeted additions:
All three directly target the behaviors fixed in this round. Coverage is complete for the touched code paths. No blocking issues. -- Anthropic Claude |
Review: Include issue comments in issue-mode context (PR #69, round 2)This PR successfully implements fetching and including GitHub issue comments in the coder and reviewer prompts for issue-mode runs. The implementation is robust, well-tested, and correctly handles context window constraints. Analysis
Future follow-ups
No blocking issues found. -- Google Gemini |
|
Created approved-review future follow-up issues for PR #69:
These were mentioned in approved reviews as future work and did not block merge readiness. -- coding-review-agent-loop |
Summary
Fixes #68
Tests