Skip to content

Build the mock proof's ON tool as the commit ships it - #1219

Open
dfed wants to merge 1 commit into
mainfrom
claude/project-thread-xuc7xk-mock-proof
Open

dfed wants to merge 1 commit into
mainfrom
claude/project-thread-xuc7xk-mock-proof

Conversation

@dfed

@dfed dfed commented Dec 3, 2026

Copy link
Copy Markdown
Owner

Requested by Dan · project thread

The graph fuzzer workflow's mock_proof input proves that the mocks a commit generates match the ones SafeDI 2.4.5 generates. Its ON tool was always built with .github/scripts/mock-proof/lay-out-mocks.sh all, which turns on the four switches the mock gate ran with before mock layout shipped. Mock layout is now on by default, and one of those four switches, recordsFilledCalls, ships off. So on main the proof turned on a switch the release leaves off, and judged a tool no adopter gets.

The ON tool is now the commit as it ships:

  • If the commit's laysOutMockRoots defaults to true, it is built as committed, with no edits.
  • If it defaults to false (an older commit, from before mock layout shipped), the job applies lay-out-mocks.sh all's edits as before.
  • Either way, the step prints the default of every node-records switch the tool is built with, to its log and to the run's summary, so a reader of the proof can see which tool it judged.

The mock_proof input's description, the job's comments, the header of lay-out-mocks.sh and Scripts/mock-proof-shipped.py's usage say the same. The OFF tool is unchanged: release 2.4.5.

Testing. I ran the new step's script, taken from the workflow file, in two checkouts. In one, main as committed, it built as committed with recordsFilledCalls = false. In the other, main with laysOutMockRoots set to false, it applied the four edits. Both printed the defaults. The workflow parses as YAML. I have not dispatched a mock_proof run on this branch.


Generated by Claude Code

graph-fuzzer.yml's `mock_proof` built its ON tool with lay-out-mocks.sh's
`all` edits on every commit. Since mock layout ships on by default, that
also turned on `recordsFilledCalls`, which the release ships off, so the
proof judged a tool no adopter gets. A commit whose `laysOutMockRoots`
defaults to on is now built as committed; a commit whose mock layout
defaults to off still gets the script's edits. The step lists the default
of every node-records switch the tool is built with, in its log and the
run's summary.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HLuVQMifKg1WBCEn5ahSLi
@dfed dfed self-assigned this Dec 3, 2026
@dfed
dfed marked this pull request as draft December 3, 2026 12:31
@dfed
dfed marked this pull request as ready for review December 3, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants