Skip to content

Thread Haskell-backend logging and booster-only-simplify flags#1149

Draft
ehildenb wants to merge 2 commits into
masterfrom
logging-updates
Draft

Thread Haskell-backend logging and booster-only-simplify flags#1149
ehildenb wants to merge 2 commits into
masterfrom
logging-updates

Conversation

@ehildenb

@ehildenb ehildenb commented Jun 8, 2026

Copy link
Copy Markdown
Member

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 prove and the KCFG-inspection commands. Per-request JSON-lines bundles land under a chosen directory, one <request-id>.jsonl per RPC call.

Changes:

  • options.py: add haskell_log_entries, haskell_log_dir, and booster_only_simplify to the shared RpcOptions.
  • cli.py: add --haskell-log-dir, --haskell-log-entries, and --booster-only-simplify to rpc_args (so they reach prove, simplify-node, and step-node).
  • prove.py: thread the options into the direct CTermSymbolic construction, defaulting the entry set to pyk's HASKELL_LOGGING_ENTRIES when omitted.
  • foundry.py / display.py: forward the options through every legacy_explore call 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, and jq recipes for reading the bundles).

ehildenb and others added 2 commits June 8, 2026 18:37
…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>
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.

1 participant