Skip to content

Epic: estate-crucible -- a synthetic mainframe estate whose answer key is generated with it #4317

Closed

Description

@squid-protocol

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

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

  1. added
    epic
    testing
    legacy-modernization
    on Oct 4, 2026
  2. squid-protocol commented on Oct 5, 2026

    @squid-protocol
    OwnerAuthor

    Status 2026-10-05: phases 0, 1, 2, 3 and 5 are done (boxes ticked).

  3. squid-protocol commented on Oct 9, 2026

    @squid-protocol
    OwnerAuthor

    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

  4. added
    scope:infra
    on Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    epiclegacy-modernizationscope:infratesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions