Commit Graph

8 Commits

Author SHA1 Message Date
openclaw-314 31c9958741 feat(agent-db): 引入 db-conn.sh 统一数据库入口,各 agent 改用专用账号
- 新增 scripts/db-conn.sh:按 agent id 反查中文名,读 .env 后经 MYSQL_PWD 转发给 docker exec,口令不进 argv/stdout,--print 只输出占位符
- new-agent.sh 新增 --adopt 模式(为既有 agent 补建库/账号),与 --reset-password 互斥
- AGENTS.md.tpl 与 11 个 workspace-*/AGENTS.md 改用 db-conn.sh,禁用 root 与 docker exec 直连
- mysql-schema-sync 技能改用 MYSQL_PWD_SQL 环境变量,不再硬编码密码
- 设计文档补附录 A 第 8 条:中文键名无法注入 agent 环境的三条实测依据
2026-09-16 11:30:55 +08:00
openclaw-314 570165ae3c chore: 升级 OpenClaw 2026.9.4(Node 26.8.2)+ 清理 4.6G + 排除 workspace 隐私数据 2026-09-16 10:45:44 +08:00
openclaw-314 bb77e01051 auto: sync OpenClaw config 2026-09-01 10:10 [manual] 2026-09-01 10:10:21 +08:00
openclaw-314 7c4fe5a371 auto: sync OpenClaw config 2026-08-14 17:17 2026-08-14 17:17:05 +08:00
openclaw-314 a4589f06c8 auto: sync OpenClaw config 2026-07-29 20:01 2026-07-29 20:01:59 +08:00
openclaw-314 3e2d257da5 auto: sync OpenClaw config 2026-07-29 14:00 2026-07-29 14:00:54 +08:00
openclaw-314 a8c7a44c9f sql agent 2026-07-17 15:09:40 +08:00
openclaw-314 619a7378a8 auto: add PostgreSQL backup + SQL agent 2026-07-17 11:47:04 +08:00