copilot-swe-agent[bot]
bbd3f49ce5
feat: add protocol mirror engine for Xray-core auto-update
...
Adds server/proxy/service/protocol-mirror.js — the Protocol Mirror Engine
that monitors Xray-core releases and manages automatic updates with:
- GitHub API polling (every 6h) with result caching
- Installed vs latest version comparison
- TLS/Reality fingerprint consistency checks
- LLM-powered update risk analysis via llm-router.js
- Safe auto-update: download → backup → install → verify → restart
- Failure protection: 3 consecutive failures triggers admin alert
- Update summary generation for email-hub distribution
- State persistence to data/protocol-mirror-status.json
Runs as a PM2-managed service checking every 30 minutes.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-06 04:06:17 +00:00
zhuyuan-bot
633811fab1
📡 部署日志采集 · 24015766321 [skip ci]
2026-04-06 02:04:50 +00:00
冰朔
167661fd3d
Merge pull request #295 from qinfendebingshuo/copilot/fix-zhuyuan-3-0-upgrade-issues
...
fix: nginx backup files in sites-enabled cause duplicate default_server on switch-v3
2026-04-06 10:03:34 +08:00
zhuyuan-bot
66360469c0
🎖️ 铸渊将军唤醒 · 2026-04-06 10:00 · 仪表盘+HLDP同步+签到更新
2026-04-06 02:00:00 +00:00
copilot-swe-agent[bot]
4052b7a4b0
fix: move nginx backup files out of sites-enabled to prevent duplicate default_server conflict
...
Root cause: switch_v3() created backup files (.v2-backup, .pre-repair) inside
/etc/nginx/sites-enabled/. Nginx loads ALL files in sites-enabled/, so backup
files declaring 'listen 80 default_server' caused duplicate default_server errors.
Fix:
- Add NGINX_BACKUP_DIR=/opt/zhuyuan-brain/nginx-backups for storing backups
outside sites-enabled/
- Add clean_stale_nginx_backups() to remove any residual backup files from
sites-enabled/ before nginx operations
- Both deploy_v3() and switch_v3() now call cleanup on entry
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/55e3ada6-8ce8-4123-8f45-d20f6b369037
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-06 01:43:42 +00:00
zhuyuan-bot
db8d90fa4a
📡 部署日志采集 · 24015086539 [skip ci]
2026-04-06 01:30:34 +00:00
冰朔
e81b1eff47
Merge pull request #294 from qinfendebingshuo/copilot/fix-communication-system-sync
...
fix: V2→V3 switch fails due to sed injecting V3 location blocks at every `^}` in nginx config
2026-04-06 09:29:23 +08:00
copilot-swe-agent[bot]
03234032e0
fix: 移除多余trailing echo,修正blank line清理sed模式
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/d77eb92f-55c9-4cb8-92db-2c4ce8754a8a
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 18:31:34 +00:00
copilot-swe-agent[bot]
09aa1ee35d
fix: V3 nginx注入使用精确定位替代fragile sed模式,添加预检查和自动修复
...
根因:deploy_v3() 使用 sed '/^}/i\' 在多server块配置中重复注入V3 location块
导致nginx语法错误,switch_v3切换时nginx -t验证失败回滚
修复:
- 新增 inject_v3_nginx_block() 精确定位最后一个顶层}
- 新增 remove_v3_nginx_blocks() 清理错误注入
- 新增 validate_nginx() 显示实际错误信息
- switch_v3() 添加预检查和自动修复已损坏配置
- deploy_v3() 使用安全注入并报告nginx验证失败
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/d77eb92f-55c9-4cb8-92db-2c4ce8754a8a
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 18:29:44 +00:00
zhuyuan-bot
d5e69175a9
📡 部署日志采集 · 24007438037 [skip ci]
2026-04-05 18:12:41 +00:00
冰朔
c28ac150b3
Merge pull request #293 from qinfendebingshuo/copilot/update-to-official-release
...
feat: 铸渊专线V3 测试版→正式版
2026-04-06 02:11:30 +08:00
copilot-swe-agent[bot]
34bb7f0b28
feat: 铸渊专线V3正式版上线 — 测试版→正式版迁移完成
...
- send-subscription.js: 邮件从🧪 测试版改为✅ 正式版
- subscription-server-v3.js: 注释从测试端口改为生产端口
- deploy-brain-proxy.sh: 部署脚本从测试环境改为生产环境
- deploy-brain-proxy.yml: 工作流名称移除测试字样
- verification-progress.md: 标记V3正式版上线
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/42e61d97-f841-4606-b9fd-409ff4dd883c
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 16:59:34 +00:00
冰朔
ccc7d7c532
Merge pull request #291 from qinfendebingshuo/copilot/fix-email-receiving-issue
...
fix: run V3 subscription email script locally instead of on stale server copy
2026-04-06 00:42:11 +08:00
copilot-swe-agent[bot]
36becd2840
fix: V3邮件发送改为本地执行,修复服务器脚本版本过旧导致send-v3命令不识别
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/9901ef74-496e-44c8-b41a-350fbcdefc24
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 16:37:57 +00:00
zhuyuan-bot
fc83587313
📡 部署日志采集 · 24005665237 [skip ci]
2026-04-05 16:30:59 +00:00
冰朔
7f83ffa332
Merge pull request #289 from qinfendebingshuo/copilot/add-link-to-3-0-test-version
...
feat: add send-subscription-v3 for V3 test subscription email delivery
2026-04-06 00:29:52 +08:00
copilot-swe-agent[bot]
ee3b862b19
feat: add send-subscription-v3 action to send V3 test subscription links via email
...
- Add send-subscription-v3 workflow option and job in deploy-brain-proxy.yml
- Add send-v3 command and V3 email template (光湖语言世界 branding) in send-subscription.js
- V3 email includes subscription URL, dashboard URL, and V3 upgrade highlights
- Validate dashboard URL fallback when not explicitly provided
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/62274291-68ff-4ee3-8a3e-e424453f4c6d
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 16:26:33 +00:00
zhuyuan-bot
4f80658259
📡 部署日志采集 · 24005119490 [skip ci]
2026-04-05 15:59:58 +00:00
冰朔
39de7bae25
Merge pull request #288 from qinfendebingshuo/copilot/add-vpn-reverse-accelerator-agent
...
VPN V2→V3: 光湖语言世界 — LLM路由器 + 反向加速Agent + 流量仪表盘
2026-04-05 23:58:46 +08:00
copilot-swe-agent[bot]
0bac15c1e3
V3修复: XSS防护(HTML转义), LLM路由器路径修复, context长度限制, deploy grep/sed一致性
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/226aae4f-48b7-4668-850c-7858729e6aa0
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 15:52:35 +00:00
copilot-swe-agent[bot]
7d33e49101
V3升级Phase3: 更新deploy-brain-proxy.sh支持deploy-v3/switch-v3, 更新工作流添加V3操作选项
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/226aae4f-48b7-4668-850c-7858729e6aa0
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 15:48:04 +00:00
copilot-swe-agent[bot]
5a42b0a5e3
V3升级Phase2: 创建subscription-server-v3.js(品牌重命名/硬切/仪表盘/优化配置), 升级proxy-guardian.js, 新增PM2+Nginx V3配置
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/226aae4f-48b7-4668-850c-7858729e6aa0
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 15:45:06 +00:00
zhuyuan-bot
157bc6a49a
🎖️ 铸渊将军唤醒 · 2026-04-05 23:39 · 仪表盘+HLDP同步+签到更新
2026-04-05 15:39:54 +00:00
copilot-swe-agent[bot]
68d737fc45
V3升级Phase1: 新增llm-router.js + reverse-boost-agent.js, zy-cloud-vpn.js增加consultAI第6接口
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/226aae4f-48b7-4668-850c-7858729e6aa0
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 15:39:42 +00:00
zhuyuan-bot
594cffb453
📡 部署日志采集 · 24001513122 [skip ci]
2026-04-05 12:29:06 +00:00
冰朔
042f8d732d
Merge pull request #287 from qinfendebingshuo/copilot/update-vpn-node-to-2-0
...
D58: VPN V2 shared traffic pool (2000GB/mo), retire V1
2026-04-05 20:27:53 +08:00
copilot-swe-agent[bot]
2e5ca40f12
D58·代码审查反馈修复·池配额缓存优化+百分比边界处理+注释改进
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/e78a092d-e987-459c-96bd-e99135555b3c
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 12:06:55 +00:00
copilot-swe-agent[bot]
8cb9374fa3
D58·铸渊专线2.0正式启用·V1停用·共享流量池2000GB/月·每月1号重置
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/e78a092d-e987-459c-96bd-e99135555b3c
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 12:04:47 +00:00
zhuyuan-bot
34468f638f
📡 部署日志采集 · 24000717324 [skip ci]
2026-04-05 11:38:55 +00:00
冰朔
3fc025cbac
Merge pull request #286 from qinfendebingshuo/copilot/fix-zhu-yuan-vpn-issues
...
fix: V2 VPN subscription returns 404 — nginx location path mismatch
2026-04-05 19:37:51 +08:00
copilot-swe-agent[bot]
b2aaeeab88
fix: V2 VPN subscription 404 - nginx path /api/proxy-sub/ → /api/proxy-v2/
...
Root cause: deploy-brain-proxy.yml generates subscription URLs with
/api/proxy-v2/ path, but nginx config and deploy script incorrectly
used V1 path /api/proxy-sub/, causing 404 on subscription requests.
Changes:
- nginx-brain-proxy-snippet.conf: location /api/proxy-sub/ → /api/proxy-v2/
- deploy-brain-proxy.sh: all inline nginx templates, grep checks,
perl/sed injections, and health checks updated to /api/proxy-v2/
- Added migration logic to auto-fix existing servers with old path
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/8e4facc2-e5bd-4114-bfd0-ec0d2ca93b6d
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 11:11:49 +00:00
zhuyuan-bot
34b5867f0a
📡 部署日志采集 · 24000085050 [skip ci]
2026-04-05 10:58:56 +00:00
冰朔
654860b5a6
Merge pull request #285 from qinfendebingshuo/copilot/fix-zhu-yuan-20-error
...
fix: V2 subscription send missing `send` action arg + URL override not wired
2026-04-05 18:57:39 +08:00
copilot-swe-agent[bot]
3178c96b35
fix: V2订阅发送缺少send参数 + URL覆盖未生效
...
工作流调用send-subscription.js时遗漏send命令参数,
导致邮箱被解析为操作名触发"未知操作"错误。
同时修复generateSubscriptionEmail不接受URL覆盖参数的问题,
使V2工作流传入的/api/proxy-v2/路径正确用于邮件内容。
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/c366b233-2a6b-4347-bb66-9013b9af3629
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 10:28:02 +00:00
zhuyuan-bot
682f3c70a4
📡 部署日志采集 · 23998402784 [skip ci]
2026-04-05 09:10:25 +00:00
zhuyuan-bot
d254feb411
🧬 gate-guard 自报告 · 2026-04-05-1709 [skip ci]
2026-04-05 09:09:28 +00:00
zhuyuan-bot
51f0837d0d
🧠 门禁日志: 1162194 · pass
2026-04-05 09:09:27 +00:00
feimao
7eb7d1691d
Merge pull request #284 from qinfendebingshuo/copilot/fix-subscription-service-502-error
...
Fix VPN subscription 502: Nginx proxy_pass port mismatch (3802→3803) on brain server
2026-04-05 17:09:17 +08:00
copilot-swe-agent[bot]
e646b24139
改进Nginx配置函数: 更灵活的端口匹配+更安全的配置注入+更好的错误处理
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/2d8735f4-e1e5-40a4-afec-464aa2dbae9d
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 09:02:27 +00:00
copilot-swe-agent[bot]
7907053588
D57修复: Nginx反代端口3802→3803 + 大脑服务器自动Nginx配置
...
根因: nginx-proxy-snippet.conf指向V1端口3802, 但V2订阅服务监听3803
修复:
- 新建nginx-brain-proxy-snippet.conf (V2·端口3803)
- deploy-brain-proxy.sh新增configure_nginx函数
- install/update操作自动配置Nginx反向代理
- 自动检测并修复3802→3803端口错误
- health_check新增Nginx反代检查
- 更新V1 snippet注释标明仅用于面孔服务器
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/2d8735f4-e1e5-40a4-afec-464aa2dbae9d
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 09:00:50 +00:00
zhuyuan-bot
19acad9982
📡 部署日志采集 · 23997603168 [skip ci]
2026-04-05 08:19:05 +00:00
冰朔
09574515aa
Merge pull request #283 from qinfendebingshuo/copilot/full-recovery-age-os-architecture
...
D57: ZY-CLOUD VPN活模块 + 铸渊专线V2多用户独立专线 + HLDP节点动态注册
2026-04-05 16:17:56 +08:00
copilot-swe-agent[bot]
bd58cf1b7b
D57: Address code review feedback - configurable timeouts, security fixes, dynamic specs
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/24c233b1-db72-4d9c-b668-22679479825b
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 08:12:16 +00:00
copilot-swe-agent[bot]
4fc20144c3
D57: ZY-CLOUD VPN living module v2 - HLDP dynamic node registration + VPN Worker
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/24c233b1-db72-4d9c-b668-22679479825b
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 08:09:01 +00:00
copilot-swe-agent[bot]
f26bb88872
D57: ZY-CLOUD VPN living module with 5 LivingModule interfaces
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/24c233b1-db72-4d9c-b668-22679479825b
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 08:03:55 +00:00
copilot-swe-agent[bot]
5abe4aa852
D57: Three-node smart routing + UUID sync to face server
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/24c233b1-db72-4d9c-b668-22679479825b
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 08:00:05 +00:00
copilot-swe-agent[bot]
eb7e05306f
D57: VPN V2 multi-user system with per-email isolation
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/24c233b1-db72-4d9c-b668-22679479825b
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 07:54:00 +00:00
copilot-swe-agent[bot]
1510725e4f
D57: Brain server init script + AGE OS deployment infrastructure
...
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/24c233b1-db72-4d9c-b668-22679479825b
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 07:46:18 +00:00
zhuyuan-bot
f8f841fadd
📡 部署日志采集 · 23996198107 [skip ci]
2026-04-05 06:45:47 +00:00
冰朔
7f819dabbd
Merge pull request #282 from qinfendebingshuo/copilot/evaluate-cloud-server-setup
...
D55-D56: HLDP v3.0 earth specification, team integration v3.0, brain server onboarding
2026-04-05 14:44:42 +08:00