Skip to content

COPY census: parent-dir library members, procedural fragments, vendored class (Part of #8111) - #8155

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/8111-20261109T0150Z
Nov 9, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/8111-20261109T0150Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8111

Checklist: partial -- census run over burned estates + non-candidate corpus and its resolver classes fixed; preflight check 6 was already wired (#8123). Left: OF/IN lib qualified cases (tied to open #8153) and 2 ambiguous plain.

What

Census over burned + non-candidate corpus_cobol found 11 misses (counts only, excluded candidates/census/trialled by basename), all extensionless, all in one repo:

  • 9 sit in a vendored directory (NIST suite) that aperture deliberately drops: census-side fix, a new vendored class outside the gate (miss + different).
  • 2 library members in a directory with no COBOL siblings: language_lens now checks the parent directory too, and accepts a procedural fragment (a paragraph plus 2 verb statements) as library-dir evidence.

Class / Sibling gaps

class before after cause
miss 11 0 vendored (census) / parent-dir sibling + procedural body (lens)
vendored - 8 importer aperture drops the dir
different 0 0
ambiguous 2 2 plain, no SYSLIB order: stated refusal
neither 506 506 490 absent, 16 qualified (#8153)

Sibling gaps: qualified OF/IN lib (16 non-candidate, 1 burned) waits on #8153; ambiguous plain 2 is a refusal.

Tests / gates

New tests/cobol_mainframe/test_copy_library_sibling_8111.py (lens positives and negatives, census vendored). pr_gates --fast 9/9, --ratchets 9/9, audit_check clear, crucible_check zero golden drift. Overlap with #8153: none in copy_libraries.py / network_risk_sensor.py.

Lessons for agents

  • A census miss can be a directory aperture drops (VendorDirectoryDetector.is_vendored): probe it before changing the resolver.
  • COBOL Area A is 7 spaces: a paragraph regex needs {1,11} leading blanks, not {1,6}.

🤖 Generated with Claude Code

…gments resolve; vendored importers counted apart (Part of #8111)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 9, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 9, 2026 02:30
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Nov 9, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

PR #8155 @ 4293701: 1 failed check(s)

== shard 2 (1669474 LOC) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/42551332884/job/128947657799
repro: python tests/tools/pr_gates.py --fast
failing tests: tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[gzdoom]
errors:
E AssertionError:
tests/doom_rosetta/test_doom_rosetta.py:47: AssertionError
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[gzdoom] - AssertionError:
##[error]Process completed with exit code 1.
log tail:
FAILED tests/doom_rosetta/test_doom_rosetta.py::test_port_matches_golden[gzdoom] - AssertionError:
gzdoom: 2 difference(s) from the golden
summary.ctags_functions: 18163 -> 18171
summary.files_func_mismatch: 159 -> 156
(bless an intended change with tests/tools/doom_rosetta_check.py --update --yes)
assert not 'gzdoom: 2 difference(s) from the golden\n summary.ctags_functions: 18163 -> 18171\n summary.files_func_mismatch: 159 -> 156'
1 failed, 10 passed, 26 deselected in 217.26s (0:03:37)
##[error]Process completed with exit code 1.
##[group]Run s=$(( $(date +%s) - T0 ))
s=$(( $(date +%s) - T0 ))
echo "shard 2 (1669474 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: 1794191616
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.0
Temporarily overriding HOME='/home/runner/work/_temp/0ec4677b-294f-4717-941c-a7b4b8ace196' 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 9, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 9, 2026 04:20
@squid-shepherd squid-shepherd Bot added shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). 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 9, 2026
@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 9, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (d7917e8) 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.

1 similar comment
@squid-shepherd

squid-shepherd Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (d7917e8) 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 9, 2026 04:21
auto-merge was automatically disabled November 9, 2026 04:21

Pull request was converted to draft

@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:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md labels Nov 9, 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 9, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 9, 2026 04:23
@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 9, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

1 similar comment
@squid-shepherd

squid-shepherd Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 9, 2026 04:24
@squid-shepherd

squid-shepherd Bot commented Nov 9, 2026

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 9, 2026
@squid-shepherd
squid-shepherd Bot merged commit c235996 into main Nov 9, 2026
125 of 160 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/8111-20261109T0150Z branch November 9, 2026 13:14
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

Development

Successfully merging this pull request may close these issues.

1 participant