Skip to content

det translator: an item whose bytes overlap a COMP-1 / COMP-2 / COMP-5 item is refused (census: 2 programs; #5865 rank 4) #7646

Closed

Description

@squid-protocol

Why

gap_prevalence.md (#5865): <name>: bytes overlap another item refuses 2 census programs in one estate (era e4), and it ranks 4th in the close-next order. The translator raises it in gitgalaxy/tools/cobol_to_java/det/gen.py (~L406 / L413): Untranslatable("<ref>: its bytes hold <over> COMP-1/COMP-2 (...)") and "... COMP-5 (...)". This is an item whose storage overlaps (REDEFINES or group) a floating-point or COMP-5 item, read in a way the det runtime's representation (a Java double / long, not bytes) can't serve.

Do

  • Build synthetic reproductions (never census code, evidence policy section 3): a DISPLAY / group item REDEFINES a COMP-1, COMP-2 and COMP-5 item, and a group MOVE over them. Also check the burned corpora (.mainframe_corpora) for the construct first, per policy section 2.
  • Model the byte view where IBM documents it (COMP-1 / COMP-2 are HFP, see det/hfp.py and the register; COMP-5 is native binary), with the GnuCOBOL oracle proving it. Refuse by name whatever stays undefined.
  • Equivalence-prove the synthetic cases. Re-run the census (aggregates only) and state the move.

Scope: frontier. Part of #5865.

Owner ruling 2026-11-04: COMP-5 follows z/OS byte order by default (option B)

The det port holds COMP-5 big-endian, as z/OS does, for every program, not only where a byte view would otherwise be refused. Rationale: one representation (no per-program hidden mode); no byte-order mismatch when COMP-5 crosses a COMMAREA, file or CALL boundary; IBM is the reference and GnuCOBOL the instrument (#4702). The oracle's little-endian bytes are a declared difference (#7725, #7729, #7733). zos_comp5=False stays an explicit GnuCOBOL-native what-if.

Burned-estate impact (checked 2026-11-04; COMP-5 is in 4 files):

Order:

Activity

  1. added
    enhancement
    legacy-modernization
    scope:frontier
    on Nov 4, 2026
  2. squid-protocol commented on Nov 4, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 7646-20261104T1011Z (host nyx) ended without a PR. worker stopped: github SSH publickey denied (host-level); no code changed; requeued needs-owner

  3. squid-protocol commented on Nov 4, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 7646-20261104T1851Z (host nyx) ended without a PR. slice 2 already merged (#7673); no PR; slice 3 queued

  4. 84 remaining items

  5. squid-protocol commented on Nov 11, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 7646-20261111T0504Z (host nyx) ended without a PR. Slice 5 already on main; only census T3 on #7709 left (owner run, needs CICS_CENSUS_CORPORA)

  6. squid-protocol commented on Nov 11, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 7646-20261111T0707Z (host nyx) ended without a PR. slice 5 already on main (#7829); no PR. Only census T3 (#7709, owner/census lane) remains

  7. squid-protocol commented on Nov 11, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 7646-20261111T0910Z (host nyx) ended without a PR. Slice 5 of #7646 has nothing left: the zos_comp5 default flip and evidence refresh are on main, and no PR was needed. Unverified: the generated reports list ASYNCPNT with 45 of 128 survivors unaccounted and SEQPNT with 41 of 104, though the register says L5 with everything accounted (#7756). It may be a report counting difference or a real regression. Not queued; confirm before filing.

  8. squid-protocol commented on Nov 11, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host nyx, lease renewed 2026-11-11T14:21Z. 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 Nov 11, 2026

    @squid-protocol
    OwnerAuthor

    Closing: all slices are on main. Slice 5 flipped translate() to default zos_comp5=True (#7829). The remaining census programs kept their COMP-5 items in CICS channel containers, which #7845 finished and closed (#7883, #7887). Related work: #7733, #7734, #7740, #7750, #7769, #7841, #7870. The census step (T3 on #7709) no longer applies because #7709 is closed.

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-modernizationpriority: mediumscope:frontier

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions