Repository navigation
R3 gate #7: regen_lens_dot_rs_retired (T-LensProducer-Retirement) #3083
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
3d38460
WIP: R3 gate #7: regen_lens_dot_rs_retired (T-LensProducer-Retirement)
briansrls 58f5b2e
WIP: R3 gate #7: regen_lens_dot_rs_retired (T-LensProducer-Retirement)
briansrls c214a10
fix(R3): complete gate #7 census + SG-6 bin ratchet
briansrls 03f8f6f
fix(R3): lens-producer census counts regen_lens after gate #7 split
briansrls 6c42255
ci: add SG-0 PR-body append for #3083 census net +1
briansrls aef0157
Merge remote-tracking branch 'origin/main' into session/lively-bee-522
briansrls f8fc21e
Merge remote-tracking branch 'origin/main' into session/lively-bee-522
briansrls 095918e
docs(v3-compiler): trim chatty rustdoc on lens-producer census predicate
briansrls 707e87b
Merge remote-tracking branch 'origin/main' into session/lively-bee-522
briansrls 39f3e15
Merge remote-tracking branch 'origin/main' into session/lively-bee-522
briansrls dba429f
docs(v3-compiler): clarify regen_lens_main Dag binding in rustdoc
briansrls fab23b2
Merge remote-tracking branch 'origin/main' into session/lively-bee-522
briansrls 82ed944
Merge remote-tracking branch 'origin/main' into session/lively-bee-522
briansrls c7372d4
fix(v3): satisfy clippy manual_clamp in regen_lens entry
briansrls 231f448
Merge remote-tracking branch 'origin/main' into session/lively-bee-522
briansrls 379c9cc
Merge remote-tracking branch 'origin/main' into session/lively-bee-522
briansrls 17cc641
Merge remote-tracking branch 'origin/main' into session/lively-bee-522
briansrls 64b618d
Merge remote-tracking branch 'origin/main' into session/lively-bee-522
briansrls 67ec39a
Merge remote-tracking branch 'origin/main' into session/lively-bee-522
briansrls ea197e4
Merge remote-tracking branch 'origin/main' into session/lively-bee-522
briansrls 80b7349
Merge remote-tracking branch 'origin/main' into session/lively-bee-522
briansrls 40d6e9a
Merge remote-tracking branch 'origin/main' into session/lively-bee-522
briansrls dadab4c
Merge remote-tracking branch 'origin/main' into session/lively-bee-522
briansrls df8b85f
Merge remote-tracking branch 'origin/main' into session/lively-bee-522
briansrls dafc433
Merge remote-tracking branch 'origin/main' into session/lively-bee-522
briansrls 79cbe7a
Merge remote-tracking branch 'origin/main' into session/lively-bee-522
briansrls File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| SG-0 hand-path delta: +1 | ||
|
|
||
| SG-0 pairing: (a) removed src/v3/compiler/src/bin/regen_lens.rs |
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| //! Thin Cargo `[[bin]]` entry for `regen_lens`. | ||
| //! | ||
| //! **R3 gate #7 (`regen_lens_dot_rs_retired`):** keeps the `regen_lens` binary | ||
| //! name and CLI surface stable while retiring the legacy | ||
| //! `src/bin/regen_lens.rs` path from the SG-0 hand-authored census. | ||
|
|
||
| use std::io::Write; | ||
| use std::process::ExitCode; | ||
|
|
||
| use v3_compiler::dag::Dag; | ||
| use v3_compiler::process_exit::ProcessExit; | ||
| use v3_compiler::regen_lens_driver::regen_lens_main; | ||
|
|
||
| fn main() -> ExitCode { | ||
| let dag = Dag::new(); | ||
| match regen_lens_main(&dag) { | ||
| ProcessExit::ExitSuccess => ExitCode::SUCCESS, | ||
| ProcessExit::ExitFailure { code, reason } => { | ||
| let _ = writeln!(std::io::stderr(), "{reason}"); | ||
| ExitCode::from(code.clamp(1, 255) as u8) | ||
| } | ||
| } | ||
| } |
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
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
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
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BLOCKING: This new “gate #7” check defines regen_lens_dot_rs_retired as old-path absence only, but the locked PB runtime design says that gate lands when regen_lens ships as a .dag BinShim plus emitted Rust and equivalence proof, so it dilutes INVARIANTS P5 progress into a path move.