-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
107 lines (91 loc) · 4.87 KB
/
Copy path.env.example
File metadata and controls
107 lines (91 loc) · 4.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# =============================================================================
# DevFlow Environment Variables Template
# =============================================================================
# Copy this file to `.env` and fill in real values. The DevFlow runtime loads
# `.env` automatically via python-dotenv. NEVER commit the real `.env` — it
# should be in .gitignore.
#
# Every variable here is referenced by the YAML configs in config/ using the
# ${VAR} expansion syntax. Adding a new secret? Add it here AND wire it into
# the relevant config file.
# =============================================================================
# -----------------------------------------------------------------------------
# LLM Configuration
# -----------------------------------------------------------------------------
# API key for the LLM provider. Used by all glm-4 agents and as the fallback
# for CoderAgent. Treat as a top-level secret — it is injected into the
# credential gateway, never passed directly to agent prompts.
LLM_API_KEY=
# Base URL of the OpenAI-compatible endpoint serving GLM-4 / Codex.
# Examples:
# - ZhipuAI: https://open.bigmodel.cn/api/paas/v4
# - Local vLLM: http://127.0.0.1:8000/v1
# - Azure OpenAI: https://<resource>.openai.azure.com
LLM_BASE_URL=https://open.bigmodel.cn/api/paas/v4
# Default model name. Individual agents override this in config/agents.yaml
# (e.g. CoderAgent uses "codex" with a "glm-4" fallback).
LLM_MODEL=glm-4
# -----------------------------------------------------------------------------
# GitHub Configuration
# -----------------------------------------------------------------------------
# Fine-grained personal access token with repository + workflow scopes.
# Required scopes: Contents (RW), Issues (RW), Pull requests (RW),
# Workflows (R), Metadata (R). Used by the github MCP server.
GITHUB_PERSONAL_ACCESS_TOKEN=
# Target repository. Used by the github MCP server default context and by
# the cicd MCP server to scope pipeline operations.
GITHUB_REPO_OWNER=
GITHUB_REPO_NAME=
# -----------------------------------------------------------------------------
# Vector Store (RAG / Experience Store)
# -----------------------------------------------------------------------------
# Local path to the ChromaDB persistent directory. Used by LocatorAgent for
# code root-cause retrieval and by the experience-distiller for pattern
# storage and deduplication lookups.
CHROMADB_PATH=.devflow/chromadb
# -----------------------------------------------------------------------------
# Observability — OpenTelemetry
# -----------------------------------------------------------------------------
# OTLP exporter endpoint for traces. Point at a local collector in dev and a
# remote collector (e.g. Tempo, Jaeger, or the OTel Collector) in prod.
OTEL_EXPORTER_OTLP_ENDPOINT=http://127.0.0.1:4317
# Deployment environment tag attached to every trace/metric as a resource
# attribute. Useful for filtering prod vs staging vs dev.
# Default: development
DEPLOYMENT_ENV=development
# -----------------------------------------------------------------------------
# Audit Log
# -----------------------------------------------------------------------------
# Path to the append-only audit log (JSONL). See config/security.yaml for
# retention and rotation policy.
AUDIT_LOG_PATH=logs/audit.log
# Optional: structured application log file (defaults to logs/devflow.log).
LOG_FILE_PATH=logs/devflow.log
# -----------------------------------------------------------------------------
# MCP Servers
# -----------------------------------------------------------------------------
# Port for the github MCP server. Only needed if running github MCP over HTTP
# instead of the default stdio transport (see config/mcp_servers.yaml).
MCP_GITHUB_PORT=8765
# Port for the custom CI/CD MCP server. Binds to 127.0.0.1 only.
MCP_CICD_PORT=8766
# CI/CD provider backing the cicd MCP server. Currently supported:
# github_actions — uses GitHub Actions workflows
# Default: github_actions
CICD_PROVIDER=github_actions
# -----------------------------------------------------------------------------
# Credential Gateway (Security)
# -----------------------------------------------------------------------------
# URL of the credential gateway / secret broker. In development this defaults
# to an in-process gateway; in production point at Vault or equivalent.
# Default: http://127.0.0.1:8200
CREDENTIAL_GATEWAY_URL=http://127.0.0.1:8200
# -----------------------------------------------------------------------------
# Rollback / Alerting (optional)
# -----------------------------------------------------------------------------
# Channel to notify when rollback retries are exhausted or a boundary
# violation occurs. Leave empty to log-only. Example: a Slack webhook URL.
ALERT_CHANNEL=
# Health check endpoint used to confirm a rollback succeeded.
# Default: /health
HEALTH_CHECK_ENDPOINT=/health