Skip to content

Preflight: archive files counted per census repo; an archive refuses the clone-defect label (Part of #8412) - #8419

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8412-archives-20261113T2005Z
Nov 14, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/8412-archives-20261113T2005Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #8412 (checklist item: Archived members).

Checklist: partial [c:289b607d] -- unpacking archives (the issue says it can come later, as a separate line) and the TERSE / XMIT / PDS-unload magic-byte sniff; this PR matches by file name only.

What changed

  • cics_preflight.py: new check 7, archive files N, counted over every census repo by file name only (never opened, no name printed). Any archive is a finding.
  • gap_prevalence.py: archive_files(clone) and ARCHIVE_EXTS (.zip .tar .tgz .gz .bz2 .tbz2 .xz .7z .rar .xmi .xmit .terse .trs .pax .unload; .git skipped). verified_copybook_key / measure_census take the per-clone count: a clone holding an archive never earns the clone-defect label (rule 10) and gets ARCHIVED ("unverified (clone holds an archive)"), which is not accounted. A member the file search does find stays a resolver defect. The summary shape is unchanged when no archive exists.
  • Tests: authored zip fixture with invented names (PAYREC.cpy inside members.zip), extension matrix, preflight finding and counts-only output.

Class / Sibling gaps

Class: source-layout plumbing where members are not plain files in the clone (archived or packed members). Members: zip / tar / gz (handled here: counted, label refused), XMIT / TERSE / PDS-unload (handled by name only here; content never sniffed), unpacking an archive to expose its members (not handled).
Sibling gaps (burned-estate need): unpacking zip / tar members for the engine's resolver, no burned estate (CardDemo, CBSA, GenApp, zECS, DBB, cicsdev) ships an archive that hides a copybook, so none needs it today; TERSE / XMIT decoding, same, no burned estate needs it. Other #8412 lines (EBCDIC sniff, RECFM=V, zapp / DBB / JCL copy order, stage trees, COMP matrix, RERUN) are separate checklist lines, untouched.

Gates

audit_check.py all clear; changed test files and tree-wide guards pass (286 passed); pinned ruff format clean. No parser, aperture or language_lens change, so no golden bless (no conflict with #8416). --ratchets not run: tests/tools-only change.

Cross-repo: none.

🤖 Generated with Claude Code

…e clone-defect label (Part of #8412)

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 13, 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 13, 2026 23:53
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

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