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
Idiom-wrapper tracking: project-local allocator/idiom wrappers make literal-vocabulary rules go blind #3003
Raised as a follow-up comment on #2990 (COBOL semantic-coverage assessment), citing evidence from temporal-crucible's walk panel (2026-09-13): curl's 8.17→8.18 curlx allocator-wrapping refactor makes summed state_memory_alloc drop -86% in one release (1197→171) while LOC grows and every other signal stays continuous. Literal malloc/free-family matching goes blind the instant a project wraps its own idioms behind a helper layer. Same failure class as def_auth reading 0 across 1.05M C rows because curl delegates crypto/auth to backend libraries instead of calling OpenSSL-shaped primitives directly.
Two independent, now-documented instances (curl's allocator wrapper, curl's auth delegation) establish this is a real, recurring engine limitation, not a one-off.
What #2990 checked (and why it doesn't reproduce there, today)
#2990's COBOL pass looked for the specific shape this issue's evidence describes — an EXEC CICS block hosted inside a copybook rather than a program, which would make a copybook-level wrapper invisible the same way curlx is. Census result: zero of language-crucible's 591 COBOL files host an EXEC CICS/EXEC SQL/EXEC DLI block inside a .cpy file — every embedded-language block lives directly in a .cbl program. So the specific program-level-blindness shape doesn't reproduce in the current COBOL corpus, but that is a fact about this corpus's content, not a property of the engine that generalizes to "COBOL is immune."
Ask
This is a cross-cutting engine-design question, not a single-language fix: should GitGalaxy track project-local idiom/wrapper vocabularies (e.g., detect a function that is itself a thin pass-through to a known primitive, and count call sites of the wrapper as if they were the primitive)? If so, what's the detection mechanism (a same-file heuristic? a configurable per-project wrapper-alias list? a data-flow pass GitGalaxy's regex-only architecture can't do)? If not — if this is an accepted, documented limitation of a regex-based, AST-free engine — say so explicitly in docs/why_gitgalaxy_beats_ast_here.md's counterpart (a "known blind spots" doc) so future sessions don't rediscover the same curl evidence from scratch.
Cite: temporal-crucible walk panel evidence (2026-09-13), gitgalaxy#2990's comment thread and docs/cobol_semantic_coverage.md's wrapper-vocabularies section.
Activity
Docs: known blind spots -- project-local idiom wrappers (#3003) (#3314)