Repository navigation
Walk: prune directories by path rules, not the file gate (Part of #8074) - #8079
Conversation
The no-.git fallback walk judged directories with evaluate_path_integrity, so a z/OS dataset-name directory (APP.PROD.COPYLIB) hit the unsupported- extension gate and its subtree was pruned silently. No .cpy reached the census, COPY stayed unresolved, and the det translator raised CopyUnresolved. Directories now go through evaluate_dir_integrity (ignore rules only); files are still judged individually, matching the git census. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
PR #8079 @ bd99a4a: 2 failed check(s) == crucible (failure) -- real == runner-tests (failure) -- real |
|
No description provided. |
|
No description provided. |
Part of #8074 (blind trial #8073 top gap: COPY unresolved although the estate holds the member).
Root cause
The no-
.git_fallback_filesystem_walkjudged DIRECTORIES with the file gateevaluate_path_integrity. A z/OS dataset-name directory (FAKE.APP.COPYLIB) has the "extension".copylib, which is not whitelisted, so Gate 1.5 blocked the directory and the subtree was pruned silently. No.cpyreached the census, so no COPY resolved and the det translator raisedCopyUnresolved..COBOL,.JCLand.BMSdirectories survived only because those are whitelisted extensions. The gitls-filescensus judges files individually, so the two paths disagreed.Fix
New
ApertureFilter.evaluate_dir_integrity(ignore rules only: ignored, hidden, vendored, virtualenv, generated-docs). The walk uses it fordirs[:]. Files are still judged byevaluate_path_integrity. Other callers (galaxyscope ~720, ~4121,vault_sentinel.py:125) pass files and are unchanged.Tests
tests/core_engine/test_fallback_walk_dataset_dirs_8074.py: 8 dataset suffixes, dotted dirs (v1.2,a.b.c,x.exe), walk vs git-census parity, ignored dirs still pruned, denied-extension file inside a dataset dir still excluded.tests/cobol_mainframe/test_copy_in_dataset_dirs_8074.py: one realscan_to_dbon an authored fixture; the copybook is inir.filesandengine_copies_from_irresolves it.pytestfrom/tmp: 19 passed.field_testing.json(report regenerated).Gates run
pr_gates --fast9/9;audit_check.pyclear;ruff format --checkclean;crucible_checkviagolden-lock.shboth legs PASS (no bless needed);ground_truth_ledger.py checkclean;test_galaxyscope+test_aperturepass.Blind re-measure (counts only,
det_survey.py --no-compile, 58 programs)The survey showed 29 refused at T0, not the issue's 21. Burned-estate no-regression is covered by the ledger and golden checks; no separate burned det survey was run.
Remaining slices
Sibling gaps (no issues filed)
.DBRMLIBmembers.--copy-librariesdeclaration handling.CopyUnresolvedmessage does not name a pruned directory.Cross-repo
No companion PR. The blind estate re-measure is local evidence only.
Lessons for agents
Orchestrator(root, {})has empty language definitions, so nothing is whitelisted; tests need realLANGUAGE_DEFINITIONSandAPERTURE_CONFIG.🤖 Generated with Claude Code