write-bundled-listing-copy
light purple
#271 / 601
NAME
write-bundled-listing-copy — Compose copy for a multi-item bundle.
SYNOPSIS
id write-bundled-listing-copy
tier light-purple
section §9. Light purple — cloud reasoning (51 baseline, 86 post-matrix)
trigger event
tools draftlisting, cortexquery
source carry-forward
DESCRIPTION
cloud reasoning writes or reasons over your real data. The 'sound like you, but cleaner' tier. Atlas-pair-trained on the operator's own voice.
Compose copy for a multi-item bundle.
MECHANISM
;;~ title "Write a bundled-listing copy" ;;~ author "lacuna" ;;~ version 1 ;;~ mode automation ;;~ flavor light-purple ;;~ id write-bundled-listing-copy ;;~ touches () ;;~ summary "Compose listing copy for a multi-item bundle." ;; Compose listing copy for a multi-item bundle. ;; ;; 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-bundled-listing-copy '((author . "lacuna") (version . 1) (read-only . #t))) (define (start ctx) (let ((id (ctx-get 'listing-id ctx))) (if (null? id) (escalate 'missing-listing-id null) (next 'fetch ctx)))) (define (fetch ctx) (act 'etsy/listing (let ((id (ctx-get 'listing-id ctx))) (list id)) '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-bundled-listing-copy 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
light purple
cloud reasoning · cents per call
FITNESS
Almost there
Works on smaller shops too; the answer sharpens as you collect more sales.
SEE ALSO
- voice-faithful-rewrite
- translate-listing-faithful
- brand-story-revise
- listing-tone-shift
- product-line-naming
- descriptive-rewrite-multiparagraph
- seo-title-rewrite
- listing-summary-marketing
- etsy-tagline-shop
- write-customer-recovery-message
- draft-customer-message-polished
- draft-refund-message
- draft-shipping-delay-note
- draft-custom-order-quote
- draft-policy-explanation-to-buyer
- draft-thank-you-warm
- draft-vacation-message
- draft-restock-announcement
HISTORY
canonical source: curator/docs/AUTOMATIONS-CANONICAL.md · §9-light-purple-cloud-reasoning-51-baseline-86-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)