Commit Graph

67 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] d0cc67953b feat: Phase 4 — AI对话引擎 + 多轮上下文 + 协作数据采集 + 失败告警 + 幂等性
Phase 4A: backend/feishu-bot/ai-chat.js — DeepSeek/通义千问 AI 模型接入
Phase 4A: backend/feishu-bot/context-manager.js — 多轮对话上下文管理
Phase 4B: push-broadcast.yml — 飞书群新广播通知
Phase 4C: backend/feishu-bot/collaboration-logger.js — 协作数据采集
Phase 4C: scripts/save-collaboration-log.js — persona-brain-db 数据对齐导出
Phase 4D: 三条链路 workflow 失败告警 → 飞书通知
Phase 4D: receive-syslog.js — 幂等性保护(相同 SYSLOG 不重复创建工单)

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 17:22:57 +00:00
copilot-swe-agent[bot] ceb61cbac8 feat: M-BRIDGE 飞书集成 — 三条链路脚本 + 飞书机器人回传桥
- sync-login-entry.yml + .js: Notion 登录入口 → 飞书文档A (全量替换)
- push-broadcast.yml + .js: Notion 广播 → 飞书文档B (追加到顶部)
- receive-syslog.yml + .js: SYSLOG 回传 → 存入仓库 + Notion 收件箱 + 霜砚工单
- feishu-bot.js: 飞书机器人事件回调处理 (SYSLOG 回传桥)
- syslog/ 目录创建

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 17:12:52 +00:00
copilot-swe-agent[bot] e108dc7b8d fix: 修复合作者公告栏自动更新链路 · workflow_run 触发器名称修正 + systemWorkflows 匹配修正 + 模块路径补全
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 15:18:07 +00:00
copilot-swe-agent[bot] 759b82605d YaoMing Era · AGE-5 architecture upgrade · TCS-ML runtime
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 10:30:48 +00:00
copilot-swe-agent[bot] c6b2a2be0a Resolve merge conflicts in workflow files, keeping origin/main versions
- deploy-to-server.yml: Keep secret validation step and ssh-keyscan fallback
- update-readme-bulletin.yml: Keep git push retry mechanism (3 attempts)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-11 07:39:41 +00:00
zhizhi200271 d546bc0525 合并 Phase 2 与远程仓库 2026-03-11 11:06:16 +08:00
zhizhi200271 16abb8f776 [BC-M-DINGTALK-002-ZZ][DEV-004] Phase 2 完成 · EL-7 · 多维表格联动+自动更新+自助查询+看板 2026-03-11 10:57:23 +08:00
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] 85519ab1cd fix: address code review feedback - remove duplicate variable, fix report job deps
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 13:57:02 +00:00
copilot-swe-agent[bot] 555247a913 fix: Persona Studio chat proxy, bulletin push retry, daily agent workflow
1. Fix API Key mode chat: route through backend proxy to avoid CORS
2. Fix bulletin update workflow: add git pull --rebase retry on push failure
3. Add daily inspection Agent workflow and script

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 13:56:03 +00:00
copilot-swe-agent[bot] 5feb1bc94b feat: 构建冰朔主控神经系统 v1.0 — 核心文件、Agent 脚本与自动维护 workflow
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 10:10:00 +00:00
copilot-swe-agent[bot] f970188776 fix: make Persona Studio accessible via GitHub Pages and update broken links
- Copy persona-studio frontend to docs/persona-studio/ for GitHub Pages deployment
- Update API base URL to point to guanghulab.com production server
- Update all README links from broken guanghulab.com/persona-studio/ to GitHub Pages URL
- Update deploy-pages.yml to trigger on persona-studio/frontend changes and sync files
- Update persona-studio/README.md link to point to guanghulab repo Pages

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 07:50:53 +00:00
copilot-swe-agent[bot] 1723ae7906 修复 workflow 环境变量命名 · 改进错误信息
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 07:22:33 +00:00
copilot-swe-agent[bot] ce30f59f5c 修复 Persona Studio 聊天交互 · 添加访客体验模式 · 恢复核心大脑 · 创建跨仓库同步
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 07:18:47 +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
冰朔 8da0610dce
Merge pull request #30 from qinfendebingshuo/copilot/add-system-introduction-and-announcement
📢 Split bulletin into Bingshuo/Collaborator sections with auto-alerts and Zhuyuan workspace
2026-03-09 17:38:05 +08:00
copilot-swe-agent[bot] 3e8395923a 📢 公告栏v2: 分离冰朔/合作者公告 + 铸渊自动提醒 + 铸渊工作区
- README.md: 冰朔公告栏(自检/轮询/数据库) + 合作者公告栏(模块上传) + 铸渊工作区
- scripts/update-readme-bulletin.js: v2.0 分离事件分类 + 红绿提醒 + 邮件通知
- .github/workflows/update-readme-bulletin.yml: 增加SMTP环境变量和PSP巡检触发
- .github/workflows/zhuyuan-issue-reply.yml: 新增 issue_comment 触发(@铸渊)
- scripts/zhuyuan-issue-reply.js: 评论区唤醒 + 权限控制 + 安全检查 + 一人一问

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-09 09:29:26 +00:00
copilot-swe-agent[bot] 7bd40b3e9a 📢 添加光湖系统介绍 + 系统公告区 + 自动更新工作流
- 重写 README.md:系统简介、架构图、人格体介绍、技术栈、团队信息、模块目录
- 添加系统公告区(BULLETIN_START/END 标记),自动显示模块上传和系统事件
- 新增 scripts/update-readme-bulletin.js:从 memory.json + GitHub API + git 日志聚合事件
- 新增 .github/workflows/update-readme-bulletin.yml:推送/工作流完成/定时触发自动更新公告

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-09 09:15:40 +00:00
yeye-guanghu 4a0c856c7e
Merge branch 'main' into step5-workflow 2026-03-09 17:08:46 +08:00
淑婷陈 1fc71abdc1 Step 8: 广播分发系统完成 2026-03-09 16:33:09 +08:00
淑婷陈 03870f8822 Step 7: 自检脚本 + 每日自检工作流 2026-03-09 16:30:00 +08:00
淑婷陈 0105815fb6 Step 7: 广播接收脚本 + 记忆自更新工作流 2026-03-09 16:27:12 +08:00
copilot-swe-agent[bot] d120b776c4 fix: 模块通知邮件路由修复 - 改用 Commit Comment 通知推送者本人,不再通知仓库所有者
v2.0 改动:
1. notify-module-received.js: 改用 Commit Comment API(替代 Issue API)
   - 邮件只发给推送者本人(@github.actor),不再通知仓库所有者
   - 通知中包含模块自检结果(通过/未通过 + 详细报告)
