Skip to content

det ports on the CICS crucible decode TS/COMMAREA bytes in the wrong charset (and det/cics.py reads DTO copybooks as latin-1) #4528

Closed

Description

@squid-protocol

Problem

Det ports run against the cics-crucible decode Temporary Storage (TS) and COMMAREA bytes in the wrong charset, so byte-level crucible proofs of det ports fail even when the logic is right. Related: gitgalaxy/tools/cobol_to_java/det/cics.py (~L487) still reads DTO copybooks as latin-1, while the engine and the det source reader take the estate's declared code page since #4522.

Evidence

Acceptance criteria

  • Det ports encode and decode TS, TD and COMMAREA bytes in the same charset as the COBOL side (the crucible's declared EBCDIC/ASCII code page), and DTO copybooks are read with the declared code page.
  • hc-perform-range length-trap passes byte-for-byte on the det port.
  • No regression on the pinned cics-crucible (cics_crucible --ci) or the det sweep.

🤖 Generated with Claude Code

Activity

  1. added
    bug
    data-integrity
    legacy-modernization
    priority: high
    on Oct 6, 2026
  2. added
    scope:core
    era:2
    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

    bugdata-integrityera:2legacy-modernizationpriority: highscope:core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions