Lacuna/Labs
oversold-guard
pink
#194 / 601

NAME

oversold-guard — Inventory-mirror guard before an order risks oversell across channels. Addresses pain #5. Matrix mod 2026-06-01: Engram-light becomes the canonical inventory store; multi-channel guard is atomic across phone/desktop.

SYNOPSIS

id oversold-guard tier pink section §7. Pink — Sakura local (65 baseline, 131 post-matrix) trigger event (order paid) tools cortexquery, shownotification source new

DESCRIPTION

Before each order ships, check that stock across every channel still agrees. If two platforms both list the last one of a SKU, surface a warning before fulfillment. Pain #5 fix.

Inventory-mirror guard before an order risks oversell across channels. Addresses pain #5. Matrix mod 2026-06-01: Engram-light becomes the canonical inventory store; multi-channel guard is atomic across phone/desktop.

MECHANISM

INPUToperator / ctxTRANSFORMverb callOUTPUTrender / done

not-yet-implemented — no cart file at curator-web/src/scheme/carts/…/oversold-guard.sks

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)