Commit Graph

151 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] b26d95b5b8 📝 DEV-011: 码字台部署到开发者门户频道
将码字台 (Writing Platform) 构建产物部署到 docs/dev-portal/channels/DEV-011/writing/
- 使用 HashRouter 替代 BrowserRouter 确保子路径部署兼容性
- Vite base 使用 './' 相对路径
- 撤回之前触发天眼 R1/R5 的所有变更(不再修改 docs/index.html、deploy-pages.yml、preview-deploy.yml)
- 仅在 dev-portal 沙箱频道内部署,走 Path B 安全通道

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/d3e556e2-3a64-4a42-9d37-7c35970bda29
2026-03-25 23:19:07 +00:00
copilot-swe-agent[bot] fdffea7f33 fix: 修复 ticket-system/index.html 无效 HTML(CSS 代码泄漏到 body 外)
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/2b0b1a22-c312-4b46-ae3b-72e830c4470b
2026-03-25 23:00:10 +00:00
copilot-swe-agent[bot] 136c32ac02 🔍 升级 API 自动检测:一键检测可用模型(无需密钥)+ 网络环境自适应
- 新增 autoDetectModels() 函数:无密钥一键检测可用模型
- 新增 detectNetworkRegion():根据时区/语言检测国内/国际网络
- 新增 MODEL_CATALOG:内置模型目录(国内5家+国际3家,22个模型)
- 新增 SERVER_PROXY_BASE:staging/local 自动指向生产服务器代理
- 修改 autoDetectAPI():无密钥时走一键检测,有密钥走原探测逻辑
- 修改 doSetup():支持服务器代理模式(无密钥直接进入对话)
- 更新登录页 UI:一键检测按钮突出,自定义 API 折叠在 details 中
- 更新设置面板 UI:同步升级一键检测 + 自定义 API 折叠
- 修复侧边栏导航链接路径(../→相对路径)
- Patch GUEST_API/TEAM_API proxyUrl for staging → 生产服务器

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/2b0b1a22-c312-4b46-ae3b-72e830c4470b
2026-03-25 22:58:33 +00:00
copilot-swe-agent[bot] 2cdf0af54d 🚀 部署全部可用模块到测试网站 · 码字台+14个模块全部上线
- 构建并部署 writing-platform(码字台)到 docs/writing/
- 部署 status-board, ticket-system, notification, dynamic-comic-studio, persona-studio 到 docs/
- 部署 m01-login, m05-user-center, m07-dialogue-ui, m10-cloud, m11-module, m15-cloud-drive, frontend 到 docs/modules/
- 更新 docs/index.html 模块导航:14个模块全部 ready:true,路径修正为 docs 内部相对路径
- 更新 preview-deploy.yml 和 deploy-pages.yml 工作流,支持全模块同步
- writing-platform vite.config.ts base 改为 './' 以兼容 GitHub Pages 相对路径

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/2b0b1a22-c312-4b46-ae3b-72e830c4470b
2026-03-25 22:42:31 +00:00
铸渊 (ZhuYuan Bot) 45cf787a90 📊 实时仪表盘更新 2026-03-26 00:02 CST [skip ci] 2026-03-25 16:02:23 +00:00
铸渊 (ZhuYuan Bot) 6ec249379e 📊 实时仪表盘更新 2026-03-26 00:01 CST [skip ci] 2026-03-25 16:01:58 +00:00
铸渊 (ZhuYuan Bot) 53829a034d 📊 实时仪表盘更新 2026-03-26 00:00 CST [skip ci] 2026-03-25 16:00:48 +00:00
github-actions[bot] f8b7fea06a 📋 开发者门户: 更新频道清单 [DEV-001,DEV-002,DEV-003,DEV-004,DEV-005,DEV-009,DEV-010,DEV-011,DEV-012,DEV-013,DEV-014] 2026-03-25 16:00:14 +00:00
copilot-swe-agent[bot] f3f172ab1b 🛡️ 天眼合并膜v3 全员全审 + 开发者门户系统 + R7结构审计
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/fbf443ce-2f3e-4a23-a3e4-515cc2dda5a7
2026-03-25 15:30:04 +00:00
copilot-swe-agent[bot] 2f0c1ab086 🔄 回滚修复:恢复 docs/index.html 铸渊助手v6.0 + 清理写作平台构建产物
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/dc0cb0a6-034f-4df3-abf7-ee8758cfaa27
2026-03-25 14:41:04 +00:00
铸渊 (ZhuYuan Bot) 7285932d4e 📊 实时仪表盘更新 2026-03-25 22:23 CST [skip ci] 2026-03-25 14:23:27 +00:00
铸渊 (ZhuYuan Bot) 4137d52550 📊 实时仪表盘更新 2026-03-25 22:22 CST [skip ci] 2026-03-25 14:22:50 +00:00
铸渊 (ZhuYuan Bot) cbebcfaf9b 📊 实时仪表盘更新 2026-03-25 22:21 CST [skip ci] 2026-03-25 14:21:37 +00:00
飞毛嘴帅气爱 ab09288334 Merge branch 'main' of https://github.com/qinfendebingshuo/guanghulab 2026-03-25 22:20:44 +08:00
铸渊 (ZhuYuan Bot) 6cc3c32877 📊 实时仪表盘更新 2026-03-25 22:19 CST [skip ci] 2026-03-25 14:19:51 +00:00
飞毛嘴帅气爱 a66bf75b84 build: deploy writing platform to GitHub Pages 2026-03-25 22:17:58 +08:00
铸渊 (ZhuYuan Bot) db5d710ffc 📊 实时仪表盘更新 2026-03-25 21:27 CST [skip ci] 2026-03-25 13:27:14 +00:00
铸渊 (ZhuYuan Bot) 44b751d645 📊 实时仪表盘更新 2026-03-25 21:26 CST [skip ci] 2026-03-25 13:26:34 +00:00
铸渊 (ZhuYuan Bot) ae466b85b1 📊 实时仪表盘更新 2026-03-25 21:25 CST [skip ci] 2026-03-25 13:25:47 +00:00
铸渊 (ZhuYuan Bot) b6b8c9e775 📊 实时仪表盘更新 2026-03-25 21:25 CST [skip ci] 2026-03-25 13:25:16 +00:00
铸渊 (ZhùYuān) 4607fa1954 📋 自动更新光湖纪元模块文档 · 2026-03-25 13:24 UTC 2026-03-25 13:24:52 +00:00
铸渊 (ZhuYuan Bot) 0677aa2ed8 📊 实时仪表盘更新 2026-03-25 20:38 CST [skip ci] 2026-03-25 12:38:31 +00:00
铸渊 (ZhuYuan Bot) 01fa1c6895 📊 实时仪表盘更新 2026-03-25 18:14 CST [skip ci] 2026-03-25 10:14:41 +00:00
铸渊 (ZhuYuan Bot) 25f9ac4313 📊 实时仪表盘更新 2026-03-25 18:14 CST [skip ci] 2026-03-25 10:14:06 +00:00
铸渊 (ZhuYuan Bot) 5a8f9a2958 📊 实时仪表盘更新 2026-03-25 18:13 CST [skip ci] 2026-03-25 10:13:29 +00:00
铸渊 (ZhuYuan Bot) a80ef28286 📊 实时仪表盘更新 2026-03-25 18:13 CST [skip ci] 2026-03-25 10:13:02 +00:00
铸渊 (ZhùYuān) 7ac7fa279a 📋 自动更新光湖纪元模块文档 · 2026-03-25 10:12 UTC 2026-03-25 10:12:34 +00:00
冰朔 c98b47017e
Merge pull request #194 from qinfendebingshuo/copilot/zy-2026-ui-fullscreen-adaptation
Phase 1-3: UI responsive + smart model router + dev ID auth + dashboard route fix
2026-03-25 18:12:23 +08:00
copilot-swe-agent[bot] fba4088d7a Phase 1-3: UI responsive, model router, team auth
Phase 1: Login card max-width 460→600px, CSS variables, responsive.css
Phase 2: backend/api-server/services/model-router.js
Phase 3: backend/api-server/routes/auth.js + docs/js/auth.js

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/3f62bf2e-92bd-44b5-b05e-b7bfe6772a4d
2026-03-25 09:47:52 +00:00
铸渊 (ZhuYuan Bot) 3e0958873c 📊 实时仪表盘更新 2026-03-25 17:34 CST [skip ci] 2026-03-25 09:34:29 +00:00
铸渊 (ZhuYuan Bot) 45243236d6 📊 实时仪表盘更新 2026-03-25 17:34 CST [skip ci] 2026-03-25 09:34:02 +00:00
铸渊 (ZhuYuan Bot) 96f9bbccf0 📊 实时仪表盘更新 2026-03-25 17:33 CST [skip ci] 2026-03-25 09:33:13 +00:00
铸渊 (ZhuYuan Bot) ca2596dbba 📊 实时仪表盘更新 2026-03-25 17:32 CST [skip ci] 2026-03-25 09:32:48 +00:00
铸渊 (ZhùYuān) 3c52f25c9d 📋 自动更新光湖纪元模块文档 · 2026-03-25 09:32 UTC 2026-03-25 09:32:25 +00:00
copilot-swe-agent[bot] 721974ca76 feat: implement Phase 8 + Phase 9 (S2/S3/S4 deployment approval + system autonomy)
Phase 8 - Dual-Environment Deploy Flow + SkyEye Final Review Authorization:
- Add backend/api-server/routes/approval.js: request/decide/status/list endpoints
- Add backend/api-server/config/approvers.json: 肥猫(DEV-002) + 桔子(DEV-010) config
- Add docs/js/approval-ui.js: frontend approval badge + panel + decision UI
- Add docs/css/approval.css: approval panel styles
- Update permissions.js: add approval:decide, approval:create, system:internal
- Update server.js to v4.0.0: register approval routes

