Skip to content

LE: pin the Java refusal of a short CEEDATE / CEEDATM output item (Part of #5003) - #6498

Merged
squid-protocol merged 1 commit into
mainfrom
churn/5003-20261024T1621Z
Oct 24, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/5003-20261024T1621Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5003. Checklist: partial [c:a06ff706] -- the C oracle cannot see an output item's size (GnuCOBOL passes a bare pointer), so it cannot refuse a short output; the Java side now has a pinned test, and the census test keeps burned programs out of reach.

What

  • test_det_le_time.py: the Java probe takes an output size. For CEEDATE and CEEDATM (5 pictures) an item one byte short of 2 + the result is refused, one of exact size and one larger are filled whole (zero feedback token). The probe compile is now a module fixture shared with the byte-for-byte test.
  • register/L6.md: states the test and why the oracle side cannot refuse.

Class / Sibling gaps

Class: LE date/time services that write a halfword-prefixed VSTRING output (the CEE2526 / CEE2527 truncation path): CEEDATE and CEEDATM covered here on the Java side. Other members: CEEFMDA / CEEFMDT / CEEFMDV are refused by name (not modelled); CEESECS and CEEISEC outputs are fixed-size numerics, no truncation. Sibling gap: a COBOL-side refusal would need the harness to pass or derive item sizes (needs a static size check on the CALL's USING item); no burned program needs it (BANKDATA: 14-byte result, 80-byte DATM-CONV, pinned by test_le_fmd_census_5003.py).

Facts checked

  • LeTime.putVstring refuses when out.length() < 2 + t.length; mutating the bound to - 1 fails 5 of the new tests.
  • Burned sweep (census test) passes: only BANKDATA calls CEEDATM, 80-byte output.
  • pr_gates --fast 7/7, --ratchets 9/9; time ratchet 0 over/warned; guards pass. Golden masters not touched (no engine change).

Cross-repo

None.

🤖 Generated with Claude Code

… (Part of #5003)

The probe takes an output size; one byte short of 2 + the result is refused, exact size is filled whole.
Register L6 records why the C oracle cannot refuse.

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 24, 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 24, 2026 16:33
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 24, 2026
@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 16:35
@squid-protocol
squid-protocol merged commit 35a1424 into main Oct 24, 2026
57 checks passed
@squid-protocol
squid-protocol deleted the churn/5003-20261024T1621Z branch October 24, 2026 17:02
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

1 similar comment
@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