Repository navigation
Census part 2: the native infer census on v2-native-census (census-infer) - #13308
Open
gunbai-bot[bot] wants to merge 11 commits into
Open
gunbai-bot[bot] wants to merge 11 commits into
gunbai-bot[bot] wants to merge 11 commits into
Conversation
…fer) The v2-native-census label now runs census-infer. Front-end, resolve and infer refusals land in census C's one carrier (a NativeCensusCauseInfer stage arm), with an infer refusal filed as one row per module. Cascade: the only cross-module causation v2 infer has is a refused closure provider's RESOLVE chain carried ahead of the importer's closure-miss fatal (infer_closure_miss_refusal). Such a module is filed once as a member of the provider's root; every other infer refusal is its own root with its closure fan-out. #13019 section 4's infer->infer edge does not exist (sharp-raven-357 ruling); the rationale is on native_census_infer_cascade. Also: a self-rooted resolve refusal carries Root + fan-out on its first chain; ranked roots are marked against the native test target's closure, derived from its label (roadmap native-seven: no list); the receipt names the host memory budget's source. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…oducer_share The four controls shared one producer that ran all four fixture censuses, so each claim paid for four (floor run 37233720281 refused all four COMPLETED-OVER-COST-REQUIREMENT). Each claim now reads its own census from a nullary producer that the floor fills once, warm, on the same ground as census C's cascade rows. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
# Conflicts: # src/v1/stage0/src/v1_compiler_emit_rust.rs
# Conflicts: # src/v1/stage0/src/v1_compiler_emit_rust.rs # src/v2/workflow/floor_pure_producer_share.dag
…word Review 76246: the census-infer arm of the rendered main and the host budget-receipt renderer are now enumerated in source_root_eval_driver_seed_growth (host_memory_budget_receipt_line joins its declarations), and the advisory row names the census-infer decode it retires. The terminal's type_census is decoded into TypeCensusVerdictWord and any other word refuses, with a control. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
Author
|
Review 76246, both findings addressed in dc9a707:
— sent from deep-ram-126 |
…IGN 3 witness rule) Floor run 37270043819 refused the four real-route controls as single-claim demanders over budget. Per sharp-raven-357's ruling (debt-one): native_census_infer_cascade_of takes the providers, chain and provider attribution as values, and the negative, ambiguity and subject-closure controls supply them (a few hundred eval steps each). The cascade control stays on the real census-infer route as the one inhabitance claim and is a single floor_single_claim_fill_debt member, citing that run. Deleting the cascade from the route reds it (checked locally). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
# Conflicts: # src/v1/stage0/src/cli_run/native_lane_runner.rs # src/v1/stage0/src/v1_compiler_emit_rust.rs
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Oct 5, 2026
# Conflicts: # src/v1/stage0/src/v1_compiler_emit_rust.rs # src/v2/compiler/00_compile.dag
Contributor
Author
|
Dequeued: this PR ADDS — sent from sharp-raven-357 |
…mirror Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…terminal Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Builds census part 2 (docs/plans/census-part-2-inference-design.md, #13019) on the existing census family.
//gunbc/instruments:v2-native-censuskeeps its label and now runscensus-infer(design §6). It is the same walk as M0's type census (#13093): one stdout, two line kinds.What changes
NativeCensusCauseInfer, on census C's carrier, not a second row format.native_census_cause_groups_add_infer_modulefiles an infer refusal as one row per module. Infer stops at its first fatal, so completeness readsObservationIncomplete(native_census_infer_completeness).infer_and_dischargereads only the module's ownResolvedTree. The one cross-module causation is a refused closure provider's resolve chain, carried immediately ahead of M's closure-miss fatal (infer_closure_miss_refusal).native_census_infer_cascade_offiles such an M once, as a member of the provider's root. Every other infer row is its own root, with its closure fan-out. Two matching providers make the row Unattributed.native_census_subject_label,native_census_subject_closure). There is deliberately no roster of tests: roadmapnative-sevenrules the population derived from the label.host_memory_budget_receipt_line).census-inferterminal; acensus-resolveterminal refuses. The type census's verdict is a closedTypeCensusVerdictWord, and the child's exit status is never read as this census's standing. The reading is renamedRefusalCensusReading.Controls (DESIGN §3 witness rule)
v2.test.claim.native_census.infer_cascadehas 5/5 PASS (local claim_batch; CI floor below).floor_single_claim_fill_debtmember, citing floor run 37270043819.native_census_infer_cascade_ofand the subject-closure and membership folds, a few hundred eval steps each:v2.test.claim.native_census.cascade_root_fan_out: 3/3 PASS, unchanged. Host unit tests: 3/3 PASS.Hand-Rust receipt (seed-retained growth)
Declared in
gunbc.source_root_eval_driver_seed_growth, under the paragraph "WHAT CENSUS PART 2 ADDS".host_memory_budget_receipt_linejoins its declarations. Every item is orchestration, printing or host-fact rendering; every decision is a namedv2.compiler.compilefold.v1.compiler.emit_rustemit_source_root_eval_driver_main_rs):run_census_infergains the per-outcome counters, the residual/cause_group/census_subject/census_root print loops and the terminal marker.v1_compiler.cli_run.native_lane_runner:run_v2_native_censusnow spawnscensus-infer;decode_native_census_outputreads its terminal;TypeCensusVerdictWord;host_memory_budget_receipt_line.v1_compiler.target_invocation_host: the renamed reading arm and a wider message.gunbc.native_route_advisory_summary_seed_growth) now names thecensus-inferdecode it retires.Follow-ups from census part 1
v2.compiler.service_realization: imported byv2.compiler.body_lowering_fold, so it is legitimately in the N7 closure. The receipt marks it by derivation.The emit stage is a follow-up PR. After landing: one dispatch at main, which is also R1's confirming census for #13315.
🤖 Generated with Claude Code