Commit Graph
5 Commits
Author SHA1 Message Date
Martin Vogel 46daeae2eb fix(resolver): new X() targets the constructor X declares
mkc_c8_typescript_constructor_samefile and lrp_ts_s3_constructor name the declared
`constructor` as the target of `new Widget(name)`, and the edge went to the Class,
which the quality harness reports as WRONG_OCCURRENCE. A class that declares a
constructor now answers with it, in the same file and through an import. A class
without one stays the Class node, the materialized callable ts.same-file-constructor
requires.

Oracle changes, each because a rule is true now and a stricter entry replaces a gap:

- lsp_resolution_probe: implicit `new` targets the Class, required, not an
  unmaterialized gap; s3 requires Widget.constructor. Its three TS annotation entries
  pinned USAGE, which es_usage_crossfile_typescript forbids at the same occurrence;
  they require USES_TYPE at that span, and the b/types.ts decoy is checked on USES_TYPE.
- matrix_known_classes, matrix_new_constructs, node_creation_probe: TS calls that are
  now proved are required instead of counted gaps. Their forms and targets are unchanged.

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
2026-11-01 17:52:31 +01:00
Martin Vogel 642fe3fe46 Complete proof bridges and migrate resolver quality contracts
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
2026-10-28 04:48:12 +01:00
Martin Vogel 3ee9d5d112 Drop the nim grammar and refresh language counts
Removes the heaviest vendored grammar (66 MB) along with its language
wiring and test fixtures; the supported-language count moves to 158
across README, site, and manifest. The grammar manifest additionally
records the canonical-source decisions for the five
registry-disagreement grammars and the per-directory license files
restored earlier this week.
2026-06-12 02:17:39 +02:00
Martin Vogel 2aa09bf4e0 Triage probe reds: fix fixture-only failures, confirm real bugs with root causes
Classified all 34 probe reds against the detector/extractor code. Greened 9 fixture mis-builds (HANDLES express/fastify/rails/actix, HTTP fetch/nethttp/reqwest, C generic-callback) + 1 wrong assertion (Go methods are labelled Method not Function). Kept 24 as confirmed reproductions with // REAL BUG root-cause comments. Root-cause clusters: WRITES x5 langs (Variable defs never cbm_registry_add'd); Go DEFINES_METHOD+OVERRIDE/IMPLEMENTS (receiver methods lack parent_class); new T() constructor CALLS missing for Java/C#/PHP (object_creation_expression not in call_node_types) + TS not linked; cross-LSP dispatch gap + '::' path resolution (Rust/Kotlin/Java/C#); C++ scope-qualified calls; HANDLES (Spring annotation, ASP.NET, Laravel string handlers); HTTP_CALLS (RestSharp, Guzzle short-QN); ASYNC SQS-Go; Kotlin throws/raises; TS type-param USAGE. node_creation_probe now fully green.
2026-06-07 14:16:36 +02:00
Martin Vogel 0798748abf Add probe reproduction suites: LSP-pass resolution, node creation, edge-type creation
Reproduce-first probes (215 graph-level cases) hunting node/edge-creation + LSP-pass bugs across 26 languages + web frameworks. node_creation_probe: 80/81 green (node creation is solid; only Go method-on-struct under threshold). lsp_resolution_probe: 72/83 green — RED reproductions for the cross-LSP dispatch gap (Rust/Kotlin S1 cross-file call) and constructor/static/virtual/generic resolution edge cases (C/C++/TS/Java/C#/PHP S3-S7). edge_types_probe: 29/51 green — candidate RED reproductions for HANDLES (7 web frameworks), HTTP_CALLS (5 clients), WRITES (all 5 langs), Kotlin throws/raises, Go DEFINES_METHOD/OVERRIDE (these need real-bug-vs-fixture verification). Green cases retained as regression guards throughout. No unrelated suite regressed.
2026-06-07 13:36:15 +02:00