Pin every documented game-math table to code truth (FID-20260915-007) - #54
Merged
Merged
Conversation
…D-20260915-007) Extends the ladder-truth gate with four ladders (regen-rate, unit-cost, build-rate, army-composition — 65 cells / 10 sites), actuals derived from live functions (regen via tick(0)/spawner-max, no table mirrors). Corrects the gate's first catches pre-ship: regen summaries said 5-20%/hour while Boss regenerates at 2% (now 2-20%, four sites); UNIT_CONFIGS header claimed 40 units vs the real 65 (40 blueprint-derived + 25 SPEC/PRESTIGE). Exports BUILD_RATES/ARMY_COMPOSITION for the gate. Drill-proven: comment-only edits fail CI; per-ladder cell counts guard against silent parser shrinkage. Gates: tsc 0, lint 0, vitest 839/1 skipped.
savant0x
added a commit
that referenced
this pull request
Sep 15, 2026
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.
Summary
Extends the ladder-truth CI gate (FID-20260915-006a follow-through) from the three bot tier ladders to every documented game-math table — 7 ladders, 107 cells, 15 documented sites, all parsed from the production source and paired with live function/constant output.
New ladders (65 cells / 10 sites)
tick(0) ÷ spawner-max— no rate-table mirrors.TIER_UNLOCK_REQUIREMENTS, slot ladder 1/3/7/15/30.BUILD_RATES; Ghost's rounded reciprocal pinned at docs' one-decimal precision.ARMY_COMPOSITION, incl. bare50/50rows.First catches, corrected pre-ship
UNIT_CONFIGSheader claimed "all 40 units" vs the real 65 (40 blueprint-derived core + 25 SPEC/PRESTIGE) → rescoped.Anti-false-pass armor
Per-ladder cell-count assertions in-test; site-count guards in the scanner; truth spot-pins (Boss 120,000/h, Fortress 0.5↔2h, composition 30/70). Drill-proven: comment-only edits to the regen table / range summary / philosophy table each fail 2 tests naming the offending site.
Gates
tsc 0 · lint 0 · vitest 839/1 skipped. Blueprint↔config parity remains pinned by catalog-unification.test.ts (no duplication).