Skip to content

scanner: era tags per program in the feature inventory and support matrix (Part of #5117) - #5150

Merged
squid-protocol merged 2 commits into
mainfrom
churn/5117-era-tags
Oct 14, 2026
Merged

squid-protocol merged 2 commits into
mainfrom
churn/5117-era-tags

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5117 (6 of the issue's 18 corpora are reachable as burned inventories; see below).

What

Each program gets an era tag from its own source: tests/tools/era_tags.py (tag_program) returns era (latest era any tell reaches), earliest, mixed, and the tells used (count, first line). Surfaced in:

  • scanner output: new eras section of feature_inventory.py (per program + estate summary), schema extended, the 6 burned fixtures regenerated. Tagged from raw text, so programs the parser refuses are tagged too.
  • support matrix: per-estate "Era" section (distribution, share, tells used, mixed programs with their tells); --json carries it.

Tells (detect only; no macro-table parsing #5120, no macro-level refusal #5121): era 0 DFHxx TYPE= macro calls, CSA/TCA; 1 BLL cells, SERVICE RELOAD, HANDLE CONDITION/AID/ABEND, DL/I, LANGLVL(1); 2 ADDRESS OF / SET ADDRESS, RESP/RESP2, EXEC SQL, DPL (LINK SYSID), CMPR2, LANGLVL(2); 3 MQ calls, EXCI, 3270 bridge, LE callables; 4 channels/containers, WEB/SOAP, JSON/XML, RUN TRANSID/FETCH, named counters, ARITH(EXTEND).

Design note: the issue says "RESP -> 2+", "EXEC SQL -> 2+" so these are floors: they raise the era but never make a program "mixed". Only period-bound tells (macros, BLL, HANDLE CONDITION, DL/I, CMPR2, LANGLVL) set earliest; a period-bound tell older than the era = mixed (layered code).

Class table

member status
each tell of eras 0-4 (24 tells) in this PR, one fixture each (test_every_tell_has_a_fixture keeps tells and fixtures in step)
one fixture per era + mixed program + floors-only-not-mixed in this PR
text classes: comment// lines, string literals, sequence area / cols 73-80, lowercase, free form, multi-line EXEC, hyphenated names, NOCMPR2 in this PR
program the parser refuses (CopyNotFound) tagged (test)
tell inside a copybook not seen (program text only) -> sibling

Distribution over the burned estates (programs per era; none = no tell; mixed)

estate programs 0 1 2 3 4 none mixed
aws-mainframe-modernization-carddemo 44 0 5 22 15 0 2 8
cics-banking-sample-application-cbsa 31 0 0 22 1 6 2 7
cics-genapp 31 0 4 24 0 3 0 1
cics-async-api-credit-card-application-example 10 0 0 0 0 7 3 0
dbb-mortgage-application 6 0 0 2 0 1 3 0
zecs 5 0 0 0 0 4 1 1

Outside the inventory set (ad hoc era_tags scan, not committed): cics-crucible 46 programs (1: 5, 2: 26, 4: 6, none 9, mixed 6); estate-crucible 40 (2: 4, none 36); dsf 7 (1: 1); zopeneditor-sample 5 (none). The other of the issue's 18 corpora have no committed inventory here. No era 0 anywhere: no burned corpus has macro-level code (expected; that is what #5120/#5121 are for).

Evidence

  • test_era_tags.py (48), test_feature_inventory.py, test_support_matrix.py: 85 passed.
  • pr_gates --fast 6/6, --ratchets 7/7 pass. Golden masters not touched (no engine change).
  • Regenerating the fixtures also refreshed some stale non-era content (e.g. zecs statements.unknown 7 -> 0): the unmodified HEAD scanner produces the same, so that drift predates this PR (the CLI check is nightly-only).

Cross-repo

None.

Sibling gaps

Tells inside copybooks; #5119 (BLL/SERVICE RELOAD in det), #5118 (estate-crucible era profiles), #5120, #5121; consumers #4724/#4727.

🤖 Generated with Claude Code

@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 14, 2026 21:30
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

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