Your free trial has ended.

Try the live demo or log in .

e5adcb5d

Created Cancelled

By: ValentinHirschi <valentin.hirschi@gmail.com>

sector-box: growth budget, initial growth map, and resume of a growth series from a round state

- growth_budget_seeds (with growth_no_inherit and rebuild_rounds): each growth round grows the highest flagged levels only, as
  many as keep all seeds of the rebuilt batch within the budget, counted by a dry run of the next round's plan; when the top
  flagged level alone exceeds it the session stops with a rows limit.
- Session API: set_growth / growth (start a series at a given growth map), resume_from (the first round of the next extend
  plans its seeds with that map without eliminating, grows from the given masters, and the next round rebuilds), and
  set_round_hook (every round's masters and growth map after its selection).
- Spec: growth_budget_seeds, initial_growth (a growth map file), resume_state (a round state file) and round_state_dir (writes
  round-<n>.json); all off by default and absent from the checkpoint key when unset; round_state_dir never enters it.

Measured at four loops (one-mass propagator family, the prototype of this change): a series resumed from its first round
equals the uninterrupted one (347 masters, the same seeds per round); with a 10 k / 13 k seed budget a grown level cleared its
own boundary masters (level 8: 96 -> 3 flagged sectors) and pushed the boundary one level down (level 7: 134 -> 154), so the
budget sequences growth but the final batch is as large as growing all levels at once. Five loops: the resume reproduced a
6.56 M-row first round's 213,496 seeds and 17,401 boundary masters without eliminating it. Tests (k6): a resumed series has
the same masters, pivots and rows as the uninterrupted one; a budget the next batch cannot meet stops with a rows limit, an
unbounded one changes nothing, and the budget is refused without growth_no_inherit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GitHub
1 of 1 jobs done 1 Cancelled More jobs to come