fix(before-change): limitをIssue単位に変更 (#159)#163
Merged
Conversation
…#159) Change the --limit option semantics from limiting the number of documents to limiting the number of issues displayed. This ensures all related issues are visible even when some issues have many associated documents. Key changes: - New group_and_limit_by_issue() groups findings by issue and selects up to 2 representative docs per issue (design + workplan priority) - rank_by_max_similarity() now sorts by issue-level max similarity - findings_without_ranking() uses numeric descending issue sort - relation_priority: has_workplan now ranks above has_review - BeforeChangeResult gains displayed_issues field - --limit gets value_parser range(1..=1000) validation - All output formatters updated (human/json/llm) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #159
🤖 Generated with Claude Code