# CHANGELOG 3_61 — error.log triage fixes + audit ledger (segs 1-10) + D1-D4
Source log: 3_59 boot, 5023 lines. Full item log: fix_3_61 session ledger.
## Triage fixes
- T0: arc_sites structural repair (3_59 edit error — visible/on_roll blocks were interleaved; my error, owned)
- T1: xeno_is_xenomorph_hive_country gate — main_species -> owner_main_species (249+ errs)
- T2: 51 promotion blocks + @standard_promotion_time stripped (4.4 construct, rejected on this build; Crow: Option A)
- T3: 28 pop_modifier -> planet_modifier planet_defense_armies_add, values /100 [VETO: scaling]
- T4: @med_trade_from_jobs defined = 0.01 (LV @trade_value_from_jobs analog) [VETO: value]
- T5: 58 replacement ops (~200 renames, 25 files) onto attested modifiers; 36 unattested lines REMOVED (t5_removed_lines.txt; biggest lost lever: planet_jobs_slave_produces_mult x20 -> see TODO restoration path) [VETO: livestock->workforce, society_research form, per-job-per-resource collapse]
- T6: species_traits owner-gates -> exists=from+from{} (23 sites); 3 vestigial empty gates stripped (content lost pre-3_51 -> TODO); situations owner-wrap; war_goals is_planet_class; has_planet_flag sites LEFT (LV-attested valid; root cause unverified -> watch)
- T7: 167+ icon re-points — 87 techs, 36 buildings, 23 jobs, 45 district refs (t7_icon_table.txt) [VETO: mapping table]
- T8: 23 dead-key remove_building lines deleted (6 keys)
## Audit fixes
- A1 species_leader_exp_gain rename; A2 BEM comment; A3 name list 14 real armies (+3 dead removed) + name_list_XENO1; A5 38 job loc keys; A6 hybrid +3 traits; A7 captive class triggers; A8 relic while-active modifier (0.10/0.10/0.10 [VETO]) + passive produces removed; A9 relic_cant_activate
## Decisions applied
- D1: slot_xenomorph_hive defined (zone_slots), 27 refs swapped (slot_hive undefined anywhere)
- D2: deficit rewrite — 4 stages 25/50/75/100 on valid generated cat-resource modifiers, monthly starters (xeno_deficit.10/.11), default events .1/.2 (country_defaulted_effect + bailout 500 [VETO]), on_abort 150 [VETO]; difficulty scaling omitted -> TODO [VETO: all penalty values]
- D3: raid_pop + hive_cell ported to real op schema (events .60/.61/.70/.71; gates abduction_protocols/blacksite_cells [VETO]); dead espionage_operations/ deleted
- D4: spawn_odds = counterpart/2, all file-attested: hive 0, tentacle 0.15, ocean 0.15, ring 0, ecu 0
## Attestation hardening
planet_pop_assembly_mult, bonus_pop_growth_mult, logistic_growth_mult confirmed in Crow's actual vanilla (Drive pulls). CORPUS LESSON: corpus positives attest some-version, not 4.3 — LV/local pulls are arbiters.