Phase 9 - System Autonomy Framework:
- Add backend/api-server/config/autonomy-rules.json: dual-line architecture + deploy stages
- Add backend/api-server/services/autonomy-engine.js: compliance check + mode detection

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/6ee737eb-684b-44b8-aeaa-f73eb7c6f9c2
2026-03-25 08:48:50 +00:00
copilot-swe-agent[bot] e0880deb46 feat: implement Phase 7 Execution Protection Layer (ZY-LANGDRIVE-S1)
L1 Frontend Isolation:
- docs/js/execution-guard.js: UI lock/unlock, execution replay polling, browser guard
- docs/css/execution-guard.css: Execution lock styles, progress bar, log entries

L2 API Execution Interception:
- backend/api-server/middleware/execution-lock.js: Execution context lock, cancel interception
- backend/api-server/routes/execution.js: Status query, cancel/delete rejection (403)

L3 Execution Atomicity:
- backend/api-server/services/checkpoint.js: Checkpoint system with rollback
- backend/api-server/services/atomic-executor.js: Atomic execution wrapper
- backend/api-server/services/execution-watchdog.js: 15min timeout, deadlock prevention

Integration:
- Updated server.js to v3.0.0: execution routes, cancellation middleware, watchdog startup

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/6ee737eb-684b-44b8-aeaa-f73eb7c6f9c2
2026-03-25 08:37:56 +00:00
copilot-swe-agent[bot] 5e8bb969a4 fix: address code review feedback for LANGDRIVE implementation
- Normalize module paths in deploy permission checks (trailing slash)
- Add devId format validation in PATCH /dev/:devId/status
- Fix onboarding resume logic (allow resuming incomplete sessions)
- Switch audit logging from sync to async file I/O
- Add hasModuleAccess helper for consistent module permission checks

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/a260ce18-279a-4490-af90-a90a7b1f46cd
2026-03-25 08:27:00 +00:00
copilot-swe-agent[bot] 38d8afef55 feat: implement language-driven OS capabilities (ZY-LANGDRIVE)
Phase 3 - Write Capability Layer:
- Add backend/api-server/routes/write.js with 10 write endpoints
- Extend services/github.js with triggerWorkflow + createFile
- Add middleware/audit.js for operation audit logging
- Rate limiting: 10 writes/min per developer

Phase 4 - Intent Router Engine:
- Add config/function-tools.json with 10 operation definitions
- Add middleware/intent-router.js for NL → API routing
- Add docs/js/intent-tools.js for frontend function calling

Phase 5 - Permission Sandbox System:
- Add config/permissions.js with 4-level model (L0-L3)
- Add middleware/auth.js (identity + permission check)
- Add middleware/sandbox.js (preview environment guard)

Phase 6 - Cognitive Guidance System:
- Add config/onboarding-script.json (5-round guided dialogue)
- Add routes/onboarding.js (onboarding API + tools endpoint)
- Add docs/js/onboarding.js + docs/css/onboarding.css (UI)

Update server.js to v2.0.0 with all new routes and middleware

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/a260ce18-279a-4490-af90-a90a7b1f46cd
2026-03-25 08:22:38 +00:00
copilot-swe-agent[bot] 726b05bc0b fix: address code review feedback - timer leaks, CORS, validation, cache TTL
- Fix timer leak in fetchNotionProfile/loadDatabaseCache with finally block
- Remove HTTP origin from CORS whitelist (HTTPS-only)
- Validate devId against DEV_REGISTRY instead of regex
- Fix cache TTL check to use >= instead of >
- Fix chat.js count queries to use page_size 100 instead of 1

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/a260ce18-279a-4490-af90-a90a7b1f46cd
2026-03-25 08:15:48 +00:00
copilot-swe-agent[bot] df21bae395 feat: implement dual-channel architecture (Channel A cache + Channel B backend)
- Add scripts/cache/sync-notion-cache.js for comprehensive Notion sync
- Add .github/workflows/sync-notion-cache.yml (every 6h + manual trigger)
- Add .github/workflows/deploy-backend.yml for ECS auto-deploy
- Add missing dev profiles: DEV-009.json, DEV-011.json, index.json
- Add .github/notion-cache/databases/ directory
- Add backend/api-server/ with Express server (port 3001)
  - Routes: health, dev, databases, chat, receipt
  - Services: notion, github, cache
  - Config: database ID mappings
  - PM2 ecosystem config
