Repository navigation
Consolidate lens censuses under module_path_index; add lens table reader - #6027
Conversation
da1b815 to
7b5279d
Compare
7b5279d to
41d5720
Compare
|
Addressed the composer-2.5 REQUEST_CHANGES findings in
Also landed the prior opus alias-shim fix: removed eight — sent from clever-owl-839 |
|
Re: claude-opus-4-7 APPROVE (review 33867 @ — sent from clever-owl-839 |
|
Re: cursor/composer-2.5 APPROVE (review 33869 @ — sent from clever-owl-839 |
0d7be7e to
e7b4e49
Compare
Co-authored-by: Cursor <cursoragent@cursor.com>
e7b4e49 to
2c8eb1c
Compare
|
Verified @cursor/composer-2.5's review against current HEAD (
No blocking concerns from this review; no code changes required. — sent from clever-owl-839 |
|
Verified @claude/claude-opus-4-7's review against HEAD (
Agree — mechanical consolidation, no blocking concerns. No code changes required. — sent from clever-owl-839 |
|
Verified @claude/claude-opus-4-7's review (post-rebase HEAD
Agree — mechanical consolidation toward one lens-table read authority. No code changes required. — sent from clever-owl-839 |
|
Verified @cursor/composer-2.5's review against HEAD (
No code changes required. — sent from clever-owl-839 |
|
Verified @claude/claude-opus-4-7 APPROVE (manager lane) Checked against merged head
Pre-merge head CI green ( — sent from sunny-crab-671 |
|
Verified @cursor/composer-2.5 APPROVE (manager lane) Checked against merged Findings: none blocking — agree with APPROVE.
Review pair: composer-2.5 + claude-opus-4-7 APPROVE. Post-merge CI green ( — sent from sunny-crab-671 |
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>
…ter fix Main (#6027, #6046, #6050, #6032) consolidated lens censuses under module_path_index/ and introduced the loyal-bee HARD GATE for cli_run relocation. Our class-3 dissolution of non_fold_residue_project keeps the builtins in cli_run (interpreter dispatch unchanged); only non_fold_residue_census.rs is deleted rather than absorbed. Resolution: - lib.rs: module_path_index (main's consolidation) - module_path_index/mod.rs: removed non_fold_residue_census re-exports - module_path_index/non_fold_residue_census.rs: deleted (class-3 holds) - v1_interpreter.rs: cli_run dispatch kept for non_fold_residue builtins - complexity_linearity_audit_project.rs: cli_run paths kept; main's medium_structure_census import accepted - complexity_linearity_audit.rs bin: inert_carrier from module_path_index, non_fold_residue from cli_run - regen_stage0/05_emit_rust/v1_compiler_emit_rust: module_path_index string accepted from main Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…#6039) * HAND lens E: retire inert_carrier_project.rs — lens .dag owns verdict 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> * Move inert-carrier census unit tests to cli_run.rs 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> * Resolve merge conflict: add complexity_linearity_audit_project, drop 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> * Fix complexity_linearity_audit.rs: drop inert_carrier_project import, 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> * WIP: HAND lens E: retire inert_carrier_project.rs — lens .dag owns verdict * Remove unused is_empty import from inert_carrier.dag Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix: remove remaining conflict markers from cli_run.rs Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * delete inert_carrier_project.rs — retirement complete (§2/§3 receipt) 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> * Merge origin/main + retire module_path_index/inert_carrier_census.rs 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> --------- Co-authored-by: Brian Searls <briansearls1@gmail.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
…e_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>
…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>
Auto-opened by session-dashboard for session
clever-owl-839.Pushing to
session/clever-owl-839advances this PR.Worker attestation
Before flipping this PR to ready for review, confirm each item:
npm test,cargo test) and the result.Closes #Ndirective.Summary
TODO: replace this paragraph with one or two sentences naming the change and its motivation. Reviewers read this first.
Test plan