ESL Price Sync: Deterministic Retail Shelf-Edge Pricing Architecture
Ensure strict real-time parity between ERP/POS price masters and Electronic Shelf Label (ESL) fleets (SES-imagotag, ZKONG, Pricer, Hanshow, SOLUM) via bounded delta streams, monotonic idempotency tokens, and Sub-GHz RF battery preservation models.
When to Use This Skill
Activate this skill when:
- Designing, implementing, or auditing integration pipelines between enterprise retail masters (SAP, Oracle Retail, Dynamics 365, Lightspeed) and ESL server platforms.
- The user asks: "How do I sync price updates to ESL tags without draining batteries?", "Debug ghost pricing where POS doesn't match the shelf tag", "Design an idempotent delta feed for ZKONG or SES-imagotag", or "Schedule promotional pricing with automatic rollback".
- Reconciling price discrepancy logs between central ERP databases, ESL middleware, and wireless base station ACK telemetry.
- Calculating battery life depletion curves for e-paper tags running on CR2450 coin cells under varying refresh frequencies.
Do NOT use this skill when:
- Managing e-commerce web store frontends or dynamic pricing algorithms (this skill governs faithful delivery of decided prices to physical tags).
- Troubleshooting individual dead hardware tags before gateway RF coverage and RSSI signal propagation have been verified.
- Performing live write operations on production store fleets without a preceding read-only audit verification pass.
Core Mental Models & Non-Negotiable Rules
The 5-Layer ESL Architecture Pipeline:
- Every price synchronization event traverses five distinct operational tiers:
$$\mathbf{Price\ Master\ (ERP/POS)} \xrightarrow{\text{Extract}} \mathbf{Transform\ Middleware} \xrightarrow{\text{API/Message}} \mathbf{ESL\ Server} \xrightarrow{\text{Sub-GHz/2.4GHz}} \mathbf{Base\ Station\ (AP)} \xrightarrow{\text{RF\ Packet}} \mathbf{Physical\ Tag}$$
- Traceability Invariant: Every price payload MUST carry a deterministic
trace_id recording timestamps and status codes across all five layers. A "200 OK" from the ESL central server API is NEVER treated as proof that the physical shelf display has updated.
Strict Delta Discipline & Cryptographic Watermarking:
- Pushing a full 50,000-SKU store catalog on a scheduled cron is strictly forbidden.
- Updates MUST be generated by calculating a cryptographic row hash:
$$\text{RowHash} = \text{SHA256}(\text{SKU} + \text{BasePrice} + \text{PromoPrice} + \text{Currency} + \text{UnitOfMeasure} + \text{Barcode} + \text{TemplateID})$$
- Only records where $\text{RowHash}{new} \neq \text{RowHash}{pushed}$ are queued for transmission.
- Full pushes are strictly restricted to initial store commissioning and disaster recovery restores.
Monotonic Idempotency & Out-of-Order Packet Defense:
- High-volume retail message brokers inevitably deliver packets out of order during network re-balancing.
- Every transmission packet MUST include an
idempotency_key and a monotonically increasing version_timestamp (ISO 8601 UTC).
- If an incoming price payload has $\text{version_timestamp} \le \text{last_applied_version}$, the ESL middleware MUST discard the payload to eliminate race condition reversions.
RF Gateway Rate-Limiting & Battery Longevity Budget:
- Illustrative assumptions only: each physical e-paper display refresh may cost between $12\ \mu\text{Ah}$ and $25\ \mu\text{Ah}$.
- A dual-CR2450 battery pack provides $1,200\text{ mAh}$ nominal capacity ($960\text{ mAh}$ usable considering passivation and low-temperature shelf environments).
- Illustrative refresh budget: A three-refresh daily budget is a planning assumption, not a lifespan guarantee; use measured vendor-specific standby, retry and refresh consumption, temperature and battery configuration.
- Base Station Queue Throttling: Gateways operate over shared Sub-GHz (868/915 MHz) or proprietary 2.4 GHz RF channels. Use the measured vendor gateway capacity; the examples assume a configurable 150 tag updates per gateway per minute to prevent RF collision retries from draining batteries.
Read-Only Audit Mode by Default:
- Diagnostic and reconciliation tasks MUST execute in read-only audit mode.
- Output discrepancy reports containing SKU, ERP Price, Gateway ACK Price, and Divergence Layer.
- State-changing write updates require explicit operator consent.
Named Sins & Anti-Patterns (Что категорически ЗАПРЕЩЕНО)
| Anti-Pattern |
Manifestation in Code/Workflow |
Mandatory Production Counter-Rule |
| Scheduled Full Catalog Floods |
Blasting 60,000 tags every night at midnight. |
Stream strict deltas using SHA256 content watermarks. |
| Ghost Price Blindness |
Assuming API 200 OK means the customer sees the new price. |
Track gateway ACK packet receipts (status: ACK_CONFIRMED). |
| Non-Idempotent Retries |
Retrying failed HTTP calls without ide |
|
1---2name: esl-price-sync3description: Synchronizes retail prices between ERP/POS systems and Electronic Shelf Labels (SES-imagotag, ZKONG, Pricer, Hanshow, SOLUM) with delta watermarking, idempotency, and battery modeling. Trigger phrases4category: Document Processing5source: antigravity6tags: [python, api, claude, ai, workflow, template, design, document, rag, cro]7url: https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/esl-price-sync8metadata:9 source: https://skillmd.com/skills/ranbot-ai/esl-price-sync10---111213# ESL Price Sync: Deterministic Retail Shelf-Edge Pricing Architecture1415Ensure strict real-time parity between ERP/POS price masters and Electronic Shelf Label (ESL) fleets (SES-imagotag, ZKONG, Pricer, Hanshow, SOLUM) via bounded delta streams, monotonic idempotency tokens, and Sub-GHz RF battery preservation models.1617## When to Use This Skill1819Activate this skill when:20- Designing, implementing, or auditing integration pipelines between enterprise retail masters (SAP, Oracle Retail, Dynamics 365, Lightspeed) and ESL server platforms.21- The user asks: "How do I sync price updates to ESL tags without draining batteries?", "Debug ghost pricing where POS doesn't match the shelf tag", "Design an idempotent delta feed for ZKONG or SES-imagotag", or "Schedule promotional pricing with automatic rollback".22- Reconciling price discrepancy logs between central ERP databases, ESL middleware, and wireless base station ACK telemetry.23- Calculating battery life depletion curves for e-paper tags running on CR2450 coin cells under varying refresh frequencies.2425Do NOT use this skill when:26- Managing e-commerce web store frontends or dynamic pricing algorithms (this skill governs faithful delivery of decided prices to physical tags).27- Troubleshooting individual dead hardware tags before gateway RF coverage and RSSI signal propagation have been verified.28- Performing live write operations on production store fleets without a preceding read-only audit verification pass.2930## Core Mental Models & Non-Negotiable Rules31321. **The 5-Layer ESL Architecture Pipeline**:33 - Every price synchronization event traverses five distinct operational tiers:34 $$\mathbf{Price\ Master\ (ERP/POS)} \xrightarrow{\text{Extract}} \mathbf{Transform\ Middleware} \xrightarrow{\text{API/Message}} \mathbf{ESL\ Server} \xrightarrow{\text{Sub-GHz/2.4GHz}} \mathbf{Base\ Station\ (AP)} \xrightarrow{\text{RF\ Packet}} \mathbf{Physical\ Tag}$$35 - **Traceability Invariant**: Every price payload MUST carry a deterministic `trace_id` recording timestamps and status codes across all five layers. A "200 OK" from the ESL central server API is NEVER treated as proof that the physical shelf display has updated.36372. **Strict Delta Discipline & Cryptographic Watermarking**:38 - Pushing a full 50,000-SKU store catalog on a scheduled cron is strictly forbidden.39 - Updates MUST be generated by calculating a cryptographic row hash:40 $$\text{RowHash} = \text{SHA256}(\text{SKU} + \text{BasePrice} + \text{PromoPrice} + \text{Currency} + \text{UnitOfMeasure} + \text{Barcode} + \text{TemplateID})$$41 - Only records where $\text{RowHash}_{new} \neq \text{RowHash}_{pushed}$ are queued for transmission.42 - Full pushes are strictly restricted to initial store commissioning and disaster recovery restores.43443. **Monotonic Idempotency & Out-of-Order Packet Defense**:45 - High-volume retail message brokers inevitably deliver packets out of order during network re-balancing.46 - Every transmission packet MUST include an `idempotency_key` and a monotonically increasing `version_timestamp` (ISO 8601 UTC).47 - If an incoming price payload has $\text{version\_timestamp} \le \text{last\_applied\_version}$, the ESL middleware MUST discard the payload to eliminate race condition reversions.48494. **RF Gateway Rate-Limiting & Battery Longevity Budget**:50 - Illustrative assumptions only: each physical e-paper display refresh may cost between $12\ \mu\text{Ah}$ and $25\ \mu\text{Ah}$.51 - A dual-CR2450 battery pack provides $1,200\text{ mAh}$ nominal capacity ($960\text{ mAh}$ usable considering passivation and low-temperature shelf environments).52 - **Illustrative refresh budget**: A three-refresh daily budget is a planning assumption, not a lifespan guarantee; use measured vendor-specific standby, retry and refresh consumption, temperature and battery configuration.53 - **Base Station Queue Throttling**: Gateways operate over shared Sub-GHz (868/915 MHz) or proprietary 2.4 GHz RF channels. Use the measured vendor gateway capacity; the examples assume a configurable 150 tag updates per gateway per minute to prevent RF collision retries from draining batteries.54555. **Read-Only Audit Mode by Default**:56 - Diagnostic and reconciliation tasks MUST execute in read-only audit mode.57 - Output discrepancy reports containing SKU, ERP Price, Gateway ACK Price, and Divergence Layer.58 - State-changing write updates require explicit operator consent.5960## Named Sins & Anti-Patterns (Что категорически ЗАПРЕЩЕНО)6162| Anti-Pattern | Manifestation in Code/Workflow | Mandatory Production Counter-Rule |63| :--- | :--- | :--- |64| **Scheduled Full Catalog Floods** | Blasting 60,000 tags every night at midnight. | Stream strict deltas using SHA256 content watermarks. |65| **Ghost Price Blindness** | Assuming API `200 OK` means the customer sees the new price. | Track gateway ACK packet receipts (`status: ACK_CONFIRMED`). |66| **Non-Idempotent Retries** | Retrying failed HTTP calls without ide