Skip to content

CEEDAYS: a numeric month outside 1-12 is 2508 (owner ruling 2026-10-29; Part of #6072, #6967) - #7039

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

squid-shepherd[bot] merged 1 commit into
mainfrom
churn/6967-20261029T2101Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6072, #6967 (no Closes: the issue has open items). Checklist: partial [c:5981f543] -- CSUTLDTC's month arm closed; WHEN OTHER (CSUTLDTC) and the CODATE01 / COACCT01 / CBPAUP0C diagnoses are left.

What

Owner ruling 2026-10-29: CEEDAYS with a numeric month 13 (YYYY-MM-DD) is 2508 (date value not valid), not 2517. IBM's documentation does not say; this is an owner-stated assumption, not z/OS calibration.

  • Ceedays.java (det runtime) and tests/equivalence/le/ceedays.c (oracle model): a month outside 1-12 now answers 2508 instead of refusing by name (exit 98). Month 00 and 14-99 are the same branch, so they take 2508 too (the ruling named 13 only; this extension is stated in L1).
  • carddemo-dateutil: month-13 and month-00 calls on YYYY-MM-DD (COTRN02C and CORPT00C do not check the month first, so a caller reaches them); the hand-edited CSUTLDTC port returns 2508 for them (it returned 2517). Proof: 36/36 compared records equal, was 34.
  • WHEN FC-INVALID-MONTH (2517, line 139) is stated infeasible (family G): the model never raises 2517 for a numeric picture. It replaces the open pin from CSUTLDTC: CEEDAYS arms 2507/era/bad-picture/year-zero stated infeasible; month 2508-vs-2517 owner question (Part of #6967) #6996; WHEN OTHER stays the one open arm. Net branch coverage stays 4/10 (month 13 takes the existing 2508 arm); the arm is closed by a reviewed infeasible entry, not by a taken branch.
  • Register L1: new "Assumed (owner ruling 2026-10-29)" entry; removed from "Refused".

Class / Sibling gaps

Class: a CEEDAYS condition IBM leaves undocumented that the model refused by name, now decided by an owner ruling; the same rule lives in three places (Java runtime, C oracle model, the dateutil port) and all three change here, with every month value outside 1-12 and every separator tested.
Sibling gaps:

  • tests/cics_crucible/ports/pc-wizard/PCCONF/overlay/cobolrt/le/Ceedays.java is a frozen copy of the old runtime (still refuses a bad month). No burned-estate program needs it (PCCONF is a cics-crucible port); sync it only if that crucible regenerates.
  • docs/language_status/porting_loop.md line 90 still says the month is refused (historic note; doc follow-up).
  • Other ceedays.c-based oracle proofs (CRECUST, COACTUPC callers) go stale on the oracle and are re-proved by the scheduled job; none uses a bad month (their programs check it first).

File count

Over the 5 hand-written cap by this PR's own failures, not extra scope: the dateutil port CsutldtcService.java (the proof fails without it), and two pin tests that fail without an update (test_evidence.py 34 -> 36 calls, test_proof_reach.py 69 -> 67 survivors: CORPT00C and COTRN02C mutation records judge the older callee, same as #4049). carddemo-report and carddemo-tranadd evidence re-proved (their ports call Ceedays.java).

File-cap exception: one atomic behaviour change in three places (runtime, oracle model, dateutil port) plus the two pin tests it moves; a slice without the port fails the dateutil proof, one without the pin tests fails the suite.

Evidence

  • ladder_refresh.py carddemo-dateutil: proven on 36 calls, 2/2 paragraphs, 4/10 branches (unchanged).
  • test_det_ceedays.py (new rows: months 13, 00, 99; slash and dash; MM-DD-YYYY order; bad month beside a bad day; month wins over range; non-numeric month stays 2520), test_carddemo_dateutil_outcomes_6967.py, test_evidence.py, test_proof_reach.py, cobolrt rules tests: pass.
  • audit_check.py: all clear. pr_gates --fast: 8/9 pass; the affected gate failed only on test_proof_reach (fixed above, passes alone); 605 affected test files over the 300 s budget are left to CI.
  • Not run: golden masters (no parsing change), full --ratchets.

Lessons for agents

  • A CEEDAYS rule lives in three places: Ceedays.java, tests/equivalence/le/ceedays.c, and each case's hand-written CSUTLDTC port; changing one fails the dateutil proof (the diff shows cobol vs java per call).
  • Changing Ceedays.java makes carddemo-report / carddemo-tranadd evidence "port changed since the proof": evidence.py prove both, and update the survivor count in test_proof_reach.py when a callee port changes.

🤖 Generated with Claude Code

…9, Part of #6072, #6967)

Model it in Ceedays.java, the ceedays.c oracle model and the carddemo-dateutil port; record it as an
owner-stated ASSUMED entry in register L1; run month 13 and 00 in carddemo-dateutil; the FC-INVALID-MONTH
(2517) arm becomes a stated-infeasible outcome in place of the open pin.

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 21:15
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@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