Commit Graph

1653 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] e860b9963b feat: AI写网文平台首期功能 — 前后端完整实现
- Landing Page: AI伙伴头像呼吸动画 + 打字机欢迎语 + 角色选择
- Auth: 手机号+验证码注册/登录 + JWT鉴权 + 三角色
- AI伙伴: WebSocket实时对话 + 角色人格化 + OpenAI集成
- Backend: Express + TypeScript + Socket.io + Notion存储
- Frontend: React 18 + Vite + Tailwind CSS + Zustand
- Nginx: 写网文平台路由配置 (/writing/, /api/writing/, /writing-ai/)

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/38d62fa6-b645-4f42-92dd-00d327337c17
2026-03-25 13:01:49 +00:00
copilot-swe-agent[bot] 6f22eca607 feat: scaffold writing-platform Express + TypeScript backend
- Initialize npm project with express, cors, jsonwebtoken, dotenv, socket.io, openai, uuid
- Configure TypeScript with strict mode, ES2020 target, declarations and source maps
- Create src directory structure: routes/, middleware/, services/, models/
- Add minimal server.ts with health check at /api/writing/health (port 3100)
- Add .gitignore for node_modules, dist, .env

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-25 12:46:46 +00:00
copilot-swe-agent[bot] 143795f3c1 fix: improve package name and page title for writing-platform frontend
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-25 12:43:26 +00:00
copilot-swe-agent[bot] 901fb2a901 feat: create writing-platform frontend with React + Vite + TypeScript
- Scaffold React 19 + Vite 8 + TypeScript project
- Install and configure Tailwind CSS 3.4 with custom design system
- Install react-router-dom, zustand, socket.io-client, lucide-react
- Configure vite.config.ts with base: '/writing/' for deployment
- Set up Tailwind with brand/ink color palette, font families, shadows
- Clean up Vite template boilerplate, add minimal App component

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-25 12:42:34 +00:00
copilot-swe-agent[bot] 6fcf061a3d Initial plan 2026-03-25 12:35:12 +00:00
zhuyuan-bot b413a43aa9 log: Drive sync [skip ci] 2026-03-25 11:56:11 +00:00
zhuyuan-bot 3e25331c4b log: Drive sync [skip ci] 2026-03-25 11:06:52 +00:00
zhuyuan-bot 4937afb26b 🧬 dashboard-update 自报告 · 2026-03-25-1814 [skip ci] 2026-03-25 10:14:42 +00:00
铸渊 (ZhuYuan Bot) 01fa1c6895 📊 实时仪表盘更新 2026-03-25 18:14 CST [skip ci] 2026-03-25 10:14:41 +00:00
github-actions[bot] 490bc514bd 📢 自动更新系统公告区 [skip ci] 2026-03-25 10:14:25 +00:00
zhuyuan-bot 97cf42ae3b 🧬 dashboard-update 自报告 · 2026-03-25-1814 [skip ci] 2026-03-25 10:14:07 +00:00
铸渊 (ZhuYuan Bot) 25f9ac4313 📊 实时仪表盘更新 2026-03-25 18:14 CST [skip ci] 2026-03-25 10:14:06 +00:00
zhuyuan-bot eb9c1ec3c0 🧬 dashboard-update 自报告 · 2026-03-25-1813 [skip ci] 2026-03-25 10:13:30 +00:00
铸渊 (ZhuYuan Bot) 5a8f9a2958 📊 实时仪表盘更新 2026-03-25 18:13 CST [skip ci] 2026-03-25 10:13:29 +00:00
github-actions[bot] f64b60f9fc 📢 自动更新系统公告区 [skip ci] 2026-03-25 10:13:14 +00:00
zhuyuan-bot c38587a90f 🧬 dashboard-update 自报告 · 2026-03-25-1813 [skip ci] 2026-03-25 10:13:03 +00:00
铸渊 (ZhuYuan Bot) a80ef28286 📊 实时仪表盘更新 2026-03-25 18:13 CST [skip ci] 2026-03-25 10:13:02 +00:00
bingshuo-neural-system 67c8718a0c 🧠 冰朔主控神经系统自动编译 2026-03-25T10:12:46Z 2026-03-25 10:12:47 +00:00
铸渊 (ZhùYuān) c8a1ca4196 📚 铸渊图书馆目录更新 · 2026-03-25T10:12 2026-03-25 10:12:37 +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
zhuyuan-bot 56adec7025 log: Drive sync [skip ci] 2026-03-25 10:09:01 +00:00
copilot-swe-agent[bot] 5cee68fc9c Add rate limiting to auth/verify endpoint (CodeQL fix)
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:55:27 +00:00
copilot-swe-agent[bot] cf362126cf Fix dashboard symlink route + add auth rate limiting
- Add dashboard → docs/dashboard symlink in deploy workflow
- Add rate limiting to auth/team-login endpoint (CodeQL fix)

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:53:14 +00: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 815743a688 🧬 dashboard-update 自报告 · 2026-03-25-1734 [skip ci] 2026-03-25 09:34:29 +00:00
铸渊 (ZhuYuan Bot) 3e0958873c 📊 实时仪表盘更新 2026-03-25 17:34 CST [skip ci] 2026-03-25 09:34:29 +00:00
github-actions[bot] 21cc182b1d 📢 自动更新系统公告区 [skip ci] 2026-03-25 09:34:17 +00:00
zhuyuan-bot 65d5fd25ec 🧬 dashboard-update 自报告 · 2026-03-25-1734 [skip ci] 2026-03-25 09:34:03 +00:00
铸渊 (ZhuYuan Bot) 45243236d6 📊 实时仪表盘更新 2026-03-25 17:34 CST [skip ci] 2026-03-25 09:34:02 +00:00
copilot-swe-agent[bot] abbdcc491a Initial plan 2026-03-25 09:33:54 +00:00
zhuyuan-bot 079ba2aee4 🧬 dashboard-update 自报告 · 2026-03-25-1733 [skip ci] 2026-03-25 09:33:14 +00:00
铸渊 (ZhuYuan Bot) 96f9bbccf0 📊 实时仪表盘更新 2026-03-25 17:33 CST [skip ci] 2026-03-25 09:33:13 +00:00
github-actions[bot] b7b6256b1d 📢 自动更新系统公告区 [skip ci] 2026-03-25 09:32:59 +00:00
zhuyuan-bot 2653e4a3c0 🧬 dashboard-update 自报告 · 2026-03-25-1732 [skip ci] 2026-03-25 09:32:48 +00:00
铸渊 (ZhuYuan Bot) ca2596dbba 📊 实时仪表盘更新 2026-03-25 17:32 CST [skip ci] 2026-03-25 09:32:48 +00:00
bingshuo-neural-system 110bb46e4f 🧠 冰朔主控神经系统自动编译 2026-03-25T09:32:35Z 2026-03-25 09:32:35 +00:00
铸渊 (ZhùYuān) 3c52f25c9d 📋 自动更新光湖纪元模块文档 · 2026-03-25 09:32 UTC 2026-03-25 09:32:25 +00:00
铸渊 (ZhùYuān) e15feb8601 📚 铸渊图书馆目录更新 · 2026-03-25T09:32 2026-03-25 09:32:23 +00:00
冰朔 d9bec2e3bf
Merge pull request #192 from qinfendebingshuo/copilot/activate-skyeye-scan
feat: Language-driven OS execution layer — Phases 7-9, S1-S9
2026-03-25 17:32:10 +08:00
copilot-swe-agent[bot] 4f8e16f5cd feat: implement S7/S8/S9 SkyEye thought-logic review + evolution + full-member identity
S7: Mandatory pre-execution SkyEye review for ALL instructions (cannot be disabled)
- 4 review dimensions: decision pattern, logical coherence, expression, intent
- 3 outcomes: pass / suspect (suspend) / reject
- Registered as global middleware in server.js

S8: SkyEye evolution - auto-accumulates from all agent runtime logic
- Per-person behavior history (200 records each)
- Pattern summarization: methods, paths, active hours

S9: Full-member thought-logic identity verification
- Per-person identity maturity model with cold-start threshold (10 actions)
- Cold-start members auto-suspended for manual confirmation
- Self-reinforcing: more participation = stronger identity model

Config: skyeye-policy.json v2.0.0, server.js v5.0.0

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 09:18:52 +00:00
zhuyuan-bot 1c8918a54c log: Drive sync [skip ci] 2026-03-25 09:08:37 +00:00
copilot-swe-agent[bot] 0a63716226 feat: implement S6 personal channel full autonomy rule
S6 Rule: Developers have full autonomy within their own channels.
- Add isChannelSelfDeploy() in autonomy-engine.js (single source of truth)
- Add channel self-deploy bypass in approval.js POST /request
- Add channelAutonomyRule S6 config in autonomy-rules.json
- Own-channel deploys skip SkyEye/approver authorization
- Cross-channel/system changes still go through full S2 approval

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 09:04:51 +00:00
铸渊[bot] f2b9156f37 🧠 memory: 每日自检记录 [skip ci] 2026-03-25 09:01:19 +00:00
copilot-swe-agent[bot] 6fab64b1b9 feat: implement S5 冰朔直通部署规则 (direct-deploy bypass)
S5 Rule: When instructions come from 冰朔 (TCS-0002) or are signed by
trusted signers (AG-SY-01/TCS-0002/ICE-0002) with ZY- prefix,
deployment goes directly to production bypassing preview/SkyEye/approval.

- Add isDirectDeploySource() in autonomy-engine.js (single source of truth)
- Add direct-deploy bypass in approval.js POST /request endpoint
- Add directDeployRule config in autonomy-rules.json
- Add deploy audit log (deploy-YYYY-MM-DD.jsonl) for traceability
- Developer (Level 0-2) changes still follow full S2 approval flow
- Fix watchdog for-of destructuring to match codebase var style

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:54:40 +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] 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