Skip to content

feat: filter InsightProvider edges by changedFiles / artifactIds#35

Merged
foo-ogawa merged 2 commits into
mainfrom
feat/insight-provider-filtering
Jun 6, 2026
Merged

feat: filter InsightProvider edges by changedFiles / artifactIds#35
foo-ogawa merged 2 commits into
mainfrom
feat/insight-provider-filtering

Conversation

@foo-ogawa

Copy link
Copy Markdown
Collaborator

Summary

  • Add filterInsight() that resolves domain IDs from changedFiles via anchorMapping, unions with artifactIds
  • Filter edges where from/to matches relevant domain IDs
  • Backward compatible: no filters = all edges returned

Test plan

  • changedFiles filtering test
  • artifactIds filtering test
  • No-filter backward compatibility test
  • All 195 existing tests pass

Closes #30

Made with Cursor

foo-ogawa and others added 2 commits June 7, 2026 01:59
- Add filterInsight() that resolves domain IDs from changedFiles via
  anchorMapping filePaths, unions with artifactIds, and filters edges
- MicroContractsInsightProvider.provide() now applies the filter
- Backward compatible: no filters = all edges returned
- Tests cover changedFiles, artifactIds, and no-filter cases

Closes #30

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@foo-ogawa foo-ogawa merged commit 3e84196 into main Jun 6, 2026
4 checks passed
@foo-ogawa foo-ogawa deleted the feat/insight-provider-filtering branch June 6, 2026 17:04
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.

Enhancement: InsightProvider で changedFiles / artifactIds によるフィルタリングを実装

1 participant