Repository navigation
CBSA GETCOMPY/GETSCODE: raw caller bytes enter a typed case's byte[] entry; det mutation re-judged (Part of #7954) - #8003
Merged
Conversation
…s; GETCOMPY/GETSCODE raw-entry scenarios (Part of #7954) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…directly (runTask, facade falls back to runTask); direct scenarios (Part of #7954) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…s, survivors re-stated (Part of #7954) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
This was referenced Nov 7, 2026
squid-protocol
added a commit
that referenced
this pull request
Nov 7, 2026
…easons (Part of #4628) (#8014) * survivor_attack: `try` attacks batch cases; stale-check refuses bulk survivor reasons (Part of #4628) Batch `try`: a batch case is one job step, so an input changes the step -- a new record of an input dataset (strengthen.py's record builder), new generator specs for a `@generate` dataset, SYSIN, PARM, or a fault run. The trial is the committed step with those changes; `packet` shows the layouts, first records, generated fields and a fault plan to copy. CBSTM03A, PAUDBLOD, PAUDBUNL and COBSWAIT had no attack path at all before this. The verdict gate (`stale-check --vs REF`, `state`, `lint`), for the entries a change writes: - one reason template (numbers, quoted code, method names aside) on more than 10 Java lines of a case, unless each entry has an attack or `facts` settlement on record; - a case-gap / harness-gap saying the code is not exercised when the ledger's proof covers every paragraph (a branch claim stands while branches are left uncovered). `state --attempts` now records the attack behind a gap verdict too. Replayed over every survivor-file change since 2026-10-28 (142 commit/case pairs): all of watcher1's PRs (#7720 #7739 #7762, open #7981) are refused, as are the 10-30/11-01 bulk "account for all" PRs the 11-01 audit found wrong; open #8003 and #8004 pass. Co-Authored-By: Claude Opus 5.5 <[email protected]> * survivor_attack: a committed port that does not compile is `refused`, not port-differs (Part of #4628) Found on the first live batch `try` (COBSWAIT from a JDK 21 shell): the Java build failed, and `try` said port-differs, which the skill says is a real finding to stop and report. A compile failure of the unchanged committed port is the box; a crash on the new input stays port-differs. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
This was referenced Nov 7, 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 #7954 (slice 4, first half).
Checklist: partial [c:c45209e5] -- GETCOMPY and GETSCODE now run the raw
byte[]entry and are re-judged; ACCTCTRL, UPDACC, UPDCUST and ABNDPROC's two rows are open, and thebyte[]entry's own copy rows stay masked (below)What changed
tests/tools/equivalence_cics.py: a typed case may statecommarea_hex(a caller with no typed layout), withlink_bytes(handleLink(request, byte[])) or without (thebyte[]entry throughrunTask). The facade, whosehandleLink(Dto)is typed, falls back torunTaskfor raw bytes. Still refused besidecommarea,commarea_length,commarea_tail_hex,dto_entry, and for bad or empty hex.mask_absent_commareano longer masks stated bytes.tests/cobol_mainframe/test_equivalence_cics_commarea.py: accept/refuse matrix and the mask rule.cbsa-getcompy/cbsa-getscodecase.json:raw-entry-bytes-*(link_bytes) andraw-entry-direct-*scenarios (under, equal, over the record). Both PROVED (21 / 22 scenarios).harness-gaprows (a09175d61d,1c96b6ee72) are dropped, stale ones removed, 6 new survivors stated (2unreachableafter asurvivor_attack try, 4harness-gap).X10.mdSlice 4 paragraph.Class / Sibling gaps
Class: a typed case could not hand the program raw caller bytes, so the
byte[]entry rows stayedharness-gap. Siblings of the same mechanism: ACCTCTRL (needs thebyte[]entry row), UPDACC, UPDCUST (same shapes plus their ledgers). Burned-estate programs: all CBSA. Not filed as issues.The
byte[]entry's ownarraycopy/beyondrows stay masked on both shapes: the generated service re-copies the LINK area (task.linkArea(), #7589) over the entry's copy. A shape that omits the area (tried ascommarea_by_value) made COBOL keep its own record where Java took the bytes: unresolved, reverted, not shipped.Remaining slices
raw-entry-*scenarios and re-run ledgers (three more hand-written files).89e1bd4020(||to&&instore()): differs only where the region lacks ABNDFILE, so needs aregionincbsa-abndproc/case.json.caBack fill_onABND-RESPCODE(SIGN LEADING SEPARATE): the det/CICS: a typed COMMAREA write-back rewrites the sign of a field the program never touched #7485 sign write-back question, probably translator work.byte[]-entry copy rows above (needs a shape without the LINK area re-copy).Facts checked
not ca_fieldsswitches were unneeded;mask_absent_commareachanged; facaderunTaskfallback added;link_bytesalone is masked by the linkArea re-copy, so the direct shape was added.det_mutation.py checkok,stale-check --vs origin/mainno stale ledger;pr_gates --fast(derived refreshed viaproof_sweep --det-only+det_coverage_ledger.py update),--ratchets9/9,audit_check.pyclear,ruff format --checkclean, plainpytestof the commarea tests 25 passed from/tmp.merge-treeagainst origin/main clean. No engine change, no golden bless.Lessons for agents
task.linkArea()re-copy overwrites thebyte[]entry's copy, solink_bytesalone cannot kill itsarraycopymutants.det_mutation.py stateneeds--attempts <work>/attempts.jsonfrom asurvivor_attack trybefore anunreachableverdict;checkpasses without it butstale-checkdoes not.bin/ruffin a worktree.🤖 Generated with Claude Code