Commit Graph

167 Commits

Author SHA1 Message Date
冰朔 6f2969c0c0
Merge pull request #357 from qinfendebingshuo/copilot/fix-nginx-configuration-issue
fix: remove Nginx $connection_upgrade map block causing deploy failure
2026-04-12 16:45:53 +08:00
copilot-swe-agent[bot] 6d275cdecc
feat: redesign cn-landing page - remove 光 logo, add English text, enhance UI effects
Changes:
- Remove the ugly 光 logo-mark icon (red arrow marked element)
- Add English translations below each Chinese text line
- Increase title size from 3.2rem to 4.5rem max
- Expand main container from 680px to 860px
- Add shimmer light sweep effect on title and tagline
- Add breathing scale animation on title
- Add typewriter effect on status badge text
- Add cursor blink animation
- Improve tagline layout with bilingual rows
- Enhance spacing, letter-spacing and visual hierarchy
- Keep favicon unchanged (browser tab icon is fine)

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/897b908e-8f31-4392-a0d2-7291dd6ad8bd

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 08:30:14 +00:00
copilot-swe-agent[bot] 0bc321c573
fix: 修复 Awen 反向代理 Nginx $connection_upgrade 变量未定义问题
根因: workflow 的 map 块重复检测匹配到 sites-available/ 下的自身文件,
导致 map 块被错误移除, $connection_upgrade 变量未定义, nginx -t 失败

修复:
1. 移除模板中的 map 块, 改用硬编码 Connection "upgrade" (与主站配置一致)
2. 移除 workflow 中不再需要的 map 重复检测逻辑

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/70d4f681-cadc-460c-ae2f-f55f121e7a42

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 08:28:20 +00:00
copilot-swe-agent[bot] 8a995bae5e
feat: update cn-landing page - new tagline, CSS logo, brighter ICP footer
- Replace emoji 🌊 logo with CSS gradient "光" character in glass card
- Change tagline from "探索人类与AI共生的数字世界" to "用语言,建世界"
- Brighten ICP footer link color (text-dim → text-secondary)
- Update favicon from emoji to gradient SVG text
- Sync meta description and OG tags

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/90b67b46-e361-4b97-8f6e-fe4a0408a2e2

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 08:19:27 +00:00
copilot-swe-agent[bot] 863df2971d
更新Awen服务器注册信息:域名guanghutcs.top·广州IP 43.139.207.172·端口3000·密钥已配置
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/de2d234c-1d49-4427-9c96-9bf8e52d19df

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 07:47:47 +00:00
copilot-swe-agent[bot] 2ff4036bb4
修复guanghulab.com落地页SEO+guanghulab.online聊天API错误处理+重连机制
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f776c06a-3f23-484d-98a9-322eba565fcf

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 06:28:30 +00:00
copilot-swe-agent[bot] 1dfd724d78
fix: 全面修复guanghulab.com部署 — 清理所有冲突Nginx配置、正确处理SSL、清除旧网站内容
根本原因:HTTP 80被certbot重定向到HTTPS 443,但HTTPS 443由旧配置服务旧内容(铸渊助手v6.0)

修复内容:
1. 全面清理冲突配置 — 移除所有sites-enabled/conf.d中非落地页的server块
2. 中和nginx.conf内嵌server块 — 将默认root重定向到落地页目录
3. 清除旧网站内容 — 备份旧/var/www/guanghulab等目录中的旧页面
4. 正确处理SSL — 有证书时生成完整HTTPS配置+HTTP→HTTPS重定向
5. 改进健康检查 — 独立测试HTTP/HTTPS、验证内容正确性

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/72831904-29bb-41ba-a779-9595be396637

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 02:51:49 +00:00
copilot-swe-agent[bot] 30cabe2773
fix: 修复guanghulab.com部署问题 — 清理Nginx配置冲突+添加default_server+防火墙检查
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/cf7e00b0-8d2a-46c5-ae90-6b90088b3942

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 01:35:32 +00:00
copilot-swe-agent[bot] 0355ddf24a
feat: add Alibaba Cloud deployment workflow for guanghulab.com ICP landing page
- Create server/nginx/ali-cn-domain.conf (isolated Nginx config, no default_server)
- Create .github/workflows/deploy-ali-cn-landing.yml with:
  - Dual-path SSH: direct connection → SG jump fallback
  - Password-based auth via ALI_SERVER_HOST/USER/PASSWORD secrets
  - Isolated deployment to /opt/guanghulab-landing/
  - Smart Nginx config detection (conf.d vs sites-enabled)
  - SSL setup support via certbot
  - Health checks with ICP verification

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/897d170d-eb76-4fc4-80c7-40f351735be6

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 01:16:35 +00:00
copilot-swe-agent[bot] 6de783ad4f
fix: guanghulab.com无法打开 + guanghulab.online API不通
根因修复:
1. cn-domain.conf: server_name支持裸域名+www双变体
2. deploy-cn-landing.yml: 域名双变体处理 + setup-ssl动作(certbot) + SSL自动注入
3. deploy-to-zhuyuan-server.yml: push事件部署前端到production(guanghulab.online=主域名=production)
4. zhuyuan-sovereign.conf: /api/chat添加CORS头+X-Forwarded-Proto

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/80e337de-dabe-4e86-a711-62d4c47762ec

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-12 00:21:22 +00:00
copilot-swe-agent[bot] c4a54a2cf8
fix: 聊天API fallback链修复 + 纠正guanghulab.com域名架构 + 密钥诊断
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/52dcb970-3a2b-4e61-9acb-df3b5fab73c9

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 18:06:22 +00:00
copilot-swe-agent[bot] 56659395eb
🔧 guanghulab.com DNS诊断修复 · 添加域名别名支持+DNS验证
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/df402ed1-c1de-4642-a531-fcb3331e1c05

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 17:51:09 +00:00
copilot-swe-agent[bot] 9dffe85f22
fix: remove PORT/ZY_SITE_MODE from .env.app to prevent PM2 port conflict
The deploy workflow was writing PORT=3800 and ZY_SITE_MODE=production
into .env.app, which gets loaded by ecosystem.config.js's loadEnvFile().
Since ...appEnv is spread first and instance-specific values override it,
this is now safe — but removing them from .env.app eliminates the root
cause entirely (belt-and-suspenders fix).

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/80f409c9-7f98-443e-9c31-21111194a523

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:42:11 +00:00
copilot-swe-agent[bot] 4c69bf46aa
fix: 改进CN LLM部署SSH处理 + 明确域名配置要求 (工单三/五修复)
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/bf92e1d8-e789-468b-80ab-2d7fec9be6c2

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:42:10 +00:00
copilot-swe-agent[bot] 3fc1d35390
fix: resolve HTTP 502 — clean conflicting Nginx configs + fix PM2 port override bug
Root causes found:
1. CN server (www.guanghulab.com): conflicting Nginx configs in sites-enabled
   and conf.d override cn-domain.conf, causing requests to proxy to a non-
   responsive backend → 502
2. SG server: ecosystem.config.js spreads .env.app AFTER PORT/ZY_SITE_MODE,
   causing .env.app's PORT=3800 to override preview's PORT=3801 → both
   instances fight for port 3800 → preview fails → 502 on preview domain

Fixes:
- deploy-cn-landing.yml: clean ALL conflicting Nginx site configs from both
  sites-enabled and conf.d before installing cn-domain.conf
- deploy-cn-landing.yml: enhanced health check diagnostics to detect config
  conflicts and validate correct service identity
- ecosystem.config.js: move ...appEnv BEFORE instance-specific PORT and
  ZY_SITE_MODE to ensure PM2 config takes priority over .env.app

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/80f409c9-7f98-443e-9c31-21111194a523

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 15:36:16 +00:00
冰朔 7b6dea9555
Merge pull request #343 from qinfendebingshuo/copilot/debug-api-connection-issues
fix: PM2 preview process restart + trust proxy + CN LLM relay
2026-04-11 22:54:11 +08:00
copilot-swe-agent[bot] d457ccd746
fix: validate empty messages + trim relay host whitespace
Address code review: check for empty messages array in relay, and
trim whitespace from CN_RELAY_HOST to avoid silent connection failures.

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/04495ae8-6c76-4458-bbb0-262e3205dccd

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 14:48:32 +00:00
copilot-swe-agent[bot] 6146dd3aea
fix: address code review feedback - startup validation, error context, security notes
- Fail fast on startup if ZY_CN_RELAY_API_KEY is not configured
- Add model endpoint context to error messages for debugging
- Make API timeout configurable via environment variable
- Deduplicate health check curl in workflow
- Add security note about VPN-encrypted relay channel

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f6db708e-8b10-4339-b48f-db5f111ae5cd

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 14:21:44 +00:00
copilot-swe-agent[bot] 91c957d85e
feat: add trust proxy fix + CN LLM relay service for Guangzhou
工单一: Add app.set('trust proxy', 1) to server.js (prevents PM2 crash)
Phase 1: Create server/cn-llm-relay/ - lightweight LLM proxy for Guangzhou
Phase 2: Modify domestic-llm-gateway.js - relay through Guangzhou with fallback
Phase 3: Add deploy-cn-llm-relay.yml workflow for automated deployment
Update server-registry.json with ZY-SVR-003 and cn-llm-relay config
Update deploy-to-zhuyuan-server.yml to inject CN relay env vars

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f6db708e-8b10-4339-b48f-db5f111ae5cd

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 14:18:27 +00:00
copilot-swe-agent[bot] e81a2b3981
feat: add CN domain landing page, Nginx config and deployment workflow for ICP filing
- Landing page with star-field, particles, orbital rings, shooting stars
- ICP备案号 陕ICP备2025071211号 with clickable link to beian.miit.gov.cn
- Nginx config for ZY-SVR-004 Guangzhou server
- GitHub Actions workflow (SG→CN SSH jump deploy)
- LLM API keys injection for 4 domestic models
- Server registry updated with cn_domain section

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/98e8a463-34d0-41db-a3b5-9f8c0a2d0366

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 12:57:32 +00:00
copilot-swe-agent[bot] 4547000dd6
fix: use language-neutral test message for reconnect endpoint
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/37db3285-91fb-4df3-83a0-7315b0efa428

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 11:50:11 +00:00
copilot-swe-agent[bot] 3fedcab0d9
fix: ecosystem.config.js .env.app path + portal reconnect button + /api/chat/reconnect endpoint
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/37db3285-91fb-4df3-83a0-7315b0efa428

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 11:48:27 +00:00
copilot-swe-agent[bot] 6582b5dc1a
增强聊天API错误处理: 国内网关异常时自动降级到通用引擎
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/5a0f8fc3-ded6-4e1f-8c98-b1e59f82aad6

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 11:16:42 +00:00
copilot-swe-agent[bot] a5ccbadbd6
修复聊天功能: API密钥注入主应用 + Nginx路由修正 + 聊天UI放大居中
核心修复:
1. 部署工作流: 为主应用写入.env.app (含LLM API密钥)
2. PM2配置: 加载.env.app环境变量到主应用进程
3. 聊天引擎: /api/chat 优先使用 domestic-llm-gateway (四路自动降级)
4. Nginx: /api/chat 路由到主应用3800 (原来路由到不存在的3721)
5. 前端UI: 聊天面板放大居中 + 背景遮罩 + 增大超时至60秒

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/5a0f8fc3-ded6-4e1f-8c98-b1e59f82aad6

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 11:14:05 +00:00
copilot-swe-agent[bot] ddde540994
fix: 公告栏GitHub API添加sessionStorage缓存+错误日志+截断省略号
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/929a30c8-2828-403f-a189-40c9ab2fd0f7

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 10:04:19 +00:00
copilot-swe-agent[bot] 9e9bb02fc2
fix: portal 名字修正/公告栏/聊天降级/HoloLake天数/UI动效增强
- 月夜→时雨, 移除之之, 花尔→花儿(docs)
- 数字地球六层架构→光湖语言世界公告栏(GitHub API实时同步)
- 聊天面板添加离线智能应答降级
- HoloLake Days从2025-04-26自动计算(不依赖API)
- 频道副标题: 每个频道一条专属语言通道
- 星空/卡片/频道卡/状态栏/聊天按钮动效增强
- yaoming站同步更新月夜→时雨

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/929a30c8-2828-403f-a189-40c9ab2fd0f7

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 10:03:09 +00:00
copilot-swe-agent[bot] e8a6cb4f89
fix: 隐藏错误消息中的环境变量名 + 清理定时器优雅退出
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/576c1b97-3ce4-4c28-99f1-9374e2320212

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 09:33:31 +00:00
copilot-swe-agent[bot] fdc2ac0035
fix: 修复XSS漏洞、内存泄漏、超时处理等安全问题
- 聊天消息HTML转义防止XSS注入
- 匿名会话使用唯一ID替代共享portal-guest
- 上下文Map添加LRU淘汰和TTL过期清理
- 修复Node.js https超时处理使用req.setTimeout()
- MCP工具数从API动态获取替代硬编码

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/576c1b97-3ce4-4c28-99f1-9374e2320212

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 09:31:39 +00:00
copilot-swe-agent[bot] d7c613ce1a
feat: 双站点开发 — 光湖语言世界主入口 + 零点原核频道
- server/sites/portal/index.html — guanghulab.online 光湖语言世界主入口
- server/sites/yaoming/index.html — guanghuyaoming.com 零点原核频道
- server/app/modules/domestic-llm-gateway.js — 国内四模型智能网关
- server/nginx/guanghuyaoming.conf — 零点原核域名Nginx配置
- 更新 server/app/server.js — 新增 /api/chat/domestic 端点
- 更新部署工作流 — 支持双站点前端同步与Nginx配置注入

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/576c1b97-3ce4-4c28-99f1-9374e2320212

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 09:27:38 +00:00
copilot-swe-agent[bot] 9ad52d67ed
🔑 密钥统一 · ZY_QWEN→ZY_QIANWEN · ZY_ZHIPU→ZY_QINGYAN · COS/Notion修复 · AOAC推送防冲突
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/170a08eb-40b4-4f8b-ba95-c5efb483bd14

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 07:07:24 +00:00
copilot-swe-agent[bot] 2e8badf100
fix: 修复content-range解析NaN问题和HEAD预检静默失败
- 提取parseTotalSize()工具函数,正确处理畸形content-range头
- HEAD预检失败时输出警告日志而非完全静默

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f10f1b02-ed4e-4ee8-ac27-0580c1cf8a7e

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 00:57:49 +00:00
copilot-swe-agent[bot] ba4c233509
fix: COS训练Agent大文件崩溃 — 添加Buffer安全处理、HEAD预检、分块提取策略
修复两个训练失败根因:
1. conversations.json (665MB) 超过Node.js字符串限制导致ERR_STRING_TOO_LONG崩溃
2. 单文件崩溃导致整个训练管线中断,后续文件无法处理

