Skip to content

oracle policy: IBM is the reference, GnuCOBOL the instrument — audit register entries + z/OS calibration oracle #4702

Closed

Description

@squid-protocol

Owner policy (2026-10-08): IBM is the reference; GnuCOBOL is the instrument.

  • Where IBM documents a result under the estate's compile options (TRUNC, NUMPROC, ARITH, ZONEDATA, ...), the det port follows IBM. The oracle (cobc 3.1.2 -std=ibm) is configured to match through cobc options, config or a wrapper; if that's impossible, the shape is a declared oracle-vs-IBM difference the comparator expects. Proofs are never loosened.
  • Where IBM's result is undefined (e.g. non-digit data, divide by zero without ON SIZE ERROR, which can abend S0CB), the port refuses by name or follows cobc, and the register says so explicitly.
  • GnuCOBOL stays the bulk oracle: free, in CI, reproducible by purchasers. A real z/OS (Enterprise COBOL) is a calibration oracle: run the probe and fuzz corpus there occasionally to replace "IBM side ASSUMED" with measured results. It is not in CI.

Part 1: audit register entries that chose "match GnuCOBOL"

For each entry: the IBM reference (cited), whether IBM documents it under which options, what cobc can be made to do, the chosen behaviour, and the register entry updated.

Part 2: z/OS calibration oracle (blocked on access and legal) — split to #6492 (owner, 2026-10-24)

  • Candidates: IBM Wazi as a Service (z/OS dev/test on IBM Cloud), ZD&T (licensed dev/test emulation), IBM Z Xplore (free; its terms likely don't cover commercial validation), or a customer's or partner's mainframe. z/OS on Hercules is not an option (licence ties z/OS to IBM hardware).
  • Legal questions for counsel first: do the licence terms allow using outputs to validate a commercial translator, and may results be published (relates to the publishing hold, legal Q16)?
  • Deliverable: a probe corpus (the register shapes plus the det fuzz kits) runnable on Enterprise COBOL with recorded results, and a "z/OS-calibrated" marker per register entry and in the evidence report.

🤖 Generated with Claude Code

Remaining slices (as of 2026-10-18)

Done so far: 3 merged PRs (#5308, #5384, #5396).

Drafted 2026-10-18 by a Sonnet triage pass from this issue, its comments and the bodies of its "Part of" PRs; (verify) items were not checked against main. Tick boxes as slices merge; edit freely.

Future CICS calibration probes (need a real CICS region; not in zos_probes.json yet)

Activity

  1. added
    enhancement
    testing
    legacy-modernization
    priority: high
    on Oct 8, 2026
  2. changed the title [-]oracle policy: make the comparator z/OS-like — audit register entries where the det port follows GnuCOBOL over IBM[/-] [+]oracle policy: IBM is the reference, GnuCOBOL the instrument — audit register entries + z/OS calibration oracle[/+] on Oct 8, 2026
  3. added
    scope:core
    on Oct 16, 2026
  4. added
    needs:corpus
    needs:docker
    on Oct 18, 2026
  5. 53 remaining items

  6. squid-protocol commented on Oct 23, 2026

    @squid-protocol
    OwnerAuthor

    Waiting on an owner decision (asked privately, 2026-10-23). Nothing is needed from contributors; work resumes once it is answered.

  7. squid-protocol commented on Oct 23, 2026

    @squid-protocol
    OwnerAuthor

    The owner decided (2026-10-23); the bot applies it on its next tick.

  8. squid-protocol commented on Oct 24, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host nyx, lease renewed 2026-10-24T14:41Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:nyx label.

  9. squid-protocol commented on Oct 24, 2026

    @squid-protocol
    OwnerAuthor

    Owner decision 2026-10-24: Part 2 (z/OS calibration oracle) and the X39 CICS probe are split into #6492, which stays blocked on z/OS access and legal Q16. Part 1 is complete: every register entry that chose "match GnuCOBOL" now cites IBM's text and matches it or declares the difference (#5308, #5384, #5396, #5488, #5502, #5737, #5771, #5797, #6044; probe corpus #6244). Closing.

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

    claim:nyxenhancementlegacy-modernizationneeds:corpusneeds:dockerpriority: highscope:coretesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions