---
id: food-spec-price-model
trigger: "when modifying food specification groups, values, relations, or order pricing"
confidence: 0.9
domain: "business-rule"
source: "claude-code-memory-import"
---

# Preserve the food specification price model

## Action

- Treat food specifications as specification groups and values with additive prices, not Cartesian-product SKUs.
- Keep specification prices in the same `BigDecimal` unit as `pos_food.price`; do not copy a Long-in-cents model from another project.
- Use `foodSpecsItems` as the detail field name and treat merchant-entered localized specification names as data keyed by `language`, not as i18n keys.

## Evidence

- Imported from Claude Code project memory `project-013-food-spec.md` on 2026-08-10.
