You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
tree_sitter_accuracy_audit.py: java varargs (spread_parameter) undercounted by _get_param_count #2090
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginethreat: false-negativeAccuracy tuning: Engine missed a bypass or vulnerability
_get_param_count's counted_types whitelist in tests/tools/tree_sitter_accuracy_audit.py
(the same recurring per-grammar node-type gap as #1339/#1506/#1570/#1319) is missing java's
varargs parameter wrapper node type, spread_parameter -- tree-sitter-java wraps a varargs
parameter (Type... name) in this distinct node type rather than the plain formal_parameter
already in the whitelist.
Evidence
Confirmed via docs/self_scan/tri_comparison_ledger.json's java/function/args/agree[ctags,gitgalaxy]_vs[tree_sitter] shape (12 occurrences, all varargs
methods/constructors in springboot/SpringApplication.java/Binder.java, e.g. public SpringApplication(Class<?>... primarySources), public void addInitializers(ApplicationContextInitializer<?>... initializers)). GitGalaxy and ctags both
correctly count 1 real parameter; the audit tool's own tree-sitter reading undercounts by exactly
1 every time. Direct tree-sitter-java parse confirms the varargs parameter parses as a spread_parameter node wrapping a generic_type/.../variable_declarator, not a formal_parameter:
This is not a GitGalaxy defect -- it's the audit tool's own ground-truth measurement
undercounting java varargs specifically. Fix: add "spread_parameter" to counted_types in _get_param_count (~detector.py:1420 in tree_sitter_accuracy_audit.py), same shape as the
existing per-grammar entries in that whitelist's own docstring.
bugUnintended behavior or logic failure in the enginecore-engineModifications to the central physics and parsing enginethreat: false-negativeAccuracy tuning: Engine missed a bypass or vulnerability
Activity
fix(java): bodyless abstract-method drop + args annotation gap, tri-c…
squid-protocol commentedon Aug 22, 2026
Fixed via PR #2092.