Skip to content

era tags: counts-only era distribution for non-burned estates (Part of #5117) - #5215

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5117-20261015T2144Z
Oct 15, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5117-20261015T2144Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5117.

What

  • tests/tools/era_distribution.py: scans a non-burned estate with feature_inventory.scan_estate (same tagger + copybook pass as the burned ones) and keeps only summarise's aggregate. Writes tests/fixtures/era_distribution/summary.json (whitelisted in .gitignore).
  • support_matrix.py: "Era, non-burned estates (counts only)" table; non_burned_eras JSON key only when non-empty.
  • feature_inventory.py: a program whose parse raises something other than CopyNotFound/MacroLevelCics (e.g. NotCobol, an ISPF screen saved as .cbl in a census clone) crashed the whole scan; it is now listed under unparsed_programs (era-tagged already).
  • docs/language_status/feature_inventory.md: "Estates not covered" updated.

Policy call (owner please confirm)

mainframe-evidence-policy.md §2/§3: non-burned and blind census repos keep first-contact numbers and are counted by tools only. So no per-program inventory is committed for them: counts only (no program names, tells per program, lines or source), census clones under opaque census-<sha256(name)[:6]> labels, nothing opened or read. If the owner wants even counts withheld for census clones, drop those entries from summary.json.

Distribution (programs per era; counts only)

estate programs 0 1 2 3 4 none mixed
cics-crucible 46 0 5 26 0 6 9 6
dsf 7 0 1 0 0 0 6 0
zopeneditor-sample 5 0 0 0 0 0 5 0
census-beeb9c 13 0 0 13 0 0 0 0
census-debd0e 12 0 0 8 0 0 4 0
census-50d903 5 0 0 0 0 5 0 0
census-4ae3ed 2 0 0 0 0 2 0 0
census-8b1e76 2 0 0 1 0 1 0 1
census-dbb62f 2 0 1 0 0 1 0 0
census-d7f710 2 0 0 0 0 0 2 0
census-032982 1 0 0 1 0 0 0 0
census-37151f 1 0 0 1 0 0 0 0

Together with the 6 burned inventories (#5150/#5194) that is 18 estates. Still no era 0 or 3-only program anywhere.

Is #5117 acceptance met?

Not fully, and not closable by this PR: "the 18 corpora's distribution reported in the PR" has no defined 18-set in the repo. The 6 burned + these 12 are the 18 reachable on the box; the owner should confirm that is the intended set. Estate-crucible (40 programs) is not on this box's pinned path, so it is not in the table.

Evidence

  • test_era_distribution.py (new, 10), test_era_tags, test_feature_inventory, test_support_matrix: 131 passed, 1 skipped.
  • audit_check.py all clear; pr_gates --fast 6/6; --ratchets 8 pass, 0 fail, 0 skipped.
  • Burned fixtures unchanged (no --all-burned --check diff expected: only an exception path added). No engine change, no golden bless, no det code.

Cross-repo

None.

Sibling gaps

Lessons for agents

  • feature_inventory.scan_estate on an unfamiliar estate can die on one .cbl that is not COBOL (ISPF screen dump); catch broadly in process_program.
  • Non-burned estates: commit aggregates only, opaque labels.

🤖 Generated with Claude Code

…ory survives a not-COBOL member (Part of #5117)

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

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 15, 2026 22:02
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 15, 2026 22:05
@squid-protocol
squid-protocol merged commit 8b5b50d into main Oct 15, 2026
43 checks passed
@squid-protocol
squid-protocol deleted the churn/5117-20261015T2144Z branch October 15, 2026 22:35
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