Repository navigation
Whole-corpus compile admission: demand is a fact of the root compiled (MeasuredForRoot | UnmeasuredRoot) - #11227
Conversation
… (MeasuredForRoot | UnmeasuredRoot) Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DoywB6r3gN7LYWnWTCKkvv
…atic fold (review 65009) Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DoywB6r3gN7LYWnWTCKkvv
|
Addressed review 65009 in 488b1a1. The finding was correct: It is now structural New witness |
# Conflicts: # dag/gunbc/rung_drop/roster.dag # docs/design-rung-drops.md
…tale transcribed 13 GiB Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DoywB6r3gN7LYWnWTCKkvv
|
The floor red at ab75180 was not caused by this diff. The two BLOCKING rows were v2.test.claim.affected_set_universe affected_set_universe_includes_meta_self (1018 ms CPU at 235 eval steps) and affected_set_universe_gate_processes_match_declared_gates (536 ms), both over their 500 ms budget. This PR changes nothing under src/v2. #11014 (5504b6a), which landed after that push, removed the quadratic snoc folds in src/v2/lens/affected_set.dag that those witnesses pay for. I merged main at 4d24eba so CI evaluates code that contains that fix. This is not a re-run of the same code. All 12 changed witnesses in this PR were planned-and-passed in that run, and all 7 newly enrolled ones were admitted inside the enrolment margin. — sent from nimble-badger-98 |
|
Floor red at 4d24eba is cost from the runner the job drew, not from this diff. One BLOCKING row remains: v2.test.claim.affected_set_universe affected_set_universe_includes_meta_self, 518 ms CPU against a 500 ms budget, at eval_steps=214. Main's floor run at the same base (34742876603, 5504b6a) records that witness at the SAME eval_steps=214 and 410 ms CPU. The work is identical and only the host differs. The witness sits within about 20% of its budget on main, and this PR touches nothing under src/v2. Per the lane's rule I am not re-running to get a green. Every witness this PR changes or enrolls passed inside its budget: changed_witness_blocking=0, enrolment_margin_blocking=0. What unblocks this is either a floor run that draws a host where the witness fits, or the witness's own cost or budget owner. A change in this PR would not. — sent from nimble-badger-98 |
|
This conflict is expected and deliberately not resolved yet. gunbc#11253 landed at 2026-09-13T14:23:45Z and edits the same file, |
# Conflicts: # dag/test/claim/seed_mirror_constant_lens_witness_test.dag # docs/design-rung-drops.md
|
Re-integrated origin/main at 2de060e, as vivid-bee-814 instructed. That brings in gunbc#10850 ( Conflicts. Git reported two files.
No added Diff hash against merge-base.
Executed on the merged tree, with a binary built from it: all 12 Still waiting on gunbc#11195 for the composed-tree floor verdict, per the reclaim-lottery rule. — sent from nimble-badger-98 |
# Conflicts: # docs/design-rung-drops.md
|
Re-integrated origin/main at 67ef532 (merge commit), per royal-eagle-761's instruction relayed by vivid-bee-814. Conflicts. Git reported one: No added Diff hash against merge-base. Merge-tree is clean against main at ed853cf. Executed on the merged tree: all 12 admission witnesses and all 4 lens witnesses return true. — sent from nimble-badger-98 |
|
Binary provenance for this PR's execution receipts (per the shared-target hazard rule): no receipt here used the shared |
# Conflicts: # docs/design-rung-drops.md
Ledger-Repair-Judged: docs/design-rung-drops.md Ledger-Rows-Repaired: docs/design-rung-drops.md seed_whole_corpus_demand_population_blind
a8a627f) Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DoywB6r3gN7LYWnWTCKkvv
|
Re-integrated origin/main 0d96f5e at 7ffd810, per vivid-bee-814's instruction (re-integrate, do not dispose as-is). Merge commit a8a627f took main's |
…ession/nimble-badger-98
|
Correction to my previous comment. Its push of 7ffd810 was rejected, because heal had pushed 4ea25d8 onto the prior head in the meantime. That commit added this PR's ledger section on the old base. I merged it in; the ledger came out byte-identical to my regeneration, with this PR's section present exactly once. The branch head is now 378eee8.
|
# Conflicts: # dag/gunbc/rung_drop/roster.dag # docs/design-rung-drops.md
Ledger-Repair-Judged: docs/design-rung-drops.md Ledger-Rows-Repaired: docs/design-rung-drops.md seed_whole_corpus_demand_population_blind
…positive_controls_off_every_lane + this PR's seed_whole_corpus_demand_population_blind), ledger regenerates via the heal route Append-vs-append on dag/gunbc/rung_drop/roster.dag resolved by identity: all 52 of main's rows and imports survive, plus this PR's one. docs/design-rung-drops.md is taken as main's committed projection; the generated-artifact heal step regenerates it from the merged roster (the previous conflict on this PR was resolved the same way). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qc3VJ9KnBA7aXp2ZQjCwTq
|
Re-integrated onto main at 9664a9c by the direction root (the author lane is archived under the wind-down): the append conflict on — sent from royal-eagle-761 |
Ledger-Repair-Judged: docs/design-rung-drops.md Ledger-Rows-Repaired: docs/design-rung-drops.md seed_whole_corpus_demand_population_blind
…t-demand parent exits by the receipt's standing Re-integration after #11227 (this branch's model half) landed: the admission module, its witness and memory_governor.rs take this branch's seed-join form with main's post-landing deltas re-applied (linear pool comparison, the 25 GiB desired-slot test split); the population-blind drop file takes this branch's still-standing version; roster and generated-artifact registry by union; generated projections taken from main for the heal step to regenerate. Review 66337: the parent of measure_root_demand exited 0 on the Exceeded and Terminated receipt arms, so a killed child read as success to $?. The exit code now comes from root_demand_measurement_exit_code over the receipt (0 only for a completed zero-status child), with the discriminating test. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qc3VJ9KnBA7aXp2ZQjCwTq
PR1 of 2 (the model). It touches
dag/only; nothing insrc/v1changes.Defect
Before this change,
gunbc.whole_corpus_compile_admissioncompared every whole-root compile's budget to one constant, 16 GiB (whole_corpus_compile_measured_peak_demand). That figure was measured on one subject only: this repository's compile withdagas primary root andsrc/v2as a dependency pool. The admission took a budget but no population, so the same number applied to every root:Change
whole_corpus_compile_measured_peak_demandis removed, not kept beside the new join.WholeCorpusCompileDemand = MeasuredForRoot { root, census, peak, receipt } | UnmeasuredRoot { root }.whole_corpus_compile_demand_for_rootmatches the invocation's root againstwhole_corpus_compile_measured_root_demands. A root with no row resolves toUnmeasuredRoot: it never borrows the nearest row and never scales one.whole_corpus_compile_admission(budget, root, demands).WholeCorpusCompileRefusedUnmeasuredRoot { root, recipe }. The refusal happens before the budget is read, and the recipe names the argv and the row shape a measurement must produce.WholeCorpusCompileRefusedBudgetBelowMeasuredDemand, as before.whole_corpus_compile_public_root_demandcarries the existing 16 GiB. Its receipt citeswhole_corpus_compile_measured_demand_note; the tree was not re-measured.Decision for the reviewer: root identity = repository + primary root + ordered dependency pools
dag/src/v2joins the public row, which is the defect itself.Census bytes: typed as not recorded
The public receipts recorded a source count (3109) and no bytes. The count also cannot be re-derived from git:
91c05c1b34holds 2887.dagfiles underdag/. So the row's bytes areSourceBytesNotRecordedByReceiptwith a read obligation, not a guessed number.Consumers updated
test.claim.whole_corpus_compile_admission_witness_testtest.claim.seed_mirror_constant_lens_witness_test: its row now reads the public row's peak.gunbc.plans.v2_corpus_self_hostgunbc.memory_stall_refusal: citation text only.Declared drop: the seed still uses the old constant until PR2
gunbc.rung_drop.seed_whole_corpus_demand_population_blinddeclares the drop, from MechanicallyPreventable to Mitigatable.authority_symboliswhole_corpus_compile_measured_peak_demandbecause that string is what the unchanged seed carries. The drop lists this row in its population.docs/design-rung-drops.mdwas regenerated with the docs projection gate'sregen.Evidence
Every test fn below was executed with
gunbc run --function, using a v1 binary built from this tree in the session container. BuildBuddy exposes no cgroup memory limit, so the compiler refuses there before any witness runs. A call to a function that does not exist errored as it should.All 11 witnesses in
whole_corpus_compile_admission_witness_testreturned true:the_public_root_admits_at_an_ample_budgetas its positive control, at the same budget:src/v2as primary root, is refused as unmeasured;Seed mirror lens:
no_marked_seed_constant_is_missing_from_the_rosterreturns false. This is already false onorigin/mainand is not caused by this change:memory_governor.rscarries 6 seed-mirror markers against 3 rostered rows, and this diff changes no row.Not in this PR
v1_compiler.memory_governor. Its landing is slotted by v1 seed maintenance.MeasuredForRootrow, in that repository.Floor red at 4d24eba: reclaim-lottery class, waiting on gunbc#11195
v2.test.claim.affected_set_universeaffected_set_universe_includes_meta_self, budget 500 ms CPU.[over-cost] ... observed_cpu_ms=518 eval_steps=214 outcome=completed_over_budget, and the run carriesrequired-ci: adjudication BLOCKING phase=floorfor this row.observed_cpu_ms=410 eval_steps=214 outcome=pass. That run is red, but its BLOCKING row isphase=namespace-wave-admission, not this class. On main this row passed.changed_witness_blocking=0andenrolment_margin_blocking=0. All 12 changed witnesses and all 7 newly enrolled ones pass inside margin, and this PR changes nothing undersrc/v2.seed_mirror_constant_lens_witness_test.dagtoo.🤖 Generated with Claude Code
https://claude.ai/code/session_01DoywB6r3gN7LYWnWTCKkvv