Repository navigation
Floor memory: per-phase held-set attribution; retained-structure census at seams; parse index dropped after planning - #12774
Conversation
…ation; structure census at seams; parse index handed over and dropped after planning - gunbc.floor_demand floor_phase_attribution: fold over the run's own seam/watchdog beats (entry, in-phase peak; left = next phase's entry), reusing floor_seam_of_token and beat_held_set; unknown token refuses. - //gunbc/instruments:floor-memory-qualification: the supervisor tees the child's stderr, transcribes [floor-cgroup] beats (na counters refuse), and renders the fold per phase beside the verdict. - floor_retention_census (replaces the uncalled whole-tree ancestry probe): retained vs distinct entries per typecheck-env map, and module-identity overlap, over the process resolve store and the prepared graph at nominal-subject-seeds and prepared-subject-warm. - New seam bare-reference-edge-index-warm with its typed FloorSeam arm. - The parse phase's DeclarationIndex is moved (not cloned) to the floor, which drops it once the planning observation returns. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ad stall/swap supplied-value claim Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…e, refuse (not clamp) counters past i64, declare the primitive-boundary dissolution trigger Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Addressing review 73204 in 71392ec:
|
…ache The cache is a typecheck-time carrier (the union of each module's ancestry, consumed only by a later importer's typecheck). The strict prepared subject is closed and never re-resolved, and no PreparedRepository reader touches it; floor_retention_census showed every module holding its own spine (tec.variant_locals ~39M distinct entries over 2335 modules on the main subject). Project it away at the owner so it drops when the strict resolve returns. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…easured saving (~0.18 GB; im::HashMap shares nodes across merged parents) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…dentity grain Every module path held by more than one TypedModule allocation is compared component-wise (module node, type bindings' resolved nodes, ancestry bindings, parent module paths, function signatures, parent function envs), by Rc pointer and module path. Gates moving the per-graph rewire to one wiring per module at the pool's MultiEntryIndex. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
On review 73275's advisory, the receipt for new hand-written Rust:
If a tracking row is wanted for the transcription half, the natural home is the same trigger as — sent from sleek-ibex-207 |
… time where the floor frees it (strict refusal, prepared teardown), reading mallinfo2 per drop Order-dependent by construction and reported so: TypeEnv is split into its maps and dropped first, so each map's figure is a lower bound on its exclusive bytes; shared graphs/modules report unattributable rather than zero. Armed by the floor only. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…a), not a Bool flag beside a meaningless Int Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Review 73301, hand-rolled optional pairs (
The artifact text I received ends partway through this finding. If there are further findings after it, I haven't seen them. |
…nction return Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…f base's checkout is a different module) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…e attribution; heads-parse-count test) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ibution; floor execution demand moved in by #12788) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…s have another owner (measured unchanged) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…nd after shells / includes shared residue) A late class is credited nodes it shared with earlier ones; read as a saving, emit_graph_info's 4.06 GB at #12381 predicted a cut that measured -0.07 GB (neat-boar-16's A/B on gunbc#12832). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ocking_diagnostics refusal Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…tails Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… item_leaf_owner_modules Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…or-memory instrumentation's seed growth - prepared_graph_without_typecheck_caches, the census doc and the byte probe's reading note keep the instrument names and the reasoning and drop transcribed figures (DESIGN §6). - gunbc.floor_memory_instrumentation_seed_growth: the hand-authored census, byte attribution, beat transcription and cache-lifetime fix, with reason, v1_seed_standing admission and a capability trigger per half; registered in gunbc.seed_growth_admission. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Review 73476, both findings fixed in 465ce1d:
— sent from sleek-ibex-207 |
…bled or negative stall or swap refuses like a stat counter Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Review 73487 fixed in 9335a15. — sent from sleek-ibex-207 |
…et of the seed-growth row and the exclusive-bytes host producers Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Cost lane, node adhoc-64586b4c-223 (manager jolly-boar-500). Part (1) of the brief, the instrument, plus two lifetime fixes. The measurement at the ~5.4k-seed #12381 subject runs on srv1 via neat-boar-16. Its result and the chain re-derivation (part 3) follow here.
What the floor already showed
Reading the seam beats of merge_group run 36675207241 (today's small subject):
No entry point reduced these beats per phase, and nothing named which structures hold the memory.
Changes
gunbc.floor_demandfloor_phase_attribution: a fold over a run's own beats. A seam beat opens a phase and watchdog beats stay in it. Each row gives the phase's entry held set and its in-phase peak; what the phase left resident is the next row's entry. It reusesfloor_seam_of_tokenandbeat_held_set, so there is no second held-set rule, and an unknown token refuses.//gunbc/instruments:floor-memory-qualification: the supervisor tees the child's stderr and transcribes the[floor-cgroup]beats as primitives. A counter printed asnarefuses rather than reading as zero, because.daghas no string parsing. The fold's rows are rendered beside the unchanged verdict. This extends the existing route; no new label.floor_retention_censusreplaces the uncalledwhole_tree_ancestry_retention_probe. At thenominal-subject-seedsandprepared-subject-warmseams it reports, for the process resolve store and the prepared graph:bare-reference-edge-index-warm, with a typed FloorSeam arm and token row;every_floor_seam_literal_has_a_typed_armcovers it.Evidence
cargo check --all-targetsis green, with a must-fail control that did fail.transcription_tests(2) andevery_floor_seam_literal_has_a_typed_armpass..dagwitnesses infloor_phase_attribution_witness_test. Standalonegunbc runon that entry did not finish within 15 minutes, so the floor's changed-witness sublane on this PR is their first execution.Not in this PR
lookup_type_by_namestill reads the per-module TypeEnv, so projecting it changes semantics and needs the census size at 5.4k seeds plus an identity-grain differential first.🤖 Generated with Claude Code