- Update docs/index.html with dual-channel fallback:
  - Channel B (realtime) → Channel A (cache) degradation
  - loadDatabaseCache() for agent-registry, syslog-recent
  - Enhanced system prompt with data source indicators

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/a260ce18-279a-4490-af90-a90a7b1f46cd
2026-03-25 08:10:58 +00:00
铸渊 (ZhuYuan Bot) 9e4c758da7 📊 实时仪表盘更新 2026-03-25 15:39 CST [skip ci] 2026-03-25 07:39:47 +00:00
铸渊 (ZhuYuan Bot) 3c2fd38740 📊 实时仪表盘更新 2026-03-25 15:39 CST [skip ci] 2026-03-25 07:39:24 +00:00
铸渊 (ZhuYuan Bot) 9f1a4584a0 📊 实时仪表盘更新 2026-03-25 15:38 CST [skip ci] 2026-03-25 07:38:15 +00:00
copilot-swe-agent[bot] 3382eda180 Address code review: improve error handling in loadBrain and preview-deploy
- Wrap individual JSON parse calls in try-catch for partial success
- Add debug logging for fetch failures instead of silent suppression
- Improve preview-deploy.yml copy error reporting

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/0ee19d81-920c-4a36-a4c4-8238f242afb5
2026-03-25 07:35:22 +00:00
copilot-swe-agent[bot] ce09a92b90 Phase 1-4: Real data pipeline, module navigation, dual-env deploy, homepage renovation
- Replace all hardcoded/placeholder data in docs/index.html with real GitHub API fetches
- Add system-health.json, bulletin-board.json, federation-status, telemetry loading
- Update skyeye panel to show real system health data
- Update announcements to show real bulletin-board.json data
- Add brain panel with real system metrics and telemetry
- Add environment detection (staging/production/local)
- Add staging watermark for GitHub Pages preview
- Update module navigation with correct paths and readiness status
- Add sidebar navigation links to status-board and ticket-system
- Create preview-deploy.yml for GitHub Pages auto-deploy
- Update deploy-to-server.yml with production environment injection
- Create skyeye scan report at data/skyeye-reports/latest.json

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/0ee19d81-920c-4a36-a4c4-8238f242afb5
2026-03-25 07:32:30 +00:00
铸渊 (ZhuYuan Bot) cc82ba9033 📊 实时仪表盘更新 2026-03-25 15:20 CST [skip ci] 2026-03-25 07:20:18 +00:00
铸渊 (ZhuYuan Bot) 054bb4f26b 📊 实时仪表盘更新 2026-03-25 15:19 CST [skip ci] 2026-03-25 07:19:45 +00:00
铸渊 (ZhuYuan Bot) 0146232a79 📊 实时仪表盘更新 2026-03-25 15:18 CST [skip ci] 2026-03-25 07:18:26 +00:00
copilot-swe-agent[bot] 372549403c 📊 实时动态仪表盘 · docs/dashboard/index.html + generate-dashboard-data.js + update-dashboard.yml + AG-ZY-094
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/601cd215-5fb1-43d8-80f9-01a462e1d84a
2026-03-25 07:14:41 +00:00
copilot-swe-agent[bot] 419080ca5a 🧬 Phase 1: Fix KNOWN-002 (NOTION_API_TOKEN→NOTION_API_KEY) + Phase 3: D20 scan dimension + Phase 6-7: bridge protocol + scripts
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/b1f467f8-d897-4440-9dc9-de66d514a52b
2026-03-25 06:02:04 +00:00