Skip to content

Infeasible outcomes: one file per case, add CLI, paragraph entries (Part of #6072) - #6279

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

squid-protocol merged 2 commits into
mainfrom
churn/6072-20261023T1727Z

Conversation

@squid-protocol

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

Copy link
Copy Markdown
Owner

What

tests/equivalence/infeasible_outcomes.json (every ladder slice edited it, so they conflicted) is now one file per case, tests/equivalence/infeasible_outcomes/<CASE>.json ({"format": "infeasible-outcomes/2", "case", "entries"}, entries sorted). 47 cases and 128 entries migrated 1:1 (a test compares them against the old file's content).

  • load() keeps its API (proof_blockers, evidence_report and the coverage readers are untouched). It also still reads an old single file beside the directory.
  • infeasible_outcomes.py add CASE --line N --arm A | --paragraph NAME --family G|C|R --reason ... writes sorted entries, takes unit and kind from the case's evidence.json when it lists the outcome (else --unit/--kind), and refuses duplicates, unknown cases and bad families.
  • Paragraph entries (kind: PARAGRAPH, outcome: entered, line optional) leave the live-paragraph total as branch entries leave the branch total. A proof that entered the paragraph refutes the claim, in both adjust (proof_blockers) and check (det sweep). Sweep rows now carry paragraph:NAME markers next to line:outcome.
  • det_sweep_plan.py: a changed infeasible_outcomes/<case>.json proves that case only (otherwise a full sweep).
  • The four *_6072 JSON pin tests read the old file by path; they now read the per-case file.

Owner decisions

Owner OK 2026-10-23: ladder tooling 3/3 -- make tests/equivalence/infeasible_outcomes.json merge-safe and paragraph-capable (one file per case, add CLI, paragraph-level entries), first entry CBPAUP0C 6000-EXIT only if its reason holds.

CBPAUP0C 6000-EXIT: not added

The source does not support the claim. 6000-EXIT is reached when the summary DLET succeeds (line 340) with PA-APPROVED-AUTH-CNT <= 0 (line 156). The proof already takes the detail DLET success (line 315), and the model answers DJ only in the 5-day-expiry scenario. A seeded summary with count 0 reaches it, so it is a data gap, not an infeasible path.

Class / Sibling gaps

Class: the infeasible-outcomes ledger, a shared hot file whose entries could only describe branch outcomes. Done: per-case split, loader, add, paragraph entries in adjust/check/sweep markers, planner narrowing. Sibling gaps: evidence_report.py does not show a net paragraph bar (paragraphs_net, level_of) for paragraph entries; proof_blockers.load_sweeps does not add paragraph markers when it falls back to coverage.json for old sweeps (CI regenerates sweeps); docs. The four pin tests are touched only because they read the deleted file by path (6 hand-written files beyond the 5-file limit is this fix of the PR's own breakage).

Checklist: partial [c:bbdf83af] -- tooling only; no CardDemo program lifted
Checklist: partial [c:db77a1b6] -- tooling only; no CBSA program lifted
Checklist: partial [c:a51f514c] -- tooling only
Checklist: partial [c:6fa7e863] -- tooling only
Checklist: partial [c:d1bdca9f] -- tooling only

Merge of main (rescue, 2026-10-23)

Main added 7 carddemo-acctview entries to the old single file after this branch split it. They now live in infeasible_outcomes/carddemo-acctview.json. The ledger has 48 cases and 135 entries, and load() equals main's file. After the merge, 340 affected tests pass and pr_gates --fast passes 7/7.

Gates

pr_gates --fast 7/7, --ratchets 9/9, tree-wide guards, time ratchet (0 over), affected tests (228 pass).

🤖 Generated with Claude Code

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

Copy link
Copy Markdown
Owner Author

No description provided.

1 similar comment
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@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 23, 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 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]>
@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 (82316cf) 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 enabled auto-merge (squash) October 23, 2026 19:38
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol merged commit 53b6458 into main Oct 23, 2026
41 checks passed
@squid-protocol
squid-protocol deleted the churn/6072-20261023T1727Z branch October 23, 2026 20:05
squid-protocol added a commit that referenced this pull request Oct 23, 2026
…les (Part of #6072)

#6279 split tests/equivalence/infeasible_outcomes.json into one file per case. The
cbsa-bnkmenu and cbsa-dbcrfun entries move 1:1 into
infeasible_outcomes/cbsa-bnkmenu.json and cbsa-dbcrfun.json (written with
infeasible_outcomes.write_case), and the pin test reads them from there.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
squid-protocol added a commit that referenced this pull request Nov 4, 2026
…the #6279 CLI and the branch_solver check)

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