Skip to content

cases: EIBCALEN scenarios for userupd, report, tranlist (Part of #5401) - #5536

Merged
squid-protocol merged 3 commits into
mainfrom
churn/5401-20261018T2106Z
Oct 18, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/5401-20261018T2106Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #5401.

Adds commarea_length (EIBCALEN, register X23) scenarios to three CardDemo CICS cases, all proven GnuCOBOL against the Java port with evidence re-recorded:

  • userupd (COUSR02C): short-commarea-185, -186
  • report (CORPT00C): short-commarea-146, -153
  • tranlist (COTRN00C): enter-short-commarea (160 of 218 bytes)

Also pins them in test_strengthen_loop.py and notes the slice in mutation_testing.md. The mutation score is not re-run, so the kill count is unmeasured.

What changed from the plan

The plan had many more lengths (userupd 160-187, report 4-130, tranlist pf7/pf8). Those failed the proof: a short COMMAREA leaves numeric fields blank, which is non-digit data in a PIC 9. IBM leaves that undefined, and the oracle (<invalid ...>) and port (0/null) read it differently. Partial-field cuts (userupd 161/169/177/187, report 147/152) differ too. I removed them rather than loosen the comparator, and kept only lengths on field boundaries where no blank numeric is read.

Sibling gaps

  • COTRN00C 3c413ab7f0 (line 707): needs non-numeric page data (IBM-undefined). Program: COTRN00C.
  • EIBCALEN 0 with a COMMAREA present, not expressible (DFHCOMMAREA unaddressable): COBIL00C 57484857ed, COTRN02C f92dd6e996, COUSR02C d0e975d5b4.
  • COCRDSLC 764873c268: facade-level.
  • COCRDLIC: no named EIBCALEN survivors, but 16 of 46 scenarios are refused (X8).
  • COUSR02C survivors at 160-184 and CORPT00C below 146 stay open.

Gates: pr_gates --fast and --ratchets pass; tree-wide guard tests plus test_evidence and test_strengthen_loop pass (269); ruff audit and format OK; time_ratchet check 0 over limit. audit_check.py could not run its mypy leg (mypy not installed here); only a test and JSON changed.

Lessons for agents

Short-COMMAREA scenarios expose blank PIC 9 fields and partial-field copies, which the oracle and port treat differently. Choose lengths on field boundaries at or past the last numeric field.

Checklist: partial [c:0614d1ee] -- billpay, tranadd, cardview, cardlist, COUSR02C line 168 and the survivors needing IBM-undefined non-digit data are not covered

🤖 Generated with Claude Code

Add commarea_length scenarios (userupd 185/186, report 146/153, tranlist
enter-short-commarea at 160). Lengths that cut or blank a numeric field are
not used: a blank PIC 9 is IBM-undefined and the oracle and port read it
differently. Evidence re-recorded; pin test and mutation_testing.md note added.

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 18, 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 18, 2026 21:21
@squid-protocol
squid-protocol enabled auto-merge (squash) October 18, 2026 21:32
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5536 @ 9265663: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39167505184/job/117794653657
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases --work /tmp/gitgalaxy-scratch/ci-digest/sweep
errors:
##[error]Process completed with exit code 1.
log tail:
compression-level: 6
overwrite: false
include-hidden-files: false
archive: true
env:
pythonLocation: /opt/hostedtoolcache/Python/3.12.15/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.12.15/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.15/x64/lib
##[endgroup]
With the provided path, there will be 119 files uploaded
Artifact name is valid!
Root directory input is valid!
Uploading artifact: det-sweep-ledger.zip
Beginning upload of artifact content to blob storage
Uploaded bytes 94622
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 461b1f45ff906996734350abe3d165aabf0998c2d51240c05a388dbf5338bd08
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12150868011
Artifact det-sweep-ledger has been successfully uploaded! Final size is 94622 bytes. Artifact ID is 12150868011
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39167505184/artifacts/12150868011
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/41fa0aea-54b2-4f19-9fe4-07eb5840ef21' 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
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 18, 2026
@squid-protocol squid-protocol removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 18, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

CI shepherd: the head of this PR (4af50d7) is not the one a maintainer labelled shepherd:merge on (new commits, or never approved), so the label was removed and nothing merges unreviewed code. Re-add the label when the new head is ready (shepherd:reapprove marks this PR until then).

@squid-protocol squid-protocol added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Oct 18, 2026
@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