Repository navigation
equivalence: oracle side of a BMP EXEC DLI (GGDLIBMP, GGDLICHKP, rewrite_bmp) (Part of #5857) - #5889
Merged
Merged
Conversation
…KP, rewrite_bmp (Part of #5857) equivalence_ims accepts a PSB with CMPAT=YES for a BMP entered USING its I/O PCB and DB PCBs; ggdli.c binds them and models CHKP (every position lost, register I5); rewrite_bmp lowers GN/GNP/DLET/CHKP ID(area) to CALLs. Unit tests plus a GnuCOBOL E2E. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 21, 2026 16:54
squid-protocol
enabled auto-merge (squash)
October 21, 2026 17:20
Owner
Author
|
This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push. |
Owner
Author
|
No description provided. |
Owner
Author
|
No description provided. |
Owner
Author
|
No description provided. |
1 similar comment
Owner
Author
|
No description provided. |
This was referenced Oct 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #5857 (slice 2 of 3: the oracle side for a BMP's EXEC DLI). Slice 1 (#5870) did the det side.
What changed
equivalence_ims.py:psb(..., bmp=)accepts CMPAT=YES only for a BMP (a BMP with CMPAT=NO is refused by name);bmp_using,stagereads a BMP'sUSING io-pcb db-pcb...;cobol_driver(io=True);rewrite_bmplowers GN/GNP/DLET (viaequivalence_cics.translate_dli) andCHKP ID(area); every other form (XRST, ROLB, CHKP options, EXEC CICS) is refused by name.ggdli.c:GGDLIBMPbinds the DB PCBs after the I/O area (PCB(1) refused, SCHD/TERM refused in a BMP);GGDLICHKPloses every position (register I5, still an uncited ASSUMPTION).equivalence.py: wires a BMP intorun_cobol.register/I5.md: the oracle is linked.test_equivalence_bmp_dli.py(15 unit, 3 GnuCOBOL E2E: GN/DLET/GNP/CHKP/GN restarts at the beginning, database bytes equal, PCB(1)/PCB(4) refused).Plan deviation
The batch rewrite and CHKP live in
equivalence_ims.py, notequivalence_cics.py(kept it untouched: 5-file limit, and CICS behaviour unchanged because CMPAT=YES is opt-in).Class table
Gates
pr_gates --fast 7/7; ruff/mypy baseline audits clean; ruff format clean; test_det_dli, test_equivalence_cics_dli, tests/tools equivalence/dli subset pass; new file passes with EQUIVALENCE_E2E=1.
--ratchets: see the checks.evidence.py statusshows many records stale ("harness, generator changed"); not re-proved here, as ggdli.c/harness edits are oracle inputs: re-prove in slice 3 / a follow-up.Cross-repo
None. Overlaps: #5842 (I5.md, equivalence_ims.py), #5887 (equivalence.py); merged origin/main before pushing, no conflicts.
Lessons for agents
BY REFERENCE xonto continuation lines;rewrite_bmprefuses over-long statements.equivalence_cicsimportsequivalence_imsat top level: import it lazily inequivalence_ims.🤖 Generated with Claude Code
Checklist: partial [c:849f31c6] -- the det side was slice 1 (#5870); this slice adds only the oracle side
Checklist: done [c:4df05120]
Checklist: done [c:e28565b0]
Checklist: partial [c:fa4d89fe] -- no CBPAUP0C case or evidence record yet (slice 3)