# ─────────────────────────────────────────────────────────────────────────
# 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
LEAFMESH_LICENSE_KEY=
OPENAI_API_KEY=
ANTHROPIC_API_KEY=
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
# Where human members (engineer / technician / ops manager) are notified.
# Defaults to a local stub; the pod runs day-0 without it.
# HITL_OUTBOUND_URL=
#   ^ 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.
# Tier 2 — systems of record (inert until set; the pod runs day-0 on the seed store).
HISTORIAN_MCP_URL=
CMMS_MCP_URL=
# Live IIoT condition stream (Cass binds listen_events to the plant_iiot broker).
IIOT_MQTT_HOST=
IIOT_MQTT_PORT=1883
PAGER_WEBHOOK=
SLACK_MAINT_CHANNEL=
# SLACK_BOT_TOKEN / SLACK_SIGNING_SECRET belong to a `channels: {slack: {...}}`
# block (ChannelConfig), NOT to the escalation target. The escalation target
# (provider: slack) only reads channel_id (${SLACK_MAINT_CHANNEL}) and its
# message_template — it does NOT consume these tokens. Add a `channels:` block
# to configs/config.yaml and uncomment these only if you wire Slack as a
# first-class channel adapter.
# SLACK_BOT_TOKEN=
# SLACK_SIGNING_SECRET=
LEAFMESH_ENV_TOKEN=development
