Skip to content

equivalence: BMS receive models MDT; an FSET field left alone is sent with length 0 (Part of #4506) - #5614

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4506-20261019T1129Z
Oct 19, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4506-20261019T1129Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4506. Checklist: partial [c:f781005a] -- ERASE EOF input (L=0, F=X'80', data X'00') on the det-port side

What changed

  • bms_input_fields records mdt (ATTRB has FSET). A generated RECEIVE MAP screen now sends an FSET field it leaves alone as a transmitted empty value (L=0). A field with MDT off stays untyped, so the program sees X'00' data with L=0 and F=0 on both legs. The RNG draw sequence is unchanged.
  • X54 register: assumption (4) reworded, new "MDT and the null convention" bullet with a census. No burned program reads <f>F or DFHBMEOF. COTRN01C tests TRNIDINI = SPACES OR LOW-VALUES.
  • Tests: 4 new in test_equivalence_bms_inputs_4506.py, including a loop over every burned *.bms map and the generated tranview screen.

Evidence (burned estates only)

case result
carddemo-tranview-generated proven, 29 scenarios, 9/9 paragraphs, 20/24 branches
carddemo-acctview-generated proven, 24 scenarios, 30/32 paragraphs, 42/69 branches

Assumption: X54 stays ASSUMED where IBM is silent. The IBM RECEIVE MAP page was not re-read for this slice. Oracle is GnuCOBOL plus our stub, not z/OS.
carddemo-cobtupdt-generated showed a fault-run DIFFERS locally. It is a batch Db2 case with no receive. I did not confirm it on main.

Sibling gaps (not done here)

  • ERASE EOF (L=0, F=X'80', X'00' data): needs an @erase rule in _bms_receive, the oracle map_input, a way to carry "erased" in screenValues, and changes in det/cics.py, DetCics.java and the Java stub (4+ files). No burned program tests <f>F.
  • A typed "" gives blank data on both legs where IBM gives X'00'. It only matters to a program testing = LOW-VALUES alone. No burned case needs it.

Gates

pr_gates --fast 6/6, --ratchets 8/8, audit_check clear, tree-wide guards and test_evidence.py pass (stale-record warning only, re-proven by the scheduled job), time ratchet clean. No golden bless needed (no parsing logic touched).

Lessons for agents

None.

🤖 Generated with Claude Code

… with length 0 (Part of #4506)

bms_input_fields records the FSET (MDT on) flag. A generated RECEIVE MAP
screen now sends an FSET field it leaves alone as a transmitted empty
value (L=0), while a field with MDT off stays untyped (nulls, L=0).
The RNG draw sequence is unchanged. X54 records the assumption and the
census (no burned program reads <f>F; ERASE EOF is not modelled).

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 19, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 19, 2026 11:43
@squid-protocol
squid-protocol enabled auto-merge (squash) October 19, 2026 11:53
@squid-protocol
squid-protocol merged commit 7ba137f into main Oct 19, 2026
59 checks passed
@squid-protocol
squid-protocol deleted the churn/4506-20261019T1129Z branch October 19, 2026 12:02
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