Skip to content

det: STRING refuses a numeric literal sender / delimiter by name (Part of #7709) - #7735

Merged
squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7709-20261104T2030Z
Nov 4, 2026
Merged

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/7709-20261104T2030Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #7709 (#7523). Checklist: partial [c:b383e52f] -- the code-page row (register D4) is refused by design and has nothing to implement; numeric-sender and numeric-literal STRING operands are now refused by name.

What

Gen.string_sender (det translator) refused only numeric items with P or a decimal place. A numeric literal sender or DELIMITED BY literal (STRING 15 ..., DELIMITED BY 1.5) was translated as its text. IBM (Enterprise COBOL 6.4 Language Reference SC27-8713-03, STRING statement): "literal-1 or literal-2 must be of category alphanumeric, DBCS, or national", so any numeric literal is a compile error. It is now a hole by name (register C11); figurative ZERO/SPACE stay valid. The IBM sentence was read from the live IBM docs page through a fetch subagent, not from the local PDF.

Class / Sibling gaps

Class: COBOL STRING operands that z/OS rejects at compile time (numeric item with P or a decimal place, COMP-1/COMP-2 item, numeric literal) and that the det port must refuse by name instead of sending cobc's bytes. Members: numeric item with P/decimal (already refused, #4996, tests present); COMP-1/COMP-2 sender (already refused, C6, probed); numeric literal sender and DELIMITED BY, integer, fractional, negative (this PR, tests over both positions); figurative ZERO/SPACE and an integer item stay translated (tested). Code-page row (alphanumeric literal beyond single-byte, register D4): already refused by design, statement hole; stated boundary, no burned program needs it. No sibling gaps remain; burned programs affected: none (det_port.py check: 269/269 ports unchanged).

Evidence

  • New tests in test_det_nondigit_zoned.py and test_gap_prevalence.py pass; audit_check all clear; tree-wide guard tests pass (244).
  • pr_gates --fast: 9/9 pass. Not run: pr_gates --ratchets, golden bless (no parsing-logic change, only a translator refusal), full test_evidence.py.

Doc-refs fixes: none

Co-Authored-By: Claude Sonnet 5.5 [email protected]

🤖 Generated with Claude Code

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

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 4, 2026 20:47
@squid-shepherd

squid-shepherd Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 4, 2026 20:55
@github-actions

github-actions Bot commented Nov 4, 2026

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