Lacuna/Labs
list-active
white
#030 / 601

NAME

list-active — White read-cart in the 'List / browse (12)' group. Operator-commanded data surface in the Analysis tab.

SYNOPSIS

id list-active tier white section §6. White — atomic tools (142 baseline, 149 post-matrix) trigger operator-commanded tools cortex_query, list_listings / list_orders source carry-forward

DESCRIPTION

Pure read against Cortex with a filter. No LLM, no API spend. Renders as a table or grid in the Analysis tab. The white-tier baseline.

White read-cart in the 'List / browse (12)' group. Operator-commanded data surface in the Analysis tab.

MECHANISM

INPUToperator / ctxTRANSFORMverb callOUTPUTrender / done
;;~ title    "Active listings"
;;~ author   "lacuna"
;;~ version  1
;;~ mode     analysis
;;~ flavor   white
;;~ id       list-active
;;~ touches  ()
;;~ summary  "Every listing live + buyable right now. Reads through Etsy via act → named result handler — no direct verb calls."

;; A WHITE cart, architect-shape. The verb call lives inside (act ...)
;; with a SYMBOL on-result. The driver intercepts, makes the real
;; request, threads the response into ctx's 'last-result, then jumps
;; to the named state fn. This is the same shape every read cart uses;
;; the only difference between this and a write cart is whether the
;; cart's 'touches lists a gated verb.

(cart 'list-active
  '((author    . "lacuna")
    (version   . 1)
    (read-only . #t)))

(define (start ctx)
  (act 'etsy/listings (list 'active) 'render))

(define (render ctx)
  (let ((rows (ctx-result ctx)))
    (table rows '(listing-id title price quantity views favorites))
    (done)))

source: curator-web/src/scheme/carts/etsy/list-active.sks · 28 lines

EXAMPLES

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

TIER

white
atomic · free · operator-commanded

FITNESS

Ready

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

SEE ALSO

HISTORY

canonical source: curator/docs/AUTOMATIONS-CANONICAL.md · §6-white-atomic-tools-142-baseline-149-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)