l0-listing-summary
pink
#163 / 601
NAME
l0-listing-summary — One-sentence summary of a listing.
SYNOPSIS
id l0-listing-summary
tier pink
section §7. Pink — Sakura local (65 baseline, 131 post-matrix)
trigger event
tools cortex_query
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.
One-sentence summary of a listing.
MECHANISM
;;~ title "L0 · summarize a listing" ;;~ author "lacuna" ;;~ version 1 ;;~ mode automation ;;~ flavor pink ;;~ id l0-listing-summary ;;~ touches () ;;~ summary "One-sentence summary of a listing." ;; One-sentence summary of a listing. ;; ;; 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-listing-summary '((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 'listing-summary 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) 280) (escalate 'output-too-long r)) (else (next 'announce (ctx-set 'output r ctx)))))) (define (announce ctx) (done))
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)