1.1 KiB
1.1 KiB
name, description, metadata
| name | description | metadata | ||||||
|---|---|---|---|---|---|---|---|---|
| feedback-syncro-live-rates | Always fetch Syncro labor rates live from the API — never use hardcoded rate table |
|
Always fetch price_retail live from GET /products/<id> → .product.price_retail before billing any Syncro line item. Never use the rate table in the skill as a source of truth for dollar amounts.
Why: The hardcoded rate table was proven wrong on 2026-05-20 (ticket #32304, Cascades) when Labor - Remote Business was listed at $150/hr but the correct rate was $175/hr. Rates vary by contract and change over time.
How to apply: In any billing workflow, fetch the rate immediately after selecting the product_id:
RATE=$(curl -s "${BASE}/products/${PRODUCT_ID}?api_key=${API_KEY}" | jq -r '.product.price_retail')
Use this $RATE value for the Ollama draft prompt, the preview shown to the user, and the price_retail field in all payloads. The product ID table in the skill is still valid — just not the rate column.