wanikua
da7ddab652
fix: 全项目bug修复 — 安全、死代码、配置、skill、Docker
安全修复:
- install.sh: sed_escape 补全特殊字符转义,python3 配置验证改用 os.environ 防注入
- gui/server: 删除 /api/command shell 转义 fallback 路径,消除命令注入风险
- gui/server: /api/location/track role 参数加白名单验证防原型污染
- gui/server: /api/gateway/restart 加容器检测,非容器环境不再杀 PID 1
死代码清理:
- 4 个安装脚本删除 7 处完全相同的 elif 分支(改名残留)
- gui/server: CONFIG_PATH 三元表达式两分支相同,简化为直接赋值
配置修复:
- openclaw.example.json: subagents.allowAgents hanlinyuan → hanlin_zhang
- gui/server: 默认模型 minimax/MiniMax-M2.5 → config chain fallback
- gui/server: cron enable/disable fallback 改为 success:false(未持久化)
- gui/server: catch-all 路由对 /api/* 返回 JSON 404
Skill 修复:
- openviking/SKILL.md 补 YAML frontmatter
- quadrants/SKILL.md 移除硬编码项目 ID 和不存在的 TOOLS.md 引用
- notion/SKILL.md API 版本 2025-09-03 → 2022-06-28,端点 data_sources → databases
其他:
- docker/entrypoint.sh: exec 改为后台+wait,使 trap cleanup 生效
- docs/memory-search.md: docs.clawd.bot → docs.openclaw.ai
- README_EN.md: 删除孤立表格行
- NotionBoard.tsx: 离任状态改灰色
- ci.yml: 删除 continue-on-error: true
2026-03-16 04:17:35 +00:00
..
2026-03-12 14:35:52 +00:00
2026-03-15 08:07:03 +00:00
2026-03-15 07:12:56 +00:00
2026-03-12 14:35:52 +00:00
2026-03-15 08:07:03 +00:00
2026-03-15 08:07:03 +00:00
2026-03-16 04:17:35 +00:00
2026-03-12 14:20:51 +00:00
2026-03-16 00:34:20 +08:00
2026-03-12 14:20:51 +00:00
2026-03-15 19:19:45 +00:00
2026-03-15 06:47:28 +00:00
2026-03-15 07:55:57 +00:00
2026-03-12 14:20:51 +00:00
2026-03-12 15:40:16 +00:00
2026-03-15 07:12:56 +00:00
2026-03-15 08:07:03 +00:00
2026-03-15 08:07:03 +00:00
2026-03-15 08:07:03 +00:00
2026-03-15 08:07:03 +00:00
2026-03-15 08:07:03 +00:00
2026-03-15 19:19:45 +00:00
2026-03-15 08:07:03 +00:00
2026-03-15 08:07:03 +00:00
2026-03-15 08:07:03 +00:00