mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-04 10:48:20 +00:00
An earlier relabel (extract_k8s.c Resource->Class, to satisfy labels-valid) left pass_k8s.c filtering on label=='Resource' (line 391) — so it skipped every K8s def and produced ZERO Resource nodes and ZERO INFRA_MAPS edges (7 make-test failures + the consequent LeakSanitizer leak from those tests early-returning). Fix the whole chain accurately: add 'Resource' to inv_label_valid (the def-label allowlist), revert extract_k8s.c to emit 'Resource' (manifest + kustomize), so pass_k8s.c matches -> Resource nodes + INFRA_MAPS restored. K8s repro goldens updated Class->Resource to match. Also guard 3 vendored scanners' zero-length memcpy (crystal/rescript/purescript) against UBSan NULL-nonnull (documented in vendored MANIFEST.md). Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>