# {{project_name}} — environment

# ── Tier 1 — boot (required to start) ────────────────────────────────
LEAFMESH_LICENSE_KEY=
OPENAI_API_KEY=            # Nova, Sensa, Sable, Manager (gpt-4o-mini)
ANTHROPIC_API_KEY=         # Rex (claude-sonnet-4-6, super_agent scheduler)
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
LEAFMESH_ENV_TOKEN=development

# ── Tier 2 — your systems of record (optional day-0; the seeded dev
#    store stands in until these are wired). Fill the URL AND uncomment
#    the mcp block on demand_sensor_agent in configs/config.yaml. Until
#    MES_MCP_URL is set, the finisher records a dev outbox job that
#    announces itself (released:false) — it never fakes a real MES ack. ──
MES_MCP_URL=               # MES work-centre calendar + MES release
MES_MCP_TOKEN=
ERP_MRP_MCP_URL=           # ERP/MRP — BOM + on-hand inventory
ERP_MRP_MCP_TOKEN=

# ── Tier 3 — HITL + escalation egress (optional) ─────────────────────
# The three human gates post here; defaults to the local HITL stub.
HITL_OUTBOUND_URL=http://127.0.0.1:9999/human-notify
# Manager escalation targets ship COMMENTED in configs/config.yaml —
# uncomment the target you want, then set its var here.
PAGER_WEBHOOK=
SLACK_PLANT_CHANNEL=
