Files
claudetools/.claude/memory/feedback_syncro_live_rates.md
Mike Swanson 2a1ccfac73 Add memory-dream skill + additive cross-machine memory sync
memory-dream: read-only memory lint/consolidation analyzer (index, backlinks,
stale refs, dup clusters, profile drift); additive-only --apply-safe, all
merges/deletes are proposals. sync-memory.sh: additive repo<->harness-profile
union (no delete/overwrite, conflicts surfaced), wired to a SessionStart hook.
Migrates the useful profile-only memories into the synced repo store.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-01 15:22:12 -07:00

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
node_type type originSessionId
memory feedback d91f202e-ddd5-46d7-b674-f848eb78aa8e

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.