Aetheria/docs/stats-power-cut1-migration.md
Meta Vens 38aec5ddf9 Cut 1: rewrite the catalog to terms and authored R-heat
Migrated by a two-phase scratch console (neither kept): phase A dumps the
four retired exponent fields plus a curve fit (peak, optimum, near-peak
band) from the pre-Cut-1 code; phase B applies them as declared StatTerms
and authored OptimalTemperature/PlateauWidth under the new schema, in one
Commit, refusing to write anything if a single record fails to resolve.

348/348 stats and 51/51 EquippableItemData records migrated; zero
failures. AetherDb's census/factions/dangling/station-fit/hardpoint-fit/
loadout-1 are byte-identical before and after (captured with the matching
pre/post binary against the matching pre/post catalog, since neither
binary can open the other's catalog shape -- the pre-migration catalog no
longer opens under the new code, confirmed and explained in the report).

37 items fitted from an authored curve; 14 had none and got a full-range
plateau (reproducing the old "always full performance" behavior exactly).
281 of 348 stats evaluate identically at quality .5/full durability/optimum;
67 diverge upward (toward Max), the intended balance change Cut 0 flagged --
max delta ~73 units on a 750000-1750000 stat. Full table:
docs/stats-power-cut1-migration.md.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-18 17:18:24 +02:00

14 KiB

Cut 1 migration table: R-heat fit and term counts

Date: 2026-09-18. Cut 1 of docs/stats-and-power-cut.md. Generated by a scratch migration console (two phases, neither kept) against GameData/Aetheria.cc at pre-migration sha1 d65c2aede2ee637fdb77fb83e6d7acd4d6c37cb3 (12,682,424 bytes). The committed file's sha1 is 13a13a675064f971dfff3a3d83998220da42dd49 (12,682,737 bytes, +313 for 51 authored OptimalTemperature/PlateauWidth float pairs).

The pre-migration catalog does not open under the post-Cut-1 code. Opening the unmigrated bytes with the new AetheriaStores.Open throws immediately: ClearPath: OptimalTemperature 0 lies outside its bounds [223.15, 473.15] -- StatValidation refusing the unauthored-default 0 for the very first design it checks. This is why the schema change and the catalog rewrite are one commit, not two: there is no working intermediate state. Keys 2-5 (the retired HeatExponentMultiplier/DurabilityExponentMultiplier/ QualityExponent/FromRole) are simply absent from the new PerformanceStat type, so CultCache's normal slot-compatibility path (an unrecognized stored key is skipped, not an error) is what makes the stat fields safe to drop silently -- it is OptimalTemperature/PlateauWidth on EquippableItemData, freshly required by the new validation, that make a bare code swap without the catalog rewrite unusable.

AetherDb invariants (census, factions, dangling, station-fit, hardpoint-fit, loadout 1) are byte-identical before and after -- captured with the pre-Cut-1 binary against the unmigrated copy and the post-Cut-1 binary against the migrated copy, since neither binary can open the other's catalog shape. None of these commands reads a stat value, so identical output is the expected proof that nothing but the stat/heat shape moved.

  • EquippableItemData records before: 51, after: 51 (must match -- the migration adds no records)
  • Stats migrated into declared terms: 348 of 348 dumped
  • Items fitted from an authored curve: 37; items with no curve (full-range plateau): 14
  • Stat values at quality .5 / full durability / the item's own optimum: 281 of 348 unchanged, 67 diverge -- every divergence moves toward Max (the plateau's full-performance value), which is a move away from Min for an inverted stat (Max < Min) and reads as a negative delta below; max |delta| 72.8125

Stats whose at-optimum value changed (the intended R-heat balance change)

