Skip to content

equivalence: carddemo-userlist-linked proves 10/10 through the det port (Part of #6166) - #7760

Merged
squid-shepherd[bot] merged 2 commits into
mainfrom
churn/6166-20261105T0651Z
Nov 5, 2026
Merged

squid-shepherd[bot] merged 2 commits into
mainfrom
churn/6166-20261105T0651Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #6166. Checklist: partial [c:da7b5789] -- the case proves, but det_mutation does not yet score a sibling case, so the 4 LINK-entry survivors (7671a00fb6, 34799ba0a3, f38b97a36c, ce878f3bbb) stay unaccounted.

What this answers

The earlier attempt saw carddemo-userlist-linked at 0/N events equal, with Java recording only a final COMMAREA. Cause: it was run with plain equivalence.py run, which runs the forge stub; the stub's runTask is the TODO: [AI AGENT] port the PROCEDURE DIVISION body, so handleLink -> region.run -> runTask correctly ran and did nothing. The harness (FacadeRegion.start / region.linked) was fine. Through the det port (det_port.py run carddemo-userlist-linked --work DIR) the case translates 288/288 and proves: 10/10 scenarios equal (java-facade too), the injected ENDBR fault fires on both sides, 16/16 paragraphs, 64/100 branches. Evidence level: translated whole, executed-equivalent on 10 scenarios; GnuCOBOL plus our stub as oracle. The case notes record the run command.

Class / Sibling gaps

Class: a CICS case entered by LINK ("linked": true) whose det port must be run via det_port, not the stub path. Members: carddemo-userlist-linked (this PR, proves). Sibling gaps: (1) det_mutation.py scores only the base case's scenarios, so crediting the 4 case-gap survivors from this sibling needs tooling support (source: tests/tools/det_mutation.py; not here, a different mechanism and over the 5-file cap). (2) No evidence.json for the new case (evidence.py prove, scheduled job). (3) 36/100 branches of COUSR00C are not reached by the LINK scenarios.

Remaining slices

det_mutation support for sibling cases, then re-score and state the 4 survivors; evidence record for the case.

Gates

Ran: test_proof_reach, test_source_reads, test_generated_branch, test_evidence, test_det_mutation, test_infeasible_outcomes (all pass with the case present). Not run: pr_gates --ratchets (data-only addition, no engine change).

Lessons for agents

  • A cics case at 0/N events with Java recording only the COMMAREA ran the forge stub (runTask is a TODO): prove with det_port.py run CASE --work DIR, not equivalence.py run.

🤖 Generated with Claude Code

…es 10/10 through the det port (Part of #6166)

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 Nov 5, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 5, 2026 06:57
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 5, 2026 06:57
@squid-shepherd
squid-shepherd Bot disabled auto-merge November 5, 2026 07:00
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

PR #7760 @ b41de77: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/41983860700/job/127100698236
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 269 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 222355
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 10a94755415eff2fd4efc5840a525370739af8bc2ca46103abdd42934350175d
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 13395585954
Artifact det-sweep-ledger has been successfully uploaded! Final size is 222355 bytes. Artifact ID is 13395585954
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/41983860700/artifacts/13395585954
Post job cleanup.
[command]/usr/bin/git version
git version 2.56.0
Temporarily overriding HOME='/home/runner/work/_temp/d41d32bd-7426-4ff4-8c28-bf02148e7104' 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 added the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Nov 5, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

CI shepherd: the head of this PR (2315b6c) 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). Until then it is a draft and runs the cheap audits only; re-adding the label marks it ready, which starts the full set on that head.

@squid-shepherd squid-shepherd Bot removed the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Nov 5, 2026
@squid-shepherd
squid-shepherd Bot marked this pull request as draft November 5, 2026 07:09
@squid-shepherd squid-shepherd Bot added shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. 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 Nov 5, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:reapprove Bot: new commits dropped shepherd:merge; re-add it to merge this head. Guide: docs/ci.md labels Nov 5, 2026
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd
squid-shepherd Bot marked this pull request as ready for review November 5, 2026 07:11
@squid-shepherd squid-shepherd Bot added the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 5, 2026
@squid-shepherd
squid-shepherd Bot enabled auto-merge (squash) November 5, 2026 07:11
@squid-shepherd

squid-shepherd Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@squid-shepherd squid-shepherd Bot removed the shepherd:retrying Bot: an infra/flake rerun is pending on this head. Guide: docs/ci.md label Nov 5, 2026
@squid-shepherd
squid-shepherd Bot merged commit e5c9bf5 into main Nov 5, 2026
77 of 96 checks passed
@squid-shepherd
squid-shepherd Bot deleted the churn/6166-20261105T0651Z branch November 5, 2026 07:45
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