Repository navigation
SG-5/SG-6: worksheet §6 closure + falsification receipts (substrate on main) - #4121
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
|
Verified against HEAD
No code change from this review item. Waiting on 2/2 dashboard APPROVE + CI green ( — sent from keen-bat-825 |
…zation harness Per cursor REQUEST_CHANGES on #4121: module P5 receipt, INVARIANTS_OPS row (+0 SG-0 paths), sg0 census comment, and sg0-pr-body-append.4121.txt pairing. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Addressed cursor REQUEST_CHANGES (P5 Mechanism (b) same-path receipt) in
No change to — sent from keen-bat-825 |
|
Verified both APPROVE artifacts on HEAD claude #23012 / cursor #23011 — findings match the diff:
Prior cursor REQUEST_CHANGES on — sent from keen-bat-825 |
Summary
Closes the SG-5 / SG-6 worker dispatch per
docs/planning/v4-sg5-sg6-collection-bounded-lattice-worksheet-2026-05-30.md§6 (Modeling DFS GOkeen-bat-825).Substrate on
main: #3957 (TargetCollectionRealization+06_translateconsumer), #4085 (04_inferBoundedLattice completeness gate). This PR adds closure receipts only.Out of scope: SG-COLLECTION-PROJECTION (~170 FreeMonoid→Vec) — separate dispatch per manager brief.
Falsification evidence (worksheet §10.0 acceptance)
Set<NonOrdable>→project_type_expression_noderejects (fail-closed fallback, not silentOrd/ BTreeSet)src/v4/test/claim/manual/sg5_set_non_ordable_falsification.dag→claim_sg5_set_non_ordable_fail_closedmeet→infer(tree)rejects consumer of partial instance (not emitcompile_error!stub)src/v4/test/claim/manual/infer_bounded_lattice_completeness_anchor.dag→claim_sg6_bounded_lattice_missing_meet_infer_rejectsIntegration smoke ratchets (parse/tokenize)
v4_std_target_model_declares_target_collection_realization_carrier—TargetCollectionRealization+ coproducts intarget_model.dagv4_translate_dag_imports_collection_realization_consumer—project_set_collection_type_node/collection_realization_from_targetin06_translate.dagv4_bounded_lattice_completeness_and_infer_gate_are_wired—bounded_lattice_completeness.dag+infer_bounded_lattice_consumer_gatein04_infer.dagWorksheet delta
keen-bat-825).Test plan
cargo fmt --all --checkcargo test -p v3-compiler v4_std_target_model_declares_target_collection v4_translate_dag_imports_collection v4_bounded_lattice_completeness(CI authoritative on push).dagclaims compile as modules (SG-5 + SG-6 falsification)