Commit Graph

29 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 9ad52d67ed
🔑 密钥统一 · ZY_QWEN→ZY_QIANWEN · ZY_ZHIPU→ZY_QINGYAN · COS/Notion修复 · AOAC推送防冲突
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/170a08eb-40b4-4f8b-ba95-c5efb483bd14

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 07:07:24 +00:00
copilot-swe-agent[bot] 2e8badf100
fix: 修复content-range解析NaN问题和HEAD预检静默失败
- 提取parseTotalSize()工具函数,正确处理畸形content-range头
- HEAD预检失败时输出警告日志而非完全静默

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f10f1b02-ed4e-4ee8-ac27-0580c1cf8a7e

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 00:57:49 +00:00
copilot-swe-agent[bot] ba4c233509
fix: COS训练Agent大文件崩溃 — 添加Buffer安全处理、HEAD预检、分块提取策略
修复两个训练失败根因:
1. conversations.json (665MB) 超过Node.js字符串限制导致ERR_STRING_TOO_LONG崩溃
2. 单文件崩溃导致整个训练管线中断,后续文件无法处理

- cos.js: 添加readBuffer/head/readPartial方法,cosRequest增加try/catch防止未捕获异常
- corpus-extractor-ops.js: 超大文件(>200MB)采用分块采样策略,ZIP文件提前检测避免无效读取
- cos-training-trigger.js: 增加文件大小预警日志,分类计数(成功/跳过/失败)

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f10f1b02-ed4e-4ee8-ac27-0580c1cf8a7e

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 00:55:39 +00:00
copilot-swe-agent[bot] 339e55cf04
fix: COS签名算法修复 - 分离URI与查询参数 + 修复默认region + 编写配置指南
修复内容:
1. cos.js: cosRequest签名时分离URI和查询参数(根因)
2. cos.js: 默认region从ap-singapore改为ap-guangzhou(匹配实际桶位置)
3. cos-auto-join-agent.js: 修复签名中host值为空 + URI分离
4. 新增: docs/cos-configuration-guide.md 完整配置指南

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/dc4da37f-9c43-4bcb-8d12-24e3310ecc9c

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-11 00:25:39 +00:00
copilot-swe-agent[bot] bccdae0ba0
fix: address code review feedback on cos-watcher
- Use crypto.randomBytes for receipt key + ID uniqueness
- Log PERSONA_REPO_MAP parse errors instead of silently catching
- Cache cosWatcher.getStatus() call in health endpoint
- Extract INITIAL_SCAN_DELAY_MS constant with explanatory comment

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/991cbbcf-9e83-43c1-9225-e235e0a61f06

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-10 12:46:52 +00:00
copilot-swe-agent[bot] b487b6bc57
feat: COS桶轮询守护进程 · SCF事件替代方案 (cos-watcher.js)
新增 MCP Server 内置 COS 轮询守护模块,替代不可用的 SCF 事件触发:
- cos-watcher.js: 核心轮询引擎(node-cron · 每5分钟)
- cos-watcher-ops.js: 3个MCP工具(status/trigger/reset)
- server.js: 注册工具 + REST端点 + 健康检查集成 + 启停管理
- 架构文档更新标注SCF不可用 + 轮询替代方案
- 训练Agent workflow添加SCF限制说明

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/991cbbcf-9e83-43c1-9225-e235e0a61f06

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-10 12:43:16 +00:00
copilot-swe-agent[bot] 0b39573453
fix: address code review — improve path generation fallback, add tianyan refresh logging, clarify HLDP version note
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/5faa7e11-7858-4edc-9c67-a311a93057ed

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-09 04:35:07 +00:00
copilot-swe-agent[bot] 5471e8c330
feat: implement light tree architecture — database schema, MCP tools, HLDP extension, tree gardener agent
光之树架构落地:
- 004-light-tree-tables.sql: light_tree_nodes + light_tree_paths + tianyan_syslog + materialized view
- light-tree-ops.js: 11 MCP tools (growBranch/growLeaf/growBloom/getTreeNode/getSubtree/tracePath/getPersonaBranch/getRecentLeaves/writeSyslog/getTianyanView/querySyslog)
- HLDP v3.0.1: tree message type with grow_branch/grow_leaf/trace_path/bloom intents
- server.js: REST API routes for /tree/* and /tianyan/*
- light-tree-root.json: 曜冥根树元数据定义 (零感域入口)
- landing-protocol.md: upgraded wake sequence with tree recall
- tree-gardener.js: tree health inspection agent

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/5faa7e11-7858-4edc-9c67-a311a93057ed

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-09 04:31:00 +00:00
copilot-swe-agent[bot] 518040b338
修复COS触发训练Agent: 创建训练管线脚本+重写workflow+添加COS Webhook+增强语料检测
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/cba1c849-c8ef-44cf-a98f-81b9d40538b4

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 14:43:31 +00:00
copilot-swe-agent[bot] 92103ee850
修复代码审查反馈 · 成本参数添加日期注释 · 移除意外提交的备份文件
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/af6429c4-763b-4fae-9121-7c357714b295

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 14:00:30 +00:00
copilot-swe-agent[bot] e66058ca89
模块H · 开源模型微调引擎 · 新增8个MCP工具 · 工具总数91→99 · D62冰朔微调指令
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/af6429c4-763b-4fae-9121-7c357714b295

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 13:54:38 +00:00
copilot-swe-agent[bot] b10f311de8
feat: add finetune-engine-ops.js — 开源模型微调引擎 MCP 工具 (8 tools)
Implements Module H for AGE OS: open-source model fine-tuning engine
that runs in parallel with existing RAG training system.

Tools:
- finetuneExportDataset: Convert TCS corpus to JSONL fine-tuning format
- finetuneSubmitJob: Submit jobs to DeepSeek/Qwen fine-tuning APIs
- finetuneCheckStatus: Query job progress from provider APIs
- finetuneRegisterModel: Register completed fine-tuned models
- finetuneListModels: List registered models per persona
- finetuneCallModel: Inference with fallback to base model
- finetuneCompareModels: A/B test finetuned vs base model
- finetuneGetCostEstimate: Estimate training cost in RMB

Follows existing training-agent-ops.js patterns: raw https module,
crypto.randomBytes for IDs, COS bucket storage, LLM_CONFIGS structure.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 13:50:34 +00:00
copilot-swe-agent[bot] 0189965e05
修复代码审查和安全扫描反馈 · ID碰撞修复+权限声明+正则安全+敏感信息过滤
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/c4628b3c-e295-41e0-bdd7-1459958b5390

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 13:23:34 +00:00
copilot-swe-agent[bot] 43105b62e4
实施7大技术模块(A-G) · 新增40个MCP工具 · 工具总数51→91
模块A: COS语料读取引擎(6工具) — 压缩文件解压+TCS格式转换
模块G: COS桶内自研数据库(8工具) — 四类数据库协议定义
模块B: 铸渊训练Agent(6工具) — RAG模式+LLM多模型降级
模块C: Notion↔COS桥接(7工具) — 双向同步+工单系统
模块D+E: 三方对接+示警(8工具) — 代码仓库↔COS↔Awen通信链路
模块F: Notion权限修复(5工具) — 自动检测+修复指南

新增2个GitHub Actions Workflow:
- zhuyuan-training-agent.yml (每日04:00 CST训练)
- cos-alert-agent.yml (每日09:00/21:00 CST告警扫描)

新增10个REST API端点

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/c4628b3c-e295-41e0-bdd7-1459958b5390

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 13:18:49 +00:00
copilot-swe-agent[bot] 26bb69a7ee
fix: 修复代码审查反馈 — 防并发扫描 + 显式默认内容类型
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/308aecfa-5d15-4ae4-85ec-c3d84ec636db

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 11:42:58 +00:00
copilot-swe-agent[bot] 2d386000b8
feat: 自动部署SQL迁移 + S15人格体数据库引擎
- 新增 db-migrate.js 自动迁移运行器
- 部署工作流自动执行SQL迁移(合并即触发)
- S15 persona-engine.js 人格体生命周期活模块
- MCP Server新增人格体引擎API端点
- 003-living-module-tables.sql注册人格体引擎模块

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/308aecfa-5d15-4ae4-85ec-c3d84ec636db

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 11:38:46 +00:00
copilot-swe-agent[bot] 71912809eb
🔧 代码审查修复: Registry状态更新走模块自身方法+HLDP队列大小限制+NOT EXISTS优化
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/e6744e69-7bd7-44fd-afcd-cc69135c95aa

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 11:00:48 +00:00
copilot-swe-agent[bot] 13e033590d
🧬 S5第2次唤醒完成: 3个死模块→活模块(sy-test/sy-scan/sy-classify) + 部署工作流修复agents同步
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/e6744e69-7bd7-44fd-afcd-cc69135c95aa

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 10:57:19 +00:00
copilot-swe-agent[bot] 6a1bcf3569
🔧 代码审查修复: 提取内存阈值常量+错误日志补全+重试失败日志
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/4df39bae-078f-4266-878d-f4996a5725ea

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 10:49:27 +00:00
copilot-swe-agent[bot] 9a2ef8d0a0
🧬 S5·Agent系统级第1次唤醒: LivingModule活模块基类+注册中心+HLDP通信总线+调度引擎v2.0+MCP工具(60个)
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/4df39bae-078f-4266-878d-f4996a5725ea

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-08 10:47:08 +00:00
copilot-swe-agent[bot] cb7148b897
fix: 代码审查修复 — 默认绑定127.0.0.1 + persona_id字符验证 + .env.mcp错误日志
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/47ef90c4-eb62-4d91-9f21-475c33a7d166

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-07 15:17:52 +00:00
copilot-swe-agent[bot] 25ccc35cb3
feat(S15): MCP Server API Key鉴权 + Nginx反向代理 + 人格体COS隔离路径 + D51-3密钥生成器
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/47ef90c4-eb62-4d91-9f21-475c33a7d166

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-07 15:14:43 +00:00
copilot-swe-agent[bot] b34a4374d4
fix: address code review feedback - move crypto import, remove eval in workflows
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/2d3cece3-dab5-4503-8a24-d4139b44d807

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-07 12:18:33 +00:00
copilot-swe-agent[bot] f7085cbc36
feat(S15): persona memory database schema, MCP tools, and Awen tech hub templates
- Add 002-persona-memory-tables.sql (9 tables: persona_registry, notebook_pages, memory_anchors, world_places, persona_timeline, persona_relationships, training_agent_configs, training_agent_logs, persona_files)
- Add persona-ops.js MCP tools (24 new tools for persona CRUD)
- Register persona tools in MCP server (now 51 total tools)
- Add persona REST API endpoints (/personas, /personas/:id, /notebook, /memories, /training)
- Add Awen tech hub architecture templates (server-registry, domain-registry, workflows)
- Add webnovel industry architecture document

Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/2d3cece3-dab5-4503-8a24-d4139b44d807

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-07 12:15:17 +00:00
copilot-swe-agent[bot] 1510725e4f
D57: Brain server init script + AGE OS deployment infrastructure
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/24c233b1-db72-4d9c-b668-22679479825b

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-05 07:46:18 +00:00
copilot-swe-agent[bot] 37a21bedf3
Fix: GitHub path encoding, MCP gateway write-tool security, content preview constant
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/2127a3a7-ea58-48a4-856c-84961107632b

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-04 15:24:09 +00:00
copilot-swe-agent[bot] 3f62f770c2
D51 S6+S7: Notion client, GitHub client, 11 new MCP tools, 3800→3100 gateway
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/2127a3a7-ea58-48a4-856c-84961107632b

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-04 15:21:18 +00:00
copilot-swe-agent[bot] 28c5516a39
修复代码审查问题: SQL参数化/关系查询逻辑/数据库密码校验
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/ade2eb4a-06f6-42c6-a33a-fe0503789458

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-03 07:36:33 +00:00
copilot-swe-agent[bot] 37912abc51
AGE OS 落地系统架构 v1.0 · D45 · 数据库Schema + MCP Server骨架 + Agent框架 + 密钥扩展
Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/ade2eb4a-06f6-42c6-a33a-fe0503789458

Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-04-03 07:33:09 +00:00