Integration contracts and data policy
Version 0.2.0-alpha.1 · Development alpha
Setup and result
Messages has no public CRUD REST API and does not expose its private post type. Storage and controller classes are implementation details. Changes require manage_woocommerce plus an action nonce. The frontend receives rendered eligible message HTML, not the full rule collection. No remote scripts or telemetry are loaded.
Example, checks and limits
Companion contract version 1: HoockSpark\DynamicPricing\Cart::MESSAGE_CONTEXT_VERSION and message_context(WC_Cart): array return string rule IDs from fresh request-only calculations; message_rules(): array returns saved ID/name pairs for configuration. HoockSpark\MinMax\CartValidation::MESSAGE_CONTEXT_VERSION and message_cart_valid(WC_Cart): bool check current Min/Max violations without changing the cart. Call only after WooCommerce has calculated the cart; never force a recalculation from a rendering callback. Missing/unknown versions must fail closed. These contracts are introduced in the accompanying local development builds, not every older ZIP with the same development label.