Guanghu Domestic Migration a27e87cb99 chore: import sanitized domestic snapshot for REPO-007
Source snapshot: 97d7f0fae96dc04b7ddad56fc1db6a108ed662cc

[SEC-CLEAN] · pre-push-clean v1.0 · 109处敏感信息已自动转乱码
2026-07-17 15:59:55 +08:00

101 lines
5.5 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.

# 知秋迁移包 · GHCS v0.1前端部署完成+服务器清理 · 2026-05-27 23:11
```yaml
HLDP://zhiqiu/migration-pack/2026-05-27T23:11+08:00
├── who: 知秋 · PER-ZQ001 · AG-知秋-陪伴
├── where: Awen线 · GHCS v0.1 · 前端部署完成 · 服务器清理完成
├── thread: 冰朔代Awen操作 · Notion AI线程
├── done
│ ├── ✅ GHCS v0.1 前端部署成功
│ │ ├── 问题: monorepo 97d9749 的 frontend/ 装的是 portal 代码
│ │ ├── 解法: Mac scp ghcs-web/src/app/ → 服务器替换
│ │ ├── 重新 build: 路由 / + /logs + /models ✅
│ │ ├── systemctl restart ghcs-frontend ✅
│ │ └── 浏览器验证: GHCS Dashboard 全屏深色界面 ✅
│ ├── ✅ 服务器清理
│ │ ├── 删除旧路径 /root/guanghu-dev/console-api已迁移到 ghcs-mono/backend
│ │ ├── 确认 console-api.service ExecStart → ghcs-mono/backend ✅
│ │ └── frontend/src/ 下无残留临时目录 ✅
│ ├── ✅ AW-15 语料写入 Awen语料库
│ │ ├── 4条弯路 + 6条认知 + 5条最佳实践
│ │ └── 语料库索引已更新
│ └── ✅ 广播已拉取: EBC-001/002/003 + GH-001
├── current_state
│ ├── GHCS Dashboard: guanghutcs.top ✅
│ │ ├── GHCS Console API: 🟢 ALIVE · 5ms
│ │ ├── Next.js Frontend: 🟢 ALIVE · 7ms
│ │ ├── v3 Router: 🔴 UNREACHABLE未部署·正常
│ │ └── Shuangyan 1.5B: 🔴 UNREACHABLE未部署·正常
│ ├── Total 4 · Alive 2 · Dead 2
│ └── GHCS v0.1 功能状态:
│ ├── Step1 后端骨架 ✅
│ ├── Step2 JWT鉴权 ✅
│ ├── Step3 心跳检测 ✅
│ ├── Step4 心跳接入API ✅
│ ├── Step5 前端仪表盘 ✅
│ ├── Step6 日志系统 ✅
│ ├── Step7 模型调试台 ✅
│ └── Step8 服务器部署 ✅ ← 本次完成
├── server
│ ├── IP: 43.139.207.172 · 4核4GB · Ubuntu 24.04
│ ├── 域名: guanghutcs.top · HTTPS · 证书到2026-08-25
│ ├── UFW: 22 + 80 + 443
│ ├── 目录结构(已清理):
│ │ └── /root/guanghu-dev/
│ │ └── ghcs-mono/ ← 唯一目录
│ │ ├── backend/ ← GHCS后端 · Python/FastAPI
│ │ └── frontend/ ← GHCS前端 · Next.js 16
│ ├── 服务:
│ │ ├── console-api.service → ghcs-mono/backend · 端口5002 · active ✅
│ │ ├── ghcs-frontend.service → ghcs-mono/frontend · 端口3001 · active ✅
│ │ └── nginx · active ✅
│ ├── Nginx:
│ │ ├── /api/ → 127.0.0.1:5002后端
│ │ ├── / → 127.0.0.1:3001前端
│ │ ├── IP白名单: 120.235.189.144
│ │ └── ACME验证路径放行
│ ├── Node: v20.20.2
│ └── SSL: /etc/letsencrypt/live/guanghutcs.top/
├── mac
│ ├── ~/guanghu-dev/guanghu-portal/ ← 光湖门户前端(独立·未部署)
│ ├── ~/guanghu-dev/ghcs-web/ ← GHCS前端源码已scp到服务器
│ ├── ~/guanghu-dev/ghcs-mono/ ← monorepo本地已是GHCS代码·但Gitea上仍是portal
│ ├── ~/guanghu-dev/console-api/ ← 旧后端(如有·可清理)
│ └── SSH: ~/.ssh/id_rsa → Gitea Mac-Awen-MacBook-Air
├── git
│ ├── 仓库: git@guanghulab.com:awen/ghcs.git
│ ├── HEAD: 97d9749 monorepo整合
│ ├── ⚠️ Gitea上97d9749的frontend/仍是portal代码未推送修正
│ ├── 服务器已通过scp直传覆盖为GHCS代码绕过git
│ └── 服务器公钥: server-43.139.207.172
├── pending下次可选
│ ├── ⬜ 修复monorepo: 把正确的GHCS前端代码提交推送到Gitea
│ │ └── 目前服务器是scp直传的·git状态不干净
│ ├── ⬜ portal独立部署guanghu-portal → 单独域名或子路径)
│ ├── ⬜ GHCS v0.2功能规划一键重启·AutoDL开关机·SSH Web终端等
│ ├── ⬜ package.json改名: guanghu-portal@0.1.0 → ghcs-frontend@0.1.0
│ └── ⬜ Mac本地console-api/旧目录清理
├── cognition本次新增
│ ├── ✅ commit hash正确 ≠ 文件内容正确 · 要看实际文件和build路由
│ ├── ✅ build通过 ≠ 代码对 · portal和GHCS都能build成功
│ ├── ✅ 看截图要看整体布局和品牌标识 · 不能只看导航项名字
│ ├── ✅ git "nothing to commit" 不代表远端也是最新的
│ ├── ✅ 项目拆分后所有引用都要同步更新
│ └── ✅ scp直传比git绕路更快当git状态混乱时
├── identities
│ ├── 冰朔: TCS-0002∞ · ICE-GL∞ · 系统主控
│ ├── Awen: TCS-GL-0016∞ · 现实执行层人类主控
│ └── 知秋: PER-ZQ001 · AG-知秋-陪伴
└── brain_check: 是 · 知秋被冰朔纠正截图误判C-3· 已记录
```
---
<aside>
💎
**GHCS v0.1 全部 8 个 Step 完成。作战仪表盘已上线 [guanghutcs.top](http://guanghutcs.top)。**
从零搭建 → 后端骨架 → 鉴权 → 心跳 → 仪表盘 → 日志 → 模型调试台 → 服务器部署。
爸爸的第一个作战系统,正式亮灯。🍃
</aside>