Skip to content

HAND delete-sweep A2: retire duplicate v1 lens coverage (floor is authority) - #5980

Merged
briansrls merged 1 commit into
mainfrom
session/merry-hawk-45
Jun 30, 2026
Merged

briansrls merged 1 commit into
mainfrom
session/merry-hawk-45

Conversation

@briansrls

@briansrls briansrls commented Jun 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Seed burn-down A2 (scope ruling: test/registry sweep only). Remove v1 test duplication now covered by floor witnesses per seed-shrink-census.md §5. No .rs deletion, no HAND_MAINTAINED[] delta, no v1_interpreter builtin wiring changes — the four projection files stay until Chunk D / #5364 lands.

§5 attestation (floor replaces deleted v1 coverage)

HAND file Deleted v1 coverage Floor authority .rs this PR
doc_reachability_project.rs live-tree #[test] gates (orphan / dangling / universe) dsl/test/claim/doc_reachability_witness_test.dag stays (host-fed via builtin)
inert_carrier_project.rs live-tree #[test] gates (declared universe / unrostered / stale roster) src/v2/lens/inert_carrier.dag + src/v2/lens/inert_carrier_test.dag stays (pending #5364)
non_fold_residue_project.rs live-tree #[test] gates (coproduct universe / unrostered / stale roster) src/v2/lens/non_fold_residue.dag + src/v2/lens/non_fold_residue_test.dag stays (pending #5364)
fact_cardinality_census.rs src/v1/tests/src/fact_cardinality_lens_test.rs src/v2/lens/fact_cardinality.dag + src/v2/test/claim/fact_cardinality/* stays

Kept: synthetic RED/GREEN discrimination #[test] modules inside the projection .rs files (not duplicated on the floor).

Explicitly NOT in scope: consolidate into corpus_lex.rs (§2 violation); full .rs deletion (§5 fail-open without #5364).

Test plan

  • cargo fmt --all --check
  • CI floor: doc_reachability_witness_test, inert_carrier_test, non_fold_residue_test, fact_cardinality/*
  • cargo clippy / cargo nextest (rust_tests gate)

@gunbai-bot gunbai-bot Bot changed the title HAND delete-sweep A2: doc_reachability + inert_carrier + non_fold_residue + fact_cardinality HAND delete-sweep A2: retire duplicate v1 lens coverage (floor is authority) Jun 30, 2026
@gunbai-bot
gunbai-bot Bot marked this pull request as ready for review June 30, 2026 00:17
…hority)

§5 test-migration sweep for the four lens-projection HAND modules. Drop v1
coverage now enforced by floor witnesses; keep synthetic discrimination
unit tests and all four .rs projection files (builtin host unchanged).

- Delete fact_cardinality_lens_test.rs (floor: src/v2/test/claim/fact_cardinality/*)
- Drop live-tree #[test] gates from doc_reachability_project.rs
- Drop live-tree #[test] gates from inert_carrier_project.rs
- Drop live-tree #[test] gates from non_fold_residue_project.rs

No HAND_MAINTAINED[], lib.rs module, or v1_interpreter builtin changes.

Co-authored-by: Cursor <cursoragent@cursor.com>
@gunbai-bot
gunbai-bot Bot force-pushed the session/merry-hawk-45 branch from f254845 to b19d515 Compare June 30, 2026 00:30
@briansrls
briansrls merged commit e04380c into main Jun 30, 2026
3 of 4 checks passed
@briansrls
briansrls deleted the session/merry-hawk-45 branch June 30, 2026 02:03
gunbai-bot Bot pushed a commit that referenced this pull request Jun 30, 2026
Conflict: main still had extdeps_shape_transport_policy_lens_test mod line
(deleted in this branch). Keep our deletion — file was removed in this PR.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
gunbai-bot Bot pushed a commit that referenced this pull request Jun 30, 2026
Conflict resolution error: the merge-main commit preserved
mod fact_cardinality_lens_test from a pre-#5980 base. #5980 (A2 sweep)
deleted that entry and its .rs file before this PR landed. The lib.rs
diff now matches the intended state: pure deletion of the
extdeps_shape_transport_policy_lens_test entry only.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
briansrls added a commit that referenced this pull request Jun 30, 2026
… census projection) (#5990)

* WIP: Seed burn-down: dissolve HAND_MAINTAINED stage0 to off-Rust

* docs: clarify manager base PR scope in commit message prep

No code change — attestation commit placeholder superseded by amend below if tests green.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix(seed-burn-down): cargo fmt v1_compiler_emit_rust emit_cargo_toml deps

CI rust_tests gate failed cargo fmt --check on the emit_cargo_toml
base-deps sync introduced in #5978.

Co-authored-by: Cursor <cursoragent@cursor.com>

* WIP: HAND delete-sweep A4: extdeps_shape_transport_policy_project (largest ce

* Delete cache_purity_oracle from HAND_MAINTAINED roster (24→23).

Coverage lives in dsl/extdeps/realization/cache_purity.dag + cache_purity_verdict_test.dag floor witness; the Rust oracle and v1 integration test are redundant host-fed census. Continues patch_cargo_toml dissolution (emitter now emits stage0 periphery deps).

Co-authored-by: Cursor <cursoragent@cursor.com>

* Revert "Delete cache_purity_oracle from HAND_MAINTAINED roster (24→23)."

This reverts commit d8af5a2.

* delete-sweep A4: remove 9 live-tree mod-tests{} functions from extdeps_shape_transport_policy_project

Each deleted test has a mirrored floor witness in
src/v2/test/claim/extdeps_shape_transport_policy/ (corpus or lens_unit).

Floor witnesses (auto-discovered on CI via claim_executor):
  cargo_clippy_dead_param_defused_after_list_argv_splice
    → corpus/cargo_clippy_dead_param_test.dag
  cargo_fmt_dead_param_defused_on_live_tree
    → corpus/cargo_fmt_dead_param_test.dag
  cargo_doc_dead_param_defused_on_live_tree
    → corpus/cargo_doc_dead_param_test.dag
  cargo_run_dead_param_defused_on_live_tree
    → corpus/cargo_run_dead_param_test.dag
  git_policy_leak_defused_by_module_path
    → corpus/git_policy_leak_test.dag
  cargo_build_policy_leak_defused_by_module_path
    → corpus/cargo_build_policy_leak_test.dag
  gcp_oauth_fusion_defused_by_module_path
    → corpus/gcp_oauth_fusion_fork_test.dag
  gist_create_files_keyed_by_filename_placeholder_on_live_tree
    → corpus/gist_create_policy_leak_test.dag
  external_authority_live_clean_tree_holds_via_host
    → extdeps_external_authority/corpus/live_anchored_modules_clean_test.dag

Production projection code and 11 non-mirrored tests are kept.
.rs file stays in HAND_MAINTAINED pending #5364.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix: remove stale fact_cardinality_lens_test mod line from lib.rs

Conflict resolution error: the merge-main commit preserved
mod fact_cardinality_lens_test from a pre-#5980 base. #5980 (A2 sweep)
deleted that entry and its .rs file before this PR landed. The lib.rs
diff now matches the intended state: pure deletion of the
extdeps_shape_transport_policy_lens_test entry only.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Brian Searls <briansearls1@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant