Skip to content

GenApp LGSETUP: det port packs the record before a past-FROM SEND TEXT / CONVERSE read (Part of #6882) - #6962

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6882-20261029T0000Z
Oct 29, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6882-20261029T0000Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6882. Checklist: done [c:dd237b7e]

What

SEND TEXT FROM(WRITE-MSG-H) LENGTH(24) (GenApp LGSETUP) reads past FROM into the next item of its record, WRITE-MSG-HIGH PIC 9(10). The det port held that numeric typed (never in the record's bytes), so Java sent HIGH CUSTOMER=0000000000. Fix: Gen.record_bytes runs check_lift on FROM's 01 record at the two DetCics.withinRecord sites (SEND TEXT in det/cics.py, CONVERSE FROM in det/cics_taskcontrol.py). With --groups it emits a pack_<rec>() first; without, the typed item is a lift violation and stays byte storage (the mode the sweep uses). No runtime (DetCics.java) change, so no mass re-prove.

Class / Sibling gaps

Class: a CICS command that reads bytes past FROM's item within its record (withinRecord): SEND TEXT and CONVERSE FROM, both handled here (unit test covers both, plus within-FROM unchanged and no-typed-item unchanged). Sibling gaps: WRITEQ TS/TD past FROM is written padded (X6) and reads no record bytes, so not the same mechanism; PUT CONTAINER / START FROM past FROM stay refused (no burned program needs them here).

Evidence

  • det_port.py run genapp-lgsetup genapp-lgicvs01 genapp-lgicvs01-linked: all PROVED (lgsetup: 2 scenarios, 1/1 paragraphs, 2/2 branches). lgsetup differed before (baseline Siblings of #4174: GenApp VSAM programs' COMMAREA (STARTCODE D) path cases #5252, removed).
  • det_port.py check: 179/182 ports unchanged; the 3 moved are exactly those above.
  • pr_gates --fast 9/9; --ratchets 8/9: fact-crosscheck fails on NEW estate-crucible INVTRLD (translator refuses procedure parse), unrelated to this change; same failure seen in the previous slice.
  • test_det_translate, test_evidence, test_proof_reach pass.
  • Hand-written files: 5 (gen.py, cics.py, cics_taskcontrol.py, test_det_translate.py, det_sweep_baseline.json); case.json notes and det_sweep_coverage/genapp-lgsetup.json are case/generated data.

Remaining slices

None.

🤖 Generated with Claude Code

…d's typed items first (GenApp LGSETUP) (Part of #6882)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 29, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 29, 2026 00:21
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 29, 2026 00:22
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant