Skip to content

CEEDAYS: numeric date pictures, only a blank picture tail assumed ignored (L1); CRECUST FC is 12 bytes (L4) (Part of #4952) - #5064

Merged
squid-protocol merged 4 commits into
mainfrom
churn/4952-20261013T2300Z
Oct 14, 2026
Merged

squid-protocol merged 4 commits into
mainfrom
churn/4952-20261013T2300Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #4952.

What

  • L1 (CEEDAYS picture). ceedays.c / Ceedays.java now parse numeric pictures: YYYY MM DD in any order, or YYYY DDD, adjacent or one separator (- / .). The date past the span is ignored (IBM: "After a valid date is parsed, remaining characters are ignored"). The picture's own tail past its last token is ASSUMED ignored only when it is all blanks (owner decision 2026-10-14, register L1): CardDemo's 'YYYYMMDD ' is modelled. A tail with any non-blank byte, or a declared length that overruns the picture item (foreign storage), is REFUSED by name (CEEDAYS: picture not modelled: a non-blank tail...).
  • L4 was a misreading. CRECUST's FC is 12 bytes (CONDITION-TOKEN-VALUE 8 + I-S-INFO 4), so nothing overruns. Register L4/L5 corrected.
  • cbsa-crecust stays unproven. Its picture is a halfword length 10 over 8 bytes, so the 2-byte tail is foreign storage: create-customer and born-in-the-future are refused by name, and the case stays in det_sweep_baseline.json (X18 also still ASSUMED). BNK1CCS, which LINKs it, is not proven.

Class: LE date-service picture strings

Member Status
CEEDAYS numeric pictures fixed here (test_det_ceedays.py, 77 vectors, C vs Java)
CEEDAYS picture tail, all blanks modelled, ASSUMED (L1, owner 2026-10-14)
CEEDAYS picture tail, non-blank or overrunning the item REFUSED by name (L1)
CEEDAYS YY, month names, eras, null/blank picture, month outside 1-12, trailing blank REFUSED by name (L1)
CEEDATE/CEEDATM/CEESECS already own tokenizer (L6); not changed

Cross-repo

None. No parser or golden-master change.

Verification

pr_gates --fast 6/6, --ratchets 7/7 (0 skipped); det_port.py check: 100/105 unchanged, moved: carddemo-acctupdate, carddemo-dateutil, carddemo-report, carddemo-tranadd, cbsa-crecust, re-proved PROVED; after the owner decision (2aec6f6) the 4 CardDemo ports and dateutil still prove, cbsa-crecust is refused by name. The first dateutil re-proof caught my own over-broad blank refusal (2022-07- 8 must stay 2520); narrowed to the #4049 trailing blank.

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 13, 2026 19:09
… CRECUST FC is 12 bytes (L4); cbsa-crecust proves (Part of #4952)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ate; a blank inside is 2520 (CardDemo dateutil) (Part of #4952)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

Held for owner decision (churn review). CI is green and the class table is present. But this PR changes L1 from REFUSED to ASSUMED for the picture's tail past its last token. Two cases are affected: CardDemo's blank-padded 'YYYYMMDD ', and CRECUST's halfword length 10 over 8 picture bytes, where the 2 extra bytes are foreign storage that z/OS would read as picture text. That change proves cbsa-crecust and moves 4 carddemo ports. Because it turns a named refusal into a proving assumption, it needs the owner's OK before shepherd:merge. The L4/L5 correction (FC is 12 bytes) stands on its own.

@squid-protocol

Copy link
Copy Markdown
Owner Author

Owner decision (2026-10-14) on register L1: assume only a BLANK tail is ignored. A picture string longer than the date whose extra bytes are all blanks (CardDemo's 'YYYYMMDD ') is ASSUMED-ignored, so the 4 CardDemo ports re-prove. A non-blank tail stays REFUSED by name: CRECUST's 2-byte tail is foreign storage z/OS would read as picture text, so cbsa-crecust stays unproven with that hole named. Please change L1 (register text, oracle + det port, tests for blank tail / non-blank tail / exact length) accordingly.

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 14, 2026 05:38
…blank or past-the-item tail is refused by name, CRECUST stays unproven (Part of #4952)

Owner decision 2026-10-14. Oracle model (ceedays.c) and det runtime (Ceedays.java) check every picture byte from the last token to the declared length; tests cover exact span, blank tails, non-blank tails at every position, and an overrunning declared length (poison foreign storage).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol changed the title CEEDAYS: numeric date pictures (L1); CRECUST FC is 12 bytes (L4); cbsa-crecust proves (Part of #4952) CEEDAYS: numeric date pictures, only a blank picture tail assumed ignored (L1); CRECUST FC is 12 bytes (L4) (Part of #4952) Oct 14, 2026
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 14, 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 14, 2026 09:51
@squid-protocol
squid-protocol enabled auto-merge (squash) October 14, 2026 09:51
@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