Review fixes (Hoshe/Tyre, both APPROVE): - populate_trait_templates / populate_atlas_body_trait_bias: the table DELETEs ran unconditionally (safe only via transaction rollback on dry-run, and divergent from every other populate_* function). Restructured so validation + guardrails always run (dry-run now actually surfaces the would-bake counts and catches errors) but mutations happen only under `if not dry_run:`. Verified: --dry-run reports 28 templates, writes nothing. - atlas_body_trait_bias: reject `pin` entries that carry a weight_multiplier_bps (pin is mandatory, no multiplier) — closes a silent- accept gap before #1017 authors ~30-40 real pins. Deferred (noted on tickets): visual_bundle fallback-map completeness (Phase-5/Araminta), pin-count-vs-K bake check (#1017 acceptance), geographic_sector pool-narrowing semantics (#977). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
30 MiB
30 MiB
The file is too large to be shown.
View Raw