Skip to content

COCRDLIC: state the survivors behind the X8 refusals under PF keys (Part of #5401) - #6297

Merged
squid-protocol merged 3 commits into
mainfrom
churn/5401-20261023T2059Z
Oct 24, 2026
Merged

squid-protocol merged 3 commits into
mainfrom
churn/5401-20261023T2059Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

Checklist: done [c:ff9d73d3]

Part of #5401. COCRDLIC's 16 ENTER scenarios are refused by the oracle (register X8: line 518 subscripts VIEW-REQUESTED-ON(I-SELECTED) with I-SELECTED = 0, and the oracle is built with EC-BOUND-SUBSCRIPT). The refusals stay (owner policy, nothing loosened). This PR states the survivors they left open under PF keys, which skip line 518.

What changed

  • case.json: 4 scenarios (pf8-with-all-zeros-account-filter, pf8-with-all-zeros-card-filter, pf8-endbr-invreq, pf7-endbr-invreq), 46 scenarios in all. They kill 1761ccd4aa, d9ff5e4dbc, fc564b048f.
  • 103529adf5 and 0e7e448057 (named in the plan) were already killed by earlier scenarios; the pin test now covers all five.
  • Cardlist mutation re-run (sample 100, seed 0): 82 caught of 94 (87%), 12 survivors all equivalent, 6 stillborn, 0 case gaps (was 75/94, 7 case gaps).
  • Evidence record re-proven (evidence.py prove carddemo-cardlist): 36/36 paragraphs, 147/149 branches.
  • mutation_testing.md: new paragraph, stale "not re-run" sentences updated.

Gates

pr_gates --fast 7/7, --ratchets 9 pass, audit_check clear, test_evidence 47 pass, tree-wide guard tests and the cardlist/bounds tests pass (237), new test also passes under plain pytest from /tmp.

Class / Sibling gaps

Class: a mutation survivor whose only natural killing scenario is ENTER-shaped and so refused by X8; fix it by stating the survivor under a PF key. Siblings: the 16 ENTER refusals themselves (still refused by policy; the empty-selection path at line 518 is unobserved by any proof); the X23 short-COMMAREA refusals on cardview and cardlist; the codec pad/truncate item across the seven ports. None is changed here.

Lessons for agents

  • A plan's survivor list can be stale: re-judge the named ids with mutation.py run --only before writing scenarios; two of five were already killed.
  • After --record, test_evidence.py still fails "case changed since the proof" until evidence.py prove KEY is run.

🤖 Generated with Claude Code

Checklist: partial [c:cdb8fd24] -- not worked on in this PR; the codec pad/truncate assumption is still unchecked

…ardlist mutation re-run 82/94, 0 case gaps (Part of #5401)

Four PF-keyed scenarios (all-zeros account and card filter, ENDBR INVREQ on PF8 and PF7) kill the
cardlist case-gap survivors the 16 ENTER refusals left open. The 16 refusals stay (register X8).

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

Copy link
Copy Markdown
Owner Author

PR #6297 @ 42f7361: 1 failed check(s)

== det (failure) -- real
https://github.com/squid-protocol/gitgalaxy/actions/runs/40026103709/job/120664862041
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 142383
Finished uploading artifact content to blob storage!
SHA256 digest of uploaded artifact is 06b70002aaf6cf007a7e59ccfdbf5b5cf7d845dd475a77ace03430d47e2f37d6
Finalizing artifact upload
Artifact det-sweep-ledger successfully finalized. Artifact ID 12533077683
Artifact det-sweep-ledger has been successfully uploaded! Final size is 142383 bytes. Artifact ID is 12533077683
Artifact download URL: https://github.com/squid-protocol/gitgalaxy/actions/runs/40026103709/artifacts/12533077683
Post job cleanup.
[command]/usr/bin/git version
git version 2.55.0
Temporarily overriding HOME='/home/runner/work/_temp/a7211f35-5101-41c9-b7df-60cdfca29f00' 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

Copy link
Copy Markdown
Owner Author

No description provided.

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

Copy link
Copy Markdown
Owner Author

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

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 24, 2026 00:20
@squid-protocol
squid-protocol merged commit aee2812 into main Oct 24, 2026
38 checks passed
@squid-protocol
squid-protocol deleted the churn/5401-20261023T2059Z branch October 24, 2026 00:26
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