session-start weather snapshot: Mount Washington severity =  12.8 

=== Build Desalination Plant / Water Shortage (accepted= 1 ) ===
  money =  50 
  morale =  3 
  water =  40 
  category climate = normal
  category economy = growing
  category politics = stable
  event fired: construction_started

=== Build Desalination Plant / Coastal Flooding (accepted= 0 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Build Desalination Plant / Economic Downturn (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Build Desalination Plant / Political Scandal (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Build Desalination Plant / Border Tension (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Do Nothing / Water Shortage (accepted= 1 ) ===
  food = -30 
  money =  300 
  morale = -13 
  water = -20 
  category climate = dry
  category economy = growing
  category politics = stable
  event fired: famine

=== Do Nothing / Coastal Flooding (accepted= 1 ) ===
  money =  300 
  morale = -15 
  water = -30 
  category climate = normal
  category economy = growing
  category politics = stable

=== Do Nothing / Economic Downturn (accepted= 1 ) ===
  money =  300 
  morale = -5 
  category climate = normal
  category economy = growing
  category politics = stable

=== Do Nothing / Political Scandal (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Do Nothing / Border Tension (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Stimulus Package / Water Shortage (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Stimulus Package / Coastal Flooding (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Stimulus Package / Economic Downturn (accepted= 1 ) ===
  money =  100 
  morale =  8 
  category climate = normal
  category economy = growing
  category politics = stable

=== Stimulus Package / Political Scandal (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Stimulus Package / Border Tension (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Launch Investigation / Water Shortage (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Launch Investigation / Coastal Flooding (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Launch Investigation / Economic Downturn (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Launch Investigation / Political Scandal (accepted= 1 ) ===
  money =  200 
  morale =  5 
  category climate = normal
  category economy = growing
  category politics = stable
  event fired: scandal_resolved

=== Launch Investigation / Border Tension (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Cover It Up / Water Shortage (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Cover It Up / Coastal Flooding (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Cover It Up / Economic Downturn (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Cover It Up / Political Scandal (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Cover It Up / Border Tension (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Diplomatic Talks / Water Shortage (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Diplomatic Talks / Coastal Flooding (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Diplomatic Talks / Economic Downturn (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Diplomatic Talks / Political Scandal (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Diplomatic Talks / Border Tension (accepted= 1 ) ===
  money =  150 
  morale =  5 
  category climate = normal
  category economy = growing
  category politics = stable

=== Military Buildup / Water Shortage (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Military Buildup / Coastal Flooding (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Military Buildup / Economic Downturn (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Military Buildup / Political Scandal (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Military Buildup / Border Tension (accepted= 0 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Emergency Rationing / Water Shortage (accepted= 0 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Emergency Rationing / Coastal Flooding (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Emergency Rationing / Economic Downturn (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Emergency Rationing / Political Scandal (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Emergency Rationing / Border Tension (accepted= 1 ) ===
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable

=== Scheduling walkthrough: Build Desalination Plant / Water Shortage ===
day 0 (immediately after the decision):
  money =  50 
  morale =  3 
  water =  40 
  category climate = normal
  category economy = growing
  category politics = stable
  event fired: construction_started
day 179 (one day before the plant comes online):
  money = -85 
  morale = -133 
  population = -8 
  water = -25 
  category climate = normal
  category economy = depression
  category politics = revolution
  event fired: construction_started
  event fired: water_crisis_deepens
  event fired: water_crisis_deepens
  event fired: water_crisis_deepens
  event fired: water_crisis_deepens
  event fired: water_crisis_deepens
  event fired: evacuation_crisis
  event fired: coastal_erosion_worsens
  event fired: coastal_erosion_worsens
  event fired: coastal_erosion_worsens
  event fired: economic_stagnation
  event fired: economic_stagnation
  event fired: economic_stagnation
  event fired: economic_stagnation
  event fired: economic_stagnation
  event fired: political_scandal_deepens
  event fired: political_scandal_deepens
  event fired: political_scandal_deepens
  event fired: political_scandal_deepens
  event fired: political_scandal_deepens
  event fired: political_scandal_deepens
  event fired: political_scandal_deepens
  event fired: political_scandal_deepens
  event fired: public_unrest
  event fired: public_unrest
  event fired: border_tension_escalates
  event fired: border_tension_escalates
  event fired: border_tension_escalates
  event fired: border_tension_escalates
  event fired: border_tension_escalates
  event fired: border_skirmish
  event fired: border_skirmish
  event fired: border_skirmish
day 180 (the plant comes online):
  money = -100 
  morale = -146 
  population = -8 
  water =  60 
  category climate = normal
  category economy = depression
  category politics = revolution
  event fired: construction_started
  event fired: water_crisis_deepens
  event fired: water_crisis_deepens
  event fired: water_crisis_deepens
  event fired: water_crisis_deepens
  event fired: water_crisis_deepens
  event fired: evacuation_crisis
  event fired: coastal_erosion_worsens
  event fired: coastal_erosion_worsens
  event fired: coastal_erosion_worsens
  event fired: economic_stagnation
  event fired: economic_stagnation
  event fired: economic_stagnation
  event fired: economic_stagnation
  event fired: economic_stagnation
  event fired: political_scandal_deepens
  event fired: political_scandal_deepens
  event fired: political_scandal_deepens
  event fired: political_scandal_deepens
  event fired: political_scandal_deepens
  event fired: political_scandal_deepens
  event fired: political_scandal_deepens
  event fired: political_scandal_deepens
  event fired: public_unrest
  event fired: public_unrest
  event fired: border_tension_escalates
  event fired: border_tension_escalates
  event fired: border_tension_escalates
  event fired: border_tension_escalates
  event fired: border_tension_escalates
  event fired: border_skirmish
  event fired: border_skirmish
  event fired: border_skirmish
  event fired: water_crisis_deepens
  event fired: coastal_erosion_worsens
  event fired: economic_stagnation
  event fired: border_tension_escalates
  event fired: desalination_online

=== Cost validation walkthrough: Build Desalination Plant / Water Shortage ===
attempt 1 (money seeded to  300 , cost 250 affordable): accepted= 1 
  money =  50 
  morale =  3 
  water =  40 
  category climate = normal
  category economy = growing
  category politics = stable
  event fired: construction_started
attempt 2 (money already spent below 250): accepted= 0 
  money =  50 
  morale =  3 
  water =  40 
  category climate = normal
  category economy = growing
  category politics = stable
  event fired: construction_started

=== Hierarchical situation categories walkthrough: climate ===
start: climate = normal
after advance # 1 : climate = dry
after advance # 2 : climate = drought
after advance # 3 : climate = extreme_drought
after advance # 4 : climate = extreme_drought
(the 4th advance was already at the last defined state -- clamped, no further change)
after regress # 1 : climate = drought
after regress # 2 : climate = dry
after regress # 3 : climate = normal
after regress # 4 : climate = normal
after regress # 5 : climate = normal
(the 5th regress was already at the first defined state -- clamped, no further change)

=== Category-as-precondition walkthrough: require climate drought ===
attempt 1 (climate=normal): eligible= 0 
climate escalated to: drought
attempt 2 (climate=drought): eligible= 1 
requirement met -- script ran:
  category climate = drought
  category economy = growing
  category politics = stable
  event fired: emergency_rationing

=== Save/restore walkthrough: named checkpoint ===
after the decision (pre-checkpoint):
  money =  50 
  morale =  3 
  water =  40 
  category climate = normal
  category economy = growing
  category politics = stable
  event fired: construction_started
checkpoint 'after_plant_decision' saved.
after further, UNCHECKPOINTED changes:
  money =  50 
  morale = -47 
  water =  40 
  category climate = dry
  category economy = growing
  category politics = stable
  event fired: construction_started
  event fired: unrest_spreads
after restore_checkpoint('after_plant_decision') -- the further changes above are gone:
  money =  50 
  morale =  3 
  water =  40 
  category climate = normal
  category economy = growing
  category politics = stable
  event fired: construction_started
checkpoint_exists('after_plant_decision') =  1   checkpoint_exists('no_such_checkpoint') =  0 
list_checkpoints found  3  saved checkpoint(s):
  after_plant_decision
  vc_test_a
  vc_test_b

=== Richer recommendation outcomes / decision factors walkthrough ===
public_opinion=90 -> outcome=accepted  morale= 20  (expect +20, full effect)
public_opinion=60 -> outcome=modified  morale= 10  (expect +10, half effect)
public_opinion=20 -> outcome=politically_manipulated  morale=-20  (expect -20, sign flipped -- backfired)
public_opinion=5 -> outcome=rejected  morale= 0  (expect 0, nothing ran)
public_opinion=40 -> outcome=delayed  morale= 0  (expect 0 for now -- deferred)
after advancing  30  days:
  money = -15 
  morale = -16 
  water = -10 
  category climate = normal
  category economy = stable
  category politics = unrest
  event fired: outcome_delayed
  event fired: water_crisis_deepens
  event fired: economic_stagnation
  event fired: political_scandal_deepens
  event fired: border_tension_escalates
  event fired: demo_policy_delayed

=== Live weather snapshot walkthrough (Mount Washington Observatory) ===
after reset_world: weather_severity =  50  (expect 50 -- neutral default)
after a decision's own 'refresh_weather' statement: weather_severity =  12.8  (a fresh live reading, not necessarily 50)

=== Living characters walkthrough: NPC reactions to the same decision ===
  morale =  5 
  category climate = normal
  category economy = growing
  category politics = stable
  event fired: senator_supportive
  event fired: general_opposed

=== Friends walkthrough: evolving relationships shift reactions ===
general's starting affinity =  50  (expect 50 -- neutral, untouched)
reaction from fear=30 alone: general_opposed fired =  1  (expect true)
after 3x 'befriend general 15': affinity =  95  (expect 95)
reaction from fear=30 AND affinity= 95 : general_supportive fired =  1  (expect true -- accumulated goodwill outweighs the raw trait)
after 'betray general 60': affinity =  35  (expect 35)
reaction after the betrayal: general_opposed fired again =  1  (expect true -- the relationship swung back)

=== Category-driven reactions walkthrough: politics severity shifts the general's reaction ===
politics=stable (severity 0): general_neutral fired =  1  (expect true)
politics=revolution (severity 100): general_supportive fired =  1  (expect true -- same script, world changed)

=== Situation neglect walkthrough: Water Shortage (30-day threshold) ===
day 29 (never addressed, one day before threshold):
  money =  300 
  category climate = normal
  category economy = growing
  category politics = stable
day 30 (threshold reached -- water_crisis_deepens fires):
  money =  300 
  morale = -5 
  water = -10 
  category climate = normal
  category economy = growing
  category politics = stable
  event fired: water_crisis_deepens

-- now address it for real (Build Desalination Plant, a cost-bearing decision) --
day 59 (addressed with a real fix at day 30, 29 days later -- clock reset, no NEW escalation):
  money =  50 
  morale = -2 
  water =  30 
  category climate = normal
  category economy = growing
  category politics = stable
  event fired: water_crisis_deepens
  event fired: construction_started

-- contrast: reset and this time only ever choose the FREE 'Do Nothing' option --
day 30 (only 'Do Nothing' chosen at day 0 -- free decision did NOT reset the clock, escalates anyway):
  food = -30 
  morale = -18 
  water = -30 
  category climate = normal
  category economy = growing
  category politics = stable
  event fired: famine
  event fired: water_crisis_deepens

=== Neglect rollout across all 5 situations (none ever addressed) ===
day 45 (nothing ever addressed -- every situation's threshold has now been reached at least once):
  money = -15 
  morale = -25 
  water = -15 
  category climate = normal
  category economy = stable
  category politics = revolution
  event fired: water_crisis_deepens
  event fired: coastal_erosion_worsens
  event fired: economic_stagnation
  event fired: political_scandal_deepens
  event fired: political_scandal_deepens
  event fired: public_unrest
  event fired: border_tension_escalates

=== Synergy walkthrough: relationship-driven cost/risk discounts ===
general's starting affinity =  50  (expect 50 -- neutral, no discount yet)
Diplomatic Talks cost line at neutral affinity: cost money 150 (expect unchanged 'cost money 150')
after building trust (+40): affinity =  90  (expect 90)
Diplomatic Talks cost line at affinity 90 (mult 0.6): cost money 90 (expect 'cost money 90')
Military Buildup risk line at affinity 90 (mult 0.6): chance 18 (expect 'chance 18' -- base 30)
Military Buildup now eligible (affinity 90 >= required 65) =  1  (expect true)
