Repository navigation
Description
Why
Today's crucible audit (#4300-#4307) could only compare counts, because the language-crucible is real public code with no complete answer key. Record layouts, paragraph extents, PERFORM/COPY edges, data flows and reachability went unchecked. That is how #4301 (paragraphs cut at a conditional GOBACK) and #4302 (main-line code in no unit) hid in CardDemo and CBSA, both keyed repos: the answer key scores unit names and lines, never extents or edges.
A synthetic estate fixes this. The generator that plants each horror writes its expected facts at the same time, so GitGalaxy can be scored by a full diff against the truth on every channel.
The repo
squid-protocol/estate-crucible (public, Apache-2.0). It is laid out like a real exported mainframe estate: applications, each with COBOL, copybooks, JCL, PROCLIB, BMS, CSD and DCLGEN, plus shared libraries.
Phases
- 0 Skeleton: repo layout, manifest and answer-key format, generator, a scorer in gitgalaxy (scan, then diff every fact channel against the key), and the 8 seed horrors from COBOL engine: a cols 1-6 sequence number is read as the operand when PERFORM / GO TO / CALL / COPY continues on the next line #4300-COBOL engine: PROGRAM-ID not recorded when its separator period is missing (
PROGRAM-ID. CBLDB22+ trailing blanks;PROGRAM-ID TEST16.) #4307. 2-3 apps. - 1 Horror catalog: every known defect as a planted case (the field-testing ledger's defects, the open engine bugs, IBM dialect corners). Each horror carries an ID, the IBM doc it cites, the planted files and the expected facts. This is regression armor. ~10 apps.
- 2 Multicultural district: Architecture: Create "multicultural-crucible" (The Ultimate i18n Evil Benchmark) #3988's traps (DBCS SO/SI, BiDi BMS, DECIMAL-POINT IS COMMA, EBCDIC collation, Nordic names) plus Japanese / full-width names (the COBOL: Japanese user-defined words are invisible -- a Japanese PROGRAM-ID drops the program from refraction; data names truncated or missing; sections missing #3955 / COBOL: full-width hyphens (- U+FF0D / − U+2212) and full-width digits still truncate Japanese data names and drop sections (#3955 follow-up) #3991 class).
- 3 Estate realism: forked programs (PROG / PROGV2 / PROGOLD), drifting copybook versions, same-named members across libraries and SYSLIB order (COBOL engine: copybook resolution in the wild (REPLACING-generated names, search-path order, same-named members) #4265), dead code, missing members, mixed fixed / free format, sequence numbers and change tags. 30+ apps.
- 4 Scale dial: the generator multiplies to 20k-100k members. This produces COBOL engine: scale validation, nothing measured above about 1,480 members #4267's measurements.
- 5 Gate: pinned like the other crucibles, scored in CI.
Ground rules
- Every planted program compiles under GnuCOBOL (
-std=ibm), or is labelled IBM-only and not compiled. - Every horror cites the IBM documentation for the behaviour its key asserts.
- A generated key can share the generator's blind spots. Where the engine disagrees with the key, the key is checked as hard as the engine.
- This complements real fresh estates (Run two or three fresh public batch estates through the trial protocol #3806); it does not replace them. Synthetic code cannot contain the horror nobody imagined.
Related: #3988 (becomes phase 2), #4267 (phase 4), #4265, #4273, #3806.
🤖 Generated with Claude Code
Activity
estate-crucible scorer: diff every fact channel against the generated…
estate-crucible: pin v0.2.0; score cics_resources, jcl_datasets, file…
estate-crucible: pin v0.3.0; tell the scan each member's code page, s…
test: pin estate-crucible v0.4.0; score copy_collisions, gaps and dea…
ci: estate-crucible scorer as a ratcheted CI gate (#4317 phase 5) (#4446
squid-protocol commentedon Oct 5, 2026
Status 2026-10-05: phases 0, 1, 2, 3 and 5 are done (boxes ticked).
tests/estate_crucible/baseline.jsonat the pinned v0.4.0, in about 36 s.squid-protocol commentedon Oct 9, 2026
Closing as complete. Phases 0, 1, 2, 3 and 5 are done: skeleton and scorer, horror catalog, multicultural district, estate realism, and the CI gate. That's 20 apps, 98 members and horrors H-0001–H-0060, with main scoring 60/60, gated on every engine PR via the Estate Crucible workflow (#4446). Phase 4 (scale dial, 20k–100k members) moves to #4267, which owns scale validation in the "can it go faster" milestone.
🤖 Generated with Claude Code