Thread Haskell-backend logging and booster-only-simplify flags#1149
Draft
ehildenb wants to merge 2 commits into
Draft
Thread Haskell-backend logging and booster-only-simplify flags#1149ehildenb wants to merge 2 commits into
ehildenb wants to merge 2 commits into
Conversation
…ooster-only-simplify flags; CLAUDE.md: document Propagate the opt-in Haskell-backend RPC logging from KEVM PR runtimeverification/evm-semantics#2857 into kontrol. Adds `--haskell-log-dir`, `--haskell-log-entries`, and `--booster-only-simplify` to the shared `RpcOptions`, threaded through the direct `CTermSymbolic` construction in `prove.py` and through every `kevm_pyk.utils.legacy_explore` call site (`simplify-node`, `step-node`, `section-edge`, `get-model`, `show --failure-info`). When omitted, the log entry set defaults to pyk's curated `HASKELL_LOGGING_ENTRIES`. CLAUDE.md documents the debugging workflow the flags enable. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Blocked on: runtimeverification/evm-semantics#2857
Propagates the opt-in Haskell-backend RPC logging from KEVM PR runtimeverification/evm-semantics#2857 into kontrol, so backend behavior — kore fallbacks, booster aborts, simplification calls — becomes measurable from
kontrol proveand the KCFG-inspection commands. Per-request JSON-lines bundles land under a chosen directory, one<request-id>.jsonlper RPC call.Changes:
options.py: addhaskell_log_entries,haskell_log_dir, andbooster_only_simplifyto the sharedRpcOptions.cli.py: add--haskell-log-dir,--haskell-log-entries, and--booster-only-simplifytorpc_args(so they reachprove,simplify-node, andstep-node).prove.py: thread the options into the directCTermSymbolicconstruction, defaulting the entry set to pyk'sHASKELL_LOGGING_ENTRIESwhen omitted.foundry.py/display.py: forward the options through everylegacy_explorecall site (simplify-node,step-node,section-edge,get-model,show --failure-info).CLAUDE.md: document the debugging workflow (turning it on, isolating a single step, andjqrecipes for reading the bundles).