H1Products
Status: hub for product pricing, engine rules, and commercial packaging.
This folder maps to the product engine surface:
app/products/actions/projectProducts.tsapp/products/actions/projectSeed.tsapp/products/actions/product-engine/trip-engine.tsapp/products/actions/product-engine/loaders/*app/products/actions/product-engine/rules/*
H2Current status
- Product pricing already has a dedicated engine structure.
- The engine is split into loaders and rule files, which is the right pattern for normalization.
- Product outputs should flow into LineItems and then into Offers.
- This is one of the main places where the shared pricing engine family should be standardized with Trips.
H2Related hubs
H2Archive notes
- older product pricing notes live in
archive/
H2Folder rule
- Keep product pricing logic separate from UI.
- Normalize product pricing into LineItems, not ad hoc calculations.
- Preserve old engine variants in
archive/when the pricing contract changes.