Code gen changes, Pt 4#10
Open
jtoman wants to merge 4 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)
* Remove audit db, move it to store * takes this opportunity to finally centralize around a single file/document abstraction * better recovery of in progress VFS * removes trace html generation, no longer served by any live DB
Multi spec. Allow multiple spec files to gate the generated code. Adjust internal data structures to match; no CLI entry point exists as the only producer (the assistant) no longer exists.
shellygr
reviewed
Jul 1, 2026
|
|
||
| Follow this procedure: | ||
|
|
||
| ## Step 0 — Orient |
Contributor
There was a problem hiding this comment.
this is not a direct copy of the synthesis_prompt is it? the rewrite seems much more significant, is it just to support multiple spec files?
Comment on lines
+248
to
+249
| isolation + summarization.** Write code so the awkward parts have a natural seam where a | ||
| summary can attach. |
Contributor
There was a problem hiding this comment.
I wonder if we have a more thorough explanation of the rely-guarantee concept around in these prompts, as it seems a more likely candidate for the llm to pick up and understand (separation of concerns, modules, trust-but-verify assumptions) rather than adjectives such as "awkward" and "natural seam".
| "until committed, and runs against it never stamp)." | ||
| )) | ||
|
|
||
| use_working_spec : bool = Field(description=( |
Contributor
There was a problem hiding this comment.
question about the old code - in which case it is allowed to modify the spec?
eb891fe to
2bcb4fc
Compare
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.
Multi spec. Allow multiple spec files to gate the generated code. Adjust internal data structures to match; no CLI entry point exists as the only producer (the assistant) no longer exists.