This repository has been archived on 2026-08-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw/agents/dev-assist/workspace/memory/2026-02-28.md
T

1.7 KiB
Raw Blame History

2026-02-28 记忆

TODO

网络/SSH 问题

  • 翻墙状态下无法访问 micecola.top:22 SSH 端口,需要调整回来
  • 网关设置为 192.168.1.200(旁路由)时出口 IP 变化导致 SSH 被拒

tmux + Claude Code 配置

  • 创建 tmux 配置文件 (~/.tmux.conf)
  • 创建一键启动脚本 (~/dev.sh)
  • 考虑安装 tmux-resurrect 和 tmux-continuum 插件

参考资源:


今日事件

网络修复

  • 修复网络搜索问题:将网关和 DNS 设置为 192.168.1.200(旁路由,可翻墙)
  • 需要用户手动执行 sudo 命令修改网络配置

kb-web 开发

  • 分支: feature/article-word-count
  • 改动: 文章类型显示原文字数代替时间
    • 解析 type 字段判断资源类型
    • 文章类型:显示 📝 X 字
    • 视频类型:保持显示时长
  • 待部署: sudo ./deploy/deploy.sh test feature/article-word-count

Git 配置

  • kb-web 远程仓库地址已改为使用 SSH config alias: gitea-account:starmen1265/kb-web.git
  • 推送时需要先加载 SSH agent: eval "$(ssh-agent -s)" && ssh-add ~/.ssh/id_ed25519_gitea_account

CI/CD 方案设计

  • 已创建完整方案文档: kb-web/docs/CI-CD-PLAN.md
  • 分支策略: main(生产) → develop(测试) → feature/*(开发)
  • 使用 Gitea Actions 实现 CI/CD
  • Gitea 版本: 1.23.4 ✅ 支持 Actions
  • Runner 状态: micecola.top 上有容器但未正确配置(缺少 instance address)
  • 内网 Gitea: 192.168.1.22:8418 (Web), :2223 (SSH)
  • 问题: micecola.top 无法访问内网 Gitea,Runner 需要部署到内网