Objective: Transform raw supply chain data into a consumer-facing transparency portal with real-time pricing based on produce age.
Hard Requirements:
Genealogy Aggregator: A complex query engine that recursively traces a final retail batch through its ProcessingBatch (milling/packaging) back to the original SupplyBatch (harvest) and SoilTest (growth).
Nutritional Decay Algorithm: An hourly task that adjusts the MarketPrice of produce based on the time elapsed since harvest and the storage conditions logged in the Warehouse module.
Reputation Feedback Loop: Implement a system where consumer quality reviews are "reverse-mapped" through the genealogy tree to automatically update the original farmer's ReputationScore.