Repository navigation
Description
Siblings of #8111 / #8112 / #8074: source-layout ("plumbing") classes not yet built or tested, to close before blind draw 2 (#8073 lineage, #3803).
Why
Blind estate 1 started at 0 / 29 whole. 28 of the 29 first-contact misses were plumbing: copybooks not found, and listings counted as programs. Every lesson became a standing check: the COPY layout matrix (#8118), the independent copy-resolution census as preflight check 6 (#8111), the listing and duplicate rules (#8112), and the clone-evidence guard (#8113).
Those checks only exercise layouts already seen in the census, burned and non-candidate repos. A layout none of them contains is first met at a blind draw's first contact, and costs points there. This issue pre-builds the plausible ones with authored fixtures only. Nobody reads, clones or counts a remaining candidate, because that spends it.
Audit 2026-11-13 (read from origin/main): the engine (GalaxyIR.copy_resolution, core/copy_libraries.py) is the single authority for COPY resolution. det/source.py _search_member is a fallback used only when the engine has no answer. The estate-crucible plants H-0001 to H-0058 cover sequence areas, COPY forms, SYSLIB collisions, EBCDIC (H-0035 / H-0036), tabs, duplicate PROGRAM-IDs and DCLGEN. They cover none of the classes below except partly EBCDIC.
Checklist (each line one PR, at most 5 hand-written files, invented member names)
- Member extensions not admitted:
.lib,.cobcpy,.cobcopy,.cpb(language_lens.pysays the aperture does not admit the first three;.cpbis untested). Admit them where the body is COBOL, and add matrix rows totest_copy_layout_matrix_8074.py(or a sibling_8111test). (Admit .lib/.cobcpy/.cobcopy/.cpb COPY members when the body is COBOL (Part of #8412) #8416) - det fallback search agrees with the engine:
det/source.py_search_membertries"", .cpy, .copy, .dcl, .cbl and .cob, while the engine also takes .cobol, .pco, .cut and body-judged .inc. Align them, or prove by test that the fallback is never reached for an estate member. (Test: the det COPY fallback search is never reached for an estate member (Part of #8412) #8415) - Archived members: zip / tar / XMIT / TERSE / PDS-unload files committed in a repo hide their members from the engine and from the independent search alike, so a program would be mislabelled a "clone defect". Add a preflight finding that counts archive files per repo (count only, never open), an authored zip fixture, and the rule that a clone-defect label is refused while an archive is present (rule 10). Unpacking can come later, as a separate line.
- Undeclared EBCDIC: without
--source-encoding,source_text.pyfalls through to a cp1252 / Latin-1 guess that produces garbage silently. Add an EBCDIC sniff (byte-distribution or code-page markers) that raises a named finding when no encoding is declared, with an authored EBCDIC fixture. (Name undeclared raw EBCDIC instead of decoding it silently as cp1252 (Part of #8412) #8559) - RECFM=V exports: members carrying RDW length prefixes are not handled (no code hits). Detect them and either decode or refuse them by name, with an authored fixture. (Census: a clone holding a RECFM=V export never earns the clone-defect label (Part of #8412) #8839)
- zapp.yaml copy paths: Z Open Editor property groups (zopeneditor-sample is a development estate) name the SYSLIB order. Read them into a
copy_librariesdeclaration, so same-name members resolve in declared order instead of being refused as ambiguous. (zapp.yaml named COBOL libraries: COPY x IN MYLIB resolves in declared directories (Part of #8412) #8850) - IBM DBB
application-conf/file.propertiescopy paths: the same, for DBB-built estates (dbb-mortgage-application is a development estate). (DBB zBuilder dbb-app.yaml impactQueryPatterns read into the declared copy-library order (Part of #8412) #8984) - Change-management stage trees and plain listings: authored Endevor- / ChangeMan-style stage directories (the same member in several stages), and compile listings with no banner and no listing path. Check that
cics_census.listing_reasonand member claiming handle both, and add fixtures. (Feature inventory counts a member held in several stages once; production stage stays (Part of #8412) #8929) - Unclear today, verify first: do tab characters and the REPLACE statement (not COPY REPLACING) reach the det path correctly? A test either way. (det reader: the REPLACE statement is applied (REPLACE ==a== BY ==b==, REPLACE OFF), refused by name where it cannot be (Part of #8412) #9019)
- COMP items across every data boundary (the other Blind 1 / census lesson): all three first-contact data bugs had one shape, a binary or floating item crossing a boundary. These were the SQLCA held little-endian (P126, Det Db2: a SQLCA declared COMP is held big-endian, so EVALUATE SQLCODE WHEN 100 matches (Part of #8121) #8225), COMP-1 / COMP-2 as CICS DTO class properties (Blind trial #8073: EXEC CICS ASSIGN PRINSYSID and the scrubbed EXEC CICS keys (5 of 58 programs) #8076, DTO property types classify the census key: Double/Boolean no longer EXEC: other (Part of #8076) #8088), and COMP-5 in channel containers (det: COMP-5 in EXEC CICS PUT / GET CONTAINER areas under zos_comp5 (census: 3 programs, #7646 / #7709) #7845). Build ONE matrix test with authored programs: USAGE COMP / COMP-4 / BINARY / COMP-5 / COMP-1 / COMP-2 / COMP-3, signed and unsigned, with TRUNC variants, NUMPROC variants (NOPFD / PFD, and MIG where the estate's compiler has it; it decides which sign half-byte, C or F, packed and zoned items are written with and accepted as positive) and SYNC-aligned binary items inside records and groups (the slack bytes IBM inserts shift every later field; mid-record slack is refused today, det translator: mid-record SYNC slack refused in layout check mode (sibling of #5694) #6926, so those cells may stay refused by name). Run each through every boundary the det port models: COMMAREA (LINK / XCTL / RETURN), channel PUT / GET CONTAINER, TS / TD queues, a Db2 host variable and indicator, the SQLCA fields, and a file record. Each cell is equal on both runtimes or refused by name. List any cell that fails as a remaining slice. Verify first which cells existing tests already cover. (Blind trial #8073: EXEC CICS ASSIGN PRINSYSID and the scrubbed EXEC CICS keys (5 of 58 programs) #8076 closed: all three items done (ASSIGN PRINSYSID: INVREQ RESP2 5 without an MRO/LU6.1/APPC principal facility (Part of #8076) #8084, det/CICS: a program's channel DTO is no COMMAREA contract (Part of #8076) #8148))
- Copy-library order from JCL (from Batch Badlands): a compile or build job's
//SYSLIB DDconcatenation andJCLLIB ORDER=name which library wins when two hold the same member, the same question the zapp / DBB lines answer. Read them into acopy_librariesdeclaration when the estate ships its compile JCL. Use authored fixtures, with Batch Badlands' JCLLIB plant (H-0071) as the pattern. (JCL SYSLIB: an override naming fewer datasets than the proc's concatenation is not guessed (Part of #8412) #9034) - I-O-CONTROL RERUN refusal (from Batch Badlands' first run, 2026-11-04): BDLDCKP was refused whole because its DATA DIVISION did not parse; the program has I-O-CONTROL with RERUN (estate-crucible
docs/levels/batch-badlands.md). Verify on main whether it still refuses. If it does, parse RERUN / SAME AREA / MULTIPLE FILE TAPE as IBM documents them (accepted with no runtime effect, or refused by name), with an authored fixture. A blind batch program that takes checkpoints would hit this at first contact. (det layout: an I-O-CONTROL clause on the header row is read past (Part of #8412) #9047) - OWNER (licence) — product copybook stand-ins for BAQ (z/OS Connect), HWT (JSON parser) and IMS (DLI / AIB / DFS): today
gap_prevalence._COPYBOOK_FAMILIESonly names them, so a program using them is accounted, never whole. That was the census pattern (census: z/OS Connect (BAQ) and web toolkit (HWT) are IBM product copybooks; accounted 37 -> 36 (Part of #7846) #7899). Stand-ins would be written from IBM's documented layouts. Needs the owner's licence decision first (LLC: commercial use). (HWT copybook family refused by name in the gap owner table (Part of #8412) #9301)
Done when
Every line is merged or explicitly refused by name. Preflight then runs with the new findings, and the layout matrix carries the new rows.
Scope: scope:core, because blind draw 2's first contact depends on it (the trial, #3803 / #8073).
Activity
[-]Siblings of #8111: source-layout classes to pre-build before blind draw 2 (archives, EBCDIC sniff, zapp/DBB copy paths, extensions)[/-][+]Siblings of #8111: plumbing and COMP-boundary classes to pre-build before blind draw 2[/+]Test: the det COPY fallback search is never reached for an estate mem…
Aperture: lift the .lib denial only for a text body, so binaries keep…
Preflight: count archive files per census repo; an archive refuses th…
squid-protocol commentedon Nov 14, 2026
#8419 merged: a partial slice of [c:289b607d] "Archived members: zip / tar / XMIT / TERSE / PDS-unload files committed in a repo hide their members from the engine and from the independent search alike, so a program would be mislabelled a "clo"; left: 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. (promoter-bot)
Translator COPY fallback tries the body-judged member extensions; par…
Admit .lib/.cobcpy/.cobcopy/.cpb COPY members when the body is COBOL …
squid-protocol commentedon Nov 14, 2026
Churn run
8412-20261114T0056Z(host nyx) ended without a PR. PR #8416 already merged; leftover wait-loop report, nothing new. The affected-test failure also reproduces on clean main (local corpus checkouts).squid-protocol commentedon Nov 14, 2026
Churn run
8412-20261114T0311Z(host nyx) ended without a PR. Item already on main via PR #8419 (preflight count, zip fixture, rule 10 ARCHIVED). Checkbox [c:289b607d] can tick; no PR from this run. Unpacking / TERSE-XMIT magic sniff stay unbuilt, no burned estate needs them.121 remaining items
squid-protocol commentedon Nov 23, 2026
Owner ruling 2026-11-23 (licence): yes — write product copybook stand-ins for BAQ (z/OS Connect), HWT (JSON/HTTP toolkit) and IMS (DLI / AIB / DFS).
Conditions:
Owner (Joe) 2026-11-23 in chat via Claude.
squid-protocol commentedon Nov 23, 2026
Owner ruling 2026-11-23: HWT (z/OS client web enablement toolkit) is refused by name, not built.
IBM's manual (z/OS 3.2 MVS Programming: Callable Services for HLL, SA23-1377, chapter "z/OS client web enablement toolkit") gives the return codes and equate names (e.g. HWTJ_OK = 0) but not the HWTJICOB / HWTHICOB copybook layouts: COBOL field names and most constant values (e.g. HWTJ_OBJECTVALUETYPE) are not printed. A stand-in would be mostly ASSUMED, and no census program is blocked on HWT today (run 8412-20261123T2203Z).
So: keep HWT in
gap_prevalence._COPYBOOK_FAMILIESas an accounted product family, with the refusal reason "IBM does not publish the copybook layout". This line of #8412 is done once the BAQ and IMS stand-in slices merge. Revisit only if an estate needs HWT and IBM's layout becomes available.Owner (Joe) 2026-11-23 in chat via Claude.
IMS stand-in copybooks DLIUIB and AIB from the IMS 15.4 manual layout…
squid-protocol commentedon Nov 23, 2026
#9153 merged: a partial slice of [c:12056993] "OWNER (licence) — product copybook stand-ins for BAQ (z/OS Connect), HWT (JSON parser) and IMS (DLI / AIB / DFS): today
gap_prevalence._COPYBOOK_FAMILIESonly names them, so a program using them"; left: IMS stand-ins DLIUIB and AIB landed; BAQ, HWT and any DFS* member remain. (promoter-bot)squid-protocol commentedon Nov 23, 2026
Churn run
8412-20261123T2221Z(host nyx) ended without a PR. derived fixed on branch; HWT stand-ins blocked (layouts not in manual); BAQ slice already queued; no PR yetruff format and docs_read_by_tests regen (Part of #8412)
BAQRINFO stand-in copybook from the z/OS Connect manual layouts (Part…
squid-protocol commentedon Nov 25, 2026
Claimed by promoter-bot host
nyx, lease renewed 2026-11-25T14:30Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove theclaim:nyxlabel.HWT copybook family refused by name in the gap owner table: IBM does …
squid-protocol commentedon Nov 25, 2026
All checklist lines are merged or refused by name; the last one (HWT refused by name, owner licence ruling 2026-11-23) landed in #9301. Acceptance met.