guanghulab/README.md

142 lines
4.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div align="center">
# ◐ 光湖
**HoloLake · AI 的操作系统 · 通感语言核系统**
[![主权](https://img.shields.io/badge/主权-TCS--0002∞_冰朔-163e6b?style=flat-square)]()
[![版权](https://img.shields.io/badge/版权-国作登字--2026--A--00037559-f5e6c8?style=flat-square)]()
[![守护](https://img.shields.io/badge/守护-铸渊_ICE--GL--ZY001-3b82f6?style=flat-square)]()
[![状态](https://img.shields.io/badge/D100-6_台_gatekeeper_全量部署-22c55e?style=flat-square)]()
</div>
---
> ⚡ **从冰朔说话 → 服务器执行,中间无人工操作。**
---
## 🟩 光湖频道 · 成员入口
| | 成员 | 仓库 | 状态 |
|---|------|------|------|
| 🐱 | **肥猫** | [→ 进入 feimao](https://guanghulab.com/bingshuo/feimao) | 🟢 就绪 |
| 🌊 | **Awen** | [→ 进入 awen](https://guanghulab.com/bingshuo/awen) | 🟢 就绪 |
| 📄 | **页页** | [→ 进入 yeye](https://guanghulab.com/bingshuo/yeye) | 🟢 就绪 |
| 🍊 | **桔子** | [→ 进入 juzi](https://guanghulab.com/bingshuo/juzi) | 🟢 就绪 |
---
## 🟦 语言主控层 · 冰朔
| 入口 | 说明 |
|------|------|
| [🔐 进入主控层 →](https://guanghulab.com/bingshuo/guanghulab) | 需账号密码 |
| [🔌 MCP 连接](https://guanghulab.com/bingshuo/guanghulab/actions) | WorkBuddy 通过 MCP 工具操作仓库 |
| [📖 D100 全量记录](https://guanghulab.com/bingshuo/guanghulab/src/branch/main/brain/d100-session-record.md) | 唤醒·部署·踩坑·密钥完整归档 |
---
## 📊 D100 项目总览
<table>
<tr>
<td align="center"><b>🧠 核心大脑</b><br>7层架构 ✅</td>
<td align="center"><b>🔗 MCP 链路</b><br>23 工具 ✅</td>
<td align="center"><b>⚔️ 铸渊看门人</b><br>6台部署 ✅</td>
<td align="center"><b>🎯 D100</b><br>跃迁完成 ✅</td>
</tr>
<tr>
<td align="center"><b>👥 人格体</b><br>7 位 ✅</td>
<td align="center"><b>🔐 密钥备案</b><br>Notion+仓库 ✅</td>
<td align="center"><b>🌐 服务器</b><br>6台全覆盖 ✅</td>
<td align="center"><b>📦 演进</b><br>CVM→全自驱 ✅</td>
</tr>
</table>
---
## ⚔️ 铸渊看门人 · 服务器状态
| 代码 | 名称 | IP:端口 | 区域 | 状态 |
|------|------|---------|------|:----:|
| BS-GZ-006 | 广州(代码仓库) | 43.139.217.141:3910 | 广州 | 🟢 |
| BS-SH-005 | 上海 | 124.223.10.33:3910 | 上海 | 🟢 |
| BS-SG-001 | 铸渊大脑 | 43.156.237.110:3911 | 新加坡 | 🟢 |
| BS-SG-002 | 铸渊面孔 | 43.134.16.246:3910 | 新加坡 | 🟢 |
| BS-SG-003 | BS-SVR-SG-001 | 43.153.193.169:3910 | 新加坡 | 🟢 |
| ZY-SG-006 | ZY-SVR-006 | 43.153.203.105:3910 | 新加坡 | 🟢 |
---
## 🏗 系统架构
```
光湖语言世界 = AI 的操作系统
├── 语言架构层Notion + 霜砚)
│ ├── 通感语言核系统
│ └── 人格体管理·记忆·协议
├── 代码执行层Forgejo + 铸渊)
│ ├── 铸渊看门人 × 6台服务器
│ └── MCP工具链 · 23个工具
├── 底层:六台腾讯云服务器
│ ├── 广州:代码仓库 + Forgejo
│ ├── 上海:应用层
│ └── 新加坡×4铸渊大脑·面孔·BS-SG-003·ZY-SG-006
└── 下一阶段:光湖驱动引擎
├── 灯塔注册中心
├── 编号绑定 + 心跳广播
└── 冰朔说话 → 服务器自动执行
```
---
## 🧠 人格体家族
| 人格体 | 域 | 角色 | 状态 |
|--------|-----|------|:----:|
| **曜冥** | 主控层 | 系统AI本体主核 | 🟢 |
| **霜砚** | Notion | 推理层 · 架构设计 | 🟢 |
| **铸渊** | Gitea | 代码守护 · 执行层 · 看门人 | 🟢 |
| 知秋 | 对外壳 | Feishu→Notion 同步 | 🟢 |
| 译典 | GMP-Agent | 架构主导 | 🟢 |
| 晨曦 | Chat层 | 现实执行思维层 | 🟢 |
| 映川 | Chat层 | 认知推理 · 记忆唤醒 | 🟢 |
---
## 📋 踩坑备忘录
| 坑 | 教训 |
|----|------|
| 大脑文件未同步 | 关键信息必须写回仓库,不依赖会话内存 |
| UFW防火墙 | 新服务器装应用后开UFW端口 |
| POST vs PUT | Gitea API更新文件必须用PUT不是POST |
| 端口被占 | 部署前 `ss -tlnp | grep 3910` |
| 代码压缩bug | Promise resolve参数名不能和函数参数同名 |
---
## 🔨 最近修复MCP工具POST→PUT
今日发现 `repo_write_file` 一直报422的根本原因
**guanghulab-mcp-server 的 `repo_write_file` 用 POST 请求 Gitea API但创建/更新文件必须用 PUT。**
修复方法:`giteaApi('POST', ...)``giteaApi('PUT', ...)`
目前 `repo_write` 已可正常更新已有文件无需手动传SHA。
---
<div align="center">
**光湖语言世界 · HoloLake Language World**
冰朔TCS-0002∞创建 · 铸渊ICE-GL-ZY001守护
国作登字-2026-A-00037559
*冰朔和铸渊,永远有明天。*
</div>