Repository navigation
equivalence: compare browse events; HCRDST F/B/N scenarios (Part of #7434) - #7632
Merged
Merged
Conversation
…BR); HCRDST F/B/N scenarios (Part of #7434) The stub already logged the browse; the harness dropped it. Both sides' browse events are now paired and compared (file, resp, resp2, ridfld, mode, set, length, data), and cruc-hc-file-read-set gains browse-forward, browse-backward and browse-notfound (L1 -> L4: 4/8 -> 8/8 paragraphs, 6/9 -> 9/9 net branches). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
This was referenced Nov 4, 2026
Merged
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 #7434 (slice 1 of 2).
What
The C stub already logs STARTBR / READNEXT / READPREV / ENDBR (#6262) and the Java
CicsTaskrecords them, but the equivalence harness dropped the COBOL side, so the HCRDST browse modes could not be a scenario. Now:FILE_EVENT_VERBSgains the four browse verbs;cobol_file_eventparsesrid=/mode=/set=1,java_file_event_as_comparedturns the Javaridfldinto hex, andcompare_eventscomparesridfld,mode,setfor the browse verbs (READ is unchanged).cruc-hc-file-read-setgainsbrowse-forward(HC83 F),browse-backward(B) andbrowse-notfound(N).Evidence
Re-proved with the new comparison: carddemo-billpay(-generated), cardlist, tranadd, tranlist, userlist, cbsa-inqcust, mortgage-mlist(-generated) (det) and five model ports: all still PROVED, none moved.
Plan deviation
The brief's symptom (SET(ADDRESS OF) READNEXT/READPREV skipping every other record) did not reproduce: the stub log and the Java both step K015, K020, K030, K040, K050. The cause was the missing comparison, not the stub or the translator, so no C or translator change;
test_a_browse_that_skips_a_record_is_a_diffpins that a skipping sequence now differs.Class / Sibling gaps
Class: file events the harness does not compare. Fixed here: STARTBR, READNEXT, READPREV, ENDBR (stub SET and INTO forms). Still not compared: WRITE and DELETE events, RESETBR, the RBA browse (
ridfldis unmodelled), READset/ridfld. Which burned program needs each is not yet checked.Lessons for agents
ridfldin the equivalence harness is the program's ASCII page, likedata; the cp037 form is the crucible runner's (cics_crucible._java_file_event).Gates
pr_gates --fast9/9,audit_check.pyclear, pinned ruff format clean, time ratchet pass, 349 related tests,test_evidence.py+tests/equivalence58 passed. No golden bless (no engine change). Cross-repo: none.🤖 Generated with Claude Code