village-builder

VB-203: Plan: the budget re-derived at the new reference, with a closure table

Status: done (2026-11-09) Priority: 1 Size: S Arch: yardstick Phase: plan Design ref: Balance loops and targets (Performance budget); Vision and scope (Population). docs/roadmap.md, sections 5.2 and 5.3; Kim’s decisions of 7 November 2026 (QUESTION_ARCHIVE.md). Goal: Make the budget a target the game can be held to. The review of the work since 3 November found three things, and Kim answered on 7 November:

Context, measured 7 November on 6eaa6bc with the stale fixtures of 4df5766 (node tools/bench.js, one run, Node 22, 4-core Xeon at 2.1 GHz). The machine differs from the one used on 5 November, so compare ratios, not milliseconds.

Measure Budget today medium-y5 (880 living) medium-y60 (2,492 living)
Mean, ms a game day 160 176 652
Longest 6-minute step, ms 60 (medium-y60: 400 for now) 87 248
Moving round, one call, ms 60 47 363
Meetings, one call, ms 60 41 276
Save, ms 500 1,044 6,935
Load, ms 500 286 1,657
Save gzipped, MB 10 4.1 24.6
ms a living pawn-day, year 60 against year 5 at most 1.25×   1.32×

Questions: answered by Kim on 7 November (QUESTION_ARCHIVE.md, “VB-203: the budget re-derived”). The decided lines are in Notes and in design.md, AGENTS.md and the roadmap (section 5.2). Acceptance criteria: