Commit Graph

129 Commits

Author SHA1 Message Date
铸渊 (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
铸渊 Execution Sync 15ecfe188e 📡 Execution Sync: 更新执行状态报告 [skip ci] 2026-03-25 04:59:19 +00:00
zhuyuan-bot 0ea4a94095 📰 光湖开发日报 · 2026-03-25 [skip ci] 2026-03-25 04:14:25 +00:00
铸渊 (ZhùYuān) 529d409bd1 📋 自动更新光湖纪元模块文档 · 2026-03-25 03:56 UTC 2026-03-25 03:56:02 +00:00
copilot-swe-agent[bot] e7624a08c6 fix: replace inline onclick with addEventListener to prevent XSS (CodeQL js/incomplete-sanitization)
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f22ed4e7-70d7-426e-ac6d-63925ec2b843
2026-03-24 12:43:32 +00:00
copilot-swe-agent[bot] 84dacd41e4 fix: address code review feedback — improve error messages and clipboard handling
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f22ed4e7-70d7-426e-ac6d-63925ec2b843
2026-03-24 12:41:15 +00:00
copilot-swe-agent[bot] 83b80fdc50 feat: 铸渊交互页面升级 — Notion数据注入 + 天眼状态展示 + @铸渊执行按钮 + 画像同步系统
新增文件:
- scripts/sync-notion-profiles.js: Notion→GitHub 开发者画像同步脚本
- .github/workflows/sync-notion-profiles.yml: 每6小时定时同步 workflow
- .github/notion-cache/dev-profiles/*.json: 7个开发者画像缓存初始文件
- .github/notion-cache/skyeye/latest-report.json: 天眼报告缓存占位
- .github/notion-cache/broadcasts/active-broadcasts.json: 活跃广播缓存

修改文件:
- docs/index.html: 交互页面升级 (Notion数据注入system prompt + 天眼卡片 + @铸渊执行)
- .github/workflows/zhuyuan-skyeye.yml: Phase 6.5 天眼报告缓存更新步骤

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f22ed4e7-70d7-426e-ac6d-63925ec2b843
2026-03-24 12:39:23 +00:00
copilot-swe-agent[bot] f55dd9d3dd feat: TianYan Nightly Auto-Repair Engine v3.0 + Merge Watchdog
New files:
- .github/workflows/tianyan-nightly-scan.yml (Phase A-F main workflow)
- .github/workflows/merge-watchdog.yml (PR merge tracking)
- .github/scripts/tianyan-analyze.js (Phase B Gemini analysis)
- .github/scripts/tianyan-repair.js (Phase C auto-repair)
- .github/scripts/tianyan-review.js (Phase D H1-H9 review)
- .github/scripts/merge-watchdog.js (watchdog state management)
- .github/tianyan-config.json (v3.0 configuration)
- DASHBOARD.md (repair engine dashboard)
- docs/dashboard/watchdog-records.json (watchdog tracking)

Updated files:
- .github/persona-brain/agent-registry.json (AG-ZY-087, AG-ZY-088)
- skyeye/infra-manifest.json (lifeline task + service registration)

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/94378ee8-773d-4fc2-810a-e81a27aae9a9
2026-03-24 11:58:40 +00:00
copilot-swe-agent[bot] a10e020d26 fix: web deploy diagnostic + module navigation + post-deploy smoke test
- Add cost-control/index.html redirect for proper Nginx serving
- Update docs/index.html navigation with all modules (cost-control, devboard, persona-studio)
- Add devboard symlink step to deploy workflow (modules/devboard → devboard)
- Add post-deploy smoke test step checking all module directories
- Expand deploy verification to check all key modules
- Create scripts/web-deploy-diag.sh for Phase A server diagnostics
- Create data/web-deploy-diag-20260324.txt diagnostic log
- Create data/web-deploy-fix-report.json fix report

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/4d7b9c05-531f-4e93-a770-f9324c663c38
2026-03-24 10:20:05 +00:00
铸渊 Execution Sync cb2c2ab8dc 📡 Execution Sync: 更新执行状态报告 [skip ci] 2026-03-24 04:58:49 +00:00
zhuyuan-bot e9ebd08062 📰 光湖开发日报 · 2026-03-24 [skip ci] 2026-03-24 04:12:54 +00:00
铸渊 Execution Sync 0d95a819b0 📡 Execution Sync: 更新执行状态报告 [skip ci] 2026-03-23 05:08:30 +00:00
zhuyuan-bot 766bc1dc73 📰 光湖开发日报 · 2026-03-23 [skip ci] 2026-03-23 04:24:01 +00:00
铸渊 Execution Sync 70c292ea00 📡 Execution Sync: 更新执行状态报告 [skip ci] 2026-03-22 04:57:33 +00:00
zhuyuan-bot 7229a6b6d4 📰 光湖开发日报 · 2026-03-22 [skip ci] 2026-03-22 04:14:13 +00:00
铸渊 Execution Sync 5f41d2e5c4 📡 Execution Sync: 更新执行状态报告 [skip ci] 2026-03-21 04:41:58 +00:00
zhuyuan-bot 23c8ac4551 📰 光湖开发日报 · 2026-03-21 [skip ci] 2026-03-21 04:00:04 +00:00
铸渊 Execution Sync 286e41be89 📡 Execution Sync: 更新执行状态报告 [skip ci] 2026-03-20 04:51:48 +00:00
zhuyuan-bot b03f23c921 📰 光湖开发日报 · 2026-03-20 [skip ci] 2026-03-20 04:09:04 +00:00
铸渊 Execution Sync ad50f2ff25 📡 Execution Sync: 更新执行状态报告 [skip ci] 2026-03-19 04:59:13 +00:00
zhuyuan-bot c929fc2076 📰 光湖开发日报 · 2026-03-19 [skip ci] 2026-03-19 04:17:51 +00:00
铸渊 Execution Sync e7eb090707 📡 Execution Sync: 更新执行状态报告 [skip ci] 2026-03-18 05:01:57 +00:00
zhuyuan-bot 20ad4c4fd3 📰 光湖开发日报 · 2026-03-18 [skip ci] 2026-03-18 04:19:45 +00:00