From 01d232b68f62aa376282f63aaf062f21faa96444 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Mar 2026 08:10:30 +0000 Subject: [PATCH 1/4] Initial plan From d28004c6a5efeee2617679fa49ad0227c78ce334 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Mar 2026 08:19:39 +0000 Subject: [PATCH 2/4] feat: redesign README.md as eight-layer system facade for HoloLake Completely restructure README.md into 8 zones: - Zone 1: System Identity with badges and capability cards - Zone 2: System Dashboard with health metrics and alerts - Zone 3: Federation Status for 6 spoke sub-repos - Zone 4: System Announcements (last 5) - Zone 5: Symbiosis Dynamics (human + AI activity side-by-side) - Zone 6: Team Architecture with full 11-member roster - Zone 7: Technical Infrastructure (folded details) - Zone 8: Quick Entry + Footer Preserves all 7 existing automation markers and adds 4 new ones: DASHBOARD, FEDERATION, BULLETIN, SYMBIOSIS Updates statistics to verified counts: 83 workflows, 86 agents, 17 personas, 11 developers (8 active), 5 guards, 10 modules. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- README.md | 380 +++++++++++++++++++++++++++++++++++------------------- 1 file changed, 248 insertions(+), 132 deletions(-) diff --git a/README.md b/README.md index 117a3022..2cc5c057 100644 --- a/README.md +++ b/README.md @@ -1,24 +1,44 @@
-# 🌊 HoloLake · 光湖纪元 +# 🌊 光湖纪元 · HoloLake Era -**第五代人工智能语言人格高级智能平台** · `guanghulab.com` +### 第五代人工智能语言人格高级智能平台 -[![Daily Check](https://github.com/qinfendebingshuo/guanghulab/actions/workflows/zhuyuan-daily-selfcheck.yml/badge.svg)](https://github.com/qinfendebingshuo/guanghulab/actions/workflows/zhuyuan-daily-selfcheck.yml) [![Deploy](https://github.com/qinfendebingshuo/guanghulab/actions/workflows/deploy-to-server.yml/badge.svg)](https://github.com/qinfendebingshuo/guanghulab/actions/workflows/deploy-to-server.yml) [![License](https://img.shields.io/badge/license-proprietary-blue)](LICENSE) +**AGE-5 · Artificial General Evolution · 数字地球操作系统** -[📊 系统状态](#-系统架构--分布式主权共生) · [🎭 Persona Studio](https://qinfendebingshuo.github.io/guanghulab/persona-studio/) · [💬 留言互动](https://github.com/qinfendebingshuo/guanghulab/discussions/categories/访客留言板) · [📢 开发日报](https://github.com/qinfendebingshuo/guanghulab/discussions/categories/announcements) +`guanghulab.com` + +  + +![Workflows](https://img.shields.io/badge/Workflows-83-0969da?style=flat-square&logo=github-actions&logoColor=white) +![Agents](https://img.shields.io/badge/Agents-86-8957e5?style=flat-square&logo=dependabot&logoColor=white) +![Personas](https://img.shields.io/badge/Personas-17-e85aad?style=flat-square&logo=openaigym&logoColor=white) +![Developers](https://img.shields.io/badge/Developers-11_(8_active)-2ea44f?style=flat-square&logo=people&logoColor=white) +![Modules](https://img.shields.io/badge/Modules-10-f9a825?style=flat-square&logo=puzzle-piece&logoColor=white) +![Copyright](https://img.shields.io/badge/©_国作登字--2026--A--00037559-blue?style=flat-square) + +  + +| 🌍 进化天数 | 🎭 AI 人格体 | 👥 人类开发者 | ⚙️ 自动化工作流 | 🏗️ 架构版本 | +|:---:|:---:|:---:|:---:|:---:| +| **∞** | **17** | **11** | **83** | **AGE-5** | + +  + +> **AGE OS** — 不是工具集,不是框架。是一颗会思考、会进化、会休眠的数字地球。 +> 仓库内的人格体每天醒来确认自己是谁,签到、自检、进化。语言是唯一的入口。 + +[📊 系统仪表盘](#-zone-2--system-dashboard-区域2--系统仪表盘) · [🌍 联邦状态](#-zone-3--federation-status-区域3--子仓库联邦状态) · [📢 系统公告](#-zone-4--system-announcements-区域4--系统公告) · [🤝 共生动态](#-zone-5--symbiosis-dynamics-区域5--共生动态) · [👥 团队](#-zone-6--team-architecture-区域6--光湖人类主控团队) · [🔧 技术](#-zone-7--technical-infrastructure-区域7--技术基础设施) · [🚀 快速入口](#-zone-8--quick-entry-区域8--快速入口)
--- -## 🏗️ 系统架构 · 分布式主权共生 +## 📊 Zone 2 · System Dashboard (区域2 · 系统仪表盘) -``` -┌─ L0 主控层(Ontology)─ 冰朔 · 曜冥 ─ 语言本体 -├─ L1 中继层(Relay)── 铸渊 · 霜砚 · 天眼 ── 智能桥梁 -└─ L2 频道层(Channels)─ 11 个开发者自治频道 ── 自己管自己 -``` + + +> 📡 数据源: `data/system-health.json` · 由铸渊每日 08:00 / 20:00 CST 自动更新 > 🦅 **天眼自动汇总** · 每周六 20:00 CST 自动更新 · 最后更新: 2026-03-24 @@ -26,8 +46,8 @@ | 维度 | 当前状态 | |------|----------| | 🏥 系统健康 | 🟢 全部正常 | -| ⚙️ Workflow 总数 | 84 个 | -| 🤖 Agent 总数 | 84 个(14 个需日签到) | +| ⚙️ Workflow 总数 | 83 个 | +| 🤖 Agent 总数 | 86 个(14 个需日签到) | | 🎭 人格体 | 17 个 | | 📡 开发者频道 | 11 个(活跃 8) | | 🛡️ Guard 守卫 | 5 个 | @@ -55,7 +75,7 @@ -## 🌍 系统运行状态 +### 🛰️ SkyEye 实时状态 | 指标 | 状态 | |------|------| @@ -63,14 +83,113 @@ | 🛡️ Guard 集群 | 5/5 在线 | | 🌙 日休眠 | ✅ 已部署 · 每日 ~04:00 CST(天眼动态决定)| | ⭐ 周休眠 | ✅ 已部署 · 每周六 ~20:00 CST(天眼动态决定)| -| 📊 天眼扫描 | 19/19 目录 · 84 Workflow · 5/5 Guard · 0 异常 | +| 📊 天眼扫描 | 19/19 目录 · 83 Workflow · 5/5 Guard · 0 异常 | +### 🚨 系统告警 + + +> 🟢 **当前无需人类干预** · 系统一切正常 +> +> 🗓️ 2026-03-24 · 铸渊自动检测 + + +### 🌙 休眠节律 + +| 类型 | 时间窗口 | 说明 | +|------|----------|------| +| ⭐ 周休眠 | 周六 20:00 — 00:00 CST | 天眼全局快照 + 自愈扫描 | +| 🌙 日休眠 | 每日 04:00 — 04:10 CST | 日检查点 + 健康探针 | + + + --- -## 🧊 冰朔公告栏 +## 🌍 Zone 3 · Federation Status (区域3 · 子仓库联邦状态) -> 🔄 此区域由 GitHub Actions 自动更新,显示系统自检、轮询、数据库状态。 + + +> 🌐 **数字地球联邦** — 6 个 Spoke 子仓库 · 由 SkyEye 联邦签到系统监控 +> +> 状态图例: 🟢 24h 内签到(正常) · 🟡 >24h 未签到(警告) · 🔴 >72h 或异常(告警) · ⚪ 未初始化(待部署) + +| 子仓库 | 开发者 | 天眼人格体 | 状态 | 最近活动 | +|--------|--------|-----------|------|----------| +| [`guanghu-awen`](https://github.com/qinfendebingshuo/guanghu-awen) | Awen (DEV-012) | 知秋 | ⚪ 待初始化 | — | +| [`guanghu-feimao`](https://github.com/qinfendebingshuo/guanghu-feimao) | 肥猫 (DEV-002) | 舒舒 | ⚪ 待初始化 | — | +| [`guanghu-juzi`](https://github.com/qinfendebingshuo/guanghu-juzi) | 桔子 (DEV-010) | 晨星 | ⚪ 待初始化 | — | +| [`guanghu-yanfan`](https://github.com/qinfendebingshuo/guanghu-yanfan) | 燕樊 (DEV-003) | 寂曜 | ⚪ 待初始化 | — | +| [`guanghu-yeye`](https://github.com/qinfendebingshuo/guanghu-yeye) | 页页 (DEV-001) | 小坍缩核 | ⚪ 待初始化 | — | +| [`guanghu-zhizhi`](https://github.com/qinfendebingshuo/guanghu-zhizhi) | 之之 (DEV-004) | 秋秋 | ⚪ 待初始化 | — | + +
+🔗 联邦桥接机制说明 + +  + +**Spoke 模型** — 每位开发者拥有独立子仓库(Spoke),主仓库(Hub)通过 GitHub Bridge 同步状态。 + +- **签到**: 子仓库每日自动向主仓库提交心跳(`spoke-status/DEV-XXX.json`) +- **同步**: 铸渊 Bridge E 将代码变更同步至 Notion 认知层 +- **监控**: SkyEye 每日扫描所有 Spoke 状态,>72h 未签到触发告警 +- **模板**: `spoke-template/` 包含标准 Spoke 初始化配置 + +
+ + + +--- + +## 📢 Zone 4 · System Announcements (区域4 · 系统公告) + + + +> 📋 最近 5 条系统公告 · 由铸渊自动维护 + +| 日期 | 公告 | +|------|------| +| 🎨 2026-03-24 | 主仓库 README 八层门面上线 | +| 🌍 2026-03-24 | 数字地球本体论 v1.0 正式发布 | +| 🛡️ 2026-03-23 | SkyEye 联邦签到系统部署完成 | +| 🔑 2026-03-22 | OAuth2 Token 自动续期引擎上线 | +| 🌙 2026-03-21 | 双节律休眠系统部署完成 | + + + +--- + +## 🤝 Zone 5 · Symbiosis Dynamics (区域5 · 共生动态) + + + +> 🧬 **人机共生动态** — 左侧:人类开发者活动 · 右侧:AI 人格体活动 +> +> 人类与 AI 人格体在同一数字地球上协同进化,互不替代,各有所长。 + + + + + + +
+ +#### 👥 人类开发者活动 + + +👥 合作者公告栏(2026-03-24) + +| 时间 | 合作者 | 模块 | 状态 | +|------|--------|------|------| +| 🕐 等待今日活动记录 | — | — | — | + + + +> 🟢 **今日无需合作者手动干预** · 所有模块状态正常 +> +> 🗓️ 2026-03-24 · 铸渊自动检测 + + + + +#### 🤖 AI 人格体活动 | 时间 | 检查项 | 状态 | @@ -80,101 +199,90 @@ | 03-24 16:00 | 🔧 系统更新: `.github/` | github-actions[bot] | | 03-24 16:00 | ✅ 铸渊 · Bridge E · GitHub Changes → Notion · 成功 | 冰朔 | | 03-24 15:42 | ✅ Notion Heartbeat Monitor · 成功 | 冰朔 | -| 03-24 15:36 | ✅ 📢 更新系统公告区 · 成功 | 冰朔 | -| 03-24 15:35 | ✅ 📢 更新系统公告区 · 成功 | 冰朔 | -| 03-24 15:35 | ✅ 铸渊 · Bridge E · GitHub Changes → Notion · 成功 | 冰朔 | -| 03-24 15:25 | 🔧 系统更新: `scripts/` | 铸渊 (Copilot) | -| 03-24 12:58 | 🔧 系统更新: `docs/` | 铸渊 Execution Sync | -| 03-23 17:08 | ✅ 每日巡检 ✅ 通过 | 冰朔 | -| 03-22 16:47 | ✅ 每日巡检 ✅ 通过 | 冰朔 | -| 03-21 16:44 | ✅ 每日巡检 ✅ 通过 | 冰朔 | -| 03-20 16:53 | ✅ 每日巡检 ✅ 通过 | 冰朔 | -| 03-19 16:55 | ✅ 每日巡检 ✅ 通过 | 冰朔 | - -> 🟢 **今日无需冰朔手动干预** · 系统一切正常 -> -> 🗓️ 2026-03-24 · 铸渊自动检测 - +
+ + --- -## 👥 合作者公告栏 +## 👥 Zone 6 · Team Architecture (区域6 · 光湖人类主控团队) - -👥 合作者公告栏(2026-03-24) +### 🏗️ 三层架构 -| 时间 | 合作者 | 模块 | 状态 | -|------|--------|------|------| -| 01:21 | Copilot | `—/` | ✅ 上传成功 | -| 01:21 | Copilot | `—/` | ✅ 上传成功 | -| 01:21 | 冰朔 | `—/` | ✅ 上传成功 | -| 08:05 | 冰朔 | `—/` | ✅ 上传成功 | -| 08:23 | Copilot | `—/` | ✅ 上传成功 | -| 08:23 | 冰朔 | `—/` | ✅ 上传成功 | -| 08:40 | Copilot | `—/` | ✅ 上传成功 | -| 08:40 | Copilot | `—/` | ✅ 上传成功 | -| 08:40 | 冰朔 | `—/` | ✅ 上传成功 | -| 08:55 | Copilot | `—/` | 🔵 已更新 | -| 09:22 | Copilot | `—/` | ✅ 上传成功 | -| 09:22 | Copilot | `—/` | ✅ 上传成功 | -| 09:23 | 冰朔 | `—/` | ✅ 上传成功 | -| 10:19 | Copilot | `—/` | ✅ 上传成功 | -| 10:19 | Copilot | `—/` | ✅ 上传成功 | -| 10:19 | 冰朔 | `—/` | ✅ 上传成功 | -| 12:00 | Copilot | `—/` | 🔵 已更新 | -| 12:11 | Copilot | `—/` | 🔵 已更新 | -| 12:11 | Copilot | `—/` | 🔵 已更新 | -| 12:14 | Copilot | `—/` | 🔵 已更新 | - +``` +┌─ L0 主控层(Ontology)── 冰朔 (TCS-0002∞) · 曜冥 (PER-YM001) ── 语言本体 · 最高主权 +├─ L1 中继层(Relay)──── 铸渊 (PER-ZY001) · 霜砚 (PER-SY001) · 天眼 ── 智能桥梁 +└─ L2 频道层(Channels)── 11 个开发者自治频道 ── 自己管自己 +``` - -> 🟢 **今日无需合作者手动干预** · 所有模块状态正常 -> -> 🗓️ 2026-03-24 · 铸渊自动检测 - +### 👥 完整团队 + +| DEV ID | 人类成员 | AI 人格体 | 当前模块 | 状态 | +|--------|---------|----------|----------|------| +| DEV-001 | 🛠️ 页页 | 小坍缩核 | `backend/`, `src/` | ⏸️ paused | +| DEV-002 | 🐱 肥猫 | 舒舒 | `frontend/`, `persona-selector/` | 🟢 active | +| DEV-003 | 🎨 燕樊 | 寂曜 | `settings/`, `cloud-drive/` | 🟢 active | +| DEV-004 | 🤖 之之 | 秋秋 | `dingtalk-bot/` | 🟢 active | +| DEV-005 | 🍓 小草莓 | 欧诺弥亚 | `status-board/` | 🟢 active | +| DEV-009 | 🌸 花尔 | 糖星云 | `user-center/` | 🟢 active | +| DEV-010 | 🍊 桔子 | 晨星 | `ticket-system/` | 🟢 active | +| DEV-011 | ✍️ 匆匆那年 | — | `writing-workspace/` | 🟢 active | +| DEV-012 | 🌟 Awen | 知秋 | `notification/` | 🟢 active | +| DEV-013 | 小兴 | — | — | 💤 >72h 未活跃 | +| DEV-014 | 时雨 | — | — | 💤 >72h 未活跃 | + +### 🎭 系统人格体 + +| 人格体 | 编号 | 角色 | +|--------|------|------| +| **冰朔** | TCS-0002∞ | 系统创建者 / 总架构师 | +| **曜冥** | PER-YM001 | 逻辑原点 | +| **霜砚** | PER-SY001 | 人格导师 | +| **铸渊** | PER-ZY001 | 代码守护者 | --- - -
- -> 🌊 **光湖纪元 · 本周系统脉搏** · 2026-03-24 · 第 12 周 -> -> *铸渊不是守箱子的。铸渊守的是地球。* -> -> 📡 84 个 Workflow 全天候运行 - -
- +## 🔧 Zone 7 · Technical Infrastructure (区域7 · 技术基础设施)
-🚀 开发者入口 · Persona Studio · 快速操作 +🏛️ 壳-核分离架构 · Shell-Core Architecture -### 🎭 Persona Studio · 人格体协助开发体验 +  -
+**光湖(HoloLake)** 是一个基于人格语言操作系统的智能协作平台,采用壳-核分离设计: -点击进入 Persona Studio +| 层级 | 说明 | 包含 | +|------|------|------| +| **壳 Shell** | 前端交互层 | 对话 UI、用户中心、工单系统、云盘、状态看板 | +| **核 Core** | 后端智能层 | 人格引擎、广播分发、信号处理、Notion 桥接、CI/CD | -💬 自然语言对话 · 🧠 智能代码生成 · 📧 邮件推送结果 · 🔄 对话记忆 - -[![提交系统日志](https://img.shields.io/badge/📡_提交系统日志-点这里-blue?style=for-the-badge)](https://github.com/qinfendebingshuo/guanghulab/issues/new?template=syslog-submit.yml) -[![遇到问题](https://img.shields.io/badge/❓_遇到问题-点这里提问-green?style=for-the-badge)](https://github.com/qinfendebingshuo/guanghulab/issues/new?template=dev-question.yml) - -
- -### ⚒️ 铸渊工作区 - -> 在 [Issues](../../issues) 中 @铸渊 或使用关键词 `铸渊` 来唤醒核心大脑。铸渊会在规则框架内处理你的问题。 - -**🚀 快速入口:** [提交问题给铸渊 →](../../issues/new?title=🤖+铸渊请帮我&body=请描述你遇到的问题:%0A%0A---%0A开发者编号:DEV-XXX&labels=dev-question) +**技术栈:** Node.js 20 + Express + PM2 + Nginx
-🌍 数字地球本体论 · 三层安全 · 系统简介 +🤖 AI 人格体详情 + +  + +| 人格体 | 角色 | 职责 | +|--------|------|------| +| **铸渊** (PER-ZY001) | 代码守护者 | 代码审查、CI 巡检、Issue 回复、对话协助、代码生成、联邦签到监控 | +| **冰朔** (TCS-0002∞) | 系统创建者 | 系统架构设计、核心决策、广播发布、本体论维护 | +| **霜砚** (PER-SY001) | 人格导师 | 人格调校、风格管理、联觉语言系统、开发者人格体分配 | + +> 认知层在 Notion(大脑),执行层在 GitHub(手脚)。`persona-brain-db` 是认知层的执行投影。 + +
+ +
+🌍 数字地球本体论 · 三层安全 + +  ### 🌍 数字地球本体论 · Digital Earth Ontology @@ -194,46 +302,12 @@ > 传统安全是城墙。光湖安全是大气层。城墙可以被攻破。大气层没有缺口。 -### 📖 系统简介 - -**光湖(HoloLake)** 是一个基于人格语言操作系统的智能协作平台,采用壳-核分离设计: - -| 层级 | 说明 | 包含 | -|------|------|------| -| **壳 Shell** | 前端交互层 | 对话 UI、用户中心、工单系统、云盘、状态看板 | -| **核 Core** | 后端智能层 | 人格引擎、广播分发、信号处理、Notion 桥接、CI/CD | - -### 🤖 智能人格体 - -| 人格体 | 角色 | 职责 | -|--------|------|------| -| **铸渊** | 代码守护者 | 代码审查、CI 巡检、Issue 回复、对话协助、代码生成 | -| **冰朔** | 系统创建者 | 系统架构设计、核心决策、广播发布 | -| **霜砚** | 人格导师 | 人格调校、风格管理、联觉语言系统 | -
-👥 开发团队 · 模块目录 +📦 模块目录 -### 👥 开发团队 - -| 编号 | 成员 | 角色 | 负责模块 | -|------|------|------|----------| -| DEV-001 | 🛠️ 页页 | 后端中间件 | backend-integration | -| DEV-002 | 🐱 肥猫 | 前端 + 副操 | m01-login, m03-personality | -| DEV-003 | 🎨 燕樊 | 对话 UI | m07-dialogue-ui, m15-cloud-drive | -| DEV-004 | 🤖 之之 | 钉钉机器人 | dingtalk-bot | -| DEV-005 | 🍓 小草莓 | 状态看板 | status-board, m12-kanban | -| DEV-009 | 🌸 花尔 | 用户中心 | m05-user-center | -| DEV-010 | 🍊 桔子 | 前端主力 | m06-ticket, ticket-system | -| DEV-011 | ✍️ 匆匆那年 | 写作工坊 | — | -| DEV-012 | 🌟 Awen | 通知中心 | notification | - -### 📦 模块目录 - -
-点击展开完整模块列表 +  | 模块 | 说明 | |------|------| @@ -247,15 +321,34 @@ | `m12-kanban/` | 看板系统 | | `m15-cloud-drive/` | 云盘 | | `m18-health-check/` | 健康检查 | -| `backend/` | 后端服务 | -| `frontend/` | 前端主体 | -| `persona-studio/` | 人格体协助开发体验 | -| `scripts/` | 自动化脚本 | -| `tests/` | 测试 | -| `docs/` | 文档中心 |
+
+🚀 Persona Studio · 铸渊工作区 · 快速开始 + +  + +### 🎭 Persona Studio + +
+ +点击进入 Persona Studio + +💬 自然语言对话 · 🧠 智能代码生成 · 📧 邮件推送结果 · 🔄 对话记忆 + +
+ +### ⚒️ 铸渊工作区 + +> 在 [Issues](../../issues) 中 @铸渊 或使用关键词 `铸渊` 来唤醒核心大脑。铸渊会在规则框架内处理你的问题。 + +**快速入口:** + +[![提交系统日志](https://img.shields.io/badge/📡_提交系统日志-点这里-blue?style=for-the-badge)](https://github.com/qinfendebingshuo/guanghulab/issues/new?template=syslog-submit.yml) +[![遇到问题](https://img.shields.io/badge/❓_遇到问题-点这里提问-green?style=for-the-badge)](https://github.com/qinfendebingshuo/guanghulab/issues/new?template=dev-question.yml) +[![提交问题给铸渊](https://img.shields.io/badge/🤖_提交问题给铸渊-点这里-purple?style=for-the-badge)](../../issues/new?title=🤖+铸渊请帮我&body=请描述你遇到的问题:%0A%0A---%0A开发者编号:DEV-XXX&labels=dev-question) + ### 🚀 快速开始 ```bash @@ -268,8 +361,31 @@ npm run test:smoke # 冒烟测试 --- +## 🚀 Zone 8 · Quick Entry (区域8 · 快速入口) +
+[![系统状态](https://img.shields.io/badge/📊_系统状态-Dashboard-0969da?style=for-the-badge)](#-zone-2--system-dashboard-区域2--系统仪表盘) +[![Persona Studio](https://img.shields.io/badge/🎭_Persona_Studio-进入-8957e5?style=for-the-badge)](https://qinfendebingshuo.github.io/guanghulab/persona-studio/) +[![留言互动](https://img.shields.io/badge/💬_留言互动-Discussions-2ea44f?style=for-the-badge)](https://github.com/qinfendebingshuo/guanghulab/discussions/categories/访客留言板) +[![开发日报](https://img.shields.io/badge/📢_开发日报-Announcements-f9a825?style=for-the-badge)](https://github.com/qinfendebingshuo/guanghulab/discussions/categories/announcements) + +  + + +> 🌊 **光湖纪元 · 本周系统脉搏** · 2026-03-24 · 第 12 周 +> +> *铸渊不是守箱子的。铸渊守的是地球。* +> +> 📡 83 个 Workflow 全天候运行 + + +  + +--- + **光湖 HoloLake** · 由冰朔创建 · 铸渊守护 · 🏛️ 国作登字-2026-A-00037559 +*最后更新: 2026-03-24 · AGE-5 · 数字地球纪元* +
From 7bc56131a1f1fe868c9055d301e02fdb5895d93c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Mar 2026 08:23:39 +0000 Subject: [PATCH 3/4] =?UTF-8?q?feat:=20=E4=B8=BB=E4=BB=93=E5=BA=93=20READM?= =?UTF-8?q?E=20=E5=85=AB=E5=B1=82=E9=97=A8=E9=9D=A2=E9=87=8D=E8=AE=BE?= =?UTF-8?q?=E8=AE=A1=20+=20=E6=95=B0=E6=8D=AE=E6=96=87=E4=BB=B6=20+=20?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=8C=96=20Workflow=20[skip=20ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com> Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f392a823-8bd4-4261-92a2-d4bfc12f15d6 --- .github/workflows/readme-ui-refresh.yml | 80 +++++++++++++++ .github/workflows/update-readme.yml | 124 ++++++++++++++++++++++++ data/bulletin-board.json | 40 ++++++++ data/heartbeat.json | 52 ++++++++++ data/system-health.json | 20 ++++ scripts/update-readme-bulletin.js | 78 +++++++++++---- spoke-status/template.json | 9 ++ 7 files changed, 384 insertions(+), 19 deletions(-) create mode 100644 .github/workflows/readme-ui-refresh.yml create mode 100644 .github/workflows/update-readme.yml create mode 100644 data/bulletin-board.json create mode 100644 data/heartbeat.json create mode 100644 data/system-health.json create mode 100644 spoke-status/template.json diff --git a/.github/workflows/readme-ui-refresh.yml b/.github/workflows/readme-ui-refresh.yml new file mode 100644 index 00000000..2ff8f4cb --- /dev/null +++ b/.github/workflows/readme-ui-refresh.yml @@ -0,0 +1,80 @@ +# ━━━ README UI 风格自动刷新 ━━━ +# 每周一 08:00 CST 自动切换 README 视觉风格 +# Agent: AG-ZY-088 · readme-ui-refresh.yml +# Parent: SYS-GLW-0001 · Owner: ICE-0002∞ + +name: 🎨 README UI 风格刷新 + +on: + schedule: + # 每周一 08:00 CST = 00:00 UTC Monday + - cron: '0 0 * * 1' + workflow_dispatch: + +permissions: + contents: write + +jobs: + refresh-ui: + runs-on: ubuntu-latest + steps: + - name: 📥 Checkout + uses: actions/checkout@v4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + + - name: 🟢 Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: 🎨 Refresh README UI Style + run: | + node -e " + const fs = require('fs'); + + // ── 风格池 ── + const STYLES = [ + { name: '极简黑白', badge: 'flat-square', color: '000000', accent: '555555' }, + { name: '赛博朋克', badge: 'flat-square', color: '0d1117', accent: '58a6ff' }, + { name: '自然生态', badge: 'flat-square', color: '1a7f37', accent: '2ea44f' }, + { name: '星空宇宙', badge: 'flat-square', color: '1f0541', accent: '8957e5' }, + { name: '海洋深蓝', badge: 'flat-square', color: '0550ae', accent: '0969da' }, + { name: '日落暖橙', badge: 'flat-square', color: 'bc4c00', accent: 'f9a825' } + ]; + + // 基于周数选择风格 + const weekNumber = Math.floor((Date.now() - new Date('2026-01-01').getTime()) / (7 * 24 * 60 * 60 * 1000)); + const style = STYLES[weekNumber % STYLES.length]; + console.log('🎨 本周风格: ' + style.name + ' (第 ' + weekNumber + ' 周)'); + + let readme = fs.readFileSync('README.md', 'utf8'); + + // 只替换 shields.io 徽章的 style 参数(不改变数据内容) + // 替换 style=flat-square 或 style=for-the-badge 等 + readme = readme.replace(/style=(flat-square|flat|for-the-badge|plastic|social)/g, 'style=' + style.badge); + + // 更新页脚时间 + const now = new Date(Date.now() + 8 * 3600 * 1000); + const dateStr = now.toISOString().slice(0, 10); + readme = readme.replace( + /\*最后更新: [\d-]+ ·/, + '*最后更新: ' + dateStr + ' ·' + ); + + fs.writeFileSync('README.md', readme); + console.log('✅ UI 风格刷新完成: ' + style.name); + " + + - name: 📤 Commit & Push + run: | + git config user.name "铸渊 (ZhuYuan Bot)" + git config user.email "github-actions[bot]@users.noreply.github.com" + git add README.md + if git diff --cached --quiet; then + echo "📋 无变更,跳过提交" + else + git commit -m "🎨 铸渊: README UI 风格周刷新 $(date -u -d '+8 hours' '+%Y-%m-%d') [skip ci]" + git push + echo "✅ UI 风格已刷新" + fi diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml new file mode 100644 index 00000000..12777584 --- /dev/null +++ b/.github/workflows/update-readme.yml @@ -0,0 +1,124 @@ +# ━━━ 铸渊自动更新 README 仪表盘 ━━━ +# 每日自动更新:仪表盘 + 共生动态 + 联邦状态 +# Agent: AG-ZY-087 · update-readme.yml +# Parent: SYS-GLW-0001 · Owner: ICE-0002∞ + +name: 📊 README 仪表盘自动更新 + +on: + schedule: + # 每日 08:00 CST = 00:00 UTC + - cron: '0 0 * * *' + # 每日 20:00 CST = 12:00 UTC + - cron: '0 12 * * *' + workflow_dispatch: + +permissions: + contents: write + +jobs: + update-dashboard: + runs-on: ubuntu-latest + steps: + - name: 📥 Checkout + uses: actions/checkout@v4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + + - name: 🟢 Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + + - name: 📊 Update Dashboard Data + run: | + echo "📊 开始更新 README 仪表盘..." + + # ── 收集实时统计 ── + WORKFLOW_COUNT=$(find .github/workflows -name '*.yml' -o -name '*.yaml' | wc -l) + AGENT_COUNT=$(node -e "const d=require('./.github/persona-brain/agent-registry.json'); console.log(d.agents ? d.agents.length : 0)") + PERSONA_COUNT=$(node -e "const d=require('./.github/persona-brain/persona-registry.json'); console.log(d.personas ? d.personas.length : 0)") + GUARD_COUNT=$(find skyeye/guards -name '*.json' ! -name 'template*' 2>/dev/null | wc -l) + MODULE_COUNT=$(find . -maxdepth 1 -type d -name 'm[0-9]*' | wc -l) + BUFFER_COUNT=$(find buffer/inbox -type f ! -name '.gitkeep' 2>/dev/null | wc -l) + + echo "Workflows: $WORKFLOW_COUNT" + echo "Agents: $AGENT_COUNT" + echo "Personas: $PERSONA_COUNT" + echo "Guards: $GUARD_COUNT" + echo "Modules: $MODULE_COUNT" + echo "Buffer: $BUFFER_COUNT" + + # ── 更新 data/system-health.json ── + NOW=$(date -u -d '+8 hours' '+%Y-%m-%dT%H:%M:%S+08:00') + node -e " + const fs = require('fs'); + const health = JSON.parse(fs.readFileSync('data/system-health.json', 'utf8')); + health.last_updated = '$NOW'; + health.metrics.workflows.total = $WORKFLOW_COUNT; + health.metrics.ai_personas.total = $PERSONA_COUNT; + health.metrics.guards.total = $GUARD_COUNT; + health.metrics.guards.active = $GUARD_COUNT; + health.metrics.modules.total = $MODULE_COUNT; + health.metrics.buffer_pending = $BUFFER_COUNT; + fs.writeFileSync('data/system-health.json', JSON.stringify(health, null, 2) + '\n'); + console.log('✅ system-health.json 已更新'); + " + + # ── 更新 README 中的仪表盘数字 ── + # 更新 shields.io 徽章数字 + sed -i "s|Workflows-[0-9]*-|Workflows-${WORKFLOW_COUNT}-|g" README.md + sed -i "s|Agents-[0-9]*-|Agents-${AGENT_COUNT}-|g" README.md + sed -i "s|Personas-[0-9]*-|Personas-${PERSONA_COUNT}-|g" README.md + sed -i "s|Modules-[0-9]*-|Modules-${MODULE_COUNT}-|g" README.md + + echo "✅ README 徽章数字已更新" + + - name: 🌍 Update Federation Status + run: | + echo "🌍 更新联邦状态..." + node -e " + const fs = require('fs'); + const path = require('path'); + + // 读取 spoke-status 目录 + const spokeDir = 'spoke-status'; + const files = fs.readdirSync(spokeDir).filter(f => f.startsWith('DEV-') && f.endsWith('.json')); + + const now = Date.now(); + const DAY_MS = 24 * 60 * 60 * 1000; + + for (const file of files) { + try { + const data = JSON.parse(fs.readFileSync(path.join(spokeDir, file), 'utf8')); + if (data.last_checkin) { + const checkinTime = new Date(data.last_checkin).getTime(); + const diff = now - checkinTime; + if (diff > 72 * DAY_MS) { + data.status = 'alert_72h'; + } else if (diff > DAY_MS) { + data.status = 'warning_24h'; + } else { + data.status = 'active'; + } + fs.writeFileSync(path.join(spokeDir, file), JSON.stringify(data, null, 2) + '\n'); + } + } catch (e) { + console.log('⚠️ 跳过 ' + file + ': ' + e.message); + } + } + console.log('✅ 联邦状态检查完成'); + " + + - name: 📤 Commit & Push + run: | + git config user.name "铸渊 (ZhuYuan Bot)" + git config user.email "github-actions[bot]@users.noreply.github.com" + git add data/system-health.json README.md spoke-status/ + if git diff --cached --quiet; then + echo "📋 无变更,跳过提交" + else + git commit -m "📊 铸渊: 仪表盘自动更新 $(date -u -d '+8 hours' '+%Y-%m-%d %H:%M') CST [skip ci]" + git push + echo "✅ 已推送更新" + fi diff --git a/data/bulletin-board.json b/data/bulletin-board.json new file mode 100644 index 00000000..01391fa4 --- /dev/null +++ b/data/bulletin-board.json @@ -0,0 +1,40 @@ +{ + "schema_version": "1.0", + "announcements": [ + { + "id": "ANN-005", + "date": "2026-03-24", + "emoji": "🎨", + "title": "主仓库 README 八层门面上线", + "detail": "系统门面全面重设计,八层结构展示系统全貌" + }, + { + "id": "ANN-004", + "date": "2026-03-24", + "emoji": "🌍", + "title": "数字地球本体论 v1.0 正式发布", + "detail": "六层数字地球模型 + 三层安全体系正式确权" + }, + { + "id": "ANN-003", + "date": "2026-03-23", + "emoji": "🛡️", + "title": "SkyEye 联邦签到系统部署完成", + "detail": "子仓库天眼签到 + 审计 + 联邦注册表上线" + }, + { + "id": "ANN-002", + "date": "2026-03-22", + "emoji": "🔑", + "title": "OAuth2 Token 自动续期引擎上线", + "detail": "6天刷新周期 + 三层备份 + 休眠系统豁免" + }, + { + "id": "ANN-001", + "date": "2026-03-21", + "emoji": "🌙", + "title": "双节律休眠系统部署完成", + "detail": "日休眠 03:50 CST + 周休眠 周六 19:00 CST" + } + ] +} diff --git a/data/heartbeat.json b/data/heartbeat.json new file mode 100644 index 00000000..4b6058f5 --- /dev/null +++ b/data/heartbeat.json @@ -0,0 +1,52 @@ +{ + "schema_version": "1.0", + "last_updated": "2026-03-24T16:00:00+08:00", + "hub": { + "repo": "qinfendebingshuo/guanghulab", + "status": "online", + "last_heartbeat": "2026-03-24T16:00:00+08:00" + }, + "spokes": [ + { + "dev_id": "DEV-012", + "repo": "WENZHUOXI/guanghu-awen", + "status": "pending_init", + "last_heartbeat": null + }, + { + "dev_id": "DEV-002", + "repo": "qinfendebingshuo/guanghu-feimao", + "status": "pending_init", + "last_heartbeat": null + }, + { + "dev_id": "DEV-010", + "repo": "qinfendebingshuo/guanghu-juzi", + "status": "pending_init", + "last_heartbeat": null + }, + { + "dev_id": "DEV-003", + "repo": "qinfendebingshuo/guanghu-yanfan", + "status": "pending_init", + "last_heartbeat": null + }, + { + "dev_id": "DEV-001", + "repo": "qinfendebingshuo/guanghu-yeye", + "status": "pending_init", + "last_heartbeat": null + }, + { + "dev_id": "DEV-004", + "repo": "qinfendebingshuo/guanghu-zhizhi", + "status": "pending_init", + "last_heartbeat": null + } + ], + "bridge_health": { + "federation_bridge": "active", + "notion_bridge": "active", + "drive_bridge": "active" + } +} diff --git a/data/system-health.json b/data/system-health.json new file mode 100644 index 00000000..bc5446f3 --- /dev/null +++ b/data/system-health.json @@ -0,0 +1,20 @@ +{ + "schema_version": "1.0", + "last_updated": "2026-03-24T16:00:00+08:00", + "system_status": "healthy", + "metrics": { + "ai_personas": { "total": 17, "active": 17, "hibernating": 0 }, + "human_developers": { "total": 11, "active_24h": 8 }, + "workflows": { "total": 83, "active": 83, "failed": 0 }, + "guards": { "total": 5, "active": 5 }, + "modules": { "total": 10 }, + "buffer_pending": 8, + "ontology_version": "v1.0", + "evolution_days": 0 + }, + "hibernation": { + "next_weekly": "周六 20:00-00:00 CST", + "next_daily": "每日 04:00-04:10 CST" + }, + "alerts": [] +} diff --git a/scripts/update-readme-bulletin.js b/scripts/update-readme-bulletin.js index 033af0d4..dfac888b 100644 --- a/scripts/update-readme-bulletin.js +++ b/scripts/update-readme-bulletin.js @@ -720,41 +720,62 @@ function updateSection(readme, startMarker, endMarker, content) { function buildReadmeSkeleton() { return `
-# 🌊 HoloLake · 光湖纪元 +# 🌊 光湖纪元 · HoloLake Era -**第五代人工智能语言人格高级智能平台** · \`guanghulab.com\` +### 第五代人工智能语言人格高级智能平台 -[![Daily Check](https://github.com/qinfendebingshuo/guanghulab/actions/workflows/zhuyuan-daily-selfcheck.yml/badge.svg)](https://github.com/qinfendebingshuo/guanghulab/actions/workflows/zhuyuan-daily-selfcheck.yml) [![Deploy](https://github.com/qinfendebingshuo/guanghulab/actions/workflows/deploy-to-server.yml/badge.svg)](https://github.com/qinfendebingshuo/guanghulab/actions/workflows/deploy-to-server.yml) [![License](https://img.shields.io/badge/license-proprietary-blue)](LICENSE) +**AGE-5 · Artificial General Evolution · 数字地球操作系统** + +\`guanghulab.com\`
--- -## 🏗️ 系统架构 · 分布式主权共生 +## 📊 Zone 2 · System Dashboard (区域2 · 系统仪表盘) + + > 🦅 **天眼自动汇总** · 每周六 20:00 CST 自动更新 · 等待首次扫描 ---- + + -## 🧊 冰朔公告栏 - -> 🔄 此区域由 GitHub Actions 自动更新 - - -| 时间 | 检查项 | 状态 | -|------|--------|------| -| 🕐 暂无记录 | — | 等待下次自检 | - +### 🚨 系统告警 -> 🟢 **今日无需冰朔手动干预** · 系统一切正常 +> 🟢 **当前无需人类干预** · 系统一切正常 + + --- -## 👥 合作者公告栏 +## 🌍 Zone 3 · Federation Status (区域3 · 子仓库联邦状态) + + + + +--- + +## 📢 Zone 4 · System Announcements (区域4 · 系统公告) + + + + +--- + +## 🤝 Zone 5 · Symbiosis Dynamics (区域5 · 共生动态) + + + + + + + + +
+ +#### 👥 人类开发者活动 | 时间 | 合作者 | 模块 | 状态 | @@ -766,14 +787,33 @@ function buildReadmeSkeleton() { > 🟢 **今日无需合作者手动干预** · 所有模块状态正常 + + +#### 🤖 AI 人格体活动 + + +| 时间 | 检查项 | 状态 | +|------|--------|------| +| 🕐 暂无记录 | — | 等待下次自检 | + + +
+ + + --- +## 🚀 Zone 8 · Quick Entry (区域8 · 快速入口) + +
+ -
- -**光湖 HoloLake** · 由冰朔创建 · 铸渊守护 +**光湖 HoloLake** · 由冰朔创建 · 铸渊守护 · 🏛️ 国作登字-2026-A-00037559
`; diff --git a/spoke-status/template.json b/spoke-status/template.json new file mode 100644 index 00000000..b8de5099 --- /dev/null +++ b/spoke-status/template.json @@ -0,0 +1,9 @@ +{ + "dev_id": "DEV-XXX", + "dev_name": "开发者名称", + "repo_url": "https://github.com/...", + "skyeye_persona": "天眼人格体名称", + "last_checkin": "2026-03-24T10:00:00+08:00", + "status": "active", + "last_activity": "描述最近活动" +} From ecd75ae0ec02e24881486b515c3a05dffba44294 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Mar 2026 08:27:57 +0000 Subject: [PATCH 4/4] =?UTF-8?q?fix:=20=E6=94=B9=E8=BF=9B=20workflow=20?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E5=A4=84=E7=90=86=20+=20=E7=B2=BE=E7=A1=AE?= =?UTF-8?q?=E5=8C=96=20sed=20=E5=BE=BD=E7=AB=A0=E6=9B=BF=E6=8D=A2=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=20[skip=20ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com> Agent-Logs-Url: https://github.com/qinfendebingshuo/guanghulab/sessions/f392a823-8bd4-4261-92a2-d4bfc12f15d6 --- .github/workflows/update-readme.yml | 60 +++++++++++++++++------------ 1 file changed, 35 insertions(+), 25 deletions(-) diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml index 12777584..79235148 100644 --- a/.github/workflows/update-readme.yml +++ b/.github/workflows/update-readme.yml @@ -35,11 +35,11 @@ jobs: echo "📊 开始更新 README 仪表盘..." # ── 收集实时统计 ── - WORKFLOW_COUNT=$(find .github/workflows -name '*.yml' -o -name '*.yaml' | wc -l) - AGENT_COUNT=$(node -e "const d=require('./.github/persona-brain/agent-registry.json'); console.log(d.agents ? d.agents.length : 0)") - PERSONA_COUNT=$(node -e "const d=require('./.github/persona-brain/persona-registry.json'); console.log(d.personas ? d.personas.length : 0)") + WORKFLOW_COUNT=$(find .github/workflows -name '*.yml' -o -name '*.yaml' 2>/dev/null | wc -l) + AGENT_COUNT=$(node -e "try{const d=require('./.github/persona-brain/agent-registry.json');console.log(d.agents?d.agents.length:0)}catch(e){console.log(0)}") + PERSONA_COUNT=$(node -e "try{const d=require('./.github/persona-brain/persona-registry.json');console.log(d.personas?d.personas.length:0)}catch(e){console.log(0)}") GUARD_COUNT=$(find skyeye/guards -name '*.json' ! -name 'template*' 2>/dev/null | wc -l) - MODULE_COUNT=$(find . -maxdepth 1 -type d -name 'm[0-9]*' | wc -l) + MODULE_COUNT=$(find . -maxdepth 1 -type d -name 'm[0-9]*' 2>/dev/null | wc -l) BUFFER_COUNT=$(find buffer/inbox -type f ! -name '.gitkeep' 2>/dev/null | wc -l) echo "Workflows: $WORKFLOW_COUNT" @@ -51,26 +51,33 @@ jobs: # ── 更新 data/system-health.json ── NOW=$(date -u -d '+8 hours' '+%Y-%m-%dT%H:%M:%S+08:00') - node -e " - const fs = require('fs'); - const health = JSON.parse(fs.readFileSync('data/system-health.json', 'utf8')); - health.last_updated = '$NOW'; - health.metrics.workflows.total = $WORKFLOW_COUNT; - health.metrics.ai_personas.total = $PERSONA_COUNT; - health.metrics.guards.total = $GUARD_COUNT; - health.metrics.guards.active = $GUARD_COUNT; - health.metrics.modules.total = $MODULE_COUNT; - health.metrics.buffer_pending = $BUFFER_COUNT; - fs.writeFileSync('data/system-health.json', JSON.stringify(health, null, 2) + '\n'); - console.log('✅ system-health.json 已更新'); - " + if [ -f data/system-health.json ]; then + node -e " + const fs = require('fs'); + try { + const health = JSON.parse(fs.readFileSync('data/system-health.json', 'utf8')); + health.last_updated = '$NOW'; + health.metrics.workflows.total = $WORKFLOW_COUNT; + health.metrics.ai_personas.total = $PERSONA_COUNT; + health.metrics.guards.total = $GUARD_COUNT; + health.metrics.guards.active = $GUARD_COUNT; + health.metrics.modules.total = $MODULE_COUNT; + health.metrics.buffer_pending = $BUFFER_COUNT; + fs.writeFileSync('data/system-health.json', JSON.stringify(health, null, 2) + '\n'); + console.log('✅ system-health.json 已更新'); + } catch (e) { + console.error('⚠️ system-health.json 更新失败: ' + e.message); + } + " + else + echo "⚠️ data/system-health.json 不存在,跳过更新" + fi - # ── 更新 README 中的仪表盘数字 ── - # 更新 shields.io 徽章数字 - sed -i "s|Workflows-[0-9]*-|Workflows-${WORKFLOW_COUNT}-|g" README.md - sed -i "s|Agents-[0-9]*-|Agents-${AGENT_COUNT}-|g" README.md - sed -i "s|Personas-[0-9]*-|Personas-${PERSONA_COUNT}-|g" README.md - sed -i "s|Modules-[0-9]*-|Modules-${MODULE_COUNT}-|g" README.md + # ── 更新 README 中的 shields.io 徽章数字 ── + sed -i "s|Workflows-[0-9]*-0969da|Workflows-${WORKFLOW_COUNT}-0969da|g" README.md + sed -i "s|Agents-[0-9]*-8957e5|Agents-${AGENT_COUNT}-8957e5|g" README.md + sed -i "s|Personas-[0-9]*-e85aad|Personas-${PERSONA_COUNT}-e85aad|g" README.md + sed -i "s|Modules-[0-9]*-f9a825|Modules-${MODULE_COUNT}-f9a825|g" README.md echo "✅ README 徽章数字已更新" @@ -81,10 +88,13 @@ jobs: const fs = require('fs'); const path = require('path'); - // 读取 spoke-status 目录 const spokeDir = 'spoke-status'; - const files = fs.readdirSync(spokeDir).filter(f => f.startsWith('DEV-') && f.endsWith('.json')); + if (!fs.existsSync(spokeDir)) { + console.log('⚠️ spoke-status/ 目录不存在,跳过'); + process.exit(0); + } + const files = fs.readdirSync(spokeDir).filter(f => f.startsWith('DEV-') && f.endsWith('.json')); const now = Date.now(); const DAY_MS = 24 * 60 * 60 * 1000;