Skip to content

WEB RECEIVE: accept the SRVCONVERT pass after a NOSRVCONVERT receive (Part of #6839, Row F) - #7007

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6839-20261029T1239Z
Oct 29, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6839-20261029T1239Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6839 (Row F, siblings of #6072).

What

ZECS001 1000-INITIALIZE issues WEB RECEIVE SET ... NOSRVCONVERT, then for text/* / application/xml media a second WEB RECEIVE SET ... SRVCONVERT. The stub, CicsTask and the det translator refused any second receive (register X38, IBM silent).

Narrow ASSUMED lane: a SRVCONVERT receive after a NOSRVCONVERT receive returns the same body and media type again (conversion changes nothing in the model); SET gets a new block each time. Every other repeat (conv-conv, raw-raw, neither-then-conv, raw-then-neither, a third receive) stays refused with the same name.

  • CicsTask.webReceive(max, cap, conv) (0 none, 1 SRVCONVERT, 2 NOSRVCONVERT); the 2-arg overload keeps conv 0; webReceived is a tri-state.
  • Stub: GG-FLAGS tokens CONV / RAW beside MEDIA; same tri-state.
  • det translator passes conv to task.webReceive.
  • Parity rows in test_cics_runtimes.py (CicsTask vs stub, INTO and SET).

Evidence

  • det_port.py run zecs-zecs001: 561/561 translated, PROVED (no regression; no scenario reaches 540:true yet, see Remaining slices).
  • pr_gates --fast 9/9, --ratchets 9/9, audit_check.py clear, tree-wide guard tests 265 passed, changed test files 961 passed / 3 skipped, time ratchet 0 over limit.

Class / Sibling gaps

Class: a CICS command whose repeat within one task the model refuses without IBM saying so. Members fixed here: WEB RECEIVE INTO and SET (same mechanism). Sibling gaps, still refused (IBM silent): second WEB RECEIVE with any other option mix; WEB RECEIVE of a no-body request (X38); rows E, G, H of #6839 (separate mechanisms).

Remaining slices

  • tests/equivalence/zecs-zecs001/case.json: POST scenarios with text/plain and application/xml (540:true), a text body cut at MAXLENGTH, regenerated det_sweep_coverage, then det_port.py run zecs-zecs001.
  • docs/language_status/register/X38.md: move "second WEB RECEIVE" from REFUSED to ASSUMED/narrow; gitgalaxy/standards/cics/commands/web.py runtime_refusals wording.

File cap

7 hand-written files vs the cap of 5: 4 core + the parity test, plus 2 pin updates (test_det_translate.py, test_equivalence_cics.py) that this change itself broke (own-failure fixes). case.json and the docs were deferred to stay closer to the cap.

File-cap exception: the new conv argument and GG-FLAGS tokens are one atomic protocol across CicsTask, translator, comparator and stub; the two pin tests only assert the changed emitted text and cannot be split from it without a red main.

Cross-repo

No companion PR in another repo. Context: #7006 (Row E) and #6952; merges cleanly with origin/main (merge-tree CLEAN). No golden re-bless needed (gates pass).

🤖 Generated with Claude Code

…(Part of #6839)

ZECS001 1000-INITIALIZE issues a second WEB RECEIVE SET ... SRVCONVERT for
text/* and application/xml media. The stub, CicsTask and the det translator
refused any second receive. Narrow ASSUMED lane: SRVCONVERT after a
NOSRVCONVERT receive returns the same body again; every other repeat stays
refused.

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 29, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 29, 2026 13:11
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 29, 2026 13:13
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

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