Skip to content

det/LE: CEESECS reads the CEESCEN century window for YY, both runtimes (Part of #5003) - #6242

Merged
squid-protocol merged 3 commits into
mainfrom
churn/5003-20261023T1255Z
Oct 23, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/5003-20261023T1255Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #5003. Slice 3 of 3 (slice 1 #6222 merged; slice 2 is #6236, this branch is stacked on it: retarget/merge after it lands).

What

CEESECS reads the CEESCEN/CEEQCEN century window for a YY in the picture, on both sides, and the L6 refusal is lifted.

  • YY is the one year in [S - c, S - c + 99] with those last two digits (S = system year, c = century_start, 80 until CEESCEN sets it).
  • S is the run's pinned clock: CEESECS joins gen.LIBRARY_CLOCK (clock first, charset last, like CEEGMT), Ceesecs.call(now, ...); the C twin reads COB_CURRENT_DATE. Without a pinned clock a YY is refused by name (exit 98), as CEEGMT is. A picture with no YY needs no clock.
  • DDD input stays refused. The year found goes through CEEISEC's checks (a 29 February in a non-leap window year is CEE2508).
  • Assumed (L6, new): the window is placed by the year alone, not by month/day.

Checklist: done [c:7cd27004]

Class

Class: LE date/time callable services not yet modelled, by the same mechanism (one service, one model in le_time.c + LeTime.java, vectors on both).

Member Status
CEESCEN, CEEQCEN handled (#6222, #6236)
CEESECS YY handled here
CEEFMDA / CEEFMDT / CEEFMDV missing: new services (country tables), see Sibling gaps
null (country-default) pictures missing: needs the country table
CEE2526 / CEE2527 truncation Java side refuses, C twin cannot see the output size

Tests

tests/cobol_mainframe/test_det_le_time.py: 21 new CEESECS vectors (start 80 / 0 / 50 / 100, an invalid start kept, two clocks, each window boundary pair, leap-day century, non-digit, YYMMDDHHMISS, DDD refused), the same table run through the C model, the Java runtime byte-for-byte, plus a no-clock refusal test and a translator-wiring test. 208 pass, 2.3 s.

Facts checked: no burned program calls CEESECS with a YY (L6 sweep: CRECUST/CSUTLDTC call CEEDAYS, BANKDATA CEEGMT and CEEDATM with a 14-byte picture); tests/cics_crucible/ports/*/overlay/cobolrt/le/*.java are snapshots committed with the ports (already stale for Ceeqcen) and the ports ratchet passes.

Gates: pr_gates --fast 7/7; --ratchets 9/9 (after sync-pins.sh); tree-wide guards 194 pass; time ratchet 0 over limit; audit_check clear. Golden masters unaffected (no parser change). JDK 17 via equivalence_env; -rs showed no skips.

Files: 6 hand-written (le_time.c, LeTime.java, Ceesecs.java, gen.py, the test, L6.md). One over the limit: Ceesecs.java is a two-line facade signature change that cannot be split from gen.py, and L6.md would otherwise state a refusal that no longer exists.

Sibling gaps

  • CEEFMDA / CEEFMDT / CEEFMDV: missing, need country default tables (a different mechanism); no burned program needs them.
  • Null pictures for CEEDATE / CEEDATM / CEESECS: refused, same country tables; no burned program passes a null picture.
  • CEE2526 / CEE2527 truncation in the C twin: output-size visibility needs the driver ABI changed; no burned program has a short output (BANKDATA's is 80 bytes for a 14-byte picture).

Cross-repo: none.

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 23, 2026 08:49
…arity and emit test, register L6 (Part of #5003)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…mes (Part of #5003)

CEESECS takes the run clock first (LIBRARY_CLOCK); a YY is the year in
[system year - century_start, + 99]. le_time.c and LeTime.java agree on
21 new vectors; L6 lifts the YY refusal (DDD and a missing clock stay refused).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Base automatically changed from churn/5003-20261023T1238Z to main October 23, 2026 13:28
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 23, 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 23, 2026 14:28
@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 14:32
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6242 @ 81373ba: 1 failed check(s)

== runner-tests (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39969947788/job/120469665915
repro: python tests/tools/pr_gates.py --fast
failing tests: tests/tools/test_crucible_case.py::test_events_table_matches_the_crucible_schema tests/tools/test_crucible_case.py::test_every_committed_event_round_trips
errors:
fail-on-cache-miss: false
E AssertionError: assert {'SEND-MAP': ..., set()), ...} == {'SEND-MAP': ..., set()), ...}
tests/tools/test_crucible_case.py:99: AssertionError
E ValueError: unknown event 'WEB-OPEN' (SPEC 6.2: SEND-MAP, SEND-TEXT, SEND-CONTROL, RECEIVE-MAP, RECEIVE, LINK, XCTL, RETURN, START, RETRIEVE, CANCEL, RUN, READQ-TS, WRITEQ-TS, WRITE-OPERATOR, READ, READNEXT, READPREV, STARTBR, E
FAILED tests/tools/test_crucible_case.py::test_events_table_matches_the_crucible_schema - AssertionError: assert {'SEND-MAP': ..., set()), ...} == {'SEND-MAP': ..., set()), ...}
FAILED tests/tools/test_crucible_case.py::test_every_committed_event_round_trips - ValueError: unknown event 'WEB-OPEN' (SPEC 6.2: SEND-MAP, SEND-TEXT, SEND-CONTROL, RECEIVE-MAP, RECEIVE, LINK, XCTL, RETURN, START, RETRIEVE, CANCEL, RUN, RE
##[error]Process completed with exit code 1.
log tail:
- 'status',
- },
- {
- 'mediatype',
- 'resp2',
- 'statustext',
},
),
'ABEND': (
{
'abcode',
'cause',
'outcome',
},
{
'condition',
'exit',
},
),
}
FAILED tests/tools/test_crucible_case.py::test_every_committed_event_round_trips - ValueError: unknown event 'WEB-OPEN' (SPEC 6.2: SEND-MAP, SEND-TEXT, SEND-CONTROL, RECEIVE-MAP, RECEIVE, LINK, XCTL, RETURN, START, RETRIEVE, CANCEL, RUN, RE
2 failed, 111 passed, 4 skipped, 1 deselected in 1.81s
##[error]Process completed with exit code 1.
Post job cleanup.
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/2c70bb5f-d318-482f-8ccb-101f7dcce7a9' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
[command]/usr/bin/git config --global --add safe.directory /home/runner/work/gitgalaxy/gitgalaxy/gitgalaxy
Removing SSH command configuration
[command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
Removing HTTP extra header
[command]/usr/bin/git config --local --name-only --get-regexp http.https://github.com/.extraheader
[command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https://github.com/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
Removing includeIf entries pointing to credentials config files
[command]/usr/bin/git config --local --name-only --get-regexp ^includeIf.gitdir:
[command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
Cleaning up orphan processes

@squid-protocol squid-protocol added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 23, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit 1b05b1c into main Oct 23, 2026
87 of 89 checks passed
@squid-protocol
squid-protocol deleted the churn/5003-20261023T1255Z branch October 23, 2026 15:02
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 shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant