Commit Graph

264 Commits

Author SHA1 Message Date
openclaw-314 68b621b281 feat(agents): 补建 6 个 agent 的 IDENTITY.md 并统一名称口径
- 新建:main(助手)/resume(简历)/travel(旅行)/note(笔记)/wellness(放松保健)/tab(导航页)
- 修正自称名:fitness「Fitness 健身教练」→「健康(Fitness 健身教练)」;finances 同理;pbs 空名称字段 →「PBS备份(PBS 备份助手)」
- 未改 openclaw.json 的 entries.name —— db-conn.sh 依赖它映射 .env 的 DB_PASSWORD_<中文名>
- juaner 与 sql 的 IDENTITY.md 未动(前者前一批刚改过、后者已一致)
2026-09-16 11:52:24 +08:00
openclaw-314 f7fd21ec7e chore(cleanup): 移除遗留 openclaw 引用并校正文档口径
- 系统说明:agent 清单 12→11(去已废弃的 openclaw);库规模 36→35(其 sqlite 已移入 backups/removed-20260916/)
- 设计文档 §8:范围 12→11,去掉「含 openclaw」
- 卷儿检查报告:agent 数量 12→11
- 配套但不入 git 的动作:.env 删除 6 个零引用的旧中文名键(卷儿记账/理财财务/健身健康/后端开发/简历管理/旅行规划,现为 11 个新键)、删除空目录 workspace-attestations/、agents/openclaw/ 移至 backups/
2026-09-16 11:52:19 +08:00
openclaw-314 4815ade10d fix(agent-db): 修正 3 个 agent 的 IDENTITY.md 数据库口径(去 root、改用 db-conn.sh)
卷儿/理财/健康 三个 agent 的身份档案仍写着 用户名: root 并引用旧机制 db-config.json,
与 2026-09-16 落地的「专属账号 agent_<id> + db-conn.sh 统一入口」规范冲突;该文件属常驻上下文,会诱导 agent 直连 root。
- 删除旧机制引用行(~/.config/clawdbot/db-config.json)
- 用户名 root 替换为:账号 / 连接(推荐)/ 口令 / 禁止 四项
- 条目顺序三文件统一为 数据库→账号→连接→口令→表→禁止,各自表清单原样保留
2026-09-16 11:39:59 +08:00
openclaw-314 3cd1d7e46e docs(juaner): 补充王芳职业(美工)至主人档案与记忆档案
回应卷儿在工伤认定材料填写时提出的疑问(职业/工种或工作岗位)。同步两处常驻上下文:
- workspace-juaner/MEMORY.md 基础信息区
- agents/juaner/agent/IDENTITY.md 主人档案表
2026-09-16 11:36:25 +08:00
openclaw-314 707d116758 feat(agent): 存量改造 + 凭据可达性修正
- scripts/db-conn.sh:agent 访问自己专属库的统一入口(口令经 MYSQL_PWD 环境转发,不进 argv、不打印)
- scripts/new-agent.sh:新增 --adopt 模式,为已存在 agent 补建库与账号
- 11 个 AGENTS.md:数据库口径对齐(专用账号 + helper),消除文档与实现不一致
- 修正架构缺陷:中文键名无法作为环境变量暴露给 agent —— 实测进程环境无该变量、
  MANAGED_ENV_KEYS 白名单不含且键随 agent 增长、官方 secrets store 要求纯大写 ASCII;
  故改用统一 helper 从 .env 读取(设计文档附录 A 第 8 条)
2026-09-16 11:31:05 +08:00
openclaw-314 a593dc1683 docs(juaner): 卷儿 agent 检查报告与决策;工作区英文模板中文化并登记邮箱
- 新增 docs/agent-juaner-卷儿-检查报告.md:基本档案、职责设定与实际行为、权限边界、5 项发现、2026-09-16 安全放宽决策、待办与复核命令
- IDENTITY.md / USER.md / HEARTBEAT.md 三个英文模板中文化(原文件备份为 *.bak-*-zh,已被 gitignore 忽略)
- USER.md 新增邮箱字段 1159785314@qq.com;MEMORY.md 增加邮箱主位约定(USER.md 为唯一主位)
- docs/README.md 登记为第 5 份文档
2026-09-16 11:31:03 +08:00
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 75d3aa8067 auto: agent DB backup 20260916 2026-09-16 11:19:19 +08:00
openclaw-314 83439ee623 feat(agent): 建立 agent 创建规范与数据库自动化
- scripts/new-agent.sh:建库/建号/授权/写 .env/创建 agent/渲染中文模板/自检,幂等且默认拒绝覆盖
- scripts/agent-templates/:5 个中文模板(IDENTITY/SOUL/AGENTS/MEMORY/USER)
- skills/agent-provisioning/:main 创建 agent 的唯一入口与红线(description 覆盖中英触发说法)
- workspace/:修复悬空 gitlink,将 9 个配置文档纳入版本控制(含新增创建 agent 与数据库红线)
- docs/:设计文档(含附录 A 实测发现)、实现计划(含 sudo 事故修正)
- .gitignore:workspace 白名单,避免数据/技能/媒体进入版本库
2026-09-16 11:18:16 +08:00
openclaw-314 0b20494f78 docs: agent 创建规范实现计划(任务切分、关键代码与验收标准) 2026-09-16 11:07:27 +08:00
openclaw-314 94316c6bbf docs: 修订设计文档 §8 口径(所有 agent 均纳入)并登记文档索引 2026-09-16 11:02:36 +08:00
openclaw-314 3fab38edb5 docs: agent 创建规范与数据库自动化设计(已确认,待实现) 2026-09-16 11:02:14 +08:00
openclaw-314 c91b00b26e docs: 增补 bk02 openclaw 系统说明与文档索引(新会话接手入口) 2026-09-16 10:49:29 +08:00
openclaw-314 ebc140e2d1 docs: 新增 openclaw 升级与维护手册(Node 22→26 / OpenClaw 2026.9.4 / 清理与存储结论) 2026-09-16 10:47:45 +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 11945439b5 auto: sync OpenClaw config 2026-09-16 10:13 2026-09-16 10:13:35 +08:00
openclaw-314 3e59b2944c auto: sync OpenClaw config 2026-09-16 04:13 2026-09-16 04:13:34 +08:00
openclaw-314 dfb903c1c7 auto: agent DB backup 20260916 2026-09-16 03:00:03 +08:00
openclaw-314 dbb7843cf5 auto: sync OpenClaw config 2026-09-15 16:13 2026-09-15 16:13:34 +08:00
openclaw-314 27340a8ee2 auto: sync OpenClaw config 2026-09-15 04:13 2026-09-15 04:13:34 +08:00
openclaw-314 0b06fa511c auto: agent DB backup 20260915 2026-09-15 03:00:03 +08:00
openclaw-314 6842991d87 auto: sync OpenClaw config 2026-09-14 04:13 2026-09-14 04:13:33 +08:00
openclaw-314 8ca713b06e auto: agent DB backup 20260914 2026-09-14 03:00:02 +08:00
openclaw-314 58c0003ed3 auto: sync OpenClaw config 2026-09-13 04:13 2026-09-13 04:13:33 +08:00
openclaw-314 b6df93494f auto: agent DB backup 20260913 2026-09-13 03:00:02 +08:00
openclaw-314 7b035d88fc auto: sync OpenClaw config 2026-09-12 22:13 2026-09-12 22:13:33 +08:00
openclaw-314 f80005fc34 auto: sync OpenClaw config 2026-09-12 04:13 2026-09-12 04:13:33 +08:00
openclaw-314 6d95428cf4 auto: agent DB backup 20260912 2026-09-12 03:00:02 +08:00
openclaw-314 24066282ed auto: sync OpenClaw config 2026-09-11 22:13 2026-09-11 22:13:32 +08:00
openclaw-314 27e84fe4f7 auto: sync OpenClaw config 2026-09-11 16:13 2026-09-11 16:13:32 +08:00
openclaw-314 ff8923fb43 auto: sync OpenClaw config 2026-09-11 10:13 2026-09-11 10:13:32 +08:00
openclaw-314 14d42d129c auto: sync OpenClaw config 2026-09-11 04:13 2026-09-11 04:13:32 +08:00
openclaw-314 2e71348de8 auto: agent DB backup 20260911 2026-09-11 03:00:02 +08:00
openclaw-314 b235a96c21 auto: sync OpenClaw config 2026-09-10 04:13 2026-09-10 04:13:32 +08:00
openclaw-314 bfd379a1d2 auto: agent DB backup 20260910 2026-09-10 03:00:03 +08:00
openclaw-314 0aa13d3cf0 auto: sync OpenClaw config 2026-09-09 16:13 2026-09-09 16:13:31 +08:00
openclaw-314 c79d73c0fe auto: sync OpenClaw config 2026-09-09 10:13 2026-09-09 10:13:34 +08:00
openclaw-314 8807584b26 auto: sync OpenClaw config 2026-09-09 04:13 2026-09-09 04:13:31 +08:00
openclaw-314 8c20e400cc auto: agent DB backup 20260909 2026-09-09 03:00:03 +08:00
openclaw-314 8567d6d4c3 auto: sync OpenClaw config 2026-09-08 22:13 2026-09-08 22:13:31 +08:00
openclaw-314 110cc2e353 auto: sync OpenClaw config 2026-09-08 04:13 2026-09-08 04:13:29 +08:00
openclaw-314 5f72604af3 auto: agent DB backup 20260908 2026-09-08 03:00:03 +08:00
openclaw-314 c6a0ed7f15 auto: sync OpenClaw config 2026-09-07 22:13 2026-09-07 22:13:29 +08:00
openclaw-314 d7c48f9f64 auto: sync OpenClaw config 2026-09-07 10:13 2026-09-07 10:13:29 +08:00
openclaw-314 b73799cf75 auto: sync OpenClaw config 2026-09-07 04:13 2026-09-07 04:13:29 +08:00
openclaw-314 34771c1b43 auto: agent DB backup 20260907 2026-09-07 03:00:03 +08:00
openclaw-314 9a3be42580 auto: sync OpenClaw config 2026-09-06 16:13 2026-09-06 16:13:29 +08:00
openclaw-314 76acefc110 auto: sync OpenClaw config 2026-09-06 10:13 2026-09-06 10:13:29 +08:00
openclaw-314 03827b9010 auto: sync OpenClaw config 2026-09-06 04:13 2026-09-06 04:13:29 +08:00
openclaw-314 ab01f2b993 auto: agent DB backup 20260906 2026-09-06 03:00:02 +08:00