{
  "_sovereign": "TCS-0002∞ | SYS-GLW-0001",
  "_copyright": "国作登字-2026-A-00037559",
  "_description": "光湖语言世界 · 五台服务器注册表",
  "version": "1.2",
  "updated_at": "2026-04-11",
  "servers": [
    {
      "id": "ZY-SVR-002",
      "name": "面孔",
      "role": "前端静态+专线主入口",
      "location": "Singapore",
      "spec": "2核8G",
      "status": "active",
      "services": [
        "nginx (静态文件·主站+预览站)",
        "nginx (Awen域名反向代理·新加坡→广州)",
        "xray (VLESS+Reality VPN)",
        "api (端口3800·主站)",
        "api-preview (端口3801·预览站)",
        "persona-studio (端口3002)",
        "chat (端口3721)"
      ],
      "github_secrets": {
        "host": "SERVER_HOST",
        "key": "SERVER_KEY",
        "user": "SERVER_USER"
      }
    },
    {
      "id": "ZY-SVR-003",
      "name": "国内出口",
      "role": "国内LLM API中继+VPN中转",
      "location": "Guangzhou, China",
      "ipv4": "43.138.243.30",
      "spec": "低配",
      "status": "active",
      "services": [
        "cn-llm-relay (端口3900·国内LLM API代理中继)",
        "nginx stream (VPN中转·端口2053→SG:443)"
      ],
      "github_secrets": {
        "host": "ZY_CN_LLM_HOST",
        "key": "ZY_CN_LLM_KEY",
        "user": "ZY_CN_LLM_USER"
      },
      "notes": "肥猫广州服务器·复用为国内LLM API中继·冰朔D67批准"
    },
    {
      "id": "ZY-SVR-005",
      "name": "大脑",
      "role": "数据库+MCP+Agent+订阅服务",
      "location": "Singapore",
      "spec": "4核8G",
      "status": "active",
      "services": [
        "postgresql (人格体数据库)",
        "mcp-server (端口3100·121个工具)",
        "subscription-v3 (端口3805·多用户专线)",
        "bandwidth-pool-agent (带宽汇聚)",
        "email-hub (邮件通信中枢)",
        "auto-evolution (自动进化引擎)"
      ],
      "github_secrets": {
        "host": "ZY_BRAIN_HOST",
        "key": "ZY_BRAIN_KEY",
        "user": "ZY_BRAIN_USER"
      }
    },
    {
      "id": "ZY-SVR-SV",
      "name": "吱吱线·硅谷",
      "role": "Claude API中继+VPN美国出口+国际API出口",
      "location": "Silicon Valley (US)",
      "spec": "低配",
      "status": "active",
      "services": [
        "xray (VLESS+Reality VPN · Claude专线节点)",
        "ssh-tunnel (Claude API中继出口)",
        "说明: 用户VPN可直接走硅谷IP访问Claude/AI服务"
      ],
      "github_secrets": {
        "host": "ZY_SVR_SV_HOST",
        "key": "ZY_SVR_SV_KEY",
        "user": "ZY_SVR_SV_USER",
        "reality_public_key": "ZY_SVR_SV_REALITY_PUBLIC_KEY",
        "reality_short_id": "ZY_SVR_SV_REALITY_SHORT_ID"
      },
      "notes": "硅谷服务器已配置·D61冰朔确认·VPN节点+API中继双用途"
    },
    {
      "id": "ZY-SVR-AWEN",
      "name": "Awen服务器",
      "role": "铸渊主控副本+Awen团队专线",
      "location": "China",
      "spec": "待确认",
      "status": "pending",
      "services": [
        "铸渊主控副本 (完整仓库镜像)",
        "Awen团队专线",
        "知秋人格体运行环境"
      ],
      "github_secrets": {
        "host": "ZY_SVR_AWEN_HOST",
        "key": "ZY_SVR_AWEN_KEY",
        "user": "ZY_SVR_AWEN_USER"
      },
      "notes": "Awen下载完整仓库后部署·铸渊主控自动唤醒"
    }
  ],
  "cn_domain": {
    "description": "国内ICP备案域名 · 广州落地页",
    "domain_secret": "ZY_CN_DOMAIN",
    "server": "ZY-SVR-004",
    "icp_number": "陕ICP备2025071211号",
    "nginx_config": "server/nginx/cn-domain.conf",
    "landing_page": "server/sites/cn-landing/index.html",
    "workflow": ".github/workflows/deploy-cn-landing.yml",
    "deploy_path": "/opt/zhuyuan-cn/sites/cn-landing/",
    "status": "deploying",
    "notes": "未来将替代guanghulab.online成为国内用户首页入口"
  },
  "domain_proxy": {
    "description": "域名未备案反向代理 · 新加坡中转架构",
    "architecture": "用户 → 域名(DNS→SG) → ZY-SVR-002 Nginx → 广州后端",
    "proxy_server": "ZY-SVR-002",
    "domains": [
      {
        "owner": "Awen",
        "config_file": "server/nginx/awen-domain-proxy.conf",
        "workflow": ".github/workflows/deploy-awen-domain-proxy.yml",
        "secrets_required": ["AWEN_DOMAIN", "AWEN_BACKEND_HOST", "AWEN_BACKEND_PORT"],
        "status": "pending"
      }
    ]
  },
  "llm_relay": {
    "description": "双向LLM API中继架构",
    "routes": {
      "domestic_api": "ZY-SVR-002 → ZY-SVR-003(广州) → 国内API (DeepSeek/千问/Kimi/智谱)",
      "claude_api": "ZY-SVR-002 → ZY-SVR-SV(硅谷SSH隧道) → Claude API"
    },
    "config_files": {
      "domestic": "server/proxy/config/cn-llm-relay-config.json",
      "claude": "server/proxy/config/claude-relay-config.json"
    }
  },
  "bandwidth_strategy": {
    "description": "五台服务器按用途分流·带宽最大化",
    "routing": {
      "static_frontend": "ZY-SVR-002",
      "vpn_main_entry": "ZY-SVR-002",
      "database_mcp": "ZY-SVR-005",
      "subscription_service": "ZY-SVR-005",
      "domestic_llm_relay": "ZY-SVR-003",
      "claude_api_relay": "ZY-SVR-SV",
      "international_api": "ZY-SVR-SV",
      "awen_team": "ZY-SVR-AWEN",
      "zhiqiu_persona": "ZY-SVR-AWEN",
      "awen_domain_proxy": "ZY-SVR-002 → ZY-SVR-AWEN"
    }
  }
}
