feat(kernel): R7a C/C++ walker — dual-lang ccpp module, preParse hoist, 7 new blanks, c/cpp default-routed (#1346)

Parity: 0 diffs on redis/git/fmt/protobuf/ALS sweeps; full-init dumps
byte-identical on all five + linux at kernel scale (10.4M dump lines,
same sha256 both arms). Linux 2c/6GB envelope: kernel-arm 19.1min vs
wasm-arm 22.9min (parse 356s vs 435s) on a much richer graph (the new
blanks recover error-swallowed code: git 2x nodes, linux kernel/+mm/ 3x).
Deferral guard corrected by measurement (C/C++ error incidence 9-42%;
--max-deferral flag); defer-reuse memo kills the 3x re-blank/re-parse
cost deferred files paid.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Colby Mchenry
2026-07-17 16:56:41 -05:00
committed by GitHub
co-authored by Claude Fable 5
parent 44561b6aad
commit 2d72891b59
20 changed files with 3211 additions and 80 deletions
+5
View File
@@ -78,5 +78,10 @@ esac
DEST="$CRATE/prebuilds/$PLATFORM"
mkdir -p "$DEST"
# rm first so the copy lands on a FRESH inode: overwriting a signed dylib in
# place leaves macOS's per-inode signature cache stale, and every process
# that then dlopens the staged .node is SIGKILLed at load (the on-disk
# signature still verifies, which makes it maddening to diagnose).
rm -f "$DEST/codegraph-kernel.node"
cp "$LIB" "$DEST/codegraph-kernel.node"
echo "[kernel] staged $DEST/codegraph-kernel.node ($(du -h "$DEST/codegraph-kernel.node" | cut -f1))"