feat: polymorphic dataflow IR and top-level logic operators (PR-04)#566
Open
shivasurya wants to merge 1 commit intofeat/python-sdk-calls-on-pr03from
Open
feat: polymorphic dataflow IR and top-level logic operators (PR-04)#566shivasurya wants to merge 1 commit intofeat/python-sdk-calls-on-pr03from
shivasurya wants to merge 1 commit intofeat/python-sdk-calls-on-pr03from
Conversation
Fix DataflowMatcher to accept any matcher type via _normalize_matchers() duck-typing helper. Implement executeLogic() in Go loader for top-level Or/And/Not operators with recursive ExecuteRule() dispatch. Update MatcherType union with type-aware matchers. 362 Python tests passing (98% coverage), all Go DSL tests passing, 0 lint issues. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
SafeDep Report SummaryNo dependency changes detected. Nothing to scan. This report is generated by SafeDep Github App |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## feat/python-sdk-calls-on-pr03 #566 +/- ##
=================================================================
- Coverage 83.26% 83.17% -0.09%
=================================================================
Files 144 144
Lines 18002 18077 +75
=================================================================
+ Hits 14989 15036 +47
- Misses 2461 2477 +16
- Partials 552 564 +12 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
DataflowMatcherto accept any matcher type via_normalize_matchers()duck-typing helper — previouslycalls_on()as a single sink crashed with'TypeConstrainedCallMatcher' object is not iterableexecuteLogic()in Goloader.gofor top-levelOr/And/Notoperators with recursiveExecuteRule()dispatch and deduplicationMatcherTypeunion inlogic.pywithTypeConstrainedCallMatcherandReturnTypeCallMatcherflows(to_sinks=calls_on("Cursor", "execute"))now works Python → JSON IR → Go executionTest plan
🤖 Generated with Claude Code