Repository navigation
Generator: CICS facades carry the COMMAREA a pseudo-conversation passes across programs (#4427) - #4435
Merged
Conversation
…oss programs (#4427) Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
…es across programs (#4427) handleTransaction takes the program's own COMMAREA DTO only when every RETURN TRANSID into its transactions presents no other class, and answers with it only when every RETURN TRANSID its task can end in (its own, and those of programs an XCTL chain reaches) does the same; otherwise that side is Object. Crucible PC ports resurfaced with port_surface.py, re-proven (reprove + evidence prove); 6 java-facade cells leave the baseline. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz
squid-protocol
marked this pull request as ready for review
October 5, 2026 12:17
This was referenced Oct 5, 2026
Closed
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.
Draft. Fixes #4427.
Generator
handleTransactionwas typed with the program's own COMMAREA DTO in both directions. Now each direction is typed from the estate's RETURN TRANSID flows (the skeleton'scommarea_contractsrows):Object. runTask reads it throughtask.commarea(..), which is what the ports already do. The Javadoc lists each crossing flow.@RequestBodystays the program's own record, because JSON needs a concrete class. It answersResponseEntity<Object>where the facade does.handleLinkis unchanged: on LINK / XCTL the caller presents the target's DTO, as the call forge'sxctlXalready does.CarddemoCommarea, also stays typed.tests/cobol_mainframe/test_cics_conversation_4427.pycovers the pc-wizard shape, the pc-aid-menu shape, the self-only case and the shared-copybook case.Ports, regenerated by the tools only
port_surface.py cruciblechanged only PCCONF, PCWIZ, PCMENU and PCDETL (handleTransactionreplaced). The other 13 report "surface is the generator's".crucible_port_provenance.py reprovere-proved all 4 at v0.2.0 (java-ported + java-facade). Their stale marks are replaced byreprovenentries.evidence.py prove+render: all 4 are now proven, unapproved.evidence.py status --cipasses.cics_crucible.py --update-baselinedrops the 6 java-facade cells. coverage.json is unchanged.Full run (JDK 17, cics-crucible v0.2.0): 152 pass, 44 fail, 196 cells. java-ported is 44/44 and java-facade is 44/44, up from 38/44. The 44 failures are the generated-stub
javaside, as on main.Facades that change outside the crucible
handleTransactionnow answersObject. The request stays typed. They are COACTUPC, COACTVWC, COADM01C, COBIL00C, COCRDLIC, COCRDSLC, COCRDUPC, COMEN01C, COPAUS0C, COPAUS1C, CORPT00C, COTRN00C/01C/02C, COTRTLIC, COTRTUPC and COUSR00C/01C/02C/03C.CoactvwcCommarea,Cotrn00cCarddemoCommarea, ...). The old typed facade would throw inreturned(), the same bug as PCMENU.port_surface.pyresurfaces only crucible ports, so I left them alone. Bringing them to the new surface is a follow-up.generator(a scheduled input, not blocking), as with any generator change.Checks
--ciare clean.tool_regex_redos --cipasses.refraction_snapshot checkshows 0 diffs.pr_gates --vs-main: 5/7 gates pass. golden fails because the local language-crucible is off-pin. suite fails with 11test_security_auditorfailures because pandas/xgboost are missing locally. Both are pre-existing on main@367ad9068.🤖 Generated with Claude Code
https://claude.ai/code/session_01VrujbRefDqQ8ptAwTBQTaz