Repository navigation
calls_out_to: drop calls in dead preprocessor branches (#6770) - #6870
Conversation
Blank `#if 0`, the dead side of `#if 1`, and `#if defined(X)` / `#ifdef` / `#ifndef` / `#elif` branches of a repo-owned toggle no scanned file defines, before the literal shield (which erases directive lines), in the call scan only. The never-defined toggle table is built repo-wide in the Orchestrator and passed to workers like the #5563 macro table. c/cpp/objc lanes only. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…h baseline (#6770) Golden drift is attributed to dropping calls in statically dead C-family preprocessor branches: golden_master_audit / zero_dep fixtures (17 files each) and 21 DOOM-rosetta goldens. callgraph_baseline.json is regenerated from pinned speedrun scans at e2b3974; the doom_speedrun README triage is updated. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…415Z # Conflicts: # tests/golden_doom_rosetta/chocolate-doom.json.gz # tests/golden_doom_rosetta/crispy-doom.json.gz # tests/golden_doom_rosetta/doom-wasm.json.gz # tests/golden_doom_rosetta/doomsday.json.gz # tests/golden_doom_rosetta/odamex.json.gz # tests/golden_master_audit/12_scan_output_snapshots/gpu_json.json # tests/golden_master_audit/12_scan_output_snapshots/graph_sqlite.json # tests/golden_master_audit/12_scan_output_snapshots/llm_brief.json # tests/golden_master_audit/2_global_ecosystem_summary/network_macro.json # tests/golden_master_audit/4_high_value_forensic_report/systemic_bottlenecks.json # tests/golden_master_audit/6_parsed_files_scanned_artifacts/files/11_scan_db_snapshot/pagerank.json # tests/golden_master_zero_dep_audit/12_scan_output_snapshots/gpu_json.json # tests/golden_master_zero_dep_audit/12_scan_output_snapshots/graph_sqlite.json # tests/golden_master_zero_dep_audit/12_scan_output_snapshots/llm_brief.json # tests/golden_master_zero_dep_audit/2_global_ecosystem_summary/network_macro.json # tests/golden_master_zero_dep_audit/4_high_value_forensic_report/systemic_bottlenecks.json # tests/golden_master_zero_dep_audit/6_parsed_files_scanned_artifacts/files/11_scan_db_snapshot/pagerank.json # tests/tools/doom_speedrun/callgraph_baseline.json
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…AD (#6770) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #6870 @ e994f76: 5 failed check(s) == call-graph-accuracy-audit (failure) -- real == shard 1 (1669449 LOC) (failure) -- real == shard 2 (1666363 LOC) (failure) -- real == shard 3 (1667394 LOC) (failure) -- real == shard 4 (1666524 LOC) (failure) -- real |
…e engine does (Part of #6266) #6870 made the engine drop preprocessor branches on toggles no C file or build file defines; the oracle kept them, so 19 ports went red. The oracle now reads the same toggle table (the engine's file selection, vendored libraries excluded) and evaluates #if/#ifdef with the engine's _directive_value. Where tree-sitter pairs a conditional with the wrong #endif or splits an if head over #else, the function is read by its directive lines. Re-blessed every port. 18 licensed ports reach 0 misses / 0 engine-only; doom3-bfg, fastdoom and gzdoom keep callgraph in expected_fails for engine defects (vcxproj toggles unread; a function-like macro expanded at its own definition). Co-Authored-By: Claude Opus 5.5 <[email protected]>
…n module tree (Part of #6266) (#6899) * call_resolver: a ctor-init tie keeps the class fewest include hops away (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday callgraph_misses 74 -> 73 (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Include resolution: generated forwarder headers and the importer's own module tree (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday callgraph_misses 73 -> 70 (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday after merging main (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: oracle drops branches on toggles no file defines, as the engine does (Part of #6266) #6870 made the engine drop preprocessor branches on toggles no C file or build file defines; the oracle kept them, so 19 ports went red. The oracle now reads the same toggle table (the engine's file selection, vendored libraries excluded) and evaluates #if/#ifdef with the engine's _directive_value. Where tree-sitter pairs a conditional with the wrong #endif or splits an if head over #else, the function is read by its directive lines. Re-blessed every port. 18 licensed ports reach 0 misses / 0 engine-only; doom3-bfg, fastdoom and gzdoom keep callgraph in expected_fails for engine defects (vcxproj toggles unread; a function-like macro expanded at its own definition). Co-Authored-By: Claude Opus 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday after merging main (Part of #6266) The merge conflict on the binary golden is resolved by a rescan of the merged head: callgraph_unscored 4668 -> 4664; misses 46 and engine-only 67 unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]>
…Part of #5859, slice 3e) (#6910) * Include resolution: generated forwarder headers and the importer's own module tree (Part of #6266) (#6899) * call_resolver: a ctor-init tie keeps the class fewest include hops away (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday callgraph_misses 74 -> 73 (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Include resolution: generated forwarder headers and the importer's own module tree (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday callgraph_misses 73 -> 70 (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday after merging main (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: oracle drops branches on toggles no file defines, as the engine does (Part of #6266) #6870 made the engine drop preprocessor branches on toggles no C file or build file defines; the oracle kept them, so 19 ports went red. The oracle now reads the same toggle table (the engine's file selection, vendored libraries excluded) and evaluates #if/#ifdef with the engine's _directive_value. Where tree-sitter pairs a conditional with the wrong #endif or splits an if head over #else, the function is read by its directive lines. Re-blessed every port. 18 licensed ports reach 0 misses / 0 engine-only; doom3-bfg, fastdoom and gzdoom keep callgraph in expected_fails for engine defects (vcxproj toggles unread; a function-like macro expanded at its own definition). Co-Authored-By: Claude Opus 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday after merging main (Part of #6266) The merge conflict on the binary golden is resolved by a rescan of the merged head: callgraph_unscored 4668 -> 4664; misses 46 and engine-only 67 unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]> * CICS fault vocabulary: RUN TRANSID and FETCH ANY faults, CRECUST 46 -> 52 of 70 (Part of #6882) (#6900) * CICS fault vocabulary: SET / INQUIRE TERMINAL faults, CBSA SET arms (Part of #6882) A scenario can plan TERMIDERR (RESP2 23) or INVREQ (RESP2 43) on SET TERMINAL and TERMIDERR (RESP2 1) on INQUIRE TERMINAL, as DELAY does (X72): the stub's injected() and the port's task.planned() read the same line, a planned fault means the command is not performed. Four CBSA scenarios reach BNK1CCS 415/1134 and BNK1DCS 532/1676 (net branches 126->128 of 143 and 93->95 of 102). Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * CICS fault vocabulary: RUN TRANSID and FETCH ANY faults, CBSA CRECUST 46 -> 52 of 70 net branches (Part of #6882) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * strengthen-loop fault-command test: plan the SET/INQ TERMINAL, RUN TRANSID and FETCH ANY conditions (Part of #6882) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> * HLASM lowering: rename symbols spelled like a COBOL reserved word (PASSWORD) (Part of #5859, slice 3e) cobc stops at a DSECT field named PASSWORD (unexpected PASSWORD); _cobol() now gives a reserved-word symbol a -HL suffix and refuses a rename that collides with another symbol. GGCVER names the USERID it found no verdict for. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * hlasm: build the reserved-word set with findall (SIM905) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]>
, re-bless 4 DOOM goldens after #6899 (#6908) * Refresh the call-graph accuracy baseline for c, cpp, tcl after #6864/#6870/#6881 Per-commit runs on the pinned crucible (v1.7.0) attribute every drop: - #6864 (tcl switch arms): tcl recall 71.2 -> 69.3 - #6870 (dead preprocessor branches): c recall 99.3 -> 96.4, cpp recall 99.0 -> 97.6; the new misses are calls behind toggles never defined in the tree (Py_GIL_DISABLED, Py_REF_DEBUG, MZ_USE_JIT, MICROPY_GC_SPLIT_HEAP) that tree-sitter still counts - #6881 (macro bodies expanded at the use site): c precision 99.4 -> 97.4, cpp 98.2 -> 97.8; tree-sitter cannot see calls inside macro bodies None of the three refreshed the baseline, so the gate failed on every engine PR since. Only c, cpp and tcl change; other languages untouched. Part of #6770 Co-Authored-By: Claude Opus 5.5 <[email protected]> * DOOM-rosetta: re-bless odamex, gzdoom, fastdoom, srb2 after #6899 #6899 merged with these four goldens drifted (its own DOOM-rosetta run 40715491522 failed on them). Only summary.callgraph_unscored moves, plus callgraph_precision in the fourth decimal on three ports: odamex precision 0.983 -> 0.9829, unscored 576 -> 578 gzdoom precision 0.9662 -> 0.9663, unscored 3894 -> 3889 fastdoom precision 0.9993 -> 0.9997, unscored 87 -> 86 srb2 unscored 2531 -> 2530 No expected_fails change. A local check on main reproduced CI's drift exactly. Part of #6266 Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
…lice 3c) (#6905) * EXEC CICS VERIFY PASSWORD: ZECS002 translates whole (Part of #5859, slice 3c) Regraft of #6902 onto current main. Co-Authored-By: Claude Opus 5.5 <[email protected]> * EXEC CICS VERIFY PASSWORD: stub GGCVER, fault-plan validation (Part of #5859, slice 3d) (#6907) The cobol-stub side models VERIFY PASSWORD: GGCVER looks up the verdict a scenario states for the trimmed USERID and records one VERIFY-PASSWORD event; the password is never passed (register X32). equivalence_cics_faults.py accepts only NORMAL / USERIDERR / NOTAUTH / INVREQ and no RESP2. The zecs-zecs002 case is not in this commit: GnuCOBOL reserves PASSWORD and the HLASM lowering emits the DSECT field verbatim (see PR body). Co-authored-by: Claude Sonnet 5.5 <[email protected]> * test_strengthen_loop: plan VERIFY's fault by its userid, NOTAUTH with no RESP2 (Part of #5859) The PR added VERIFY to FAULT_COMMANDS but not to the test's fault tables, so the parametrized case planned NOTAUTH/RESP2 101 on a file, which the X32 registry entry rightly refuses (ground-truth red on #6905). Co-Authored-By: Claude Opus 5.5 <[email protected]> * HLASM lowering: rename reserved-word symbols; zecs002 case deferred (Part of #5859, slice 3e) (#6910) * Include resolution: generated forwarder headers and the importer's own module tree (Part of #6266) (#6899) * call_resolver: a ctor-init tie keeps the class fewest include hops away (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday callgraph_misses 74 -> 73 (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Include resolution: generated forwarder headers and the importer's own module tree (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday callgraph_misses 73 -> 70 (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday after merging main (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: oracle drops branches on toggles no file defines, as the engine does (Part of #6266) #6870 made the engine drop preprocessor branches on toggles no C file or build file defines; the oracle kept them, so 19 ports went red. The oracle now reads the same toggle table (the engine's file selection, vendored libraries excluded) and evaluates #if/#ifdef with the engine's _directive_value. Where tree-sitter pairs a conditional with the wrong #endif or splits an if head over #else, the function is read by its directive lines. Re-blessed every port. 18 licensed ports reach 0 misses / 0 engine-only; doom3-bfg, fastdoom and gzdoom keep callgraph in expected_fails for engine defects (vcxproj toggles unread; a function-like macro expanded at its own definition). Co-Authored-By: Claude Opus 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday after merging main (Part of #6266) The merge conflict on the binary golden is resolved by a rescan of the merged head: callgraph_unscored 4668 -> 4664; misses 46 and engine-only 67 unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]> * CICS fault vocabulary: RUN TRANSID and FETCH ANY faults, CRECUST 46 -> 52 of 70 (Part of #6882) (#6900) * CICS fault vocabulary: SET / INQUIRE TERMINAL faults, CBSA SET arms (Part of #6882) A scenario can plan TERMIDERR (RESP2 23) or INVREQ (RESP2 43) on SET TERMINAL and TERMIDERR (RESP2 1) on INQUIRE TERMINAL, as DELAY does (X72): the stub's injected() and the port's task.planned() read the same line, a planned fault means the command is not performed. Four CBSA scenarios reach BNK1CCS 415/1134 and BNK1DCS 532/1676 (net branches 126->128 of 143 and 93->95 of 102). Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * CICS fault vocabulary: RUN TRANSID and FETCH ANY faults, CBSA CRECUST 46 -> 52 of 70 net branches (Part of #6882) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * strengthen-loop fault-command test: plan the SET/INQ TERMINAL, RUN TRANSID and FETCH ANY conditions (Part of #6882) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> * HLASM lowering: rename symbols spelled like a COBOL reserved word (PASSWORD) (Part of #5859, slice 3e) cobc stops at a DSECT field named PASSWORD (unexpected PASSWORD); _cobol() now gives a reserved-word symbol a -HL suffix and refuses a rename that collides with another symbol. GGCVER names the USERID it found no verdict for. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * hlasm: build the reserved-word set with findall (SIM905) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Joe Esquibel <[email protected]>
…) (#6923) * EXEC CICS VERIFY PASSWORD: ZECS002 translates whole (Part of #5859, slice 3c) Regraft of #6902 onto current main. Co-Authored-By: Claude Opus 5.5 <[email protected]> * EXEC CICS VERIFY PASSWORD: stub GGCVER, fault-plan validation (Part of #5859, slice 3d) (#6907) The cobol-stub side models VERIFY PASSWORD: GGCVER looks up the verdict a scenario states for the trimmed USERID and records one VERIFY-PASSWORD event; the password is never passed (register X32). equivalence_cics_faults.py accepts only NORMAL / USERIDERR / NOTAUTH / INVREQ and no RESP2. The zecs-zecs002 case is not in this commit: GnuCOBOL reserves PASSWORD and the HLASM lowering emits the DSECT field verbatim (see PR body). Co-authored-by: Claude Sonnet 5.5 <[email protected]> * test_strengthen_loop: plan VERIFY's fault by its userid, NOTAUTH with no RESP2 (Part of #5859) The PR added VERIFY to FAULT_COMMANDS but not to the test's fault tables, so the parametrized case planned NOTAUTH/RESP2 101 on a file, which the X32 registry entry rightly refuses (ground-truth red on #6905). Co-Authored-By: Claude Opus 5.5 <[email protected]> * HLASM lowering: rename reserved-word symbols; zecs002 case deferred (Part of #5859, slice 3e) (#6910) * Include resolution: generated forwarder headers and the importer's own module tree (Part of #6266) (#6899) * call_resolver: a ctor-init tie keeps the class fewest include hops away (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday callgraph_misses 74 -> 73 (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Include resolution: generated forwarder headers and the importer's own module tree (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday callgraph_misses 73 -> 70 (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday after merging main (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * DOOM-rosetta: oracle drops branches on toggles no file defines, as the engine does (Part of #6266) #6870 made the engine drop preprocessor branches on toggles no C file or build file defines; the oracle kept them, so 19 ports went red. The oracle now reads the same toggle table (the engine's file selection, vendored libraries excluded) and evaluates #if/#ifdef with the engine's _directive_value. Where tree-sitter pairs a conditional with the wrong #endif or splits an if head over #else, the function is read by its directive lines. Re-blessed every port. 18 licensed ports reach 0 misses / 0 engine-only; doom3-bfg, fastdoom and gzdoom keep callgraph in expected_fails for engine defects (vcxproj toggles unread; a function-like macro expanded at its own definition). Co-Authored-By: Claude Opus 5.5 <[email protected]> * DOOM-rosetta: re-bless doomsday after merging main (Part of #6266) The merge conflict on the binary golden is resolved by a rescan of the merged head: callgraph_unscored 4668 -> 4664; misses 46 and engine-only 67 unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]> * CICS fault vocabulary: RUN TRANSID and FETCH ANY faults, CRECUST 46 -> 52 of 70 (Part of #6882) (#6900) * CICS fault vocabulary: SET / INQUIRE TERMINAL faults, CBSA SET arms (Part of #6882) A scenario can plan TERMIDERR (RESP2 23) or INVREQ (RESP2 43) on SET TERMINAL and TERMIDERR (RESP2 1) on INQUIRE TERMINAL, as DELAY does (X72): the stub's injected() and the port's task.planned() read the same line, a planned fault means the command is not performed. Four CBSA scenarios reach BNK1CCS 415/1134 and BNK1DCS 532/1676 (net branches 126->128 of 143 and 93->95 of 102). Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * CICS fault vocabulary: RUN TRANSID and FETCH ANY faults, CBSA CRECUST 46 -> 52 of 70 net branches (Part of #6882) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * strengthen-loop fault-command test: plan the SET/INQ TERMINAL, RUN TRANSID and FETCH ANY conditions (Part of #6882) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Sonnet 5.5 <[email protected]> * HLASM lowering: rename symbols spelled like a COBOL reserved word (PASSWORD) (Part of #5859, slice 3e) cobc stops at a DSECT field named PASSWORD (unexpected PASSWORD); _cobol() now gives a reserved-word symbol a -HL suffix and refuses a rename that collides with another symbol. GGCVER names the USERID it found no verdict for. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * hlasm: build the reserved-word set with findall (SIM905) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]> * zecs-zecs002 case: VERIFY userid_hex, latin-1 fault logs (Part of #5859) ZECS002 holds the USERID as EBCDIC bytes, so a plain-text VERIFY verdict could not match it. `userid_hex` states the verdict for the field's own bytes; faults.cfg and the fired-fault logs are read/written as latin-1 (COBOL stub) and UTF-8 (Java), split on newline only. COBOL-reserved-word renaming (PASSWORD etc.) came with #6905. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * fact-crosscheck ledger: ZECS002.asm disagreements assigned hlasm-lowered-cobol (Part of #5859) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Joe Esquibel <[email protected]>
Summary
calls_out_tono longer reads calls in statically dead C-family preprocessor branches (#6770: 27 engine-only edges on puredoom, all#if 0/ never-defined#if defined(I_NET_ENABLED)).gitgalaxy/core/preproc_toggles.py(new):unset_togglescollects repo-owned toggles that no C-family file#defines/#undefs, no build file names, no code token uses; underscore-led, platform, and system-header shapes (*_MAX,*_VERSION,Q_*,SDL_*,GL_*) are never decided.toggle_condition_valueevaluatesdefined,!,&&,||, parens, integer literals and bare names three-valued.detector.py:_preproc_line_liveness/_blank_dead_preproc_branchesblank dead branches before the literal shield (which blanks every directive line);_call_scan_shielduses them. c/cpp/objc only; the C# lane never reads the table.galaxyscope.py: the Orchestrator builds the table once and passes it through_init_worker(the C/C++ macro-defined functions: name from the #define (repo-wide), keep the class qualifier (eternity CONSOLE_* 77/240 misnamed; gzdoom 78 cross-class name collisions) #5563 precedent). Scans over 64 MB of C-family text decide nothing.tests/core_engine/test_dead_preproc_calls_6770.py(33 tests, the end-to-end scan ~2 s).Class / Sibling gaps
Class: calls in dead preprocessor branches in
calls_out_to:#if 0, the dead side of#if 1,#if defined(X)/#ifdef/#ifndef/!defined/&&/||/#elifchains over a never-defined toggle. All forms handled.Sibling gaps (not in this PR):
Z_ChangeTag/FTOM, or inter-doomstbiw__sbgrow.static inlinefunctions inclang_callgraph.py(14 edges): nugget-doom, woof, doomretro.Checklist: done [c:fe7cd3ba]
Golden drift attribution
golden_master_auditandgolden_master_zero_dep_audit(17 files each) and 21golden_doom_rosettagoldens: calls dropped from dead branches only.#if 0and never-defined-toggle blocks, a control scan shows the ctor-init misses are unchanged). Consensus engine-missed 2 to 7 (oracle reads dead code).callgraph_baseline.jsonregenerated from pinned speedrun scans at e2b3974 (engine_shawas 590c805, so it also carries drift older than this PR in doomsday/odamexfunctionscounts); the nightly callgraph job compares against it.doom_speedrun/README.md: the#if 0bullet and clean-file triage updated.Gates
pr_gates --fast9/9,--ratchetspass,audit_check.pyall clear, new tests pass.Lessons for agents
unset_togglesover a few files lists system macros (UINT_MAX); the real collector's code-token test and the system-name shapes handle them.callgraph_baseline.jsonfrom a speedrunfetch+scan, not from rosetta scans.callgraph_oracle.py --clangis a flag, not a ports argument.🤖 Generated with Claude Code