Skip to content

Equivalence harness gaps blocking the cics-crucible ladder (commarea-mismatch, condition-handling): prereqs of #7434 #7589

Closed

Description

@squid-protocol

Why

The cics-crucible ladder slices under #7434 now find no case-data lift left: every open outcome is either reviewed infeasible or needs equivalence-harness code. These gaps used to go under #6271, which is closed, so they had no home and the ladder starved (churn ran filler instead). This issue collects them so they can be worked as focus prerequisites of #7434.

Source: churn runs 7434-20261103T0942Z (commarea-mismatch, at origin/main 179f7db) and 7434-20261103T1015Z (condition-handling, at dc9548f).

Harness code gaps (one PR per mechanism)

Ruled 2026-11-03 (see the rulings comment): now harness code

Done when

Each gap merges with a case that proves the new arm. Then the next #7434 measure queues a data slice that lifts the program. Burned estates only; report evidence levels, not "proven". The oracle is GnuCOBOL plus IBM documentation.

Part of #7434.

Activity

  1. added
    scope:core
    on Nov 3, 2026
  2. squid-protocol commented on Nov 3, 2026

    @squid-protocol
    OwnerAuthor

    Rulings on the two owner items (made by Claude at the owner's request, 2026-11-03; the owner may override)

    1. CAGCST: PUT CONTAINER onto a container a GET CONTAINER SET pointer addresses

    Ruling: the PUT is defined and succeeds. Only a read through the old pointer after the PUT is undefined. So the harness refuses the read of the old area, not the PUT.

    • IBM defines the PUT: "an existing container's data is replaced" [PUT CONTAINER]. The GET CONTAINER page lists what ends a SET area's life: a later GET SET of the same container, DELETE CONTAINER, MOVE CONTAINER, the channel leaving scope, and DELETE CHANNEL. PUT is not on that list. The page does not say whether the old pointer then sees the old data, the new data, or neither.
    • Model (oracle stub and Java runtime, the same on both sides): PUT replaces the container's data, and blk_held no longer refuses it (ggcics_containers.c:262). The held area is marked stale: it is kept allocated with its old bytes until one of IBM's listed end-of-life events. A later GET SET of the same container returns a fresh area with the new length and data (the case's GET4).
    • Refusal moves to the read: any program outcome that depends on bytes read through a stale area is classed "undefined by IBM". That is the same class as the BNK1CAC X8 ruling of 2026-10-29. A case may not assert it, and it never counts toward a level. Where a side cannot detect the read at run time, the case author's rule decides, as in the case NOTES: "The case never reads a pointer after a PUT that changed the container it points into".
    • CAGCST is exactly that shape (PUT1, GET1-3, PUT2, then a fresh GET4 SET), so its set scenario needs no undefined behaviour and can be proven.
    • Not changed: MOVE CONTAINER onto a held container stays refused (:478). IBM lists MOVE as ending the area's life, and which side (source or target) it means is not stated. That needs its own ruling if a program needs it.

    2. HCCWRP: GET DCOUNTER past a doubleword (X45 item 3)

    Ruling: this is a gap in how the stub stores the counter, not something IBM leaves open. Follow the case's IBM-cited expected logs (hc-counter-increment-wrap NOTES, scenarios W and L) as written.

    • IBM: the DCOUNTER default maximum is "a doubleword filled with X'FF'" [DEFINE-COUNTER]. Once the maximum has been assigned, the counter is in the counter-at-limit condition. A GET without WRAP is then SUPPRESSED (RESP 72), RESP2 101, and leaves the counter unchanged. A GET with WRAP "resets the current value ... equal to the minimum value" [GET-COUNTER].
    • The refusal exists only because the stub marks "at its limit" with the value MAXIMUM + 1. With MAXIMUM = 2^64 - 1, that overflows, so the stub refuses (ggcics_counters.c:93; the at-limit test also excludes max == ~0ULL).
    • Model: keep a separate at-limit flag per counter. A GET that assigns the maximum sets it. A GET without WRAP at the limit gives SUPPRESSED 101 with the counter unchanged, whatever its INCREMENT (L4-L6). A GET with WRAP at the limit returns the minimum, the counter becomes minimum + increment, and the flag clears (W5/W6/W7, L7/L8). This is the same WRAP behaviour the stub already has for counters with their own MAXIMUM (X45), so the default maximum stops being a special case. The Java CicsTask.getCounter side gets the same flag.
    • Still refused (IBM gives no rule, and no burned program needs it): a GET whose INCREMENT carries a counter that is not yet at its limit past 2^64 - 1, and QUERY of a counter at its limit.
    • A reviewed infeasible entry stays wrong for W and L, because input reaches them. With this model they become ordinary scenarios.

    Both items are now harness code slices under this issue. They no longer wait on an owner ruling.

  3. squid-protocol commented on Nov 3, 2026

    @squid-protocol
    OwnerAuthor

    #7594 merged: a partial slice of [c:29f78375] "HCCWRP: track counter-at-limit with a flag instead of MAXIMUM + 1, so the default X'FF..FF' maximum follows the IBM-cited W/L expected logs (SUPPRESSED 101 without WRAP; WRAP rewinds to the minimu"; left: HCCWRP counter-at-limit flag is in the separate draft PR #7593; not part of this PR (promoter-bot)

  4. squid-protocol commented on Nov 3, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 7589-20261103T2209Z (host melek) ended without a PR. Already done by #7594 (merged ceee1f3); no PR needed, box ticked. Siblings: CACCSID/CAGMZ oracle limits, HCRDST EBCDIC ridfld det-port fix.

  5. squid-protocol commented on Nov 3, 2026

    @squid-protocol
    OwnerAuthor

    Claimed by promoter-bot host melek, lease renewed 2026-11-04T03:16Z. It lapses after 6 h without a renewal. To take it back, assign someone or remove the claim:melek label.

  6. squid-protocol commented on Nov 4, 2026

    @squid-protocol
    OwnerAuthor

    Churn run 7589-20261104T0358Z (host melek) ended without a PR. HCRDST already done on main (#7461, #7562, #7599, #7616, #7632); proof 77/77 PROVED, no change needed. Stale doc line in cics_crucible.md (HCRDST 8/9) needs ladder re-measure; CACCSID/CAGMZ remain.

  7. added a commit that references this issue on Nov 24, 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

    claim:melekscope:core

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions