Lacuna/Labs
imagination-tick
pink
#183 / 601

NAME

imagination-tick — Background dream loop: pick a Cortex noun, paint a thought. Per projectsakuradreamsfromcortex. Matrix mod 2026-06-01: reads Engram-projected noun candidates so dreams reference cross-device-fresh nouns.

SYNOPSIS

id imagination-tick tier pink section §7. Pink — Sakura local (65 baseline, 131 post-matrix) trigger event tools cortexquery, shownotification source carry-forward

DESCRIPTION

Background loop. Picks a recent noun from Cortex, paints a dot-matrix thought bubble. When the operator asks 'what are you thinking?' she explains the link truthfully — she actually was thinking about it.

Background dream loop: pick a Cortex noun, paint a thought. Per projectsakuradreamsfromcortex. Matrix mod 2026-06-01: reads Engram-projected noun candidates so dreams reference cross-device-fresh nouns.

MECHANISM

PREfetchGUARDtier: pinkACTperformRESULTrenderON-ERRretry / esc
;;~ title    "Imagination tick"
;;~ author   "lacuna"
;;~ version  1
;;~ mode     automation
;;~ flavor   pink
;;~ id       imagination-tick
;;~ touches  ()
;;~ summary  "Background dream loop: pick a noun, paint a thought."

;; Background dream loop: pick a noun, paint a thought.
;;
;; Character loop. On-device Sakura only; never escalates to
;; cloud. The cart reads its seed from ctx and surfaces the
;; result back into the conversation via sakura/say or
;; sakura/decide. Calm voice, short, ~30 words.

(cart 'imagination-tick
  '((author    . "lacuna")
    (version   . 1)
    (read-only . #t)))

(define (start ctx)
  (let ((seed (ctx-get 'seed ctx)))
    (if (null? seed)
        (next 'invoke ctx)
        (next 'invoke ctx))))

(define (invoke ctx)
  (let ((seed (ctx-get 'seed ctx)))
    (act 'sakura/say
         (list 'task 'imagination-tick seed)
         'check-result)))

(define (check-result ctx)
  (let ((r (ctx-result ctx)))
    (cond
      ((null? r)                  (escalate 'sakura-empty null))
      ((eq? r 'rate-limited)      (after 5 'invoke ctx))
      (else                       (next 'announce (ctx-set 'output r ctx))))))

(define (announce ctx) (done))

source: curator-web/src/scheme/carts/etsy/imagination-tick.sks · 41 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)