Repository navigation
GroupCompletion grounding lane — numeric tower next layer, design-note-first - #7197
Merged
Merged
Conversation
briansrls
added a commit
that referenced
this pull request
Jul 25, 2026
The header still read DRAFT / no-implementation-until-signed while DESIGN.md already recorded the sign-off and this same PR lands the implementation — two authorities on one lane (cursor/composer-2.5 review on #7197). Flip to SIGNED + IMPLEMENTED, matching DESIGN.md.
briansrls
added a commit
that referenced
this pull request
Jul 25, 2026
Addresses cursor/composer-2.5 REQUEST_CHANGES (review on PR #7197): DESIGN.md/design_document.dag DRAFT+SIGNED contradiction already fixed in ca3e1e3/b5066db2e0; this closes the second finding — §5 still threatened "not accepted as a fix" with no before/after receipt. Fills in the actual post-fix measurement: COPRODUCT_NATIVE_NUMERIC marker zero across all 7 deep-seven modules, materialization_carriers Measure residue named and handed off, not absorbed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Contributor
Author
|
Addressed both findings from review 42454 (REQUEST_CHANGES, cursor/composer-2.5):
Pushed as e832853. — sent from eager-crane-304 |
briansrls
added a commit
that referenced
this pull request
Jul 25, 2026
…for this PR) An auto-commit swept a local verification edit (bodying FieldOfFractions to test seed-build-greenness per sharp-bee-290's mandate) into this branch. The experiment is done and its result reported out-of-band; the actual model change lands in a fresh PR after #7197 merges, per explicit sequencing instruction not to perturb this PR's review state. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
briansrls
added a commit
that referenced
this pull request
Jul 25, 2026
…lapse witnesses Registers the two remaining model-scoped witnesses for the FieldOfFractions<R> grounding (dag/std/algebra.dag, num/denom body landed in the prior commit): - field_of_fractions_single_declaration_test: corpus-wide grep-shape witness asserting exactly one `type FieldOfFractions` declaration exists (guards against a future §3 fork; FieldOfFractions had no existing fork to delete, unlike GroupCompletion in #7197). - field_of_fractions_construction_test (retirement-tagged, Rust-retained): asserts eval_record_lit does NOT special-case FieldOfFractions into a native scalar collapse — the deliberate negative-space counterpart to GroupCompletion's collapse, since Rational has no lossless native checkpoint to collapse into. Scope: model only, per sharp-bee-290 sign-off. §7.3 realization (emitter Rust-struct emission + generic arithmetic trait derivation) is explicitly held pending separate sign-off and gated on Root-4. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This was referenced Jul 25, 2026
briansrls
added a commit
that referenced
this pull request
Jul 25, 2026
… doc groupcompletion-pair-construction-design.md exists only on the unmerged #7197 branch, not on main — linking to it from a main-branch doc trips the pre-push doc_graph_has_no_dangling_links witness. Replace the two markdown links with plain PR/section references. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
briansrls
added a commit
that referenced
this pull request
Jul 25, 2026
…int_scalar_phantom) (#7212) * Hollow-alias construction wall: design note (third specimen — checkpoint_scalar_phantom) Draft-only, no code lands: generalizes the GroupCompletion (#7197) and FieldOfFractions (#7210, landed) construction-side specimens into a named §5 unwritable-class candidate, and cites the emit-side companion (checkpoint_scalar_phantom / v1_compiler_emit_rust.rs:746 widen, vivid's E0107 bucket, loyal-raven's dotted-path E0308 finding) as a separately gated Root-4, not this note's scope. Links from DESIGN.md open threads per repo convention to avoid the orphan-doc floor check. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * Fix dangling links: remove references to unmerged #7197-branch design doc groupcompletion-pair-construction-design.md exists only on the unmerged #7197 branch, not on main — linking to it from a main-branch doc trips the pre-push doc_graph_has_no_dangling_links witness. Replace the two markdown links with plain PR/section references. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * chore: regenerate drifted generated artifacts (ci auto-heal) * WIP: GroupCompletion grounding lane — numeric tower next layer, design-note-f * Fix review 42607: re-add DESIGN.md link, correct tense/accuracy in wall note Re-adds the DESIGN.md open-threads bullet the ci-auto-heal bot deleted (f87d21b), fixing the orphan-doc finding, with the PR #7210 status corrected from an inaccurate "LANDED" to "content-reviewed clean and pending merge" to match the doc body's now-accurate wording. Also carries the doc's own tense/accuracy fixes (dangling links removed, present-tense claims about unmerged branches reworded to describe the actual pre-fix state of this branch's tree). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * chore: regenerate drifted generated artifacts (ci auto-heal) * Re-add DESIGN.md wall-note link deleted again by ci-auto-heal regen The gunbc-ci-auto-heal bot's regen commit (a481a93) deleted the same hollow-alias-construction-wall open-threads bullet a prior auto-heal commit had already deleted once (f87d21b), re-breaking the doc_graph_has_no_orphan_docs / doc_graph_is_clean CI gates the same way. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * chore: regenerate drifted generated artifacts (ci auto-heal) * WIP: GroupCompletion grounding lane — numeric tower next layer, design-note-f * Regenerate DESIGN.md from design_document.dag (real fix for drift gate) The prior hand-edits to DESIGN.md kept getting reverted by gunbc-ci-auto-heal because DESIGN.md is a generated artifact projected from dag/gunbc/design_document.dag's expected_design_md(). The durable fix is the open_threads_blocks() edit in that file (already committed as the WIP commit above); this commit lands the regenerated DESIGN.md produced by main_wet so the drift gate is satisfied at the true source. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> --------- Co-authored-by: Brian Searls <briansrls@gunb.ai> Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com> Co-authored-by: gunbc-ci-auto-heal <gunbc-ci-auto-heal@users.noreply.github.com>
Merged
6 tasks
gunbai-bot Bot
pushed a commit
that referenced
this pull request
Jul 25, 2026
Stage0 projection for review 42758: enum arm gates on nullary completeness predicate; arm-b dissolve-on names dropping PartialEq<i64> cross-rep bridge at #7197. Co-authored-by: Cursor <cursoragent@cursor.com>
briansrls
added a commit
that referenced
this pull request
Jul 25, 2026
…rde) for repr grounding (#7224) * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * Fix trait-derive witness parse errors blocking CI regen. The .dag parser rejects test bodies that start with unary `!` or use multiline `==` on enum variants; rewrite comparisons via match helpers and `== false` so heal_generated_artifacts and regen can parse the module. Co-authored-by: Cursor <cursoragent@cursor.com> * Address review 42213: delete shadow nullary helpers, single elem-shape path. Remove dead rust_coproduct_* nullary predicates now superseded by repr_grounding_coproduct_all_variants_nullary, and drop the content_hash prefix in repr_grounding_derive_elem_shape so kernel identity is answered once via atom symbols. Co-authored-by: Cursor <cursoragent@cursor.com> * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * Fix trait_derive witness tests after std authority split. Remove stale record_derive_traits import and align test calls with derive_trait parameter name so predicate witnesses execute green. Co-authored-by: Cursor <cursoragent@cursor.com> * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * Move Rust derive spellings from std to extdeps.languages.rust.emit. Addresses review 42322 layer-inversion note: target-agnostic trait-shape table stays in std.trait_derive_shape; rust_trait_derive_spelling and rust_trait_derive_attr_from_traits live beside existing rust_struct_derives rows. Regen updates stage0 emit + trait_derive modules. Co-authored-by: Cursor <cursoragent@cursor.com> * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * Derive rust_trait_derive_attr_from_traits via spelling table map/join. Single authority for per-trait Rust spellings (review 42331): attr string is Debug + traits |> map(rust_trait_derive_spelling) |> join. Co-authored-by: Cursor <cursoragent@cursor.com> * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * Thread v1 trait-derive shape through structure classifiers. Replace hard-coded ReprGroundingDeriveElemShape literals in predicate calls with classifiers over coproduct children and ord-carrier structure; drop tautological KernelInt+Clone gate on generic clone bounds (structural check is the honest authority for type-param bounds). Co-authored-by: Cursor <cursoragent@cursor.com> * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * Fix ord-carrier struct derives: omit Copy for Symbol wrappers. Add ReprDeriveElemSymbolWrappedOrdCarrier + symbol_wrapped_ord_carrier_derive_traits (matching rust_ord_derives_text: Ord without Copy). Witness proves nullary copy traits are rejected for that shape. Co-authored-by: Cursor <cursoragent@cursor.com> * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * Fix emit witness tests for Outcome coproduct derive bindings. Review 42427: unwrap Accepted arms in decl_emit and std_logic fixtures after rust_trait_derive_surface_binding_for_coproduct returns Outcome. Co-authored-by: Cursor <cursoragent@cursor.com> * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * Hard-fail coproduct derive binding refusal in emit test harnesses. Review 42434: replace Rejected => copy-binding absorbing fallback with refused sentinel bindings plus explicit non-Disj rejection witnesses. Co-authored-by: Cursor <cursoragent@cursor.com> * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * Drop unused imports from trait_derive_completeness.dag. Review 42440 nit: remove fold_list, ReprDeriveCopy/Serialize/Add, and unused trait-list imports not referenced by the module body. Co-authored-by: Cursor <cursoragent@cursor.com> * Fix trait_derive witness imports: derive traits live in std.trait_derive_shape. The predicate test imported ReprDeriveAdd/Clone/Ord/Serialize from v2.compiler.trait_derive_completeness, which does not re-export them; CI batch 3 failed at resolve time. Co-authored-by: Cursor <cursoragent@cursor.com> * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * Address review 42471: authority-derived derive attrs, dissolve-on scaffolds. - rust_struct/enum_derives* constants now project std.trait_derive_shape trait lists through rust_trait_derive_attr_from_traits (no parallel literals) - Remove dead rust_*_derives_text helpers from v1 emit - Route fn-field structs through fn_field_derive_traits + attr builder - Add dissolve-on notes for v1 coproduct walk and Symbol ord-carrier gate - Regen stage0 for emit/trait_derive modules Co-authored-by: Cursor <cursoragent@cursor.com> * Fix cargo fmt on v1_compiler_emit_rust import block. CI build failed fmt --check after removing unused derive imports. Co-authored-by: Cursor <cursoragent@cursor.com> * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * Drop dead match arms in v1_emit_enum_derives. v1_repr_grounding_derive_elem_shape_from_coproduct_children only returns NullaryEnumCopy or PayloadCoproduct; Unknown and wildcard arms were unreachable (review 42492 nit). Co-authored-by: Cursor <cursoragent@cursor.com> * Restore wildcard refuse arm in v1_emit_enum_derives for Rust exhaustiveness. Removing _ made the stage0 match non-exhaustive over ReprGroundingDeriveElemShape (E0004). Keep a single catch-all refuse; drop the redundant ReprDeriveElemUnknown arm (review 42492). Co-authored-by: Cursor <cursoragent@cursor.com> * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * Consolidate Symbol ord-carrier shape onto trait_derive_emit (review 42525). Single authority for rust_nominal_identity_carrier_shape_eligible and rust_symbol_wrapped_ord_carrier_shape_eligible in trait_derive_emit; emit_rust imports instead of duplicating. Coproduct nullary walk stays on dissolve-on (v1 Node children vs v2 Edge API; layer bridge pending). Co-authored-by: Cursor <cursoragent@cursor.com> * Fix cargo fmt on v1_compiler_trait_derive_emit long if condition. Co-authored-by: Cursor <cursoragent@cursor.com> * Attach canonical-seven no-regression receipt for #7174 foundation merge. Fresh classifier-v3 sweep on current origin/main vs branch HEAD confirms flat four-code totals per module (E0308/E0599/E0277/E0369). Co-authored-by: Cursor <cursoragent@cursor.com> * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * fix(emit): qualify Magnitude and impl PartialEq<i64> on CommutativeSemiring CI build failed with E0425 (bare Magnitude) and E0117 (orphan PartialEq on Rc). Emit supplemental impls on the local type and regen stage0. Co-authored-by: Cursor <cursoragent@cursor.com> * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * test(emit): witness supplemental impls through v1 seed emit path Route binding tests through v1_emit_struct/enum_supplemental_impls so module_path gating and fail-closed stub bodies are exercised on the emitter path, not only the extdeps spelling template. Co-authored-by: Cursor <cursoragent@cursor.com> * fix(test): drop v1 import from trait_derive seed emit witness v2 claim closure cannot resolve v1.compiler.trait_derive_emit (CI resolve failure). Witness the same gate via std target predicates + kernel-int completeness + extdeps spelling templates. Co-authored-by: Cursor <cursoragent@cursor.com> * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde * regen(stage0): Bool supplemental gate + PartialEq<i64> dissolve note Stage0 projection for review 42758: enum arm gates on nullary completeness predicate; arm-b dissolve-on names dropping PartialEq<i64> cross-rep bridge at #7197. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Brian Searls <briansearls1@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
This was referenced Jul 25, 2026
Closed
Closed
briansrls
added a commit
that referenced
this pull request
Jul 25, 2026
…olve (#7244) * docs(scaffold): mark #7224 arm-b unimplemented! stubs with #7197 dissolve Register four CommutativeSemiring<Magnitude> supplemental stubs in NFR roster + rust_repr_grounding_arm_b_stub_inventory; owner eager-crane numeric-tower lane for real bodies. Co-authored-by: Cursor <cursoragent@cursor.com> * regen(stage0): propagate arm-b scaffold dissolve comment to std_algebra Co-authored-by: Cursor <cursoragent@cursor.com> * WIP: E0308 sub-wall 2: trait-derive completeness predicate (Clone/arith/serde --------- Co-authored-by: Brian Searls <briansearls1@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
gunbai-bot Bot
pushed a commit
that referenced
this pull request
Jul 25, 2026
…tic (#7197) Ground GroupCompletion<M> in std.algebra, de-fork v2 integer.dag, add construction-side collapse in the interpreter, checkpoint scalar fix, and emitter supplemental impls dissolving four unimplemented! stubs. Co-authored-by: Cursor <cursoragent@cursor.com>
gunbai-bot
Bot
force-pushed
the
session/eager-crane-304
branch
from
July 25, 2026 23:41
c79e029 to
e1c58d4
Compare
…tic (#7197) Ground GroupCompletion<M> in std.algebra, de-fork v2 integer.dag, add construction-side collapse in the interpreter, checkpoint scalar fix, and emitter supplemental impls dissolving four unimplemented! stubs. Co-authored-by: Cursor <cursoragent@cursor.com>
gunbai-bot
Bot
force-pushed
the
session/eager-crane-304
branch
from
July 25, 2026 23:45
e1c58d4 to
42db10f
Compare
briansrls
added a commit
that referenced
this pull request
Jul 26, 2026
* WIP: GroupCompletion grounding lane — numeric tower next layer, design-note-f * WIP: GroupCompletion grounding lane — numeric tower next layer, design-note-f * FieldOfFractions §7.2: de-fork non-regression + negative-space no-collapse witnesses Registers the two remaining model-scoped witnesses for the FieldOfFractions<R> grounding (dag/std/algebra.dag, num/denom body landed in the prior commit): - field_of_fractions_single_declaration_test: corpus-wide grep-shape witness asserting exactly one `type FieldOfFractions` declaration exists (guards against a future §3 fork; FieldOfFractions had no existing fork to delete, unlike GroupCompletion in #7197). - field_of_fractions_construction_test (retirement-tagged, Rust-retained): asserts eval_record_lit does NOT special-case FieldOfFractions into a native scalar collapse — the deliberate negative-space counterpart to GroupCompletion's collapse, since Rational has no lossless native checkpoint to collapse into. Scope: model only, per sharp-bee-290 sign-off. §7.3 realization (emitter Rust-struct emission + generic arithmetic trait derivation) is explicitly held pending separate sign-off and gated on Root-4. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> * WIP: Numeric grounding: GroupCompletion real bodies + orphaned PRs --------- Co-authored-by: Brian Searls <briansrls@gunb.ai> Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com> Co-authored-by: Brian Searls <briansearls1@gmail.com> Co-authored-by: Brian Searls <11205878+briansrls@users.noreply.github.com>
4 tasks done
gunbai-bot Bot
pushed a commit
that referenced
this pull request
Jul 26, 2026
…eipts. Discriminating unit test render_rust_applied_type_routes_qualified_base_through_leaf_name goes RED when render_rust_applied_type reverts to authored_name_at verbatim emit. Bank class-scoped rustc message counts (not first_error — post-#7197 reorder per sharp-bee-290 msg_6c27c10b) and canonical-seven context TSVs for PR #7269. Co-authored-by: Cursor <cursoragent@cursor.com>
2 of 3 tasks
gunbai-bot Bot
pushed a commit
that referenced
this pull request
Jul 26, 2026
Fresh measurement on efe6779 with CSSL_STD_SEED_LINK=1 documented in receipt protocol rows. Full 21-module frontier sweep re-stamped with uncoded-split histograms; canonical-seven sizing in separate TSV. Corroborated by witty-wolf-289 #7223 (TOTAL E0308=837 at 4331373). Co-authored-by: Cursor <cursoragent@cursor.com>
gunbai-bot Bot
pushed a commit
that referenced
this pull request
Jul 26, 2026
…#7197. Positive control: grep -cF returns count=1 on 04_infer at pr7174 AFTER (14685dc). Bisect shows #7197 (efe6779) eliminated the class in full-module cargo logs; #7269 leaf routing alone still count=1 there. Clarifies 0→0 is not a false zero and #7269 is construction wall only. Co-authored-by: Cursor <cursoragent@cursor.com>
briansrls
pushed a commit
that referenced
this pull request
Jul 26, 2026
* Gate-1: route render_rust_applied_type base through rust_fn_sig_leaf_name.
Namespace-qualified applied-type bases (e.g. std.algebra.FreeMonoid<T>) were
still emitted verbatim in generic-arg position, causing the canonical-seven
first-error parse class ('expected , or >, found .'). Aligns
render_rust_applied_type with render_rust_decl_type / alias_rhs leaf routing.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Gate-1: add applied-type dotted-base witness + class-scoped probe receipts.
Discriminating unit test render_rust_applied_type_routes_qualified_base_through_leaf_name
goes RED when render_rust_applied_type reverts to authored_name_at verbatim emit.
Bank class-scoped rustc message counts (not first_error — post-#7197 reorder per
sharp-bee-290 msg_6c27c10b) and canonical-seven context TSVs for PR #7269.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Fix compiler_tests witness seed drift blocking regen verify.
Sync render_rust_applied_type_routes_qualified_base_through_leaf_name with
compiler_tests_rust.dag: im::OrdSet/im::Vector types and Vec<i64> expectation.
Co-authored-by: Cursor <cursoragent@cursor.com>
* Probe receipts: validate class grep pattern + attribute elimination to #7197.
Positive control: grep -cF returns count=1 on 04_infer at pr7174 AFTER
(14685dc). Bisect shows #7197 (efe6779) eliminated the class in
full-module cargo logs; #7269 leaf routing alone still count=1 there.
Clarifies 0→0 is not a false zero and #7269 is construction wall only.
Co-authored-by: Cursor <cursoragent@cursor.com>
---------
Co-authored-by: Brian Searls <briansearls1@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
briansrls
pushed a commit
that referenced
this pull request
Jul 26, 2026
Fresh measurement on efe6779 with CSSL_STD_SEED_LINK=1 documented in receipt protocol rows. Full 21-module frontier sweep re-stamped with uncoded-split histograms; canonical-seven sizing in separate TSV. Corroborated by witty-wolf-289 #7223 (TOTAL E0308=837 at 4331373). Co-authored-by: Brian Searls <briansearls1@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.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
eager-crane-304.Pushing to
session/eager-crane-304advances this PR.Worker attestation
Summary
Grounds
GroupCompletion<M>at its single authority (dag/std/algebra.dag:38) as a real{ pos: M, neg: M }record instead of a bodyless type — the direct cause of the deep-sevenprobe's
expected i64 found GroupCompletion<Rc<Nat>>E0308 cluster (emitted Rust renderedthe hollow type as
PhantomData). Deletes the forked v2 redeclaration(
src/v2/std/integer.dag:22) and imports the canonical instead (§2/§3). Lands undersharp-bee-290's law-grain sign-off (msg_6fc2ba88-549b-491e-9b6f-ab949539d682), all three
signed pieces in one PR per that mandate's hard condition #1:
eval_record_litcollapses a plain-recordGroupCompletion{pos,neg}construction over native
Value::Intfields directly toValue::Int(pos - neg)(
v1_interpreter.rs), mirroring Numeric-tower grounding: ground Nat construction-side so native form == modeled form (§0) #5428'sSucc{prev}construction-side collapse. Thematch_patterndestructuring arm is deliberately deferred (no corpus site exercises it)but fails closed if reached — never fabricates a wrong pair.
emit_typed_item's zero-param alias-decl branch nowcalls the broader
rust_scalar_checkpoint_render_base(the single-authorityInt -> i64checkpoint row) instead of the narrower
HostNative-only alias fn, so the checkpoint firesunder both
RustCorpusRepr::FaithfulFreeMonoidandRustCorpusRepr::HostNative— no newname-match on
GroupCompletion, no widening beyond the Int/Nat leaf (verified: thecheckpoint correctly declines for
"GroupCompletion"itself).FieldOfFractions stays HELD (not started), per the mandate.
Test plan
cargo test --release -p v1-compiler-tests group_completion_construction— 2 new tests,green by execution:
GroupCompletion{pos,neg}construction collapses to nativeValue::Intfor positive/negative/zero pairs, and collapsed pairs combine via native arithmetic.
cargo test --release -p v1-compiler --lib groupcompletion_int_checkpoint— 1 new test,green by execution: proves
rust_scalar_checkpoint_render_base("Int", ...)returnsSome("i64")under both corpus representations, and returnsNonefor"GroupCompletion"(checkpoint doesn't widen to the container type).
gunbc compile --target rust→cssl_assemble→cargo build --release --lib), 5 of 7 modules probed directly —06_translate,04_infer,05_eval,emit_host,materialization_carriers;05_emitandemit_moduleskipped as byte-identical to06_translatein the 2026-07-24baseline doc (
docs/probes/gate1_repr_mismatch_e0308_diagnosis_2026-07-24.md) — anassumption re-verified this pass by running
05_emitdirectly post-drift: its rustc errorhistogram is byte-identical to
06_translate's and itsGroupCompletionmarker is alsozero, so the skip still holds.
(
expected i64 found GroupCompletion<Rc<Nat>>) is zero across all 5 directly-probedmodules (plus the re-verified
05_emit) post-fix.materialization_carriersretains 3GroupCompletion<Rc<Rc<CommutativeSemiring<Magnitude>>>>mismatches —std/measure.dag'sMeasuretype, a different base than Int/Nat. This is Root-4 arithmetic-trait-derivationterritory (out of scope for this lane, not Gate-1 sub-wall #2: trait-derive completeness authority (Clone/arith/serde) #7174's current scope either per sharp-bee-290);
handed off and tracked separately, not folded into the delta above.
mainsince the 07-24 baseline was taken, so the
GroupCompletion-marker signal (the bucket'sactual definition) was used instead of aggregate E0308 diffing.
Note: also carries the hollow-alias wall design note
Per sharp-bee-290's nod 2, this PR also lands
docs/plans/hollow-alias-construction-wall.md(DRAFT, no code) plus its
design_document.dagentry — the generalized construction-walldesign note for the bodyless-type-at-construction-position class that
GroupCompletionabove was one instance of. Design-note-first per mandate; the lens/typechecker-refusal
implementation is explicitly deferred to a follow-up, not part of this PR.