Skip to content

fix(suggest)#172

Merged
Kewton merged 1 commit intodevelopfrom
fix/issue-167-suggest-limit
Mar 25, 2026
Merged

fix(suggest)#172
Kewton merged 1 commit intodevelopfrom
fix/issue-167-suggest-limit

Conversation

@Kewton
Copy link
Copy Markdown
Owner

@Kewton Kewton commented Mar 25, 2026

Closes # ナレッジグラフ展開制限 (#167)
🤖 Generated with Claude Code

…per issue (#167)

Add filtering and per-issue limiting to suggest command's knowledge graph
expansion, reducing proposals from ~80 to ~15-20 by selecting only
representative documents (design policy, work plan, review summaries).

- Add KnowledgeRelation::priority() method for shared relation ordering
- Add filter_and_limit_kg_docs() with Modifies/HasProgress/StageReview exclusion
- Switch from find_knowledge_by_issue() to find_documents_by_issue() for doc_subtype support
- Limit to MAX_KG_DOCS_PER_ISSUE=4 documents per issue
- Refactor before_change.rs relation_priority() as compatibility wrapper (DRY)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Kewton Kewton merged commit 9c93ec3 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