Skip to content

scenario_channel: refuse channel/container names outside IBM PUT CONTAINER charset (Part of #4950) - #5283

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4950-20261016T1721Z
Oct 16, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4950-20261016T1721Z

Conversation

@squid-protocol

@squid-protocol squid-protocol commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

Part of #4950. Harness scenario_channel accepted any blank-free 1-16 char channel/container name; it now refuses anything outside IBM's PUT CONTAINER set (A-Z a-z 0-9 $ @ # / % ? ! : | " = , ; > . - _), and also & < ¬ (RUN TRANSID's page allows them, PUT CONTAINER's does not: the pages disagree, so refuse), matching ggcics.c and the forge's NAME_CHARS. The message names the offending character. Register X18 note added.

Class: case-file channel/container names reaching the runtimes unchecked

Member Status Evidence
scenario_channel channel name handled (this PR) _cics_name_problem; parametrised refusal/accept tests
scenario_channel container names handled (this PR) same helper, same tests
& < ¬ (RUN-only chars) handled: refused tests; X18 note
starts[].channel (GGREPLY..., harness-generated, read back only) out of scope never case-file supplied
X24 register note no change needed does not describe name checking

Sibling gaps

none: every member handled.

Evidence

  • tests/cobol_mainframe/test_equivalence_cics.py: 184 passed, 3 skipped; includes a check that every committed case.json channel still passes.
  • pr_gates.py --fast: 6/6 pass. --ratchets not run; no golden bless (tests/tools only).

Cross-repo: none.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 16, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 16, 2026 19:21
@squid-protocol
squid-protocol enabled auto-merge (squash) October 16, 2026 19:23
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 16, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

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