Skip to content

feat(suggest): ナレッジグラフ統合 (#157)#161

Merged
Kewton merged 1 commit intodevelopfrom
fix/issue-157-suggest-kg
Mar 25, 2026
Merged

feat(suggest): ナレッジグラフ統合 (#157)#161
Kewton merged 1 commit intodevelopfrom
fix/issue-157-suggest-kg

Conversation

@Kewton
Copy link
Copy Markdown
Owner

@Kewton Kewton commented Mar 25, 2026

Closes #157
🤖 Generated with Claude Code

When the query contains issue number patterns (#NNN, Issue #NNN, issue-NNN),
the suggest command now queries the knowledge graph via SymbolStore and
prepends related document steps to the strategy. This ensures issue-related
documents (design policies, reviews, work plans) are prioritized in suggestions.

- Add query_knowledge_graph() for best-effort KG lookup with graceful fallback
- Add prepend_knowledge_steps() to insert issue/context steps at strategy head
- Add matched_issues field to SuggestResult (skip_serializing_if empty)
- Deduplicate issue numbers via HashSet, cap at MAX_ISSUE_NUMBERS (3)
- Add 7 new unit tests for KG integration logic

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