Skip to main content

Module recommendation

Module recommendation 

Source
Expand description

Recommendation boundary for personalized retail upsells with inventory, preference, and care-safety gates. Retail recommendation contracts for personalized upsell candidates, review gates, and safe customer copy.

Modules§

customer_copy
Customer-copy boundary that prevents unsafe retail claims from leaving draft/review state.
rationale
Rationale boundary for human-readable evidence explaining why a retail recommendation exists.

Structs§

Candidate
Retail recommendation candidate containing customer/pet context, product, rationale, inventory, preference, and care-safety signals.
CandidateBuilder
Use builder syntax to set the inputs and finish with build().
Policy
Represents the policy concept as a typed retail operational contract instead of a raw primitive.

Enums§

CareSensitivity
Care-sensitivity status that decides whether supplement/diet/product recommendations need care or manager review.
Decision
Recommendation decision that either drafts an internal candidate, requires review, or suppresses the upsell.
Preference
Customer preference state used to suppress opted-out recommendations and review unknown consent.
Reason
Business reason for recommending a product, kept separate from customer-facing copy.
ReviewReason
Decision vocabulary for review reason in retail workflows.
Rule
Recommendation rule that names the operational event that can produce an upsell candidate.
SuppressionReason
Reason a recommendation is suppressed before staff/customer use.