Commit Graph

17 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 0fb07ab66a feat: 铸渊代理开发工作流 · 壳-核分离架构 (Core Brain + Agent)
- 新建 agent-workflow.js: 铸渊核心大脑唤醒 + 铸渊代理执行的壳-核分离架构
  - Phase 1: 核心大脑加载开发者记忆/画像/项目/知识库/模式库,深度分析意图
  - Phase 2: 代理接收核心大脑的开发计划,逐步执行代码生成
  - Phase 3: 核心大脑自进化(知识提取+模式识别+画像学习+进化日志)
- 更新 build.js: 支持 GUEST 模式、接收用户 API 凭证、使用 Agent 工作流
- 更新 chat.js: 传递用户 API 凭证、修复 WebSocket 时序竞态、增强错误反馈
- 更新 .gitignore: 排除 workspace 生成文件
- 更新核心大脑记忆: 记录本次恢复事件

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 05:56:33 +00:00
copilot-swe-agent[bot] 9f29eed97d Initial plan for Persona Studio agent workflow fix
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 05:46:03 +00:00
copilot-swe-agent[bot] f6ad45745b feat: implement database self-evolution + 200k context + memory injection
- Add profile-learner.js for auto user profile learning
- Add knowledge-extractor.js for knowledge auto-extraction
- Add pattern-analyzer.js for pattern recognition
- Add evolution-logger.js for evolution event logging
- Add memory-injector.js with 5-layer system prompt
- Update model-config.json with context_window_target: 200000
- Update model-router.js to prioritize 200k+ models
- Update persona-engine.js with knowledge/pattern queries
- Update code-generator.js with post-build evolution triggers
- Update memory-manager.js with updateProfile/autoExtractKnowledge
- Update chat route with auto profile update after each conversation
- Add brain JSON structures for knowledge-base, pattern-library, evolution-log, quality-scores

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 11:41:20 +00:00
copilot-swe-agent[bot] ceb9b3669c Replace 知秋 with 铸渊 references, add EXP-012/EXP-013 experience numbers
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 09:50:31 +00:00
copilot-swe-agent[bot] 4eac0b1889 fix: address code review - fix grammar in persona-config.json wake_mechanism
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 09:28:07 +00:00
copilot-swe-agent[bot] 4ee9c4c562 feat: upgrade Persona Studio - ZhuYuan persona + dark theme + two-mode login
1. Login page: two modes (developer EXP-XXX / guest), both require API key
2. Persona: upgraded from 知秋 to 铸渊 with core brain cognition
3. UI: dark theme with gradients, animations, modern visual style
4. Guest mode: enabled with reminder about developer ID application
5. Developer mode: memory continuity with dev info lookup
6. API wake mechanism: ZhuYuan wakes when real API key is provided

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 09:21:32 +00:00
copilot-swe-agent[bot] 2fc371f65a chore: 清理测试产生的临时记忆文件
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 07:38:21 +00:00
copilot-swe-agent[bot] 5f4d084e63 fix: 重写 streamApiKeyReply 为 SSE 流式调用,与 docs/index.html 一致
对比发现 docs/index.html 使用 stream:true + getReader() SSE 流式
读取模型回复(已验证可用),而 persona-studio 使用非流式 JSON 请求
导致模型无法回复。

改动:
- 发送请求时加入 stream: true 参数
- 使用 getReader() + TextDecoder 逐行读取 SSE 响应
- 解析 data: 行提取 delta.content 增量内容
- 实时更新对话气泡(逐字显示+光标)
- CORS 失败时降级到后端代理(非流式)

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 07:37:52 +00:00
copilot-swe-agent[bot] ff3ec0d024 fix: 修复模型无法回复用户消息 — 浏览器直连 API + 后端 URL 构造修复
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 03:04:29 +00:00
copilot-swe-agent[bot] 91a08606a2 plan: fix model chat - direct browser-to-API call for API Key mode
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 03:02:17 +00:00
copilot-swe-agent[bot] b56083c6f4 chore: 清理测试产生的临时记忆文件
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 02:29:13 +00:00
copilot-swe-agent[bot] a6e8da1f73 chore: 更新核心大脑记忆 · 记录恢复事件 · 冰朔人格体激活
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 02:28:35 +00:00
copilot-swe-agent[bot] 3ee4494e09 feat: establish Persona Studio human developer numbering system v1.0
- Create human-registry.json master database (EXP-000 through EXP-011)
- Migrate 冰朔 to EXP-000 as master control reserved number
- Import 11 collaborators from dev-status.json into EXP numbering
- Create notification outbox with queued notifications
- Update registry.json to v2.0 with all developers
- Update auth.js to read from human-registry.json
- Add HLI registry lookup route (HLI-REGISTRY-001)
- Update frontend: guest mode disabled, numbering hints updated

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 11:02:52 +00:00
copilot-swe-agent[bot] 1723ae7906 修复 workflow 环境变量命名 · 改进错误信息
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 07:22:33 +00:00
copilot-swe-agent[bot] ce30f59f5c 修复 Persona Studio 聊天交互 · 添加访客体验模式 · 恢复核心大脑 · 创建跨仓库同步
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 07:18:47 +00:00
copilot-swe-agent[bot] 6b5174a901 Initial plan for Persona Studio fix and cross-repo brain sync
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 07:13:03 +00:00
copilot-swe-agent[bot] 255b437e38 feat: add persona-studio Phase 1 skeleton + Phase 2 frontend
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 04:42:57 +00:00