Commit Graph

16 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 39d6d43b53 fix: add secrets validation step to CD pipeline, add diagnostic report
The deploy job now validates DEPLOY_HOST, DEPLOY_USER, DEPLOY_KEY, and
DEPLOY_PATH secrets before attempting SSH operations. This replaces the
cryptic ssh-keyscan failure with a clear error message explaining which
secrets need to be configured.

Also made ssh-keyscan more robust by quoting the hostname and adding
fallback handling.

Ref: YM-CD-DEBUG-20260310-001

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 14:38:06 +00:00
copilot-swe-agent[bot] 39a688ed03 feat: persona-studio 后端服务 + 智能模型路由 + 部署集成
- backend/server.js (Express on port 3002)
- routes: auth, chat, build, notify
- brain: memory-manager, persona-engine, code-generator, model-router
- model-config.json (routing strategy)
- utils: github-api, email-sender
- deploy workflow: PM2 + Nginx proxy for /api/ps/
- GitHub Actions: ps-on-login/chat/build/complete workflows
- Frontend API paths updated to /api/ps/ prefix

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 05:15:56 +00:00
copilot-swe-agent[bot] 5253def3b0 Address code review: extract formatDocs helper, remove diagnostic log
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-08 15:16:55 +00:00
copilot-swe-agent[bot] c52568df87 v5.4: remove 冰朔 shortcut, add file upload, 200k context, fix API, clean modules
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-08 15:13:44 +00:00
copilot-swe-agent[bot] 56db2c9c50 fix: 简化PM2环境变量设置(code review反馈)
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-08 14:29:22 +00:00
copilot-swe-agent[bot] 2afe93e1a1 feat: 团队登录模式 + API代理部署 + 128k上下文(无需API密钥)
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-08 14:28:10 +00:00
copilot-swe-agent[bot] 8743cde59a YM-COLLAB-20260307-001: 添加 guanghulab-main 到 rsync 排除 + CD 验证标记
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 12:12:30 +00:00
copilot-swe-agent[bot] b0f2faabd0 fix: address code review — clarify Nginx escaping comment, search only sites-available
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 11:35:26 +00:00
copilot-swe-agent[bot] 47e401db31 feat(backend): 后端启动配置 — WebSocket生产地址 + Nginx反向代理 + pm2开机自启
YM-BACKEND-20260307-001:
- status-board/index.html: 修复重复脚本引用和重复闭合标签,
  WebSocket地址自动检测(生产环境wss://host/ws,本地ws://localhost:8080)
- deploy-to-server.yml: 新增WebSocket服务(mock-ws-server.js)pm2部署,
  添加pm2 startup开机自启,新增Nginx API(/api/→3000)和WebSocket(/ws→8080)
  反向代理自动配置(snippets方式注入server块)

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 11:34:02 +00:00
copilot-swe-agent[bot] d0e08a80b8 fix: 改善后端部署诊断输出,移除 npm stderr 静默
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 10:43:15 +00:00
copilot-swe-agent[bot] 15187c8b89 feat: 全站部署 — rsync 同步全仓库 + 模块导航 + 后端部署 + Nginx 配置
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 10:41:56 +00:00
copilot-swe-agent[bot] ff3e459202 fix: 修复服务器部署失败 — rsync 前确保远程目录存在
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 10:35:43 +00:00
copilot-swe-agent[bot] d001e8d704 修复 rsync 安装错误消息:补充 yum 和 sudo 权限提示
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 10:22:22 +00:00
copilot-swe-agent[bot] 6971d93a87 🌐 明确 guanghulab.com = GitHub Pages 部署 + 修复远程服务器 rsync 安装
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 10:21:41 +00:00
copilot-swe-agent[bot] 90883a87ab 🧊 冰朔人格体:修复部署阻塞 · 移除坏 submodule + 竞态条件修复 + rsync 保障
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 09:54:24 +00:00
copilot-swe-agent[bot] 554fe668dc feat: add CD workflow deploy-to-server.yml (工单 YM-CD-20260307-001)
- Job 1 (validate): HLI contract check + module fingerprint check
- Job 2 (deploy): rsync docs/ to server via SSH with safety checks
- Job 3 (notify): Push deployment record to Notion changelog
- Trigger: push to main (excludes non-frontend paths)
- Requires: DEPLOY_HOST, DEPLOY_USER, DEPLOY_KEY, DEPLOY_PATH secrets

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 09:09:13 +00:00