Skip to content

equivalence: ASSIGN writes exactly the option width; signon sysid-sent scenario (Part of #4049) - #5671

Merged
squid-protocol merged 4 commits into
mainfrom
churn/4049-20261019T1806Z
Oct 20, 2026
Merged

squid-protocol merged 4 commits into
mainfrom
churn/4049-20261019T1806Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Part of #4049 (slice 2 of 3; slice 1 is #5669, which this PR will conflict with in the files below until it lands)

What changed

  • tests/tools/equivalence_cics.py: ASSIGN codegen now emits MOVE GG-NAME1(1:w) TO target(1:w). IBM writes exactly w bytes and leaves a wider data area's tail as it was (det DetCics.put does the same); the old plain MOVE space-padded the tail (CardDemo SYSIDO is 8 bytes, SYSID is 4). An already reference-modified target is refused by name (Unsupported); no burned estate ASSIGNs into one.
  • carddemo-signon: scenario sysid-sent (SYSIDI arrives as ABCDEFGH). Before the fix: 2/3 events equal (COBOL CICA+pad vs port). After: 3/3 equal, both oracle and java-facade; 17 scenarios, 6/6 paragraphs, 17/17 branches. evidence.json re-recorded (proven, unapproved).
  • test_equivalence_cics.py: existing ASSIGN expectations updated; new test_assign_writes_exactly_the_option_width over APPLID, SYSID, ABCODE, PROGRAM, INVOKINGPROG, STARTCODE, USERID with plain, qualified and subscripted targets, plus the refused refmod target.
class members
ASSIGN area_out options (same width path) APPLID, SYSID, ABCODE, PROGRAM, INVOKINGPROG, STARTCODE, USERID, FACILITY, CHANNEL: all covered by the codegen change; the test pins the first seven (CHANNEL/FACILITY go through different branches: GGCASCH / TERMCHK)

Mutation: mutation.py run carddemo-signon --ops NEG,ROR (35 mutants): the two getSysid() == null mutants (NEG 2d62c1c49e, ROR 23ec500d34 at this commit; cacdc9260d, 90223fe830 in the committed scores) are killed by sysid-sent alone.

Sibling gaps / remaining

  • CHANNEL and FACILITY ASSIGN keep their own codegen branches (GGCASCH, TERMCHK): same pad question if a burned program assigns them into a wider area; none does today.
  • A target shorter than the option width is not detected by the harness (no field-size info); det truncates, GnuCOBOL refmod would overrun. No burned program does this.
  • Committed mutation_scores.json / mutation_testing.md not regenerated here: that needs a full mutation.py run --record of signon, best done after equivalence: EIBCALEN 0 beside a present COMMAREA; signon survivor scenario (Part of #4049) #5669 lands (its scenario changes the same case) as part of slice 3 ('z' credentials).
  • Stale-record warning in test_evidence.py lists many cases as stale on harness/generator (main drift plus this harness edit); the scheduled job re-proves them.

Gates

Rescue fix: merged main, re-swept carddemo-signon (det proven, 17 scenarios, 6/6 paragraphs, 17/17 branches), refreshed its coverage ledger (check: as expected); pr_gates --fast 6/6.
pr_gates --fast 6/6; --ratchets 8/8 (fact-crosscheck in the selfscan venv, the shared venv lacks tree-sitter); tree-wide guards 184 passed; test_equivalence_cics.py 199 passed 3 skipped, time ratchet 0 over; test_evidence.py 38 passed. audit_check.py not run separately (audits gate in pr_gates passed). Det tests that need the translator extra were not exercised (shared venv has no tree-sitter-language-pack).

Cross-repo: none.

Lessons for agents

  • pr_gates --ratchets fact-crosscheck fails "needs tree-sitter-language-pack" in the shared venv: rerun it alone with venvs/selfscan/bin/python.
  • A new scenario moves the case's det coverage ledger (tests/equivalence/det_sweep_coverage/<case>.json): refresh it in the same PR (proof_sweep.py --det-only --cases <case> --work DIR, then det_coverage_ledger.py update DIR), in a venv with the translator extra (.crucible_venvs/full_precision, PYTHONPATH=$PWD). Missing it failed det here and on equivalence: EIBCALEN 0 beside a present COMMAREA; signon survivor scenario (Part of #4049) #5669.

🤖 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 19, 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 19, 2026 18:20
@squid-protocol
squid-protocol enabled auto-merge (squash) October 19, 2026 18:22
@squid-protocol

Copy link
Copy Markdown
Owner Author

PR #5671 @ 005e185: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/39301739358/job/118236964161
repro: tests/tools/box/heavy-run.sh python tests/tools/proof_sweep.py --det-only --skip-db2 --cases cbsa-crecust,mortgage-cmort,mortgage-csmrt,mortgage-mpmt,zecs-zecs003 --work /tmp/gitgalaxy-scratch/ci-digest/sweep
det cases not proven: cbsa-crecust,mortgage-cmort,mortgage-csmrt,mortgage-mpmt,zecs-zecs003
errors:
det mortgage-csmrt NOT PROVEN proven on 5 scenarios, covering 1/1 paragraphs and 1/2 branches
det mortgage-mpmt NOT PROVEN
det zecs-zecs003 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 133 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 106348
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 669b7e59bc334e6ae9bd80138baeb7669a8e84248482c892dcb5cccb7d56c71a
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12213036576
Artifact det-sweep-ledger has been successfully uploaded! Final size is 106348 bytes. Artifact ID is 12213036576
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/39301739358/artifacts/12213036576
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/85466a53-dd29-4319-a47d-39549cd604d5' 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 19, 2026
@squid-protocol squid-protocol added shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md and removed shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md labels Oct 19, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol squid-protocol removed the shepherd:needs-fix Bot: a real failure on this head; see the digest comment. Guide: docs/ci.md label Oct 19, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

This PR conflicts with main, so no checks ran. Merge origin/main into it and regenerate generated files with their tools (never hand-merge them), then push.

@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 19, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol

Copy link
Copy Markdown
Owner Author

Waiting on an owner decision (asked privately, 2026-10-19). Nothing is needed from contributors; work resumes once it is answered.

@squid-protocol

Copy link
Copy Markdown
Owner Author

The owner decided (2026-10-19); the bot applies it on its next tick.

@squid-protocol squid-protocol 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 19, 2026
@squid-protocol squid-protocol 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 20, 2026
…enarios, re-prove (18 scenarios)

Co-Authored-By: Claude Sonnet 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 20, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

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

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 20, 2026 09:34
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit c913eb6 into main Oct 20, 2026
49 checks passed
@squid-protocol
squid-protocol deleted the churn/4049-20261019T1806Z branch October 20, 2026 10:22
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