# {{project_name}} — environment
#
# TIER 1 — required to boot (dev mode). The WHOLE pod runs on Tier 1 alone
# against the seeded dev store (agency/_shared/store.py).
LEAFMESH_LICENSE_KEY=
OPENAI_API_KEY=                 # coordinator + exception + supplier + Manager (gpt-4o-mini)
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
LEAFMESH_ENV_TOKEN=development
HITL_OUTBOUND_URL=              # where human members are notified (defaults to a local stub)

# ── TIER 2 — real systems of record ──────────────────────────────────
# DAY-0 the mesh runs end-to-end with NONE of these set — the store-grounded
# agents read the seeded dev store and announce available:false when there is no
# real source. To go live: set the URL AND uncomment that agent's `mcp` block in
# configs/config.yaml (the SDK rejects an empty-url http mcp at load).
WMS_MCP_URL=          # WMS — inventory_agent, returns_handler_agent, inventory_control_agent
WMS_MCP_TOKEN=
TMS_MCP_URL=          # TMS / rate API — carrier_selector_agent
TMS_MCP_TOKEN=
ERP_MCP_URL=          # ERP / SRM — replenishment_planner_agent, supplier_relations_agent
ERP_MCP_TOKEN=
FLEET_API_MCP_URL=    # robot fleet API — humanoid_status_agent (PROD swap)

# Redis stream the OMS writes order.created events to (coordinator listen_events).
# Distinct from the SDK's primary Redis above.
ORDER_EVENTS_REDIS_URL=redis://localhost:6379

# ── Manager escalation ──
PAGER_WEBHOOK=                # webhook target (PagerDuty Events v2, ...)
