Two silent-fail scenarios closed:
- sources={c, c} would double-count in can_craft then partial-
consume in craft. resolve_locale now de-duplicates by handle
identity, preserving first-occurrence order.
- {sink=x} without sources would wrap the table as Form-1 and
crash deep inside inventory-list. resolve_locale now loud-
errors with "locale table must contain 'sources' field"
before reaching the bw-compat fallback.
Helper comment translated to English per code-language convention.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
9.3 KiB
9.3 KiB