Lacuna/Labs
l0-write-desc-3
pink
#148 / 601

NAME

l0-write-desc-3 — Three-sentence description: hook, detail, care.

SYNOPSIS

id l0-write-desc-3 tier pink section §7. Pink — Sakura local (65 baseline, 131 post-matrix) trigger event tools draft_listing source carry-forward

DESCRIPTION

Local 8B model writes this in your voice. Trained on your own past edits via Atlas pairs; the more you nudge, the closer it lands. Free, on-device, no API call.

Three-sentence description: hook, detail, care.

MECHANISM

PREfetchGUARDtier: pinkACTperformRESULTrenderON-ERRretry / esc
;;~ title    "L0 · 3-sentence description"
;;~ author   "lacuna"
;;~ version  1
;;~ mode     automation
;;~ flavor   pink
;;~ id       l0-write-desc-3
;;~ touches  ()
;;~ summary  "Three sentences. Hook, detail, care."

;; Three sentences. Hook, detail, care.
;;
;; On-device Sakura. Architect-shape: act 'sakura/decide with a
;; named result handler that type-traps the output. Output must be
;; a non-empty string within length bounds; garbled -> escalate.
;; This is the third star: never claim a thought she didn't have.

(cart 'l0-write-desc-3
  '((author    . "lacuna")
    (version   . 1)
    (read-only . #t)))

(define (start ctx)
  (let ((seed (ctx-get 'seed-text ctx)))
    (if (null? seed)
        (escalate 'missing-seed null)
        (next 'invoke-sakura ctx))))

(define (invoke-sakura ctx)
  (let ((seed (ctx-get 'seed-text ctx)))
    (act 'sakura/decide
         (list 'task 'write-desc-3 seed)
         'check-result)))

(define (check-result ctx)
  (let ((r (ctx-result ctx)))
    (cond
      ((null? r)                          (escalate 'sakura-empty null))
      ((not (string? r))                  (escalate 'sakura-garbled null))
      ((< (string-length r) 1)           (escalate 'sakura-empty null))
      ((> (string-length r) 1024)         (escalate 'output-too-long r))
      (else                               (next 'announce (ctx-set 'output r ctx))))))

(define (announce ctx) (done))

source: curator-web/src/scheme/carts/etsy/l0-write-desc-3.sks · 43 lines

EXAMPLES

Example forthcoming — docs/automations/examples.json entry editable in place.

TIER

pink
Sakura local 8B · free · on-device

FITNESS

Ready

Fits any shop today — this one has no sample-size floor.

SEE ALSO

HISTORY

canonical source: curator/docs/AUTOMATIONS-CANONICAL.md · §7-pink-sakura-local-65-baseline-131-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)