Skip to content

fix(before-change): limitをIssue単位に変更 (#159)#163

Merged
Kewton merged 1 commit intodevelopfrom
fix/issue-159-before-change-limit
Mar 25, 2026
Merged

fix(before-change): limitをIssue単位に変更 (#159)#163
Kewton merged 1 commit intodevelopfrom
fix/issue-159-before-change-limit

Conversation

@Kewton
Copy link
Copy Markdown
Owner

@Kewton Kewton commented Mar 25, 2026

Closes #159
🤖 Generated with Claude Code

…#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>
@Kewton Kewton merged commit 5dffff3 into develop Mar 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant