Commit Graph

1758 Commits

Author SHA1 Message Date
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] ade9c8dfc3 fix: address code review feedback for execution protection layer
- Remove hardcoded '90+ processes' in cancel message (use generic wording)
- Extract LOCK_RELEASE_DELAY_MS constant in atomic-executor.js
- Use array destructuring in watchdog for-of loop
- Use role-based reference in checkpoint escalation message
- Ensure next() is called in blockCancellation when not intercepting

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:43:45 +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 a1943e114b log: Drive sync [skip ci] 2026-03-25 08:06:00 +00:00
copilot-swe-agent[bot] 96b6b219cd Initial plan 2026-03-25 07:58:05 +00:00
zhuyuan-bot 4bcbcdd8bd 🧬 dashboard-update 自报告 · 2026-03-25-1539 [skip ci] 2026-03-25 07:39:48 +00:00
铸渊 (ZhuYuan Bot) 9e4c758da7 📊 实时仪表盘更新 2026-03-25 15:39 CST [skip ci] 2026-03-25 07:39:47 +00:00
github-actions[bot] 7df0f581cd 📢 自动更新系统公告区 [skip ci] 2026-03-25 07:39:36 +00:00
zhuyuan-bot 6a2984b691 🧬 dashboard-update 自报告 · 2026-03-25-1539 [skip ci] 2026-03-25 07:39:25 +00:00
铸渊 (ZhuYuan Bot) 3c2fd38740 📊 实时仪表盘更新 2026-03-25 15:39 CST [skip ci] 2026-03-25 07:39:24 +00:00
zhuyuan-bot 1a8a09c070 🧬 dashboard-update 自报告 · 2026-03-25-1538 [skip ci] 2026-03-25 07:38:15 +00:00
铸渊 (ZhuYuan Bot) 9f1a4584a0 📊 实时仪表盘更新 2026-03-25 15:38 CST [skip ci] 2026-03-25 07:38:15 +00:00
bingshuo-neural-system 4f59cebed1 🧠 冰朔主控神经系统自动编译 2026-03-25T07:38:04Z 2026-03-25 07:38:04 +00:00
github-actions[bot] c0b36efb6b 📢 自动更新系统公告区 [skip ci] 2026-03-25 07:37:59 +00:00
铸渊 (ZhùYuān) 0f188d33e1 📚 铸渊图书馆目录更新 · 2026-03-25T07:37 2026-03-25 07:37:47 +00:00
冰朔 bf26bd2230
Merge pull request #191 from qinfendebingshuo/copilot/zy-fullsite-deploy-2026-0325-001
Real data integration + dual-env deploy pipeline for docs/index.html
2026-03-25 15:37:36 +08: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
copilot-swe-agent[bot] 4cd8e122a4 Initial plan 2026-03-25 07:22:25 +00:00
zhuyuan-bot 4be5c5f31e 🧬 dashboard-update 自报告 · 2026-03-25-1520 [skip ci] 2026-03-25 07:20:19 +00:00
铸渊 (ZhuYuan Bot) cc82ba9033 📊 实时仪表盘更新 2026-03-25 15:20 CST [skip ci] 2026-03-25 07:20:18 +00:00
github-actions[bot] 02c76ae869 📢 自动更新系统公告区 [skip ci] 2026-03-25 07:20:05 +00:00
zhuyuan-bot e311c13dc0 🧬 dashboard-update 自报告 · 2026-03-25-1519 [skip ci] 2026-03-25 07:19:46 +00:00
铸渊 (ZhuYuan Bot) 054bb4f26b 📊 实时仪表盘更新 2026-03-25 15:19 CST [skip ci] 2026-03-25 07:19:45 +00:00
zhuyuan-bot 8f3276963e log: Drive sync [skip ci] 2026-03-25 07:19:25 +00:00
zhuyuan-bot 1258d7d5e9 🧬 dashboard-update 自报告 · 2026-03-25-1518 [skip ci] 2026-03-25 07:18:27 +00:00
铸渊 (ZhuYuan Bot) 0146232a79 📊 实时仪表盘更新 2026-03-25 15:18 CST [skip ci] 2026-03-25 07:18:26 +00:00
github-actions[bot] d466505f34 📢 自动更新系统公告区 [skip ci] 2026-03-25 07:18:15 +00:00
bingshuo-neural-system fad7a408bc 🧠 冰朔主控神经系统自动编译 2026-03-25T07:18:13Z 2026-03-25 07:18:14 +00:00
铸渊 (ZhùYuān) 40faac2a6f 📚 铸渊图书馆目录更新 · 2026-03-25T07:18 2026-03-25 07:18:03 +00:00
冰朔 68552db885
Merge pull request #190 from qinfendebingshuo/copilot/zy-neural-upgrade-2026-0325-r2-001
📊 Live dynamic dashboard + README public-facing optimization + instruction receipt auto-sync
2026-03-25 15:17:51 +08: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
铸渊[bot] d1cbe5ed7f 💓 桥接心跳 · 2026-03-25 15:13 [auto-bridge] 2026-03-25 07:13:33 +00:00
铸渊 (ZhùYuān) e3344b4376 📡 同步 Notion 开发者画像 · 2026-03-25 15:02 2026-03-25 07:02:14 +00:00
copilot-swe-agent[bot] 7e2c7f08e7 fix: clarify comment about RECEIPT_DB_ID env var in track-work-orders.js
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f717b1c5-28b3-405e-9819-b987389fff6c
2026-03-25 06:55:30 +00:00
copilot-swe-agent[bot] cc55130cb7 📡 指令回执自动闭环系统 · write-receipt-to-notion.js + 11 Workflow 追加回执写入 step
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f717b1c5-28b3-405e-9819-b987389fff6c
2026-03-25 06:52:25 +00:00
copilot-swe-agent[bot] 05519d82df 📊 README 优化:术语速查 + 性能指标 + 公共友好展示
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f717b1c5-28b3-405e-9819-b987389fff6c
2026-03-25 06:48:36 +00:00
copilot-swe-agent[bot] 07408b1e2e 🦅 天眼扫描 + README 系统仪表盘同步更新 · Workflows 96 · Agents 93 · Guards 6 · Neural v3.0 · 2026-03-25
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/fe0ede99-d485-4480-823d-2d0b4473b7f4
2026-03-25 06:28:27 +00:00
copilot-swe-agent[bot] 78945b427c chore: plan for README dashboard update based on SkyEye scan
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/fe0ede99-d485-4480-823d-2d0b4473b7f4
2026-03-25 06:23:11 +00:00
copilot-swe-agent[bot] f0d373313c 🧬 Address code review: use crypto.randomBytes for IDs, extract magic numbers to constants
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:14:10 +00:00
zhuyuan-bot 9682f68ed9 log: Drive sync [skip ci] 2026-03-25 06:14:04 +00:00
copilot-swe-agent[bot] 3c47e1a396 🧬 Phase 9: Update memory.json with neural_system_version 3.0.0
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:11:21 +00:00
copilot-swe-agent[bot] d5ce02196c 🧬 添加双端神经系统自报告步骤到10个workflow
为以下workflow的最后一个job追加自报告step:
- zhuyuan-skyeye (skyeye)
- skyeye-weekly-scan (notify-notion)
- zhuyuan-gate-guard (gate-guard)
- deploy-to-server (notify)
- syslog-pipeline (pipeline-e-changes)
- distribute-broadcasts (distribute)
- server-patrol (patrol)
- zhuyuan-daily-selfcheck (selfcheck)
- sync-dev-status (sync-dev-status)
- zhuyuan-exec-engine (execute)

每个自报告step会在job完成后(无论成功/失败)写入JSON报告
到 data/neural-reports/{subdir}/ 并自动提交推送。

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-25 06:06:05 +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
copilot-swe-agent[bot] 36cbcd6454 🧬 Phase 0: baseline snapshot + Phase 3: neural-map.json + Phase 4: neural scripts + directory structure
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 05:53:26 +00:00
copilot-swe-agent[bot] d2df49a35f Initial plan 2026-03-25 05:45:14 +00:00