You've already forked agentic-coding-workflow
feat(app): wire workspace module + integration test for ws closed loop
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
# AgentCodingWorkflow 配置文件示例
|
||||
#
|
||||
# 用法:
|
||||
# 1. 复制为 config.yaml(已被 .env / 真实凭据建议放在 .gitignore 之外管理)
|
||||
# 2. 启动时设置环境变量:APP_CONFIG_FILE=./config.yaml ./bin/server
|
||||
#
|
||||
# 加载优先级(后者覆盖前者):默认值 → 本配置文件 → 环境变量(APP_ 前缀)
|
||||
# 即同名键存在 APP_xxx 环境变量时,会覆盖此处的值。
|
||||
|
||||
# 运行环境:development / production / test
|
||||
env: development
|
||||
|
||||
# 本地数据目录(用于落地文件、缓存等)
|
||||
data_dir: ./data
|
||||
|
||||
# 主加密密钥(必填):32 字节的 hex 编码字符串,长度恰好 64 个十六进制字符
|
||||
# 生成示例:openssl rand -hex 32
|
||||
master_key: "00112233445566778899aabbccddeeff00112233445566778899aabbccddeeff"
|
||||
|
||||
http:
|
||||
# HTTP 监听地址,格式 host:port,留空 host 表示监听所有网卡
|
||||
addr: ":8080"
|
||||
|
||||
db:
|
||||
# PostgreSQL DSN(必填)
|
||||
dsn: "postgres://acw:acw@localhost:5432/acw?sslmode=disable"
|
||||
|
||||
# 首次启动时的管理员种子账号
|
||||
bootstrap:
|
||||
admin_email: "admin@local"
|
||||
admin_password: "changeme"
|
||||
|
||||
# Workspace 模块(git clone / worktree 落盘 + 各 git verb 超时)
|
||||
workspace:
|
||||
# workspace clone/worktree 的根目录(程序会在其下自建 workspaces/ 与 tmp/ 子目录)
|
||||
data_dir: "./data"
|
||||
# 大仓库 clone 上限,按需调高;timeout 走 ctx 优先于 git 进程超时
|
||||
clone_timeout: "30m"
|
||||
fetch_timeout: "5m"
|
||||
push_timeout: "5m"
|
||||
# commit / status / worktree 等轻量操作
|
||||
ops_timeout: "60s"
|
||||
|
||||
# git CLI 配置(默认走 PATH 里的 git)
|
||||
git:
|
||||
binary: "git"
|
||||
Reference in New Issue
Block a user