Skip to content

Select Ruby class declarations by name, namespace, or ancestry - #116

Merged
TristanKruse merged 5 commits into
mainfrom
feature/declaration-facts-103
Nov 28, 2026
Merged

TristanKruse merged 5 commits into
mainfrom
feature/declaration-facts-103

Conversation

@TristanKruse

@TristanKruse TristanKruse commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #103. Adds a lazy project_classes scope and selectors by exact constant name, namespace, or bounded superclass ancestry. Declaration facts preserve reopened source sites, method shapes and written relationships without executing the target. Selection is inspection: complete, empty and unknown remain distinct; unknown candidates include source locations. Declaration snapshots are cached by root and effective source exclusions. Benchmark: 500-file chain, 156–253 ms cold and 11–16 ms warm across two Windows runs, around 267 KiB retained Ruby heap. Synced with main after #114 and #115. An integration test exercises declaration selection, named calls and cycle witnesses in one analysis session. The shared CLI formatter preserves source labels and JSON evidence while keeping lint green. #105 is the follow-up for executable method-signature rules and their baseline policy.

@TristanKruse TristanKruse changed the title Add opt-in Ruby declaration facts for class analysis Select Ruby class declarations by name, namespace, or ancestry Nov 27, 2026
@TristanKruse
TristanKruse merged commit f4d67b9 into main Nov 28, 2026
18 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.

Semantic foundation: add immutable declaration facts and bounded class selectors

1 participant