Skip to content

PAUDBLOD: a BMP whose ENTRY 'DLITCBL' hides the I/O PCB, CBLTDLI in a BMP (Part of #5233) - #6161

Merged
squid-protocol merged 5 commits into
mainfrom
churn/5233-20261023T0502Z
Oct 23, 2026
Merged

squid-protocol merged 5 commits into
mainfrom
churn/5233-20261023T0502Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #5233

Checklist: partial [c:ee85cc1d] -- IMS TM / MFS / MPP (the I/O PCB as a message PCB) is not modelled; no burned program uses it

What

PAUDBLOD (CardDemo, a BMP, PSB CMPAT=YES) is PROCEDURE DIVISION USING IO-PCB-MASK PAUTBPCB plus ENTRY 'DLITCBL' USING PAUTBPCB. IMS enters a BMP at the header and passes the I/O PCB first, so the ENTRY list is the header's list minus its first. Both runtimes took the ENTRY list as the program's PCBs and never saw the I/O PCB, and the BMP lane only knew EXEC DLI.

  • det/stmt.py: Procedure.division_using keeps the header's own USING before ENTRY replaces using.
  • det/dli.py: header USING = I/O PCB + exactly the ENTRY list is a BMP (entry_pcbs returns None, bmp_pcbs builds it); bmp_pcbs accepts CALL 'CBLTDLI' as well as EXEC DLI; call() no longer refuses CBLTDLI in a BMP and refuses the I/O PCB handed to it (IMS TM message call) by name.
  • det/program.py: the DIB records are built only for a program that issues EXEC DLI.
  • tests/tools/equivalence_ims.py: bmp_using reads the same shape (oracle side, GGDLIBMP; ggdli.c unchanged).
  • tests/tools/equivalence_inputs.py: @generate resolves a COPY inside the record through the case's copy_dirs (PAUDBLOD's CIPAUSMY); the default lookup order is kept.
  • New case tests/equivalence/carddemo-paudblod (LICENSE / NOTICE are the source's own).

Class

Shape Reads as Status
header USING = I/O PCB + ENTRY list, EXEC DLI or CBLTDLI BMP done (PAUDBLOD)
header USING, no ENTRY, EXEC DLI BMP unchanged (CBPAUP0C)
header USING, no ENTRY, CBLTDLI only BMP done (not burned)
ENTRY only (or an ENTRY that is not the header minus its first) batch DLITCBL unchanged (PAUDBUNL, DBUNLDGS)
the I/O PCB passed to CBLTDLI refused by name done

Evidence (levels, oracle = GnuCOBOL + our DL/I model, not IMS)

  • Translated: 88/88, 0 holes. Executed-equivalent: 3 runs (1 base, 2 faults), RETURN-CODE 0/0 and 16/16, DBPAUTP0 38/38 records equal, SYSOUT 154/154 lines equal; 16/16 paragraphs, 24/34 branches. The 10 uncovered branches are DL/I status-failure arms (ISRT/GU status other than blank/II/GE): the harness injects file faults only, not PCB statuses.
  • Assumptions: the I/O PCB mask is PIC X(1) and never read (the same uncited ASSUMPTION as CBPAUP0C); INFILE1 / INFILE2 are not in the corpus, generated from the program's own layouts (keys positive: the CBLTDLI model refuses a P-field qualification whose operands are not both valid with one positive sign; INFILE1 repeats a key for ISRT II; INFILE2 has a key with no root for the GU miss).
  • Coverage ledger: added carddemo-paudblod; refreshed cbpaup0c / paudbunl fingerprints and dbunldgs 13 -> 14/14 paragraphs (main also measures 14/14, so the old entry was stale and the gain is not from this PR).
  • Re-proved, unchanged: carddemo-cbpaup0c, carddemo-paudbunl, carddemo-dbunldgs (PROVED).
  • Gates: pr_gates --fast 7/7, --ratchets 9/9, audit_check clear, ground-truth ledger clean, test_evidence / test_source_reads / DL/I tests pass. Golden not re-blessed (no parsing logic changed).

Sibling gaps (none filed)

Member Status Why not here Source Burned program
I/O PCB as message PCB (GU/ISRT/CHNG), MPP, MFS refused by name needs an IMS TM message model IMS TM none
CALL 'CBLTDLI' under CICS refused next checklist item; needs equivalence_cics.py to link ggdli.c register I5 COPAUA0C family uses EXEC DLI only
CMPAT=NO BMP (no I/O PCB first) not distinguished no burned PSB PSB none
DL/I PCB-status fault injection harness gap would cover the 10 error branches harness PAUDBLOD

Remaining slices

IMS TM / MFS / MPP; CBLTDLI under CICS; PCB-status fault injection in the harness.

Plan deviations

Planned (d) "refuse a mismatched ENTRY list by name": not done; a mismatch keeps the existing ENTRY-wins batch path, which test_det_dli.py already pins. Added equivalence_inputs.py (not planned: generating INFILE1 needed the COPY resolved) and updated one test_det_dli.py assertion that pinned the old CBLTDLI-in-BMP refusal. That is more than the 5 hand-written files; the pieces are one mechanism.

Lessons for agents

  • The det-sweep digest lists every NOT PROVEN case, including the expected ones (mortgage-mpmt/csmrt/cmort, cbsa-crecust, cbsa-bnk1ccs-create are expected on main). The real cause is the coverage ledger: ... unexpected line: a new proven case needs det_coverage_ledger.py update <sweep dir> in the same PR.
  • equivalence_env.py --shell rewrites PATH from the running interpreter: with a system python3 the venv bin drops off PATH and heavy-run.sh fails with python: command not found; put the selfscan bin first again after the eval.
  • @generate numeric fields include negatives; a key the CBLTDLI model qualifies on must be given positive values, else the run is refused ("P-field qualification ... one positive sign").
  • A read_text(errors=...) in a new test fails test_source_reads; read_source(path).text.

Cross-repo

None: no crucible pin or rosetta change.

🤖 Generated with Claude Code

squid-protocol and others added 3 commits October 23, 2026 01:11
…I' in a BMP (Part of #5233)

IMS enters a BMP at the PROCEDURE DIVISION header and passes the I/O PCB first (PSB CMPAT=YES), so PAUDBLOD's
ENTRY list is the header's minus its first. Both runtimes now read header USING = I/O PCB + the ENTRY list as a BMP,
accept CALL 'CBLTDLI' there (the I/O PCB passed to it is refused by name), and build no DIB for a program with no
EXEC DLI. New case carddemo-paudblod (INFILE1/INFILE2 generated from the program's own layouts; the generator now
resolves a COPY inside the record through the case's copy_dirs).

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 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 05:19
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 05:22
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6161 @ e336946: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39905153198/job/120262609944
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases cbsa-bnk1ccs-create,cbsa-crecust,mortgage-cmort,mortgage-csmrt,mortgage-mpmt --work /tmp/gitgalaxy-scratch/ci-digest/sweep
det cases not proven: cbsa-bnk1ccs-create,cbsa-crecust,mortgage-cmort,mortgage-csmrt,mortgage-mpmt
errors:
det mortgage-csmrt NOT PROVEN proven on 5 scenarios, covering 1/1 paragraphs and 1/2 branches
det mortgage-mpmt NOT PROVEN not proven; 11 calls cover 4/4 paragraphs and 12/12 branches
det cbsa-bnk1ccs-create NOT PROVEN
det cbsa-crecust NOT PROVEN
det mortgage-cmort NOT PROVEN proven on 16 scenarios, covering 6/6 paragraphs and 18/21 branches
##[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 174 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 141553
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is c5d87857f9f74e6fbea6646fa3e211f2ca7329ae60da305518b1f4f52ddb380c
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12481093545
Artifact det-sweep-ledger has been successfully uploaded! Final size is 141553 bytes. Artifact ID is 12481093545
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39905153198/artifacts/12481093545
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/33d00a24-41bf-469b-bea5-6fbe82c16875' 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 23, 2026
squid-protocol and others added 2 commits October 23, 2026 01:56
…art of #5233)

The det sweep's coverage ratchet failed on a missing paudblod entry and on
dbunldgs's 13 -> 14 paragraphs (main measures 14/14 too: a stale entry).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-protocol squid-protocol removed 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

CI shepherd: the head of this PR (aa5783c) 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 23, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit cbb8e6b into main Oct 23, 2026
62 checks passed
@squid-protocol
squid-protocol deleted the churn/5233-20261023T0502Z branch October 23, 2026 06:39
squid-protocol added a commit that referenced this pull request Oct 23, 2026
…art of #5278)

Resolved the carddemo-dbunldgs conflict with main's entry (#6161), then
re-ran det_coverage_ledger.py update from a local sweep at the merged
head: both PROVED, coverage unchanged (14/14 + 18/18; 41/41 + 63/69).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

squid-protocol added a commit that referenced this pull request Oct 23, 2026
…) (#6180)

PAUDBLOD's BMP lane landed in #6161. The rest of the I/O PCB item (message calls on the
I/O PCB, AIBTDLI, CHNG/SETO/PURG, MFS) is needed by no burned program; a census test over the
CardDemo IMS programs pins that and register I5 records it.

Co-authored-by: Claude Sonnet 5.5 <[email protected]>
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