write-shop-announcement
deep purple
#310 / 601
NAME
write-shop-announcement — Shop-wide announcement with tone + context.
SYNOPSIS
id write-shop-announcement
tier deep-purple
section §10. Deep purple ✨ — deep reasoning (34 baseline, 45 post-matrix)
trigger operator-asked
tools cortex.aggregate, recent-sales, current-stock
source carry-forward
shape PLAYBOOK
DESCRIPTION
Long-form prose from your own history. Atlas-grounded — every phrasing choice traces back to something you've written before.
Shop-wide announcement with tone + context.
MECHANISM
;;~ title "Write a shop announcement" ;;~ author "lacuna" ;;~ version 1 ;;~ mode automation ;;~ flavor light-purple ;;~ id write-shop-announcement ;;~ touches () ;;~ summary "Compose a shop-wide announcement with tone + context." ;; Compose a shop-wide announcement with tone + context. ;; ;; Multi-step reasoning cart. precondition_fetch pulls the ;; needed shop facts, then escalates the reasoning step to ;; Sonnet via sakura/cloud-reason. Cloud is gated; we ask ;; consent before the relay if the operator hasn't pre-approved. (cart 'write-shop-announcement '((author . "lacuna") (version . 1) (read-only . #t))) (define (start ctx) (next 'fetch ctx)) (define (fetch ctx) (act 'etsy/shop (list 'shop) 'check-fetch)) (define (check-fetch ctx) (let ((r (ctx-result ctx))) (cond ((null? r) (escalate 'no-data null)) ((eq? r 'rate-limited) (after 30 'fetch ctx)) (else (next 'reason (ctx-set 'facts r ctx)))))) (define (reason ctx) (let ((facts (ctx-get 'facts ctx))) (act 'sakura/cloud-reason (list 'task 'write-shop-announcement facts) 'check-reason))) (define (check-reason ctx) (let ((r (ctx-result ctx))) (cond ((null? r) (escalate 'cloud-empty null)) ((not (string? r)) (escalate 'cloud-garbled null)) ((eq? r 'cloud-quota-exhausted) (escalate 'cloud-quota null)) ((eq? r 'cloud-consent-required) (escalate 'cloud-consent null)) (else (next 'announce (ctx-set 'narrative r ctx)))))) (define (announce ctx) (done))
EXAMPLES
Example forthcoming —
docs/automations/examples.json entry editable in place.TIER
deep purple
deep reasoning · batched · dollars per run
FITNESS
Not yet
This method only gives a real answer above a sample threshold. Running it on a small shop produces a confidence band the size of the universe — useless. When the shop crosses the threshold, this lights up.
SEE ALSO
- design-pricing-strategy ✦
- write-brand-story ✦
- annual-strategy-review ✦
- new-product-line-design ✦
- year-end-summary ✦
- holiday-listing-strategy ✦
- shop-positioning-refresh ✦
- growth-bet-portfolio ✦
- pricing-monte-carlo ✦
- markov-buyer-journey ✦
- dead-shop-revival-plan ✦
- shop-audit-narrative ✦
- write-policy-update ✦
- compare-shop-to-segment-deep ✦
- cohort-deep-dive ✦
- pricing-anomaly-explain ✦
- churn-postmortem ✦
- cross-channel-portfolio ✦
HISTORY
canonical source: curator/docs/AUTOMATIONS-CANONICAL.md · §10-deep-purple-deep-reasoning-34-baseline-45-post-matrix
last regenerated: 2026-06-05 20:31 UTC (mechanical — edits land in the MD or sidecars, not here)
KNOWN BUGS
(none recorded — flag in AUTOMATIONS-CANONICAL.md or open an issue against the cart file)