Skip to content

Stub FILENOTFOUND RESP2 1 per IBM; empty http_request.path accepted (Part of #6839) - #6970

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

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6839-rows-ijk

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6839 (rows I and K; row J reported below, not changed).

Class

A stub or harness condition that deviates from IBM, or a case-schema check stricter than the program's real input space, which keeps a ZECS001 branch from being judged.

Changes (5 hand-written files)

  • Row I: all 7 FILENOTFOUND sites in the stub (ggcics.c x2, ggcics_filecontrol.c x5: READ, STARTBR, READNEXT/READPREV, DELETE, UNLOCK, WRITE, REWRITE) set RESP2 1 ("not defined to CICS"). GGCREAD used to zero the default it had just set. test_stub_file_events_4443.py now asserts RESP2 1 on READ and REWRITE of an undefined file.
  • Row K: equivalence_cics_web.http_request accepts path: "" (stub already encodes it as -); whitespace paths and empty host/version still refused. New test_http_request_empty_path_6839.py.

Row J (ttl=abc, 704:false): not changed, finding

Ran GnuCOBOL 3.2 (the oracle image) on UNSTRING 'ttl=abc' DELIMITED BY ALL '=' INTO A S with S PIC 9(06): S is NUMERIC for abc, 12x4, -5, 5, 1234567, empty (it keeps only the digits). IBM's alphanumeric-to-numeric MOVE keeps the raw bytes, so on IBM abc makes NUMERIC false. So it is an oracle divergence, not an infeasible outcome (stating it infeasible would be false for IBM). Left open, to be listed as a refusal on the oracle with this reason.

Cross-repo / ordering

No companion repo. Overlaps open #6952 (X75 register, Java/det FILENOTFOUND RESP2); this PR carries only the stub side, and #6952's Java side must answer RESP2 1 too. Neither depends on the merge order, but the ZECS000 control-record-first-write scenario compares both sides, so it needs both.

Gates

audit_check.py all clear; pytest tests/cics_crucible + new test (plain pytest from /tmp): 897 passed, 6 skipped; ruff format --check clean. Golden masters untouched (no engine code).

Lessons for agents

  • The oracle (GnuCOBOL) UNSTRING into a numeric item keeps digits only; IBM keeps bytes. Don't state a NUMERIC-false arm infeasible on that evidence.

🤖 Generated with Claude Code

…ty http_request.path (Part of #6839)

Rows I and K of #6839. The stub's 7 FILENOTFOUND sites now set RESP2 1 ("not defined to CICS"); GGCREAD's
default also stops zeroing it. http_request.path may be "" (a request for no path); whitespace is still 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 02:40
@squid-shepherd

Copy link
Copy Markdown
Contributor

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