Beer Can Labs
Contracts / checkHold
Contract

checkHold

Whether an outbound request is held for a person’s approval, using the agent’s hold rules.

Signature

checkHold(request, rule: HoldRule)
  : HoldDecision

packages/bouncer/src/decisions.ts ↗

Rules

  • The Bouncer decides; the egress enforces.
  • A held request stores a reviewed copy, its hash and a size-limited body.
  • The limits are HELD_BODY_LIMIT and HELD_STORED_BODY_LIMIT.

Where it appears