Item key Path Min-Max Old value New value Delta
42d1ffaa-f764-4a65-ba03-43cc4e6fd2bc Behaviors[0].Torque 750000-1750000 999927.2000 1000000.0000 +72.8125
04255796-db68-48d2-81e5-8cfdab150706 Behaviors[0].Thrust 250000-1000000 437472.7000 437500.0000 +27.3125
480d6cc4-cd8a-49b6-9c89-211033e7c1d5 Behaviors[0].PingVisibility 5000-1000 4001.1640 4000.0000 -1.1643
0d499d62-3b92-454b-9498-37d12616167f Behaviors[0].Visibility 5000-1000 4000.5820 4000.0000 -0.5823
20e9f41a-6bd2-4f6c-9740-7b707614509c Behaviors[1].PumpedHeat 1000-5000 1999.4180 2000.0000 +0.5823
499f7891-c5df-4cbe-8431-9db7108102ec Behaviors[0].Visibility 5000-1000 4000.5820 4000.0000 -0.5823
03a842b2-295e-4cf7-9faa-ecc4bc54eb76 Behaviors[0].Range 1000-3000 1499.4180 1500.0000 +0.5822
2935b4d4-2ad5-4b90-8416-a85bbb38171b Behaviors[1].PumpedHeat 750-4000 1562.0270 1562.5000 +0.4731
542169f2-363c-41f7-8d6d-60a5bd7578bd Behaviors[1].PumpedHeat 1000-4000 1749.5630 1750.0000 +0.4368
2933c4ce-bf41-459c-b0d6-9583466b393d Behaviors[0].Range 750-2250 1124.5630 1125.0000 +0.4366
8ac84e31-f0cf-43b2-8611-3316adfa4010 Behaviors[0].Visibility 1000-250 812.9364 812.5000 -0.4364
679fb6a1-cefb-4adc-a49c-71942602196b Behaviors[0].Range 1000-2000 1353.1420 1353.5530 +0.4116
679fb6a1-cefb-4adc-a49c-71942602196b Behaviors[0].Visibility 1000-500 703.0444 702.6982 -0.3462
5ee2ff03-0ac4-4cdd-89bc-81e29223900b Behaviors[0].MinRange 500-50 366.5256 366.2142 -0.3114
480d6cc4-cd8a-49b6-9c89-211033e7c1d5 Behaviors[0].PingRange 1000-5000 1999.7090 2000.0000 +0.2913
2e5193aa-3703-4ecc-911d-4d8394ce4c2f Behaviors[0].Visibility 1250-250 896.6525 896.4467 -0.2058
0271bb97-4ce8-4d64-97c3-8bfd3f76b2c6 Behaviors[0].Visibility 500-100 358.7433 358.5786 -0.1647
457ac901-aa54-4ba7-9df6-fbacdfb40b3f Behaviors[0].Visibility 500-100 358.7433 358.5786 -0.1647
457ac901-aa54-4ba7-9df6-fbacdfb40b3f Behaviors[0].Velocity 400-900 524.8544 525.0000 +0.1456
03a842b2-295e-4cf7-9faa-ecc4bc54eb76 Behaviors[0].Damage 100-600 224.8545 225.0000 +0.1455
0d499d62-3b92-454b-9498-37d12616167f Behaviors[0].ChargeHeat 2500-2000 2250.1460 2250.0000 -0.1455
499f7891-c5df-4cbe-8431-9db7108102ec Behaviors[0].ChargeHeat 2500-2000 2250.1460 2250.0000 -0.1455
4a41dec8-6b65-46ee-b578-ba805f112c0c Behaviors[0].Range 800-1750 1037.3620 1037.5000 +0.1383
5ee2ff03-0ac4-4cdd-89bc-81e29223900b Behaviors[0].Visibility 1000-250 777.1535 777.0237 -0.1298
542169f2-363c-41f7-8d6d-60a5bd7578bd Behaviors[1].WasteHeat 500-100 358.6610 358.5786 -0.0824
499f7891-c5df-4cbe-8431-9db7108102ec Behaviors[0].Range 800-1900 1074.9200 1075.0000 +0.0801
3aa1ac05-6d55-4569-8a4b-e1c3c6e07c61 Behaviors[0].Visibility 1750-600 1508.3130 1508.2420 -0.0704
04255796-db68-48d2-81e5-8cfdab150706 Behaviors[0].Visibility 100-400 206.0042 206.0660 +0.0618
4a41dec8-6b65-46ee-b578-ba805f112c0c Behaviors[0].Visibility 550-150 450.0582 450.0000 -0.0582
3aa1ac05-6d55-4569-8a4b-e1c3c6e07c61 Behaviors[0].Range 500-1250 687.4454 687.5000 +0.0546
457ac901-aa54-4ba7-9df6-fbacdfb40b3f Behaviors[0].Range 500-1250 687.4454 687.5000 +0.0546
679fb6a1-cefb-4adc-a49c-71942602196b Behaviors[0].Velocity 500-1250 687.4454 687.5000 +0.0546
8ac84e31-f0cf-43b2-8611-3316adfa4010 Behaviors[0].Velocity 750-1500 937.4454 937.5000 +0.0546
2933c4ce-bf41-459c-b0d6-9583466b393d Behaviors[0].Heat 500-0 323.2748 323.2233 -0.0515
3aa1ac05-6d55-4569-8a4b-e1c3c6e07c61 Behaviors[0].Heat 500-1000 676.7252 676.7767 +0.0515
0271bb97-4ce8-4d64-97c3-8bfd3f76b2c6 Behaviors[0].Velocity 700-1250 863.4684 863.5160 +0.0476
20e9f41a-6bd2-4f6c-9740-7b707614509c Behaviors[1].WasteHeat 100-300 170.6695 170.7107 +0.0412
5ee2ff03-0ac4-4cdd-89bc-81e29223900b Behaviors[0].Range 1650-3500 2199.9680 2200.0080 +0.0400
0d499d62-3b92-454b-9498-37d12616167f Behaviors[0].Velocity 250-750 374.9636 375.0000 +0.0364
499f7891-c5df-4cbe-8431-9db7108102ec Behaviors[0].Velocity 250-750 374.9636 375.0000 +0.0364
0d499d62-3b92-454b-9498-37d12616167f Behaviors[0].Range 450-950 574.9636 575.0000 +0.0364
8ac84e31-f0cf-43b2-8611-3316adfa4010 Behaviors[0].Range 500-1000 624.9636 625.0000 +0.0364
0271bb97-4ce8-4d64-97c3-8bfd3f76b2c6 Behaviors[0].Range 250-600 337.4745 337.5000 +0.0255
2933c4ce-bf41-459c-b0d6-9583466b393d Behaviors[0].Visibility 300-0 225.0219 225.0000 -0.0219
5ee2ff03-0ac4-4cdd-89bc-81e29223900b Behaviors[0].Velocity 100-175 137.4782 137.5000 +0.0218
8ac84e31-f0cf-43b2-8611-3316adfa4010 Behaviors[0].Damage 100-250 137.4782 137.5000 +0.0218
72859489-677a-47a4-ae04-550e582ba29e Behaviors[0].PingBoost 10000-20000 12500.0200 12500.0000 -0.0205
205efba0-16af-477b-80e9-c9597cead5b4 Behaviors[0].Charge 50-200 103.0176 103.0330 +0.0154
372d23cc-5ef0-42b5-9d96-807f2e412b0d Behaviors[0].Charge 25-125 60.3450 60.3553 +0.0103
4a41dec8-6b65-46ee-b578-ba805f112c0c Behaviors[0].Damage 20-85 36.2405 36.2500 +0.0095
0d499d62-3b92-454b-9498-37d12616167f Behaviors[0].Damage 50-175 81.2409 81.2500 +0.0091
2933c4ce-bf41-459c-b0d6-9583466b393d Behaviors[0].Damage 40-160 69.9913 70.0000 +0.0087
34b15c33-c01f-4712-ac75-5fcf779f0685 Behaviors[0].Capacity 50-150 74.9927 75.0000 +0.0073
480d6cc4-cd8a-49b6-9c89-211033e7c1d5 Behaviors[0].PingEnergy 150-100 137.5073 137.5000 -0.0073
5ee2ff03-0ac4-4cdd-89bc-81e29223900b Behaviors[0].Thrust 135-325 182.4931 182.5000 +0.0069
499f7891-c5df-4cbe-8431-9db7108102ec Behaviors[0].Damage 25-110 46.2438 46.2500 +0.0062
2935b4d4-2ad5-4b90-8416-a85bbb38171b Behaviors[1].WasteHeat 75-50 66.1663 66.1612 -0.0051
457ac901-aa54-4ba7-9df6-fbacdfb40b3f Behaviors[0].Damage 20-80 34.9956 35.0000 +0.0044
3aa1ac05-6d55-4569-8a4b-e1c3c6e07c61 Behaviors[0].Energy 25-50 33.8363 33.8388 +0.0026
72859489-677a-47a4-ae04-550e582ba29e Behaviors[0].PingRange 1000-2000 1250.0020 1250.0000 -0.0021
5ee2ff03-0ac4-4cdd-89bc-81e29223900b Behaviors[0].LockAngle 15-35 19.9985 20.0000 +0.0015
5ee2ff03-0ac4-4cdd-89bc-81e29223900b Behaviors[0].Cooldown 15-8 12.5266 12.5251 -0.0014
480d6cc4-cd8a-49b6-9c89-211033e7c1d5 Behaviors[0].PingCooldown 20-5 16.2511 16.2500 -0.0011
5ee2ff03-0ac4-4cdd-89bc-81e29223900b Behaviors[0].Energy 5-1 3.5866 3.5858 -0.0008
542169f2-363c-41f7-8d6d-60a5bd7578bd Behaviors[1].Emissivity 4-8 5.1885 5.1892 +0.0007
5ee2ff03-0ac4-4cdd-89bc-81e29223900b Behaviors[0].Damage 14-48 22.4994 22.5000 +0.0006
542169f2-363c-41f7-8d6d-60a5bd7578bd Behaviors[1].EnergyUsage 6-3 5.1086 5.1081 -0.0005
Item Type Bounds Old optimum New optimum New plateau width Old value @ optimum New value @ optimum Delta
ClearPath WeaponItemData 223.15-473.15 285.65 286.9 30 0.9977 1.0000 +0.0023
SafeStuff II CargoBayData 175-600 281.25 283.38 51 0.9977 1.0000 +0.0023
CShot RainbowLite Lazer WeaponItemData 250-400 287.5 288.25 18 0.9977 1.0000 +0.0023
deep space burnout GearData 200-400 250 251 24 0.9977 1.0000 +0.0023
ChargeBlast SG WeaponItemData 223.15-473.15 285.65 286.9 30 0.9977 1.0000 +0.0023
Autocannon WeaponItemData 173.15-473.15 323.15 323.15 300 1.0000 1.0000 0
Refinery GearData 273.15-373.15 323.15 323.15 100 1.0000 1.0000 0
SRMM72 WeaponItemData 223.15-473.15 348.15 348.15 250 1.0000 1.0000 0
Vulcan GearData 200-500 275 276.5 36 0.9977 1.0000 +0.0023
cold like my heart GearData 223.15-473.15 285.65 286.9 30 0.9977 1.0000 +0.0023
ColdFire WeaponItemData 263.15-398.15 296.9 297.58 16.2 0.9977 1.0000 +0.0023
Arctica GearData 223.15-473.15 285.65 286.9 30 0.9977 1.0000 +0.0023
Turret Control Module GearData 173.15-523.15 260.65 262.4 42 0.9977 1.0000 +0.0023
Industrial Thermostatic Heater GearData 150-400 275 275 250 1.0000 1.0000 0
scorched void policy WeaponItemData 223.15-473.15 285.65 286.9 30 0.9977 1.0000 +0.0023
Earp WeaponItemData 175-475 175 175 61.5 1.0000 1.0000 0
Cockpit 2x2 GearData 223.15-398.15 266.9 267.78 21 0.9977 1.0000 +0.0023
LRMM72 WeaponItemData 223.15-473.15 348.15 348.15 250 1.0000 1.0000 0
PotaT+- GearData 200-500 275 276.5 36 0.9977 1.0000 +0.0023
Surface Ore Extractor GearData 273.15-373.15 323.15 323.15 100 1.0000 1.0000 0
MoveOnPro GearData 200-500 275 276.5 36 0.9977 1.0000 +0.0023
Notorious GearData 250-450 300 301 24 0.9977 1.0000 +0.0023
pretty pretty bang bang WeaponItemData 223.15-473.15 285.65 286.9 30 0.9977 1.0000 +0.0023
Manhattan GearData 200-450 262.5 263.75 30 0.9977 1.0000 +0.0023
Medium Docking Bay DockingBayData -0-673.15 168.29 171.65 80.78 0.9977 1.0000 +0.0023
Traction GearData 200-450 262.5 263.75 30 0.9977 1.0000 +0.0023
LonginusX HullData 173.15-573.15 273.15 275.15 48 0.9977 1.0000 +0.0023
FastBlast+- WeaponItemData 223.15-473.15 285.65 286.9 30 0.9977 1.0000 +0.0023
Store-All Enterprise Edition CargoBayData 175-600 281.25 283.38 51 0.9977 1.0000 +0.0023
not if i see you first GearData 200-400 250 251 24 0.9977 1.0000 +0.0023
ChargeBlast+- WeaponItemData 223.15-473.15 285.65 286.9 30 0.9977 1.0000 +0.0023
Store-All Plus CargoBayData 175-600 281.25 283.38 51 0.9977 1.0000 +0.0023
Spectra WeaponItemData 263.15-398.15 296.9 297.58 16.2 0.9977 1.0000 +0.0023
Skiron GearData 223.15-473.15 285.65 286.9 30 0.9977 1.0000 +0.0023
Core Power GearData 200-450 325 325 250 1.0000 1.0000 0
Deep Ore Extractor GearData 273.15-373.15 323.15 323.15 100 1.0000 1.0000 0
OK Disperser GearData 223.15-473.15 285.65 286.9 30 0.9977 1.0000 +0.0023
Large Drive GearData 200-400 300 300 200 1.0000 1.0000 0
GT 3K WeaponItemData 223.15-473.15 285.65 286.9 30 0.9977 1.0000 +0.0023
plight WeaponItemData 263.15-398.15 330.65 330.65 135 1.0000 1.0000 0
6k Shooter WeaponItemData 173.15-473.15 248.15 249.65 36 0.9977 1.0000 +0.0023
The Bat GearData 200-400 209.38 209 33 1.0001 1.0000 0
Tractor Beam GearData -0--0 -0 -0 0 1.0000 1.0000 0
Zenith HullData 123.15-773.15 285.65 288.9 78 0.9977 1.0000 +0.0023
DeathCluster WeaponItemData 223.15-473.15 285.65 286.9 30 0.9977 1.0000 +0.0023
pswarm WeaponItemData 223.15-473.15 348.15 348.15 250 1.0000 1.0000 0
Assembly Line GearData 273.15-373.15 323.15 323.15 100 1.0000 1.0000 0
Store-All Plus Mini CargoBayData 175-600 281.25 283.38 51 0.9977 1.0000 +0.0023
Turret HullData 123.15-773.15 285.65 288.9 78 0.9977 1.0000 +0.0023
Iapyx GearData 223.15-473.15 285.65 286.9 30 0.9977 1.0000 +0.0023
Shipyard GearData 273.15-373.15 323.15 323.15 100 1.0000 1.0000 0