# ──────────────────────────────────────────────────────────────
# LeafMesh — required keys
LEAFMESH_LICENSE_KEY=your-license-key-here
LEAFMESH_ENV_TOKEN=your-env-token-here

# ──────────────────────────────────────────────────────────────
# LLM providers — set one or both
OPENAI_API_KEY=your-key-here
ANTHROPIC_API_KEY=your-anthropic-key

# ──────────────────────────────────────────────────────────────
# Redis (default = local docker compose redis)
# Consumed by the redis: block in configs/config.yaml via ${VAR:default}.
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=

# ──────────────────────────────────────────────────────────────
# HITL webhook target — where the SDK POSTs human-approval notifications.
# Consumed by the webhook_config.outbound_url of both human agents
# (operations_manager, po_approval_agent) via ${HITL_OUTBOUND_URL:...}.
HITL_OUTBOUND_URL=http://127.0.0.1:9999/human-notify

# ──────────────────────────────────────────────────────────────
# Domain knob — budget approval threshold (USD). Consumed by
# agency/order_intake_agent.py (enforce_approval_floor @chain) and
# agency/tools.py (estimate_order_value).
HIGH_VALUE_THRESHOLD_USD=50000

# Domain knob — high-quantity approval floor (total units). Orders above this
# are forced to manager approval by the enforce_approval_floor @chain even when
# under the budget threshold. Consumed by agency/order_intake_agent.py.
HIGH_QUANTITY_FLOOR=500
