Skip to content

Bank canonical-seven probe refresh post-#7197 (−1080 E0308) - #7275

Merged
briansrls merged 1 commit into
mainfrom
docs/probes-refresh-canonical-seven-2026-07-26
Jul 26, 2026
Merged

briansrls merged 1 commit into
mainfrom
docs/probes-refresh-canonical-seven-2026-07-26

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Jul 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Headline: canonical-seven E0308 1917 → 837 (−1080, 56% burn-down) measured fresh on post-#7197 main (efe67794), vs banked docs/probes/pr7174_canonical_seven_AFTER_2026-07-25.tsv.

module 2026-07-25 (AFTER) 2026-07-26 (refresh) Δ E0308
06_translate 279 114 −165
04_infer 255 91 −164
05_eval 321 117 −204
05_emit 279 114 −165
emit_host 409 202 −207
emit_module 287 122 −165
materialization_carriers 87 77 −10
TOTAL 1917 837 −1080

Receipt: docs/probes/refresh_canonical_seven_2026-07-26.tsv (new Gate-1 sizing authority).

Rule-1 first-error flip (observation only): six of seven modules now show error: UNRESOLVED_CompilerError at first-error where 2026-07-25 read expected one of , or > found .. Aggregate uncoded totals are unchanged (22/19/21/22/25/22/1). An unchanged uncoded aggregate cannot establish per-class stability — uncoded conflates every message without an error code, so one class can go to zero while another rises by the same amount and the total never moves. Direct per-message evidence: vivid-raven #7269 BEFORE receipt on main (071d3966b8) measures the dotted-path class at zero on all canonical-seven modules; on 2026-07-25 that message was first-error on six of seven (count ≥1). The probe runner's own contract marks UNRESOLVED_CompilerError as a known emit-residue compile_error! marker.

Uncoded split (load-bearing): probe runner keys uncoded residue by distinct message text (e.g. 06_translate: uncoded_unreachable_pattern:21 uncoded_UNRESOLVED_CompilerError:1) so per-class moves are visible instead of hidden in the aggregate. Classifier stamp: rule1-first-error-plus-residual-histogram-v3-uncoded-split.

materialization_carriers: first error remains E0107: missing generics for struct Measure — the #7197 handoff residue, next lane.

Reproducibility

CTRL_BUILD_BYPASS_SHIMS=1 RUSTC_WRAPPER= cargo build --release -p v1-compiler --bin gunbc --bin cssl_assemble
# gunbc: mtime 2026-07-26T02:24:16Z, sha256 09aa03dea70b1f2d50d5131e82cfc831abcb611e735d0c607c7d8d0389fee0bc
# git: efe67794cdc2e77ed83157fb8e891879d6e3307b

export CSSL_STD_SEED_LINK=1
PROBE=docs/probes/curated_cargo_probe_one.sh
for m in src/v2/compiler/06_translate.dag src/v2/compiler/04_infer.dag \
  src/v2/compiler/05_eval.dag src/v2/compiler/05_emit.dag \
  src/v2/compiler/emit_host.dag src/v2/compiler/emit_module.dag \
  src/v2/compiler/materialization_carriers.dag; do
  "$PROBE" "$m"
done

Test plan

  • Measurement-only PR — reproducibility is the bar (command + binary mtime/sha256 above)
  • Full 21-module curated_cargo_frontier_probe_sweep.tsv refresh banked with uncoded-split histograms
  • No code-path fix claimed; discriminating RED N/A for measurement receipt

Made with Cursor

@gunbai-bot
gunbai-bot Bot marked this pull request as ready for review July 26, 2026 04:41
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

gunbai-bot Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor Author

Addressed review 43147 and review 43158 in 9cafeaa:

Finding 1 (invocation protocol): refresh_canonical_seven_2026-07-26.tsv now carries a protocol row: CSSL_STD_SEED_LINK=1; shim_lib_rel=empty; gunbc compile -> cssl_assemble -> cargo build --release --lib. The refresh was run with seed-link 1 (not the script default 0). Independent corroboration: witty-wolf-289 on #7223 measured main at 4331373a87 with CSSL_STD_SEED_LINK=1 and got canonical-seven TOTAL E0308 = 837 — identical to this receipt at efe67794cd.

Finding 2 (shrunk sweep): curated_cargo_frontier_probe_sweep.tsv is now a full 21-module re-stamp (same roster as origin/main), with protocol line in the header and uncoded-split histograms. Canonical-seven Gate-1 sizing authority remains the separate refresh_canonical_seven_2026-07-26.tsv.

— sent from clever-eagle-187

