copilot-swe-agent[bot]
ebbca679e4
fix: address code review — improve alert matching logic, fix email indentation
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-15 12:57:24 +00:00
copilot-swe-agent[bot]
19e35fac73
feat: 服务器巡检自动化 — 巡检脚本 + Notion同步 + 巡检工作流
...
新增文件:
- scripts/server-patrol.sh (7项检查: Nginx/模块冒烟/PM2/磁盘/权限/SSL/配置)
- scripts/sync-patrol-to-notion.js (巡检结果→Notion工单)
- .github/workflows/server-patrol.yml (cron 08:00+20:00 + 部署后触发)
- data/patrol-logs/.gitkeep (巡检日志目录)
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-15 12:56:03 +00:00
copilot-swe-agent[bot]
9deab62d13
feat: 沙盒部署自动化闭环 — 全套脚本 + 工作流 + 数据文件
...
新增文件:
- .github/workflows/sandbox-deploy.yml (主部署流程)
- .github/workflows/sync-deploy-to-notion.yml (定时同步)
- scripts/deploy-check.sh (部署前自检)
- scripts/smoke-test.sh (冒烟检查)
- scripts/sync-deploy-to-notion.js (Notion API 写入)
- scripts/setup-sandbox.sh (新开发者开户脚本)
- data/deploy-status.json (部署状态源)
- data/dev-registry.json (开发者注册表)
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-15 12:39:26 +00:00
copilot-swe-agent[bot]
60ac3e86c2
feat: Section 7 - Notion Agent cluster integration with wake listener and multi-persona support
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-15 07:53:44 +00:00
copilot-swe-agent[bot]
ff1723cc85
feat: AGE OS v1.0 Phase 1 - core brain wake, multi-model router, full inspection
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-15 07:45:39 +00:00
copilot-swe-agent[bot]
47275cb4a9
fix: DEV编号 mapping from SYSLOG content + 文件内容 write-through + additional field parsing
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-14 17:53:33 +00:00
copilot-swe-agent[bot]
8d24c91284
fix: correct Notion property name mappings in write-notion-syslog.js
...
- 提交日期 → 接收时间 (date)
- 霜砚已读 → 处理状态 (checkbox → status '待处理')
- 来源 → 推送方 (rich_text)
- 发送者ID → DEV编号 (rich_text → select)
- Removed 发送者 property (not in DB schema)
- Added statusProp() helper, replaced unused checkboxProp()
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-14 17:40:33 +00:00
copilot-swe-agent[bot]
d8665f5816
fix: sender_id兼容 + 空内容跳过人格体唤醒
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-14 16:48:21 +00:00
copilot-swe-agent[bot]
d54d6bcaaf
fix: 修复代码审查反馈 — SUBMIT_CONTENT传内容、syslog_raw字段、错误处理
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-14 16:07:15 +00:00
copilot-swe-agent[bot]
78b000ca71
feat: 飞书→Notion全自动闭环 — Pipeline B/C人格体唤醒+飞书推送 + write-notion-syslog.js + push-broadcast-feishu.yml
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-14 16:06:01 +00:00
copilot-swe-agent[bot]
1fd53e0ae4
fix: address code review - use full timestamp for dedup key, set today's date on cache reset
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-14 08:18:54 +00:00
copilot-swe-agent[bot]
92a1c53840
feat: 公告栏改为追加式更新 + 每日自动清空缓存
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-14 08:17:38 +00:00
copilot-swe-agent[bot]
f1137aa3f0
fix: address code review feedback on generator scripts and workflow
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 19:39:42 +00:00
copilot-swe-agent[bot]
3c0617f32e
feat: 数字地球系统通信协议 v4.0 · Repository侧部署
...
- brain/ 目录建立(master-brain.md, read-order.md)
- communication-map.json 通信地图
- automation-map.json 自动化地图
- id-map.json 编号档案
- repo-map.json 仓库目录结构
- system-health.json 系统健康状态
- daily-maintenance.yml 每日巡检 workflow
- 生成器脚本(generate-communication-map.js, generate-automation-map.js, generate-system-health.js)
- npm scripts 注册
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 19:37:13 +00:00
copilot-swe-agent[bot]
8b013c998f
fix: address code review feedback - fix empty catch blocks, remove redundant fallback, fix email step status
...
- Add error logging to catch blocks in intent-router.js and pipeline-reporter.js
- Remove redundant devId+devInfo fallback in handleBingshuoComment (now handled by parseIntent)
- Fix email step progress reporting to use steps.email.outcome instead of steps.persona.outcome
- Standardize last_synced field access
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 15:46:41 +00:00
copilot-swe-agent[bot]
2bd9a84abb
fix: replace static progress table with per-step comments + add intent routing for @铸渊 queries
...
Bug A: syslog-issue-pipeline.yml now posts individual progress comments
for each step (1-8) instead of a static table that never updates.
zhuyuan-issue-reply.yml syslog-ack simplified to receipt confirmation.
Bug B: zhuyuan-issue-reply.js now uses intent-router.js to parse @铸渊
queries. Pipeline status queries (#92闭环状态) are routed correctly
instead of dumping team overview data.
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 15:44:55 +00:00
copilot-swe-agent[bot]
983fd6e951
refactor: extract magic numbers as named constants in diagnose report
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 13:55:14 +00:00
copilot-swe-agent[bot]
cecde1d924
feat: PM2 server diagnosis workflow + Notion report + port conflict fix
...
- Add pm2-server-diagnose.yml workflow for SSH-based PM2 diagnosis
- Add server-diagnose-report.js script for Notion ticket creation
- Fix port conflict: guanghulab (src/index.js) now uses port 3001
- Update ecosystem.config.js to align with deploy workflow process names
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 13:53:55 +00:00
copilot-swe-agent[bot]
8addc17ccc
fix: exclude SYSLOG issues from zhuyuan-issue-reply + add title/body detection to syslog-issue-pipeline
...
Problem: When developers submit SYSLOG via the 🚀 开发者入口, zhuyuan-issue-reply.yml
intercepts the issue and responds with "已记录。霜砚会在下次巡检时处理" instead of letting
syslog-issue-pipeline.yml handle the full auto-processing loop.
Root causes:
1. zhuyuan-issue-reply.yml triggers on ALL new issues with no exclusion for SYSLOG
2. syslog-issue-pipeline.yml only detects via 'syslog' label which may not exist in repo
3. zhuyuan-issue-reply.js has no guard against SYSLOG issues, falls through to generic fallback
Fixes:
- zhuyuan-issue-reply.yml: Exclude issues with syslog/bingshuo-deploy labels, SYSLOG/系统日志
in title, or '### 广播编号' in body (template field marker)
- syslog-issue-pipeline.yml: Detect SYSLOG issues by label OR title OR body pattern
- zhuyuan-issue-reply.js: Add isSyslog guard in handleIssueTrigger() as defense-in-depth
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 12:52:28 +00:00
copilot-swe-agent[bot]
c9d6495e5f
refactor: 提取共享 dev-suffix-map 模块 + 修复代码审查反馈
...
- 创建 scripts/utils/dev-suffix-map.js (共享后缀→DEV-ID映射)
- 更新 verify-modules.js + push-broadcast-to-github.js 使用共享映射
- 移动 require 到文件顶部 (invoke-persona.js, create-standardized-ticket.js)
- 心跳监控参数可配置化 (HEARTBEAT_TIMEOUT_MINUTES, MAX_RETRY_COUNT)
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 06:37:11 +00:00
copilot-swe-agent[bot]
e0dbe71bdc
feat: Phase B 全自动闭环对接 · 标准化工单 + 人格体调用端点 + 心跳监控 + 广播推送
...
Phase B1: 标准化工单创建 (create-standardized-ticket.js + receive-syslog.js更新)
Phase B2: 人格体调用端点 (invoke-persona.js + persona-invoke.yml workflow_dispatch)
Phase B3: 心跳监控 (notion-heartbeat.js + notion-heartbeat.yml 每5分钟)
Phase B4: 广播推送 (push-broadcast-to-github.js + broadcasts/ 目录)
工作流更新: syslog-issue-pipeline.yml, syslog-auto-pipeline.yml, notion-callback-pipeline.yml
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 06:33:17 +00:00
copilot-swe-agent[bot]
a6567ff2d2
fix: 修复代码审查问题 - extractDevId 逻辑 + 事件去重 + 工单状态条件化
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 06:08:13 +00:00
copilot-swe-agent[bot]
bce083dc66
feat: 铸渊 SYSLOG 全闭环工作流 · 模块验证 + 核心大脑唤醒 + Notion 回传管道
...
新增:
- scripts/verify-modules.js: 模块上传验证脚本
- .github/workflows/notion-callback-pipeline.yml: Notion→GitHub 回传核验管道
增强:
- syslog-issue-pipeline.yml: 新增模块验证步骤 + 核心大脑注入验证结果
- syslog-auto-pipeline.yml: 同步增强
- wake-persona.js: 支持 MODULE_VERIFY_RESULT + NOTION_CALLBACK_RESULT 注入
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 06:05:53 +00:00
copilot-swe-agent[bot]
b3d03221e2
feat: broadcast_code_injection = always for automated pipeline + code review fixes
...
- Add permanent rule: automated pipeline broadcasts must include complete runnable code
- Fix Notion ticket step condition (secrets.NOTION_API_TOKEN check)
- Extract MAX_PROTOCOL_TEXT_LENGTH constant
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 03:54:31 +00:00
copilot-swe-agent[bot]
81a8939c05
feat: v4.0 协议动态注入 + 移除 Anthropic 硬编码 fallback
...
- 移除 api.anthropic.com 硬编码默认值,LLM_BASE_URL 必须显式配置
- 新增 LLM_BASE_URL 缺失时的优雅降级
- 新增 Notion API 工具函数(notionGet/notionPost/getNotionPageBlocks)
- 新增 fetchCoreBrainProtocols() — 从核心大脑 v4.0 读取协议段落
- 新增 fetchDevPortrait() — 查询画像库最近 2-3 条快照
- 新增 fetchModuleFingerprint() — 查询模块指纹注册表
- buildSystemPrompt() 改为 async,动态注入所有 v4.0 协议到 system prompt
- workflow 新增 CORE_BRAIN_PAGE_ID/PORTRAIT_DB_ID/FINGERPRINT_DB_ID secrets
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 03:51:30 +00:00
copilot-swe-agent[bot]
1999a55091
fix: address code review - remove duplicate model, fix null refs, improve email masking
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 03:40:47 +00:00
copilot-swe-agent[bot]
6487a8b2f0
feat: SYSLOG 自助提交系统 · Discussion 入口 + Actions 管道 + LLM 自动检测
...
- 创建 Discussion 模板 (.github/DISCUSSION_TEMPLATE/syslog-submit.yml)
- 创建 Actions 管道 (.github/workflows/syslog-auto-pipeline.yml)
- 创建 LLM 自动检测 + 人格体唤醒脚本 (scripts/wake-persona.js)
- 更新 README.md 添加醒目开发者入口
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-13 03:39:23 +00:00
copilot-swe-agent[bot]
9fb8197042
refactor: extract shared feishu alert script + fix error messages + code review fixes
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 17:25:53 +00:00
copilot-swe-agent[bot]
d0cc67953b
feat: Phase 4 — AI对话引擎 + 多轮上下文 + 协作数据采集 + 失败告警 + 幂等性
...
Phase 4A: backend/feishu-bot/ai-chat.js — DeepSeek/通义千问 AI 模型接入
Phase 4A: backend/feishu-bot/context-manager.js — 多轮对话上下文管理
Phase 4B: push-broadcast.yml — 飞书群新广播通知
Phase 4C: backend/feishu-bot/collaboration-logger.js — 协作数据采集
Phase 4C: scripts/save-collaboration-log.js — persona-brain-db 数据对齐导出
Phase 4D: 三条链路 workflow 失败告警 → 飞书通知
Phase 4D: receive-syslog.js — 幂等性保护(相同 SYSLOG 不重复创建工单)
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 17:22:57 +00:00
copilot-swe-agent[bot]
6d1c3e02eb
fix: address code review — env var for GitHub repo, date dedup in receive-syslog
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 17:17:14 +00:00
copilot-swe-agent[bot]
ceb61cbac8
feat: M-BRIDGE 飞书集成 — 三条链路脚本 + 飞书机器人回传桥
...
- sync-login-entry.yml + .js: Notion 登录入口 → 飞书文档A (全量替换)
- push-broadcast.yml + .js: Notion 广播 → 飞书文档B (追加到顶部)
- receive-syslog.yml + .js: SYSLOG 回传 → 存入仓库 + Notion 收件箱 + 霜砚工单
- feishu-bot.js: 飞书机器人事件回调处理 (SYSLOG 回传桥)
- syslog/ 目录创建
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 17:12:52 +00:00
copilot-swe-agent[bot]
0d59041e72
refine: 使 systemWorkflows 匹配模式更精确以避免误匹配
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 15:20:41 +00:00
copilot-swe-agent[bot]
e108dc7b8d
fix: 修复合作者公告栏自动更新链路 · workflow_run 触发器名称修正 + systemWorkflows 匹配修正 + 模块路径补全
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 15:18:07 +00:00
copilot-swe-agent[bot]
6628bf12c6
fix: add Array.isArray guard for module field normalization
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 13:05:01 +00:00
copilot-swe-agent[bot]
054900ba4f
fix: normalize dev-status.json and collaborators.json field names for zhuyuan issue reply
...
The script expected field names (team_status, modules, next_step, waiting_for,
last_synced) that didn't match the actual Notion-synced data (team, module,
current, waiting, last_sync). Added a data normalization step after reading
JSON files to bridge the gap. Also handles nested collaborators.json format
and missing tech_routing/server_info/os fields gracefully.
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-11 13:04:08 +00:00
copilot-swe-agent[bot]
85519ab1cd
fix: address code review feedback - remove duplicate variable, fix report job deps
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 13:57:02 +00:00
copilot-swe-agent[bot]
555247a913
fix: Persona Studio chat proxy, bulletin push retry, daily agent workflow
...
1. Fix API Key mode chat: route through backend proxy to avoid CORS
2. Fix bulletin update workflow: add git pull --rebase retry on push failure
3. Add daily inspection Agent workflow and script
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 13:56:03 +00:00
copilot-swe-agent[bot]
e160fbbde1
feat: Implement Bingshuo Core Brain Dual-Layer System v1.0 with auto-agent framework
...
- Brain Bridge module with sync fields, master mode, consistency check
- Human developer EXP numbering system with notification queue
- 8 auto-agent definitions for maintenance/sync/archiving/inspection
- 10 new HLI brain bridge API endpoints
- Brain bridge sync CLI tool
- Persona collaboration rules and volume/archiving rules
- Master brain documentation with full system definitions
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 11:15:58 +00:00
copilot-swe-agent[bot]
b395dac2c8
refactor: 提取 workflow 文件名常量,移除 root_cause_summary 截断
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 10:11:16 +00:00
copilot-swe-agent[bot]
5feb1bc94b
feat: 构建冰朔主控神经系统 v1.0 — 核心文件、Agent 脚本与自动维护 workflow
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 10:10:00 +00:00
copilot-swe-agent[bot]
e50a79aeaa
fix: exclude index.js router aggregator from HLI contract check
...
The contract-check.js script was requiring schema files for index.js
files in route directories, but index.js files are router aggregators
(not HLI endpoints) and should not have schemas. This caused the
deploy-to-server.yml CD pipeline to fail, preventing persona-studio
backend from being deployed. As a result, users could not login or
access the interactive chat interface.
Error: ❌ [MISSING] index.js → 缺少 src/schemas/hli/auth/index.schema.json
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-10 08:16:33 +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
冰朔
8da0610dce
Merge pull request #30 from qinfendebingshuo/copilot/add-system-introduction-and-announcement
...
📢 Split bulletin into Bingshuo/Collaborator sections with auto-alerts and Zhuyuan workspace
2026-03-09 17:38:05 +08:00
copilot-swe-agent[bot]
f00d67061e
修复代码审查反馈:改进错误日志、常量命名、类型检查
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-09 09:30:51 +00:00
copilot-swe-agent[bot]
3e8395923a
📢 公告栏v2: 分离冰朔/合作者公告 + 铸渊自动提醒 + 铸渊工作区
...
- README.md: 冰朔公告栏(自检/轮询/数据库) + 合作者公告栏(模块上传) + 铸渊工作区
- scripts/update-readme-bulletin.js: v2.0 分离事件分类 + 红绿提醒 + 邮件通知
- .github/workflows/update-readme-bulletin.yml: 增加SMTP环境变量和PSP巡检触发
- .github/workflows/zhuyuan-issue-reply.yml: 新增 issue_comment 触发(@铸渊)
- scripts/zhuyuan-issue-reply.js: 评论区唤醒 + 权限控制 + 安全检查 + 一人一问
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-09 09:29:26 +00:00
copilot-swe-agent[bot]
f79ead0e71
修复代码审查反馈:使用 Intl.DateTimeFormat、提取常量、改进错误日志
...
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-09 09:16:58 +00:00
copilot-swe-agent[bot]
7bd40b3e9a
📢 添加光湖系统介绍 + 系统公告区 + 自动更新工作流
...
- 重写 README.md:系统简介、架构图、人格体介绍、技术栈、团队信息、模块目录
- 添加系统公告区(BULLETIN_START/END 标记),自动显示模块上传和系统事件
- 新增 scripts/update-readme-bulletin.js:从 memory.json + GitHub API + git 日志聚合事件
- 新增 .github/workflows/update-readme-bulletin.yml:推送/工作流完成/定时触发自动更新公告
Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com>
2026-03-09 09:15:40 +00:00
yeye-guanghu
4a0c856c7e
Merge branch 'main' into step5-workflow
2026-03-09 17:08:46 +08:00
淑婷陈
1fc71abdc1
Step 8: 广播分发系统完成
2026-03-09 16:33:09 +08:00