# ─────────────────────────────────────────────────────────────────────────
# WHAT BELONGS IN THIS FILE — and what does NOT
#
# This file is for the DEPLOYMENT'S OWN identity and its model keys. That is
# all. Provider credentials do NOT live here.
#
#   HERE, in .env
#     LEAFMESH_LICENSE_KEY, LEAFMESH_ENV_TOKEN
#     the ports, REDIS_* / Postgres  (the store the vault itself lives in)
#     your model provider key(s): OPENAI_API_KEY / ANTHROPIC_API_KEY /
#       GOOGLE_API_KEY …  (these are read from the environment as the mesh
#       starts, so they must be here — the vault is read too late for them)
#
#   NOT HERE — in the VAULT, added on Studio's Infrastructure page
#     every channel credential  (Slack bot_token / signing_secret / app_token,
#       Teams, Discord, Cliq, WhatsApp, Email)
#     every connector credential (MCP, Zapier, Composio, n8n, custom)
#     Config then names it:  connection: "slack-workspace"
#
# Why it matters: since 2.4.180 the mesh REFUSES TO BOOT if it finds a
# provider credential written into config — and `${ENV_VAR}` does not help,
# because substitution happens before the check runs, so the check sees the
# token itself. `connection:` is the only path that works.
#
# Note: a value is EMPTY here, never a comment. `KEY=   # explanation` is read
# by python-dotenv as the COMMENT being the value.
# ─────────────────────────────────────────────────────────────────────────

# {{project_name}} — environment. Copy to .env and fill in.  cp env .env
#
# The whole pod runs on Tier 1 alone against the seed dev store (./data). The
# LLM chain (coordinate -> intake -> qualify -> route -> research/revive) works
# day-0; the enrichment reads, pipeline/nurture/ABM connectors, and the CRM
# commit use dev stand-ins that ANNOUNCE themselves until you wire Tiers 2-3.

# ── Tier 1 — required to boot ──────────────────────────────────────────────
LEAFMESH_LICENSE_KEY=
# Sol + intake + revival + the Manager (gpt-4o-mini)
OPENAI_API_KEY=
# qualification + research (claude-sonnet-4-6)
ANTHROPIC_API_KEY=
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
LEAFMESH_ENV_TOKEN=development

# ── HITL — where human members are notified (SDR / AE / Sales Manager) ──
# HITL_OUTBOUND_URL=http://127.0.0.1:9999/human-notify
#   ^ LOCAL TEST STUB ONLY. Leave it commented. A human seat should be
#     human_interface: "default" (the Studio Inbox) — a real queue a real
#     person clicks. A custom webhook receiver is not how HITL is run.

# ── Manager escalation (optional; defaults to public PagerDuty enqueue) ──
PAGER_WEBHOOK=
SLACK_SALES_CHANNEL=

# ── Tier 2 — real enrichment for the research desk (ZoomInfo / Clearbit /
#    Explorium). Set the URL, then UNCOMMENT the mcp block on
#    sales_research_agent in configs/config.yaml. Inert until then. ──
ENRICHMENT_MCP_URL=
ENRICHMENT_MCP_TOKEN=

# ── Tier 3 — n8n connector workflows (your CRM/MAP owns the state:
#    Salesforce / HubSpot pipeline + ABM ledger; Outreach / HubSpot nurture) ──
N8N_PIPELINE_HEALTH_WEBHOOK_URL=
N8N_NURTURE_WEBHOOK_URL=
N8N_ABM_WEBHOOK_URL=
