Overhauls codegen, Pt 1#7
Open
jtoman wants to merge 7 commits into
Open
Conversation
Four major changes: 1. Resurrect main.py in the form of a proper "console-codegen" 2. Asyncify all of our code 3. New CEX handling API, uses an agentic analyzer for the codegen 4. Adds dedicated CEX remediation agent (codegen agent was *awful* at writing CVL fixes)
shellygr
approved these changes
Jun 24, 2026
| # the full result set; grouping is opt-in per handler.) | ||
| failing_rules = group_failing(all_results) | ||
|
|
||
| # fs tools scoped to the report's ``inputs/.certora_sources`` |
Contributor
There was a problem hiding this comment.
For cloud runs you assume we fetch zip outputs? This is a bit expensive, also in RAM, and while I don't mind the path structure, it's important to use POU latest fetch sources API to avoid zip download and extraction
Contributor
Author
There was a problem hiding this comment.
I don't assume, I know we do as I wrote it that way. now that POU is OSS, porting to use that instead of my hand rolled anonymousKey based methods is probably better. One note; it would be ideal if we could make POU async friendly out of the box, rather than having to wrap in to_thread everywhere.
Contributor
There was a problem hiding this comment.
fair point. adding to the wishlist
…entic-cex-analysis
... and then waiting for results, meaning our (intentionally) broken spec was causing the test to fail.
shellygr
approved these changes
Jun 26, 2026
| @@ -130,7 +130,7 @@ def _is_result_rejection(st: StateWithSkips) -> bool: | |||
|
|
|||
|
|
|||
| # ========================================================================= | |||
| # Prover report handling | |||
| # Prover report handlingq | |||
| console-foundry = "composer.cli.console_foundry:main" | ||
| tui-foundry = "composer.cli.tui_foundry:main" | ||
| autoprove-report-render = "composer.spec.source.report.render:main" | ||
| tui-natspec = "composer.cli.tui_pipeline:main" | ||
| cache-natspec = "composer.cli.cache_natspec:main" | ||
| console-codegen = "composer.cli.console_codegen:main" | ||
| tui-codegen = "composer.cli.tui_codegen:main" | ||
| # certora_autosetup entry points (merged in from the AutoSetup repo). |
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.
Four major changes: