Skip to content

BIF DEEDIT of a field with no digit leaves zeros (X26 ASSUMED); BNK1CAC 437 taken (Part of #6072) - #6940

Merged
squid-shepherd[bot] merged 4 commits into
mainfrom
churn/6072-cac437
Oct 28, 2026
Merged

squid-shepherd[bot] merged 4 commits into
mainfrom
churn/6072-cac437

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6072

What

EXEC CICS BIF DEEDIT of a field with no digit (all blank, all _, X'00', letters only) was refused on both legs (X26). IBM's text ("non-digits removed, digits right-aligned, padded left with zeros") read literally gives all zeros, so both legs now return zeros. IBM does not say it, so it is registered ASSUMED in X26, identical on the port and the GnuCOBOL stub.

This unblocks BNK1CAC line 437 (CUSTNOL < 1 OR CUSTNOI = '__________', true arm): a blank CUSTNO arrives with length 0 (X54), DEEDIT no longer refuses it, CUSTNOL < 1 is true. New scenario customer-missing.

Mechanism: one DEEDIT edit, three places that must agree: DetCics.deeditEbcdic, ggcics.c GGCDEED, task.py BIF_DEEDIT (the spec). Still refused: a byte outside 7-bit ASCII, and a LENGTH past the field.

Evidence (ladder)

program paragraphs before after branches before after status
cbsa-bnk1cac 100.0 (25/25) 100.0 (25/25) 78.4 (76/97) 79.4 (77/97) proven (53 scenarios)

Oracle is GnuCOBOL plus our stub, not z/OS. The zeros result for a no-digit field is an assumption, not a z/OS measurement.

Class sweep (every input shape of DEEDIT)

Tested on the stub (test_cics_runtimes.py) and the Java side (test_det_translate.py): abc, ___, __________ -> zeros; - unchanged; -- -> 0}; a- -> 0}; 1-byte unchanged; zoned rightmost unchanged; \xe91 still refused (7-bit ASCII).

Sibling gaps (not filed as issues)

  • BNK1CAC 717:true: reached only through INSPECT OVERDRI(1:0) (zero-length reference modification), in bounds_refused for overdraft-missing. Not unblocked by this PR.
  • BNK1CAC 611 / 637: X8-bound (rate-three-places). 637:false is not infeasible.

Remaining slices

None: the change is one atomic behaviour (the three code sites must agree and each test pins one of them), so it is not split.

File-cap exception: one atomic behaviour change; the port, the stub and the spec must flip together or the equivalence proof diverges. 6 hand-written files (DetCics.java, ggcics.c, task.py, three tests); X26.md, case data and the sweep ledger are not counted.

Checklist

Checklist: partial [c:3c7856f6] -- BNK1CAC 717, 611 and 637 remain open

Gates

  • pr_gates --fast: 9/9 pass.
  • pr_gates --ratchets: 8 pass, 1 fail. fact-crosscheck fails on estate-crucible :: INVTRLD.cbl translator refused: PROCEDURE DIVISION does not parse at line 27. Same failure on pristine origin/main (checked in a control worktree), so not from this PR. estate-crucible had to be synced to v0.5.0 (sync-pins.sh) first.
  • ladder_refresh.py cbsa-bnk1cac: PROVED, 814 passed, 148 skipped in the pin tests.
  • Overlap: CICS faults: CEELOCT CEE2F3 feedback-code failure (CRECUST 54->55/70) (Part of #6882) #6935 merged first; origin/main merged here with no conflicts.

Cross-repo

None. No companion PRs.

Facts checked: the 437 true arm is taken per the regenerated ledger (77/97); IBM's silence on a no-digit field is why this is ASSUMED, owner may prefer a different value.

Lessons for agents

  • pr_gates --ratchets estate leg fails with "on but scorer pins v0.5.0" until tests/tools/box/sync-pins.sh is run.

🤖 Generated with Claude Code

@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 28, 2026
@squid-shepherd

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review October 28, 2026 20:38
@squid-shepherd

Copy link
Copy Markdown
Contributor

PR #6940 @ 3145ea7: 1 failed check(s)

== shepherd (label event) (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40764952709/job/123086476327
repro: python tests/tools/pr_gates.py --fast
errors:
fail-on-cache-miss: false
##[error]Process completed with exit code 1.
log tail:
Cache restored from key: flake-history-40692939546
##[warning]Input 'app-id' has been deprecated with message: Use 'client-id' instead.
##[group]Run actions/create-github-app-token@bcd2ba4
with:
app-id: ***
private-key: ***
skip-token-revoke: false
github-api-url: https://api.github.com
##[endgroup]
Inputs 'owner' and 'repositories' are not set. Creating token for this repository (squid-protocol/gitgalaxy).
##[group]Run python3 tests/tools/shepherd_gh.py event --event-path "$GITHUB_EVENT_PATH" --flake-cache flake-cache/flake_history.json
python3 tests/tools/shepherd_gh.py event --event-path "$GITHUB_EVENT_PATH" --flake-cache flake-cache/flake_history.json
shell: /usr/bin/bash -e {0}
env:
GH_TOKEN: ***
SHEPHERD_TRUSTED_BOTS: squid-shepherd[bot],squid-protocol
##[endgroup]
#6940 approval marker for 3145ea7: ok
#6940 ready for review: ok
#6940 ci-gate pending: draft: the checks run once it is ready for review: FAILED: gh: Resource not accessible by integration (HTTP 403)
##[error]Process completed with exit code 1.
##[warning]Input 'app-id' has been deprecated with message: Use 'client-id' instead.
Post job cleanup.
Token revoked
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/188ed92c-26bf-4dc5-adf7-68e5fe7354c8' 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-shepherd
squid-shepherd Bot enabled auto-merge (squash) October 28, 2026 20:38
@squid-shepherd squid-shepherd Bot added shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Oct 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-shepherd squid-shepherd Bot added shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md and removed shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md labels Oct 28, 2026
@squid-shepherd
squid-shepherd Bot merged commit 589fbfa into main Oct 28, 2026
126 of 131 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6072-cac437 branch October 28, 2026 21:24
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