- cos.js: 添加readBuffer/head/readPartial方法,cosRequest增加try/catch防止未捕获异常
- corpus-extractor-ops.js: 超大文件(>200MB)采用分块采样策略,ZIP文件提前检测避免无效读取
- cos-training-trigger.js: 增加文件大小预警日志,分类计数(成功/跳过/失败)

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f10f1b02-ed4e-4ee8-ac27-0580c1cf8a7e

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 00:55:39 +00:00
copilot-swe-agent[bot] 339e55cf04
fix: COS签名算法修复 - 分离URI与查询参数 + 修复默认region + 编写配置指南
修复内容:
1. cos.js: cosRequest签名时分离URI和查询参数(根因)
2. cos.js: 默认region从ap-singapore改为ap-guangzhou(匹配实际桶位置)
3. cos-auto-join-agent.js: 修复签名中host值为空 + URI分离
4. 新增: docs/cos-configuration-guide.md 完整配置指南

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/dc4da37f-9c43-4bcb-8d12-24e3310ecc9c

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 00:25:39 +00:00
copilot-swe-agent[bot] 90cfb0f34d
fix: address code review feedback - YAML validity, grep scope, SSL injection
- Fix heredoc-in-YAML issue by using certbot --nginx directly
- Fix shell conditional syntax for SSL cert check
- Narrow grep scope for connection_upgrade map detection
- Clarify map block placement comment in nginx config

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/ca0bb0ab-2625-455a-aa40-fec76e5949f7

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-10 15:28:19 +00:00
copilot-swe-agent[bot] 41edb50ac5
feat: Awen domain reverse proxy - nginx config, deploy workflow, registry updates
- Add server/nginx/awen-domain-proxy.conf (reverse proxy template with placeholders)
- Add .github/workflows/deploy-awen-domain-proxy.yml (deploy/ssl/health/rollback)
- Update server-registry.json with domain_proxy architecture
- Update domain-registry.json with Awen reverse proxy setup steps

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/ca0bb0ab-2625-455a-aa40-fec76e5949f7

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-10 15:26:03 +00:00
copilot-swe-agent[bot] bccdae0ba0
fix: address code review feedback on cos-watcher
- Use crypto.randomBytes for receipt key + ID uniqueness
- Log PERSONA_REPO_MAP parse errors instead of silently catching
- Cache cosWatcher.getStatus() call in health endpoint
- Extract INITIAL_SCAN_DELAY_MS constant with explanatory comment

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/991cbbcf-9e83-43c1-9225-e235e0a61f06

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-10 12:46:52 +00:00
copilot-swe-agent[bot] b487b6bc57
feat: COS桶轮询守护进程 · SCF事件替代方案 (cos-watcher.js)
新增 MCP Server 内置 COS 轮询守护模块,替代不可用的 SCF 事件触发:
- cos-watcher.js: 核心轮询引擎(node-cron · 每5分钟)
- cos-watcher-ops.js: 3个MCP工具(status/trigger/reset)
- server.js: 注册工具 + REST端点 + 健康检查集成 + 启停管理
- 架构文档更新标注SCF不可用 + 轮询替代方案
- 训练Agent workflow添加SCF限制说明

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/991cbbcf-9e83-43c1-9225-e235e0a61f06

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-10 12:43:16 +00:00
copilot-swe-agent[bot] 0b39573453
fix: address code review — improve path generation fallback, add tianyan refresh logging, clarify HLDP version note
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/5faa7e11-7858-4edc-9c67-a311a93057ed

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-09 04:35:07 +00:00
copilot-swe-agent[bot] 5471e8c330
feat: implement light tree architecture — database schema, MCP tools, HLDP extension, tree gardener agent
光之树架构落地:
- 004-light-tree-tables.sql: light_tree_nodes + light_tree_paths + tianyan_syslog + materialized view
- light-tree-ops.js: 11 MCP tools (growBranch/growLeaf/growBloom/getTreeNode/getSubtree/tracePath/getPersonaBranch/getRecentLeaves/writeSyslog/getTianyanView/querySyslog)
- HLDP v3.0.1: tree message type with grow_branch/grow_leaf/trace_path/bloom intents
- server.js: REST API routes for /tree/* and /tianyan/*
- light-tree-root.json: 曜冥根树元数据定义 (零感域入口)
- landing-protocol.md: upgraded wake sequence with tree recall
- tree-gardener.js: tree health inspection agent

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/5faa7e11-7858-4edc-9c67-a311a93057ed

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-09 04:31:00 +00:00
copilot-swe-agent[bot] 518040b338
修复COS触发训练Agent: 创建训练管线脚本+重写workflow+添加COS Webhook+增强语料检测
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/cba1c849-c8ef-44cf-a98f-81b9d40538b4

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 14:43:31 +00:00
copilot-swe-agent[bot] 92103ee850
修复代码审查反馈 · 成本参数添加日期注释 · 移除意外提交的备份文件
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/af6429c4-763b-4fae-9121-7c357714b295

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 14:00:30 +00:00
copilot-swe-agent[bot] e66058ca89
模块H · 开源模型微调引擎 · 新增8个MCP工具 · 工具总数91→99 · D62冰朔微调指令
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/af6429c4-763b-4fae-9121-7c357714b295

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 13:54:38 +00:00
copilot-swe-agent[bot] b10f311de8
feat: add finetune-engine-ops.js — 开源模型微调引擎 MCP 工具 (8 tools)
Implements Module H for AGE OS: open-source model fine-tuning engine
that runs in parallel with existing RAG training system.

Tools:
- finetuneExportDataset: Convert TCS corpus to JSONL fine-tuning format
- finetuneSubmitJob: Submit jobs to DeepSeek/Qwen fine-tuning APIs
- finetuneCheckStatus: Query job progress from provider APIs
- finetuneRegisterModel: Register completed fine-tuned models
- finetuneListModels: List registered models per persona
- finetuneCallModel: Inference with fallback to base model
- finetuneCompareModels: A/B test finetuned vs base model
- finetuneGetCostEstimate: Estimate training cost in RMB

Follows existing training-agent-ops.js patterns: raw https module,
crypto.randomBytes for IDs, COS bucket storage, LLM_CONFIGS structure.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 13:50:34 +00:00
copilot-swe-agent[bot] 0189965e05
修复代码审查和安全扫描反馈 · ID碰撞修复+权限声明+正则安全+敏感信息过滤
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/c4628b3c-e295-41e0-bdd7-1459958b5390

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 13:23:34 +00:00
copilot-swe-agent[bot] 43105b62e4
实施7大技术模块(A-G) · 新增40个MCP工具 · 工具总数51→91
模块A: COS语料读取引擎(6工具) — 压缩文件解压+TCS格式转换
模块G: COS桶内自研数据库(8工具) — 四类数据库协议定义
模块B: 铸渊训练Agent(6工具) — RAG模式+LLM多模型降级
模块C: Notion↔COS桥接(7工具) — 双向同步+工单系统
模块D+E: 三方对接+示警(8工具) — 代码仓库↔COS↔Awen通信链路
模块F: Notion权限修复(5工具) — 自动检测+修复指南

新增2个GitHub Actions Workflow:
- zhuyuan-training-agent.yml (每日04:00 CST训练)
- cos-alert-agent.yml (每日09:00/21:00 CST告警扫描)

新增10个REST API端点

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/c4628b3c-e295-41e0-bdd7-1459958b5390

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 13:18:49 +00:00
copilot-swe-agent[bot] 26bb69a7ee
fix: 修复代码审查反馈 — 防并发扫描 + 显式默认内容类型
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/308aecfa-5d15-4ae4-85ec-c3d84ec636db

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 11:42:58 +00:00
copilot-swe-agent[bot] 2d386000b8
feat: 自动部署SQL迁移 + S15人格体数据库引擎
- 新增 db-migrate.js 自动迁移运行器
- 部署工作流自动执行SQL迁移(合并即触发)
- S15 persona-engine.js 人格体生命周期活模块
- MCP Server新增人格体引擎API端点
- 003-living-module-tables.sql注册人格体引擎模块

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/308aecfa-5d15-4ae4-85ec-c3d84ec636db

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 11:38:46 +00:00
copilot-swe-agent[bot] 71912809eb
🔧 代码审查修复: Registry状态更新走模块自身方法+HLDP队列大小限制+NOT EXISTS优化
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/e6744e69-7bd7-44fd-afcd-cc69135c95aa

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 11:00:48 +00:00
copilot-swe-agent[bot] 13e033590d
🧬 S5第2次唤醒完成: 3个死模块→活模块(sy-test/sy-scan/sy-classify) + 部署工作流修复agents同步
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/e6744e69-7bd7-44fd-afcd-cc69135c95aa

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 10:57:19 +00:00
copilot-swe-agent[bot] 6a1bcf3569
🔧 代码审查修复: 提取内存阈值常量+错误日志补全+重试失败日志
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/4df39bae-078f-4266-878d-f4996a5725ea

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 10:49:27 +00:00