Repository navigation
Model CCSID 1208 as real UTF-8 for CHAR containers; add the CACCSID case (Part of #7589) - #7637
Conversation
…D case (Part of #7589) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…t of #7589) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
1 similar comment
|
No description provided. |
|
PR #7637 @ 584bb34: 2 failed check(s) == crucible (failure) -- real == measure (shard 1/2) (failure) -- real |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
CI shepherd: the head of this PR (2842237) is not the one a maintainer labelled |
|
No description provided. |
1 similar comment
|
No description provided. |
…7667) (#7694) * ruff-audit: zero-tolerance py3.11 syntax floor over the whole repo, not just gitgalaxy/ (#7667) PR CI runs 3.12 only and the baseline-gated lint scans gitgalaxy/ only, so #7637's backslash-in-f-string in tests/cics_crucible/ passed every PR check and broke main's py3.11 legs. ruff_audit --ci now also runs `ruff check . --select E9` at pyproject's py311 target; on #7637's file it reports line 145, the line that broke main. Co-Authored-By: Claude Opus 5.5 <[email protected]> * ruff-audit tests: stub run_syntax_check where ruff is stubbed (Smoke has no ruff) test_ci_check_end_to_end and test_ruff_audit_fails_on_format_alone stub the lint and format calls; the new syntax pass ran real ruff and failed with FileNotFoundError on Smoke. Also pin that a syntax finding alone fails run_ci_check, and scope the needs-ruff skip to the three tests that run ruff. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Joe Esquibel <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
Part of #7589
What
CCSID 1208 in CHAR containers is now real UTF-8 in both runtimes (the C stub and CicsTask), following IBM "Conversion CCSIDs for CICS TS" Table 38. A conversion goes through Unicode (source page strictly decoded, target page strictly encoded), so lengths change and GET into a shorter INTO is LENGERR RESP2 11 with FLENGTH the converted length. New equivalence case
cruc-ca-container-ccsid(CACCSID from cics-crucible, burned corpus) runs end to end: det port 50/50 translated, PROVED on 1 scenario, 3/3 paragraphs, 0/0 branches.Owner ruling 2026-11-03: IBM's documented behaviour is followed; what IBM leaves undefined is refused as undefined by IBM (malformed UTF-8 from 1208, PUT FROMCCSID(1208) data that is not valid UTF-8).
PUT FROMCCSID(1208) uses a two-reading rule (ASSUMED, recorded in X17): the region's characters as text (character literals) or the storage bytes as raw UTF-8 (hex literals). One valid reading is used; both valid and different is refused as ambiguous.
Class / Sibling gaps
Class: CHAR container code-page conversion beyond single-byte pages.
Remaining slices
det_port.py checklists them for re-proving. Re-proved here: ca-channel-containers, ca-get-container-set, ca-container-bit, ca-container-byteoffset, mortgage-mlist, mortgage-csmrt (all PROVED).Gates
pytest test_container_ccsid_4270.py + test_cics_spec.py: 68 passed.
pr_gates --fast: 9/9 pass.pr_gates --ratchets: 9/9 pass. ruff and dead-key audits: no new findings. The mypy leg ofaudit_check.pywas not run locally (mypy not on PATH);pr_gatesran the pinned mypy 2.4.0 in its audits gate. Golden masters unaffected (no parsing change).Facts checked:
equivalence.py run CASE --recordwithout a committed port gives a not-proven record; ran det_port.py first.cruc-ca-get-container-sethas no committed evidence.json.Lessons for agents
det_port.py run CASE --work DIRbeforeequivalence.py run;--recordtakes no--portand writes a not-proven evidence.json if there is no committed port, so delete it.proof_sweep.py --det-only --cases C --work DIRthendet_coverage_ledger.py update DIR, orpr_gatesderived fails.python3andeval "$(python3 tests/tools/equivalence_env.py --shell)"; format with the pinned ruff in~/.cache/gitgalaxy/ruff-<ver>.🤖 Generated with Claude Code