Repository navigation
CRECUST: a child that fails its security check replies EMPTY (X18, owner) (Part of #6967) - #7046
Merged
Merged
Conversation
…ner); third-child SECERROR scenario (Part of #6967) FETCH ... COMPSTATUS SECERROR now hands the parent an empty reply channel on both runtimes (not a copy of the child's channel); X18 records it as owner-stated. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
Contributor
|
No description provided. |
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 #6967. Part of #6974.
CRECUST
FETCH ANYwhere the child fails its security check (COMPSTATUS SECERROR): IBM says nothing about the reply, so the reply to the parent is assumed EMPTY. Both runtimes now return a new channel of the harness's own name with no container (not a copy of the child's channel); ABCODE stays blank. Recorded in register X18 as owner-stated. A second scenario,fetch-any-third-child-secerror, runs two NORMAL children (GET CONTAINER) before the SECERROR one.Premise note: #6986 had already merged the SECERROR fault and scenario, and CRECUST was at 57/70 branches with 13 stated infeasible and 0 open. This PR does not move the branch numbers (still 57/70, 37/37 paragraphs). It changes the model to the owner's empty-reply rule and covers it with a scenario and tests.
Owner decisions
Owner OK (2026-10-29, chat): CRECUST FETCH ANY where the child task fails its security check (COMPSTATUS SECERROR, blank abend code; IBM says nothing about the reply): assume an EMPTY reply to the parent.
Changes
tests/equivalence/cics/ggcics_taskcontrol.c(GGCFETCH) andgitgalaxy/tools/cobol_to_java/cics_task_taskcontrol.py(fetch): with a planned SECERROR,CHANNELyields an empty channel; the "child left no current channel" refusal does not apply to it.docs/language_status/register/X18.md: the owner-stated assumption.tests/cobol_mainframe/test_det_crecust_case.py: scenario list and plan line; a CicsTask test (SECERROR child's reply holds no container, the next child's reply is its own copy; fails on the old runtime).tests/equivalence/cbsa-crecust/case.json(new scenario),det_sweep_coverage/cbsa-crecust.json(22 -> 23 scenarios, proven).Class / Sibling gaps
Class: a FETCH (ANY or CHILD) whose child reports COMPSTATUS SECERROR, reply channel on either runtime. Members: FETCH ANY with CHANNEL (handled, scenario + unit test), FETCH CHILD(token) with CHANNEL (same handler, handled, same code path), FETCH without CHANNEL (unchanged, event channel=-). Sibling gaps: a SECERROR child that also abended stays refused (IBM does not say which status wins); only CRECUST has a burned program using FETCH, so no other program is affected. Other checklist items (abend injection harness, BNK1CAC 437 DEEDIT gap, diagnosis of every net branch) are different mechanisms and are not in this PR.
Checklist: partial [c:92733a21] -- CRECUST has no open branch left (57/70 with 13 stated infeasible); the held level under the slack-bytes ruling is read from the evidence report, not restated here
Checklist: partial [c:5981f543] -- CRECUST done; other programs not diagnosed here
Gates
pr_gates --fast9/9;--ratchets9 pass 0 fail; ladder_refresh cbsa-crecust proven (23 scenarios, 37/37 paragraphs, 57/70 branches); tests/cobol_mainframe/test_det_crecust_case.py, test_evidence.py, test_cics_runtimes.py and the tree-wide guards pass (581). No parser change, so no golden bless. test_evidence warns that records are stale on harness/oracle/generator, re-proven by the scheduled job as after any harness edit. det_port check not run (runtime text only).🤖 Generated with Claude Code