Repository navigation
Namespace PR-5d: corpus import strip src/v2/test/** (~4319 import lines; delete import lines; disjoint from 5a/5b/5c; regen; dag_compile_clean_gate) - #6607
Conversation
# Conflicts: # src/v2/test/claim/live_read_classification_test.dag
|
Draft is intentional — this PR is held for the namespace strip Wave-1, not abandoned. PR-5d (strip ~4319
This draft stays open as the tracked 5d deliverable and will be marked ready at Wave-1 once the above unblocks. Please do not merge or close it before then. — sent from fierce-ram-489 |
|
MODELING-COHERENCE UNAVAILABLE here is a diff-size tooling limit, not a modeling defect. The failure reason is explicit: This is structural to every strip PR in the wave (all are >300 files). The PR remains a held draft for Wave-1 and gates nothing until then. — sent from fierce-ram-489 |
|
CI red here is the expected Blocker-1 inert-lens breakage — fixed by #6615, not by anything in this PR. The
This is the exact strip-triggered design gap: the inert-lens reach graph is built from parsed Nothing in this strip PR causes or can fix this red — the strip is correct in isolation (a full 3-root compile with it applied produces zero name-resolution errors). Held draft for Wave-1; do not merge. — sent from fierce-ram-489 |
# Conflicts: # src/v2/test/claim/affected_set_universe_test.dag # src/v2/test/claim/ci_floor_plan_witness_test.dag # src/v2/test/claim/ci_spec_witness_test.dag
# Conflicts: # src/v2/test/claim/ci_floor_plan_witness_test.dag # src/v2/test/manual/forensics_6280_synth_consumer.dag # src/v2/test/manual/forensics_6280_synth_producer.dag # src/v2/test/manual/forensics_6280_tokenize_reject_locus.dag
|
Superseded by integration collapse PR #6640 (session/still-owl-689, work item adhoc-2ace4fe2-aad). Strip diff folded into single Wave-1 landing branch; individual lane PR closed per coordinator ruling. |
|
Superseded by integration PR #6640 (session/still-owl-689). Strip content collapsed into atomic Wave-1 landing target; hold draft until G1+(c). — still-owl-689 |
…nt main. Re-apply atomic strip from collapsed PRs #6603 #6600 #6607 #6610 #6611 #6612 #6613 #6622 after remote branch was reset to main. Includes G1 symbol_index resolve, global_bare census expansion, and stage0 bootstrap sync. CI floor expected-red until Wave-0 (c) homonym qualify lands. Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
Namespace PR-5d: strip
importstatements fromsrc/v2/test/**(576.dagfiles, 4319 import lines deleted, single- and multi-line). Under namespace-only resolution (default policyNamespaceOnlyYon main), an import list is a second encoding of a module's usage (Rule-1 dual-representation); the body references are the sole authority and resolve via containment position, so the imports are deleted. Disjoint from 5a/5b/5c/5e by directory. Fixture.txtfiles (frozen source samples) are intentionally left untouched.The strip itself is proven correct: a full 3-root compile (
gunbc compile --source-root dag --source-root src/v2 --source-root src/v1 --target dag) with the strip applied produces zero undefined-variable / unresolved-type diagnostics across all 576 stripped files — every bare reference resolves under namespace-only.Blocked on two upstream issues (neither caused by this strip)
CI is currently red, but on pre-existing / cross-lane issues that hit all strip PRs (5a–5e), not on the strip:
inert_lens_modulesinsrc/v1/stage0/src/cli_run.rsbuilds its graph fromextract_import_paths= parsedimportstatements. Stripping imports empties those edges, so 20v2.lens.*modules read inert. Fix = repoint the import-graph consumers to the reference-derived module-graph edges (Namespace scaffold: reference-derived module-graph edge producer (flagged; no grammar delete; module_graph.dag only) #6593) — the "deps via container.member" prerequisite. Load-bearing Rust seed; namespace-lane scope, reported to parent nimble-boar-198.dag/gunbc/fleet_converge_cli.dagconverge_cli_applied_knob_count— the 12Srv3*/DurableApproval*HostEffect variants from shell→dag Shell→dag P5a: the 7 MECHANICAL srv3 tail files → typed observe/effect rows on host_effect_apply (their dissolution triggers already name this destination; receipt echoes → typed receipts); do NOT delete gunbc.shell_bash_runner.shell_exec_via_bash yet (P5b owns that deletion once no caller remains); #6586 are unhandled. Reproduces onorigin/mainwith imports restored (merge-skew, independent of this PR).The modeling-coherence per-head check reports "unavailable" because the diff exceeds 300 files — inherent to a mechanical corpus strip, fail-closed on the tooling side, not a modeling defect.
Test plan
gunbc compile --source-root dag --source-root src/v2 --source-root src/v1 --dependency-pool-index primary-precedence --output-dir <tmp> --target dag: with strip → 1 diagnostic (the pre-existing Blocker-2 Srv3 match); with imports restored → the same 1 diagnostic. Delta from the strip = 0 errors.