Skip to content

Aperture: prune ambiguous-named directories (log, classes, docs, ...) on evidence, record the reason (Closes #8708) - #8933

Merged
squid-shepherd[bot] merged 5 commits into
mainfrom
churn/8708-20261121T1817Z
Nov 21, 2026
Merged

squid-shepherd[bot] merged 5 commits into
mainfrom
churn/8708-20261121T1817Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Closes #8708

What changed

IGNORED_DIRECTORIES pruned by name alone, so DPDK lib/log/ and similar first-party source vanished. The ambiguous names (log, logs, classes, tmp, temp, docs, site, legal, license, licenses) are now pruned on evidence: aperture.is_noise_directory does a bounded walk and keeps the directory when any file under it is source (registered code extension, not markup/.log, or a build manifest). A pruned directory is recorded with the reason ignored directory: <name> (by-name members like node_modules get the same reason string).

  • gitgalaxy/standards/gitgalaxy_config.py: names removed from the by-name set, pointer to EVIDENCE_DIRECTORY_NAMES.
  • gitgalaxy/core/aperture.py: EVIDENCE_DIRECTORY_NAMES, is_noise_directory, _ignore_verdict (reason-bearing); _check_ignore_rules is a bool wrapper.
  • gitgalaxy/core/guidestar_lens.py: its directory walk uses the same evidence prune.
  • tests/core_engine/test_ambiguous_ignored_dirs_8708.py: 49 tests, incl. lib/log/log.c scanned and var/log/app.log skipped and recorded.
  • tests/cobol_mainframe/test_mainframe_corpus.py: one-word fix, it used tmp as its "ignored by name" example; now node_modules.

Decisions: docs is evidence-based (scanned when it holds examples/source, pruned when markup only). target stays pruned by name (Maven/Cargo output; sphinx-style fixtures are not product code).

Golden / baseline drift

Crucible: 13 differences per leg, all relabelings of exclusion reasons (unparsable_files composition, excluded-artifacts queue, gpu/llm snapshots). No file moved in or out of scope. tests/ast_accuracy_baseline.json regenerated (+2 files, +10 real functions: docs/*.py in the pinned corpus is now scanned; 0 extras, no regression). docs_read_by_tests.txt regenerated.

Cross-repo

None.

Class / Sibling gaps

Class: directory names pruned by name though real source uses them. Members fixed here: log, logs, classes, tmp, temp, docs, site, legal, license(s). Not changed: build, dist, obj, out (not evidenced in the 15 repos checked), target (decided above). chronometer.py compares ignored names case-sensitively (left as is; see Remaining slices). vault_sentinel and binary_anomaly_detector inherit the fix through _check_ignore_rules. Guidestar anchor discovery now also reads README-style anchors inside docs/ directories that hold source.

Lessons for agents

  • .log is a registered plaintext extension: "has a registered extension" is not "is source"; exclude doc/log extensions explicitly.
  • A test that needs an "ignored by name" example must use a stable one (node_modules), not an ambiguous name.
  • Moving a name out of IGNORED_DIRECTORIES moves ast_accuracy_baseline.json and docs_read_by_tests.txt; regenerate both.

Fix round

Merged main. doom-rosetta goldens (tests/golden_doom_rosetta, regenerated) drifted: (a) a bug of mine, files in the ignored set (.gitignore, LICENSE) were labelled ignored directory: <file>; they now keep the generic reason (aperture.py); (b) intended scope changes: site/, docs/ trees holding source are now scanned (e.g. edge-classic web/site/webplayer.py, sdl-doom docs/legacy_doc/* incl. a .asm that makes the directory source-bearing, so its plaintext siblings come in too). Crucible goldens re-blessed again.

Remaining slices

gitgalaxy/metrics/chronometer.py fallback walk (no-git-history path) used to prune these names by name; it now simply no longer prunes them (more walking, no scope change, goldens unchanged). Apply the same evidence prune there in a follow-up to restore the saving.

Facts checked: end-to-end scan of a temp repo gave lib/log/log.c in file_data, rte_log in function_data, var/log/app.log|Blocked (ignored directory: log) in excluded_artifacts; audit_check, pr_gates --ratchets (9/9) and pr_gates --fast (only the CI-version-skew warnings remain) pass.

🤖 Generated with Claude Code

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 21, 2026 18:49
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 21, 2026 19:09
@squid-shepherd
squid-shepherd Bot disabled auto-merge November 21, 2026 19:28
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #8933 @ 2881015: 4 failed check(s)

== shard 1 (1670027 LOC) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/44937643992/job/136951012151
repro: python tests/tools/pr_gates.py --fast
failing tests: tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[agentic-cobol-doom-cc] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[chocolate-doom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doo-cr] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doomf77] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doomsday] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[fastdoom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[kocoa-doom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[managed-doom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[nugget-doom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[prboom-plus] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[sqldoom]
errors:
E AssertionError:
tests/doom_rosetta/test_doom_rosetta.py:47: AssertionError
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[chocolate-doom] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[prboom-plus] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[managed-doom] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[fastdoom] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doomsday] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[nugget-doom] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[sqldoom] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doomf77] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doo-cr] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[kocoa-doom] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[agentic-cobol-doom-cc] - AssertionError:
##[error]Process completed with exit code 1.
log tail:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[agentic-cobol-doom-cc] - AssertionError:
agentic-cobol-doom-cc: 2 difference(s) from the golden
exclusion .gitignore: reason 'Blocked (System Exclusion, Hidden Directory, or Dynamic Ignored Dir)' -> 'Blocked (ignored directory: .gitignore)'
exclusion LICENSE: reason 'Blocked (System Exclusion, Hidden Directory, or Dynamic Ignored Dir)' -> 'Blocked (ignored directory: LICENSE)'
(bless an intended change with tests/tools/doom_rosetta_check.py --update --yes)
assert not "agentic-cobol-doom-cc: 2 difference(s) from the golden\n exclusion .gitignore: reason 'Blocked (System Exclusion, Hi...eason 'Blocked (System Exclusion, Hidden Directory, or Dynamic Ignored Dir)' -> 'Blocked (ignored directory:
11 failed, 28 deselected in 258.55s (0:04:18)
##[error]Process completed with exit code 1.
##[group]Run s=$(( $(date +%s) - T0 ))
s=$(( $(date +%s) - T0 ))
echo "shard 1 (1670027 LOC): ${s}s" >> "$GITHUB_STEP_SUMMARY"
shell: /usr/bin/bash -e {0}
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
DOOM_SPEEDRUN_WORK: /home/runner/work/gitgalaxy/gitgalaxy/../doom-work
DOOM_ROSETTA_PORTS: agentic-cobol-doom-cc,chocolate-doom,doo-cr,doomf77,doomsday,fastdoom,kocoa-doom,managed-doom,nugget-doom,prboom-plus,sqldoom
T0: 1795288274
pythonLocation: /opt/hostedtoolcache/Python/3.12.16/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib
##[endgroup]
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.1
Temporarily overriding HOME='/home/runner/work/_temp/bf1d6bbe-7331-4a9e-8b8b-c1f3e3798193' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

== shard 2 (1669485 LOC) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/44937643992/job/136951012095
repro: python tests/tools/pr_gates.py --fast
failing tests: tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[agentic-cobol-doom-codex] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[dartdoom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doomgeneric] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[edge-classic] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[fps-cob] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[gzdoom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[mood] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[odamex] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[room4doom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[rust-doom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[sdl-doom]
errors:
E AssertionError:
tests/doom_rosetta/test_doom_rosetta.py:47: AssertionError
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doomgeneric] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[odamex] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[gzdoom] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[room4doom] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[rust-doom] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[edge-classic] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[sdl-doom] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[dartdoom] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[fps-cob] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[agentic-cobol-doom-codex] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[mood] - AssertionError:
##[error]Process completed with exit code 1.
log tail:
exclusion logs/ftp.log: reason 'Blocked (System Exclusion, Hidden Directory, or Dynamic Ignored Dir)' -> 'Blocked (ignored directory: logs)'
exclusion logs/simulator.log: reason 'Blocked (System Exclusion, Hidden Directory, or Dynamic Ignored Dir)' -> 'Blocked (ignored directory: logs)'
exclusion logs/sqlite.log: reason 'Blocked (System Exclusion, Hidden Directory, or Dynamic Ignored Dir)' -> 'Blocked (ignored directory: logs)'
exclusion logs/web.log: reason 'Blocked (System Exclusion, Hidden Directory, or Dynamic Ignored Dir)' -> 'Blocked (ignored directory: logs)'
(bless an intended change with tests/tools/doom_rosetta_check.py --update --yes)
assert not "mood: 13 difference(s) from the golden\n exclusion build_system/doom_build/linuxdoom-1.10/CVS/Entries: reason 'Block...: reason 'Blocked (System Exclusion, Hidden Directory, or Dynamic Ignored Dir)' -> 'Blocked (ignored directo
11 failed, 28 deselected in 245.59s (0:04:05)
##[error]Process completed with exit code 1.
##[group]Run s=$(( $(date +%s) - T0 ))
s=$(( $(date +%s) - T0 ))
echo "shard 2 (1669485 LOC): ${s}s" >> "$GITHUB_STEP_SUMMARY"
shell: /usr/bin/bash -e {0}
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
DOOM_SPEEDRUN_WORK: /home/runner/work/gitgalaxy/gitgalaxy/../doom-work
DOOM_ROSETTA_PORTS: agentic-cobol-doom-codex,dartdoom,doomgeneric,edge-classic,fps-cob,gzdoom,mood,odamex,room4doom,rust-doom,sdl-doom
T0: 1795288103
pythonLocation: /opt/hostedtoolcache/Python/3.12.16/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib
##[endgroup]
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.1
Temporarily overriding HOME='/home/runner/work/_temp/ef190422-3efe-4a37-baba-61077080def4' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

== shard 3 (1670389 LOC) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/44937643992/job/136951012068
repro: python tests/tools/pr_gates.py --fast
failing tests: tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[cssdoom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom-ascii] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom-ios] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom-scheme] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom-wasm] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom3do] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[dsda-doom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[eternity] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[puredoom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[woof]
errors:
E AssertionError:
tests/doom_rosetta/test_doom_rosetta.py:47: AssertionError
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[dsda-doom] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[woof] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[eternity] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom-wasm] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[puredoom] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom-ios] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom-ascii] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom3do] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom-scheme] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[cssdoom] - AssertionError:
##[error]Process completed with exit code 1.
log tail:
assert not "doom-scheme: 3 difference(s) from the golden\n exclusion .gitignore: reason 'Blocked (System Exclusion, Hidden Direc...eason 'Blocked (System Exclusion, Hidden Directory, or Dynamic Ignored Dir)' -> 'Blocked (ignored directory:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[cssdoom] - AssertionError:
cssdoom: 1 difference(s) from the golden
exclusion .gitignore: reason 'Blocked (System Exclusion, Hidden Directory, or Dynamic Ignored Dir)' -> 'Blocked (ignored directory: .gitignore)'
(bless an intended change with tests/tools/doom_rosetta_check.py --update --yes)
assert not "cssdoom: 1 difference(s) from the golden\n exclusion .gitignore: reason 'Blocked (System Exclusion, Hidden Directory, or Dynamic Ignored Dir)' -> 'Blocked (ignored directory: .gitignore)'"
10 failed, 1 passed, 28 deselected in 270.24s (0:04:30)
##[error]Process completed with exit code 1.
##[group]Run s=$(( $(date +%s) - T0 ))
s=$(( $(date +%s) - T0 ))
echo "shard 3 (1670389 LOC): ${s}s" >> "$GITHUB_STEP_SUMMARY"
shell: /usr/bin/bash -e {0}
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
DOOM_SPEEDRUN_WORK: /home/runner/work/gitgalaxy/gitgalaxy/../doom-work
DOOM_ROSETTA_PORTS: cssdoom,doom-ascii,doom-ios,doom-scheme,doom-wasm,doom3-bfg,doom3do,dsda-doom,eternity,puredoom,woof
T0: 1795288240
pythonLocation: /opt/hostedtoolcache/Python/3.12.16/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib
##[endgroup]
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.1
Temporarily overriding HOME='/home/runner/work/_temp/4fab1585-9429-49ad-9af5-1b6f79564dc3' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

== shard 4 (1669847 LOC) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/44937643992/job/136951012073
repro: python tests/tools/pr_gates.py --fast
failing tests: tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[crispy-doom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom-fx] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doomretro] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[freedoom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[fsharp-doom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[gore] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[helion] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[linuxdoom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[mochadoom] tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[srb2]
errors:
E AssertionError:
tests/doom_rosetta/test_doom_rosetta.py:47: AssertionError
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[linuxdoom] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[crispy-doom] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doomretro] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[gore] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[mochadoom] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[srb2] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[freedoom] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[helion] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[fsharp-doom] - AssertionError:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[doom-fx] - AssertionError:
##[error]Process completed with exit code 1.
log tail:
exclusion LICENSE: reason 'Blocked (System Exclusion, Hidden Directory, or Dynamic Ignored Dir)' -> 'Blocked (ignored directory: LICENSE)'
exclusion docs/sfx.guide: reason 'Blocked (System Exclusion, Hidden Directory, or Dynamic Ignored Dir)' -> 'Blocked (ignored directory: docs)'
exclusion docs/sfx.txt: reason 'Blocked (System Exclusion, Hidden Directory, or Dynamic Ignored Dir)' -> 'Blocked (ignored directory: docs)'
exclusion make/DEBUG: reason 'Blocked (System Exclusion, Hidden Directory, or Dynamic Ignored Dir)' -> 'Blocked (ignored directory: DEBUG)'
(bless an intended change with tests/tools/doom_rosetta_check.py --update --yes)
assert not "doom-fx: 4 difference(s) from the golden\n exclusion LICENSE: reason 'Blocked (System Exclusion, Hidden Directory, o... reason 'Blocked (System Exclusion, Hidden Directory, or Dynamic Ignored Dir)' -> 'Blocked (ignored director
10 failed, 1 passed, 28 deselected in 164.02s (0:02:44)
##[error]Process completed with exit code 1.
##[group]Run s=$(( $(date +%s) - T0 ))
s=$(( $(date +%s) - T0 ))
echo "shard 4 (1669847 LOC): ${s}s" >> "$GITHUB_STEP_SUMMARY"
shell: /usr/bin/bash -e {0}
env:
GITGALAXY_LICENSE_KEY: COMMUNITY_FREE_TIER
DOOM_SPEEDRUN_WORK: /home/runner/work/gitgalaxy/gitgalaxy/../doom-work
DOOM_ROSETTA_PORTS: crispy-doom,doom-fx,doomretro,freedoom,fsharp-doom,gore,helion,inter-doom,linuxdoom,mochadoom,srb2
T0: 1795288168
pythonLocation: /opt/hostedtoolcache/Python/3.12.16/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.16/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.16/x64/lib
##[endgroup]
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.1
Temporarily overriding HOME='/home/runner/work/_temp/aea670b2-2b8e-4411-b21a-688ade55baf7' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-shepherd squid-shepherd Bot added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 21, 2026
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 21, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (528fed9) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then). Until then it is a draft and runs the cheap audits only; re-adding the label marks it ready, which starts the full set on that head.

@squid-shepherd
squid-shepherd Bot marked this pull request as draft November 21, 2026 19:57
@squid-shepherd squid-shepherd Bot added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Nov 21, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Nov 21, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 21, 2026 20:05
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 21, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 21, 2026 20:20
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd squid-shepherd Bot removed the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 21, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot merged commit 505e14a into main Nov 21, 2026
128 of 164 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8708-20261121T1817Z branch November 21, 2026 22:51
squid-protocol added a commit that referenced this pull request Nov 22, 2026
…ocs/code (Part of #8962)

#8933 no longer prunes docs/ without evidence, so the audit's pinned libuv now scans docs/code/*.c, the example programs of its documentation (370 -> 455 files, 3,281 -> 3,399 functions; hiredis is unchanged). Measured with libclang 18.1.1 on the pinned corpus: before #8933 the gate read resolution recall 55.2 (OK); at #8933 it reads 54.6 (REGRESSION vs the 55.3 baseline).

Regenerated with tests/tools/call_graph_resolution.py c --regenerate; four fields move: confident_judged 6756 -> 6875, confident_unmapped 310 -> 313, recall_pct 50.8 -> 51.7, resolution_recall_pct 55.3 -> 54.6. Precision is unchanged at 100%. The example programs call libuv's public API from main(), so more of the judged calls are ones the engine resolves to a callee outside the file, which is why resolution recall dips while call recall rises.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018srRvejJbzNR67xR3D2VxV
squid-shepherd Bot pushed a commit that referenced this pull request Nov 22, 2026
… C call baseline after #8933 (Part of #8962) (#8970)

* import-graph audit: resolve tsconfig/jsconfig `paths` aliases (Part of #8962)

#8933 stopped pruning directories such as docs/ without evidence, so the audit's pinned zod now scans packages/docs, zod's Next.js docs app. Its imports use `@/components/tabs` through tsconfig `"@/*": ["./*"]`. The engine's edges to those files are correct, but the audit's TypeScript rule said tsconfig aliases are "not scored", so it counted 32 correct edges as false positives and typescript import precision fell 100.0 -> 96.3 (the gate red on every PR since 5:51 PM ET 11-21).

The parser side now reads the nearest tsconfig.json / jsconfig.json: compilerOptions.paths, relative to baseUrl or the config's directory, comments and trailing commas allowed, a child's `paths` replacing its relative `extends` parent's, an exact key beating a wildcard and the longest prefix winning. A mapping that names nothing in the repo (a generated target) stays unscored, like any external import.

Measured on the pinned zod: before 96.3% precision / 100.0% recall (36 FP); after 99.6% / 99.8% (4 FP, 2 FN), gate OK. The two false negatives are alias imports the audit can now see and the engine misses.

Three tests: alias resolution with an exact key and a generated target, baseUrl + extends + comments + longest prefix, and a config without paths. This does NOT address the separate C call-recall dip (55.3 -> 54.6) in the same window.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018srRvejJbzNR67xR3D2VxV

* call-graph audit: re-bless the C baseline after #8933 scans libuv's docs/code (Part of #8962)

#8933 no longer prunes docs/ without evidence, so the audit's pinned libuv now scans docs/code/*.c, the example programs of its documentation (370 -> 455 files, 3,281 -> 3,399 functions; hiredis is unchanged). Measured with libclang 18.1.1 on the pinned corpus: before #8933 the gate read resolution recall 55.2 (OK); at #8933 it reads 54.6 (REGRESSION vs the 55.3 baseline).

Regenerated with tests/tools/call_graph_resolution.py c --regenerate; four fields move: confident_judged 6756 -> 6875, confident_unmapped 310 -> 313, recall_pct 50.8 -> 51.7, resolution_recall_pct 55.3 -> 54.6. Precision is unchanged at 100%. The example programs call libuv's public API from main(), so more of the judged calls are ones the engine resolves to a callee outside the file, which is why resolution recall dips while call recall rises.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018srRvejJbzNR67xR3D2VxV

---------

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
squid-shepherd Bot pushed a commit that referenced this pull request Nov 22, 2026
…tar lens, ignored-dir config) (Part of #8962) (#9028)

#8933 changed which files a scan sees and moved two graph-accuracy baselines,
but none of its files were in the audit's PR filter, so the audit never ran on
it and every later PR that triggered the audit went red on main's numbers.

Co-authored-by: Joe Esquibel <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

1 participant