Repository navigation
callgraph: build manifests reach the scan; oracle reads a body closed early before an #ifdef statement (Part of #6266) - #6951
Merged
Conversation
…Part of #6266) doomsday's DE_PIMPL heads `Impl : Private<C>`, whose `typedef Private<P> Base` a ctor-init `: Base(i)` names. The resolver pruned it when no class `Base` was include-visible (an unrelated LogEntry::Arg::Base exists), and the oracle's text view read it as a data member where tree-sitter reads a base. The engine now collects the repo's class-typedef names and keeps their entries; the oracle's text view reads any declared base for a constructor of no declared class. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…e alias; bless doomsday (Part of #6266) gzdoom's `PType *Type;` beside rapidjson's `typedef T Type` made `PSymbolType(..) : Type(ty)` a base call (4 new engine-only edges). A name some class declares as a field is left out of the alias set. doomsday golden: callgraph misses 46 -> 24, engine-only 67 -> 44; gzdoom unchanged. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…, so its toggle definitions reach the scan (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…apped statement is read as text (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ph misses 24 -> 7) (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
squid-protocol
added a commit
that referenced
this pull request
Oct 28, 2026
…6-slice4-build-manifests, #6951) Restores the approved e5a13ea content of #6943. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
squid-shepherd Bot
pushed a commit
that referenced
this pull request
Oct 28, 2026
…doomsday DE_PIMPL Impl -> Base) (Part of #6266) (#6943) * call graph: a ctor-init entry naming a class typedef is a base call (Part of #6266) doomsday's DE_PIMPL heads `Impl : Private<C>`, whose `typedef Private<P> Base` a ctor-init `: Base(i)` names. The resolver pruned it when no class `Base` was include-visible (an unrelated LogEntry::Arg::Base exists), and the oracle's text view read it as a data member where tree-sitter reads a base. The engine now collects the repo's class-typedef names and keeps their entries; the oracle's text view reads any declared base for a constructor of no declared class. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * call graph: a class-typedef name that is also a data member is no base alias; bless doomsday (Part of #6266) gzdoom's `PType *Type;` beside rapidjson's `typedef T Type` made `PSymbolType(..) : Type(ty)` a base call (4 new engine-only edges). A name some class declares as a field is left out of the alias set. doomsday golden: callgraph misses 46 -> 24, engine-only 67 -> 44; gzdoom unchanged. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * aperture: a build manifest holds source for the generated-docs shield, so its toggle definitions reach the scan (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * callgraph oracle: a body tree-sitter closed early before an #ifdef-wrapped statement is read as text (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * aperture: ruff format the build-manifest condition (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * doom rosetta: bless doomsday (build manifests reach the scan; callgraph misses 24 -> 7) (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * change_classifier: regenerate docs_read_by_tests.txt (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> * Revert slice 4 commits pushed here by mistake (they live on churn/6266-slice4-build-manifests, #6951) Restores the approved e5a13ea content of #6943. 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]>
…lden to be re-blessed)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
squid-protocol
added a commit
that referenced
this pull request
Oct 29, 2026
…, not a real failure (#6919) (#6959) * ci_digest: equivalence-e2e and crucible roll-ups take their parts' triage (#6919) Since ci-gate holds a merge on any red check, a roll-up missing from PARTS turned a cancelled shard into a real failure: #6951's equivalence-e2e read `real` while its cancelled db2 and shard 3/3 read `infra`. PARTS gains equivalence-e2e (shard N/M, db2, plan, tested-tree) and crucible (measure (shard N/M), runner-tests, plan); a new test fails when any pull_request job that summarises a matrix job is missing from PARTS (three non-gating writers are listed as exempt). Checked against #6951 live: main triages equivalence-e2e `real`, this branch `infra`. Co-Authored-By: Claude Opus 5.5 <[email protected]> * ci_digest: name no test file in the PARTS comment, no doc path in the test (change classifier reach) The change classifier and the ground-truth planner read paths in source as reach: a test file named in ci_digest.py made the planner run test_ci_digest for ground-truth, and docs/ci.md named in the test made it a reader of that doc. pr_gates --fast: 9/9. 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]>
3 of 5 tasks
…ngine-only 16) (Part of #6266) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #6266, slice 4. Stacked on #6943 (slice 3b, still open): the first commits here are its; review only the last four (
221a8c13e,832b737a8,cd7960748, the doomsday bless, plus the classifier regen).File-cap exception: stacked on #6943, so the diff against main also counts #6943's 3 hand-written files (
call_resolver.py,galaxyscope.py,test_cpp_ctor_init_span_6266.py); slice 4's own are 4 (aperture.py,test_aperture.py,callgraph_oracle.py,test_callgraph_oracle.py), the diff against #6943's head. The count falls to 4 when #6943 merges.Changes
CMakeLists.txt,Makefile,meson.build,BUILD.bazel) counts as source for the generated-docs shield (Aperture Gate 4.2: one generated-docs HTML file blocks its whole parent directory (doomsday: 1,170 source files, order-dependent) #5458)..txtis a doc-asset extension, so doomsday's root, which holds a doxygen header, was read as a generated-docs dir and every descendant dir without direct source was blocked, build manifests included. The-DDE_HAVE_EAX2/-D__CLIENT__=1definitions never reached the Siblings of #5630: call-graph clean-file disagreements vs libclang (puredoom triage) #6770 unset-toggle table, so live code was blanked. Doomsday oracle misses 24 -> 7, recall 0.9997 -> 0.9999.#ifdef-wrapped statement (doomsdayDD_Win32_Init, itself inside the file's#if), is now read as text. Scored engine-only absent 41 -> 39.test_aperture_build_manifest_is_source_for_the_docs_shield,test_a_body_closed_early_before_an_ifdef_wrapped_statement_reads_the_rest_as_text.Golden drift (doomsday only)
doom_rosetta_check.pyover all 44 ports: only doomsday drifts (1376 differences: 1306 exclusion-table entries, 55 files, summary counts). Cause: the shield no longer drops the project root's descendants, so +55 scanned files (+31 functions, +10k LOC). Crucible (both legs) passes with zero drift.LogEntryStager
Of the 10 edges, the
DD_Win32_Initones were the oracle truncation above; the rest aremacro-expansion(LOG_*->LogEntryStager), which the scorer does not count. Doomsday still failscallgraph: 7 misses, 39 absent + 3 comment/string engine-only.Class / Sibling gaps
Class: a build or config file blocked from the scan because its extension reads as a doc asset or its directory as generated docs, hiding toggle definitions from the unset-toggle table. Sibling gaps: other manifest names not in the set (
*.cmake,configure.ac,.pro) are not covered and were not measured; remaining doomsday shapes:NativeFunctionSpec(6),Section(2),Basealias (packageswidget.cppImpl), nested-argument, assignment-rhs, condition/return, plus other ports' callgraph misses.Gates
pr_gates --fast9/9 afterchange_classifier --write;audit_checkclear; ratchets 8/9:fact-crosscheckfails with a newestate-crucibletranslator refusal (apps/INVT/cobol/INVTRLD.cbl), a COBOL path none of these changes touch; not checked against an unchanged-main control.Lessons for agents
doom_rosetta_check.pytakes a heavy slot itself: underheavy-run.shit deadlocks silently (idle, empty log). Run it bare.explain_callcan say "matches the scan's rows" for a call the engine never saw; check the unset-toggle table andexcluded_artifactsfor a blocked build file.Checklist: partial [c:0254d813] --
callgraphstill in doomsday'sexpected_fails(7 misses, 42 scored engine-only left)Checklist: partial [c:84996f5e] -- seven-check PERFECT count not posted
🤖 Generated with Claude Code