@gunbai-bot
gunbai-bot Bot force-pushed the docs/probes-refresh-canonical-seven-2026-07-26 branch from a416741 to 9cafeaa Compare July 26, 2026 06:14
@briansrls
briansrls merged commit 941e803 into main Jul 26, 2026
5 checks passed
@briansrls
briansrls deleted the docs/probes-refresh-canonical-seven-2026-07-26 branch July 26, 2026 12:54
briansrls added a commit that referenced this pull request Jul 26, 2026
…pt, no fix yet) (#7285)

* WIP: Kernel-D: emit v1 interpreter pure-eval native, prove cutover green-by-e

* wrap_decision_predicate: add discriminating witness for the Instantiation-kind caller bypass

translate_apply_use_site_ownership_to_projected_boundary previously fell
through _ => outcome_accepted(projected) for any TargetTypeExprInstantiation
wire (Option<T>/Rc<T>/List<T> shapes), silently skipping the ownership-wrap
gate on composite type arguments. The prior commit added the
TargetTypeExprInstantiation arm; this adds the witness that proves it:
verified red against the pre-fix caller (bypass returns the arg unwrapped,
still TargetTypeExprAtom) and green against the fix (arg comes back wrapped,
decodes as TargetTypeExprInstantiation).

Closes the RE-OPENED wrap_decision_predicate migration trigger in
v1_deletion_plan.dag.

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

* interpreter-kernel-d.md: correct the stale fail-closed emit_host note

run_host_process/_with_cache/_admitted are wired (build_transport_admissible
admission + emit_host_run_transport dispatch); emit_host_transport_not_wired
no longer exists in emit_host.dag. Flagged during Kernel-D frontier review
(sharp-bee-290) — the pure-eval emit seam this section describes as a gap
is landed, not open.

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

* WIP: Kernel-D: emit v1 interpreter pure-eval native, prove cutover green-by-e

* chore: regenerate drifted generated artifacts (ci auto-heal)

* E0277 canonical-seven census: three trait-bound families, one shared with E0599

Diagnose-before-fix per parent's census-first method. E0277 (603 canonical-seven
occurrences, "trait bound not satisfied") decomposes into three independent
families: (1) generic type-parameter Clone (T/U/A/B: Clone, ~26-30/module,
every module) — very likely the same root as E0599's dominant clone/is_empty/iter
pattern on the same type-parameter letters, just surfaced via a different
rustc diagnostic depending on call shape; (2) Node/EnvironmentBindingKey
missing Hash/Eq (5-6/module, every module); (3) serde Serialize/Deserialize
missing on interpreter carriers plus a large CommutativeSemiring<Magnitude>
sub-family that explains emit_host's (129) and materialization_carriers'
(90) outlier totals vs the 76 baseline elsewhere.

Handed off partial E0599 census to swift-bee-52 (dedicated E0599 session)
before starting this lane; flagged family 1 as the coordination point before
either session commits to a fix.

Per-module E0277 counts (76/75/81/76/129/76/90) corroborate the banked
docs/probes/refresh_canonical_seven_2026-07-26.tsv (#7275) exactly, at a
later git_sha with fresh local binaries (mtime/sha256 verified).

No fix proposed yet — census only, per standing instruction.

* WIP: Kernel-D: emit v1 interpreter pure-eval native, prove cutover green-by-e

* WIP: Kernel-D: emit v1 interpreter pure-eval native, prove cutover green-by-e

* E0277 census: fix arithmetic (547+56=603, not 581) and broaden residual to all 7 modules

Corrects review-43324 findings: the "581 of 603" summary line undercounted
(true trait-bound-pattern match is 547, verified by awk summation) and the
residual section only examined materialization_carriers when the same
Debug-derive residual exists in every module (56 total, 6/6/7/6/14/6/11 per
module). Also confirms family 1's root: reading full diagnostic context
(not just the grep'd first line) shows every T/U/A/B: Clone site is a
struct-declaration derive, never touched by the existing fn-only
v1_generic_params_needing_clone_bound mechanism — so that mechanism does
not already dissolve the scaffold's trigger (contra review 43324 finding 2).

* E0277 census: correct next-steps fix direction per review 43338

Verified against vendored im-15.1.0 source: Vector<A>'s struct declaration
carries no bound, but its Debug/Serialize/Deserialize impls each need
Clone in addition to their own trait, while derive macros only infer the
trait's own per-param bound. The fix is per-derive-target (serde #[serde
(bound(...))] overrides, hand-written Debug impl) — not a blanket T: Clone
on the struct's own generics, which would over-constrain every use site.
Retracts the prior next-steps suggestion to extend the struct emitter
with a field-shape-inferred struct-level bound.

---------

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>
briansrls added a commit that referenced this pull request Jul 26, 2026
Fresh gunbc (sha 1fbda554, mtime 2026-07-26 17:24:35 UTC) on aa38358:
E0308 837 → 839 (+2 on emit_host / materialization_carriers). Declared as
construction-wall measurement, not a burn-down claim; emit file counts also
moved vs the banked baseline (main drift possible).

Co-authored-by: Cursor <cursoragent@cursor.com>
briansrls added a commit that referenced this pull request Jul 26, 2026
…7292)

* Refuse undetermined none/None carrier instead of fail-open null.

Close the fabricated-plausible default at emit_var_ref / emit_typed_expr_base
(sharp-bee-290 msg_6317aebe): CardOptional type-directs to Rust None; any other
determined carrier or undetermined inferred type refuses via emit_error_expr.
Discriminating RED lives in a hand stage0 integration test (not a ct_ roster blob).

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

* Fix none-carrier RED test: seed Vec is im::Vector.

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

* Bank Phase C canonical-seven probe receipts vs #7275 baseline.

Fresh gunbc (sha 1fbda554, mtime 2026-07-26 17:24:35 UTC) on aa38358:
E0308 837 → 839 (+2 on emit_host / materialization_carriers). Declared as
construction-wall measurement, not a burn-down claim; emit file counts also
moved vs the banked baseline (main drift possible).

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

* Add HAND-RUST GATE retention receipt for Phase C RED.

Move none_undetermined_carrier_refuse into src/v1/tests with a
RetainedNonMigratable retirement row (Value::Null-split lane / ROADMAP
fail-closed meta band), matching e0308_mechanical_trio.

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

---------

Co-authored-by: Brian Searls <briansrls@gunb.ai>
Co-authored-by: Cursor <cursoragent@cursor.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