Skip to content

CardDemo ladder slice 4: COTRTLIC 196/230, COACTVWC 61/69 branches (Part of #6072) - #6267

Merged
squid-protocol merged 4 commits into
mainfrom
churn/6072-20261023T1612Z
Oct 23, 2026
Merged

squid-protocol merged 4 commits into
mainfrom
churn/6072-20261023T1612Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #6072 (slice 4): branch-level scenarios for two burned CardDemo CICS programs.

Evidence levels (det sweep, cobc vs det-port Java, byte-identical events)

Program Translated Scenarios Paragraphs Branches Before
COTRTLIC whole 54 proven (+11 bounds-refused, not run) 59/59 196/230 166/230
COACTVWC whole 37 proven 32/32 61/69 (+7 stated infeasible) 59/69
  • COTRTLIC: 26 new scenarios: SQL faults on every cursor, DELETE and UPDATE arm (DSNTIAC is modelled), PF8 look-ahead from a full page (last key 01), edit-error plus fault combinations, a positive SQLCODE (+304) the UPDATE EVALUATE has no WHEN for. Two filter-count scenarios run past WS-STRING-OUT length 0, which the bounds-checked oracle refuses: they are in bounds_refused (reachable, unrunnable). Three derived SQL-fault variants hit the same overrun; the harness refuses derived scenarios on its own, so they are not named in the case (naming them failed test_bounds_refused_names_real_scenarios_with_a_reason).
  • COACTVWC: invalid-key-acts-as-enter (307F, 312T); 567T, 657F, 670F, 704T, 713T, 744F, 793F are stated in infeasible_outcomes.json with COBOL reasons (stated, not proved; the sweep fails if one is reached). 918T is left for the owner.
  • Assumptions: the oracle is GnuCOBOL plus our stub, not z/OS. Residual risk: the stated-infeasible reasons need owner review; 34 COTRTLIC outcomes are open.

Ground-truth ledger and golden masters untouched (no engine change). Hand-written: both case.json, infeasible_outcomes.json; the rest is regenerated (det_coverage_ledger.py update, equivalence.py run --record).

Gates: pr_gates.py --fast 7/7, --ratchets 9/9, test_evidence, test_infeasible_outcomes, test_det_coverage_ledger pass.

Checklist: partial [c:bbdf83af] -- COTRTLIC bounds-refused family and 1210/1290/2500/92xx-93xx arms, COACTVWC 918T

Class / Sibling gaps

Class: branch outcomes of a burned CardDemo CICS program that the case's scenarios miss, closed by scenarios, fault runs or a reviewed infeasible statement. Sibling gaps: the rest of [c:bbdf83af] and [c:3d9f3444] programs (CBPAUP0C, PAUDBUNL, COTRTUPC, CBSTM03A, COACTUPC, COBSWAIT, COPAUS0C, COPAUA0C, COBTUPDT, CSUTLDTC, CODATE01, COACCT01), each its own slice; COTRTLIC's bounds-refused outcomes need an oracle without SSRANGE or a modelled blank-string path (burned program: COTRTLIC itself).

Remaining slices

COTRTLIC: 1210/1290 cross-edits, 2500 message arms, 9200/9300 message-on arms (check whether the error message can be on there), 2011F.

Rescue fix (Opus)

Merged origin/main, removed the three derived --sql- names from bounds_refused, re-ran the det sweep (both cases proved: COTRTLIC 54 scenarios 59/59 paragraphs 196/230 branches; COACTVWC 37, 32/32, 61/69) and re-recorded both coverage-ledger entries. pr_gates.py --fast 7/7; bounds, ledger, evidence and infeasible tests 106 passed.

🤖 Generated with Claude Code

squid-protocol and others added 2 commits October 23, 2026 12:50
…s (Part of #6072)

COTRTLIC: 26 scenarios (SQL faults on each cursor/DML arm, PF8 look-ahead
from a full page, edit-error combinations); filter-count and three
auto-variants are bounds_refused. COACTVWC: invalid AID scenario, plus 7
outcomes stated infeasible with COBOL reasons. Ledgers and evidence
regenerated; DSNTIAC note refreshed.

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 16:56
@squid-protocol
squid-protocol enabled auto-merge (squash) October 23, 2026 16:58
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #6267 @ 8fa106d: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39990893413/job/120546243522
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 175 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 142280
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 1dad4427db58c1bc40d564179b4435110c6d17eebffa1b1dcd91001b4e36eb87
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12517897625
Artifact det-sweep-ledger has been successfully uploaded! Final size is 142280 bytes. Artifact ID is 12517897625
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39990893413/artifacts/12517897625
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/484f4c51-153a-496a-9c9f-dca6be4d212d' 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 shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md labels Oct 23, 2026
@squid-protocol squid-protocol added shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md and removed shepherd:waiting-on-main Bot: the failing check fails on main too (main's to fix). Guide: docs/ci.md labels Oct 23, 2026
squid-protocol and others added 2 commits October 23, 2026 13:44
…rd ledger (Part of #6072)

The harness already refuses a derived (auto SQL-fault) scenario that overruns
its bounds, so naming the three --sql- variants was redundant and broke
test_bounds_refused_names_real_scenarios_with_a_reason. Re-recorded the
COTRTLIC and COACTVWC coverage ledger entries after merging main (det CI
reported cotrtlic stale: case, harness changed).

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 (61a1120) 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:waiting-on-main Bot: the failing check fails on main too (main's to fix). 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 enabled auto-merge (squash) October 23, 2026 17:52
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 3c87ee5 into main Oct 23, 2026
34 checks passed
@squid-protocol
squid-protocol deleted the churn/6072-20261023T1612Z branch October 23, 2026 18:15
squid-protocol added a commit that referenced this pull request Oct 23, 2026
…le entries into the per-case file

Main (#6267 era) added 7 carddemo-acctview entries to the old single ledger; they move 1:1 into
tests/equivalence/infeasible_outcomes/carddemo-acctview.json (48 cases, 135 entries, load() equal to main's file).

Co-Authored-By: Claude Opus 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