Repository navigation
HAND lens E: retire inert_carrier_project.rs — lens .dag owns verdict - #6039
Merged
Merged
Conversation
Move the inert-carrier census out of the hand-maintained `inert_carrier_project.rs` and fold the implementation into `cli_run.rs`. Two raw-data functions replace the four pre-computed verdict builtins: - `inert_carrier_names_live() -> Vec<String>` — the list of inert carrier names (self-tested, zero real consumer) from the corpus scan - `inert_carrier_declared_count_live() -> i64` — total type-carrier universe size The ROSTER and all verdict logic move into `src/v2/lens/inert_carrier.dag`: `count_not_in_roster` / `count_stale_roster` are pure `.dag` fold functions over `inert_carrier_roster` (a `data List<String>`) and the raw names from the new builtin. `inert_carrier_clean_holds` is now fully implemented in `.dag`, making the lens the sole verdict authority. Removes `inert_carrier_project.rs` from `HAND_MAINTAINED_STAGE0_FILES` and deletes the file. Updates `04_method.dag` + its generated `v1_compiler_infer_method.rs`, `lib.rs`, the emitted lib.rs template in `05_emit_rust.dag` and `v1_compiler_emit_rust.rs`, and `regen_stage0.rs`. Witnesses green by execution: - `inert_carrier_no_unrostered_or_stale` → true - `inert_carrier_universe_is_nonempty` → true (3287 declared carriers) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
gunbai-bot
Bot
force-pushed
the
session/sleek-heron-428
branch
from
June 30, 2026 21:18
06d5bc7 to
d07d142
Compare
The 8 synthetic RED/GREEN discriminating controls from the deleted `inert_carrier_project.rs` are re-homed in `cli_run::inert_carrier_tests`, driving `compute_inert_carrier_data` and the private helpers that now live in `cli_run.rs`. All 8 pass. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
|
Fix committed in 5676c17 — all 8 synthetic discriminating controls from the deleted
All 8 drive — sent from sleek-heron-428 |
…inert_carrier_project Main added complexity_linearity_audit_project to hand_maintained_mods while this branch removed inert_carrier_project. Take both changes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… use cli_run surface The PR deleted inert_carrier_project.rs but missed this binary's import. Replace inert_carrier_count/inert_carrier_unrostered_count (old project API) with cli_run::inert_carrier_names_live().len() for the informational display. The roster/unrostered verdict is now .dag-authoritative; drop the unrostered column from this SCAFFOLD binary's output accordingly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
File was unhooked (lib.rs, regen_stage0.rs, emit lists) but not removed from disk. Delete it to close the parallel-representation gap flagged by cursor review: ~400 lines of dead census Rust alongside the new cli_run.rs copy. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
PR #6027 reorganized censuses into module_path_index/ and renamed inert_carrier_project.rs → module_path_index/inert_carrier_census.rs with the old 4-count Rust interface. This commit: - Deletes module_path_index/inert_carrier_census.rs (the renamed file): retirement of Rust census is our work item; the deletion is correct regardless of whether the file was at src/v1/stage0/src/ or in module_path_index/ - Accepts main's module_path_index/ structure for all other censuses (non_fold_residue_census, fact_cardinality_census, etc.) - Keeps our cli_run.rs gather-only builtins (inert_carrier_names_live, inert_carrier_declared_count_live) and our 2-builtin v1_interpreter dispatch — the .dag verdict path is unchanged - Updates module_path_index/mod.rs to remove inert_carrier_census exports - Adapts complexity_linearity_audit.rs to non_fold_residue_census path (main's rename) while keeping cli_run::inert_carrier_names_live() Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
gunbai-bot Bot
pushed a commit
that referenced
this pull request
Jul 1, 2026
Keep inert_carrier_census in module_path_index/mod.rs (from main); remove languages_consumer_census re-export (our retirement). cli_run.rs already carried both census blocks cleanly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced Jul 1, 2026
briansrls
added a commit
that referenced
this pull request
Jul 1, 2026
…dict (#6038) * WIP: HAND lens E: retire languages_consumer_census.rs — lens .dag owns verdic * fix(fmt): cargo fmt cli_run.rs census functions Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix: remove languages_consumer_census from 05_emit_rust.dag module list The .dag emit authority at src/v1/05_emit_rust.dag still injected `pub mod languages_consumer_census` into the generated lib.rs string, breaking emit-authority/committed-stage0 sync (regen_verify_gate). Remove it to match the v1_compiler_emit_rust.rs change in the prior commit. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * merge main: keep doc_reachability_project from #6035, drop doc_reachability_project + languages_consumer_census from module lists Both census modules retired on respective branches; take neither in the hand_maintained_mods string. cli_run.rs keeps both census function blocks. * fix: remove languages_consumer_census from module_path_index/mod.rs The file was deleted (functions live in cli_run.rs); remove the pub mod declaration and pub use re-exports that would fail to compile without it. * fix: remove stray extra blank line in regen_stage0.rs * merge: resolve conflict with inert_carrier_project.rs retirement (#6039) Keep inert_carrier_census in module_path_index/mod.rs (from main); remove languages_consumer_census re-export (our retirement). cli_run.rs already carried both census blocks cleanly. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix: remove stray inert_carrier_census from module_path_index/mod.rs The prior merge-conflict resolution incorrectly kept the HEAD side which referenced inert_carrier_census — a module that doesn't exist yet (its PR hasn't landed). Correct resolution: remove only languages_consumer_census (our retirement), leave nothing else. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix: drop stale exclusion path from languages_census_is_infrastructure_path src/v1/stage0/src/languages_consumer_census.rs hasn't existed since #6027 moved the file under module_path_index/; our PR deletes the module_path_index copy too. The exclusion was a dead no-op. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * ci: retrigger after stuck queue Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * ci: retrigger (stuck queue) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * ci: retrigger (stuck queue #3) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * ci: retrigger (stuck queue #4) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> --------- Co-authored-by: Brian Searls <briansearls1@gmail.com> Co-authored-by: Claude Sonnet 4.6 <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.
Auto-opened by session-dashboard for session
sleek-heron-428.Pushing to
session/sleek-heron-428advances this PR.Summary
Retire
inert_carrier_project.rsfromHAND_MAINTAINED_STAGE0_FILES— the.daglens now owns the verdict. The ROSTER and all verdict logic (count_not_in_roster,count_stale_roster,inert_carrier_clean_holds) move intosrc/v2/lens/inert_carrier.dagas pure.dagfold functions over adata List<String>roster. The Rust side shrinks to two raw-data functions incli_run.rs:inert_carrier_names_live()(the census result) andinert_carrier_declared_count_live()(oracle). The fileinert_carrier_project.rsis deleted;04_method.dag,v1_compiler_infer_method.rs,lib.rs, the emitted lib template, andregen_stage0.rsare updated accordingly.Test plan
cargo check --workspace— cleangunbc run ... --entry src/v2/lens/inert_carrier_test.dag --function inert_carrier_no_unrostered_or_stale --claim-run→truegunbc run ... --entry src/v2/lens/inert_carrier_test.dag --function inert_carrier_universe_is_nonempty --claim-run→true(3287 declared carriers)inert_carrier_live_unrostered_count→0,inert_carrier_live_stale_roster_count→0