1 Commits
Author SHA1 Message Date
wushenghua 6eaebc3cb5 feat: migrate invented numbers to real CH source formulas (numeric provenance)
User: "数值应参考 CH 迁移,不要自己写." Contract 2.2 requires inheriting CH's
formula families and magnitude. Previously relic strength (0.06+tier*0.008),
commission targets/rewards, and partner coefficients were invented. Now:

- cf_formulas.py/.gd: implements CH's real formula families (linear10=0.10*L,
  diminishingReturns, exponential/polynomial1_5 costs) and reads CF source
  tables copied to data/cf_reference/numeric_tables.json (27 relics/30 ancients/
  10 outsiders/6 daily tasks/9 skills). check_cf_formulas_parity PASS 25 cases.
- Relics: strength = CH linear10 @level=tier (0.1..6.0, genuine CH magnitude);
  effect TYPE from CH relic effectDescription keyword (idle->shield, click->
  damage, chest->summon...). 56 combat relic signatures unique.
- Commissions: target steps from CH daily_tasks (kills=50/boss=3/upgrades=5/
  quests=2), reward = CH rubies=5 (crystal) for all.
- Partners: P01=0.10 (CH linear10), P03=0.15 (linear15), P05=0.25 (linear25).
- PRODUCTION/52-cf-numeric-provenance.md documents every number's CH source
  and honestly flags the few remaining new-game tuning parameters.
- Full P2_CHECKS_PASS (93 gates), identity preserved.

Numbers now trace to CH source tables instead of being invented. Owner gates
(human feel/device/release) remain open. prototype/ untracked.
2026-11-19 18:07:26 +08:00