feat(schema): trait_templates + atlas_body_trait_bias tables + bake (#993)
D-232 architecture-flavor storage mechanism (content is #1005/#1017):
- trait_templates: shared catalog of holistic template bundles — two-tier
eligibility (hard gates bulk_class/prosperity_bps/ubiquity + soft weight
mods), zone_affinity, allow/block tags, visual_bundle. List/map fields
are JSON; all numerics integer basis-points (D-010).
- atlas_body_trait_bias: sparse per-body hero pins — pin/boost/suppress
with basis-point multiplier ranges (boost ≤3×, suppress ≥0.33× never 0).
- Baked at import (steps 14/15) from wiki/economics/architecture_trait_
catalog.toml + architecture_trait_bias.toml. FK-validated (body_id →
bodies, template_tag → trait_templates), enum + multiplier-range checks,
graceful on absent source. Source location provisional pending Q-107;
the baked tables are invariant per D-232. Retires the round-2
atlas_body_culture tables.
- Catalog ships a 3-template bootstrap seed to prove the bake end-to-end;
the full ~35-template catalog is #1005, hero pins #1017.
- Stamp sources updated (IMPORT_ECONOMICS_SOURCES + GENERATOR_SOURCES).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>