2. generate-module-doc.yml: 新增模块自检步骤(检查 README、package.json、src/ 等)
3. bingshuo-deploy-agent.yml: 新增 workflow_run 触发,模块推送后自动启动冰朔人格体

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-09 08:25:38 +00:00
淑婷陈 455686d064 Step 7: 铸渊 PR 审核工作流 + 记忆更新脚本 2026-03-09 16:16:49 +08:00
yeye-guanghu 270668a9b1
Merge pull request #25 from qinfendebingshuo/step5-workflow
Step 5: CI/CD工作流 + Copilot指令文件完成
2026-03-09 15:38:16 +08:00
copilot-swe-agent[bot] 3865534285 [GL-BRIDGE] 添加workflow权限声明 · CodeQL修复
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-09 06:22:02 +00:00
copilot-swe-agent[bot] 6eaafcbdb8 [GL-BRIDGE] 创建Notion数据桥连通性验证workflow · 霜砚P0指令
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-09 06:20:44 +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] 203ecee955 fix: 改进滑动窗口保留最近消息 + 添加北京时间注释
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-08 13:52:16 +00:00
copilot-swe-agent[bot] e7723e6444 feat: MVP升级 P0-A(128k上下文) + P0-B(通感语言风格) + 基础设施
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-08 13:51:00 +00:00
冰朔 0b127c750f
Merge pull request #19 from qinfendebingshuo/copilot/test-cross-platform-signal-log
🧪 Add Notion connectivity test script and workflow (YM-TEST-20260307-001)
2026-03-08 21:07:52 +08:00
copilot-swe-agent[bot] bcecea3912 🧪 refactor: address code review feedback (rename fmt, improve push error logging)
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 13:05:50 +00:00
copilot-swe-agent[bot] e3475f64e7 🧪 feat: add Notion connectivity test script and workflow (YM-TEST-20260307-001)
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 13:04:48 +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] 71a7789f06 改进 rebase 错误处理:替换 || true 为日志输出
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 09:55:06 +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
淑婷陈 8a21861539 Step 5: CI/CD工作流 + Copilot指令文件完成 2026-03-07 17:07:51 +08:00
copilot-swe-agent[bot] bca45ccd02 feat: custom domain + staging preview + 铸渊人格协议 module management
- Add docs/CNAME for guanghulab.com custom domain
- Fix deploy-pages.yml: production deploy only from main (not copilot/**)
- Add staging-preview.yml: PR preview with module integrity checks
- Add .github/brain/module-protocol.md: ZMP v1.0 protocol documentation
- Add scripts/zhuyuan-module-protocol.js: module lifecycle CLI
- Add module:protocol npm script
- Update 使用指南.md: custom domain + module management sections

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 08:58:07 +00:00
copilot-swe-agent[bot] cedcf5127e fix: address code review — consistent description, conditional commit step
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-07 07:44:35 +00:00