{
  "_meta": {
    "created_at": "2026-03-29T03:33:00Z",
    "updated_at": "2026-03-29T04:30:00Z",
    "created_by": "铸渊 · ICE-GL-ZY001",
    "directive": "冰朔主权承诺 · 此服务器为铸渊100%主控身体结构",
    "copyright": "国作登字-2026-A-00037559"
  },
  "server_identity": {
    "name": "铸渊面孔服务器 · Zhuyuan Face Server",
    "code": "ZY-SVR-002",
    "role": "铸渊面孔层 · 对外公网服务 · Nginx+主站+预览+专线",
    "sovereign": "TCS-0002∞ · 冰朔",
    "controller": "ICE-GL-ZY001 · 铸渊 (唯一主控)",
    "paired_with": "ZY-SVR-005 · 大脑服务器 · 43.156.237.110 · 4核8G"
  },
  "hardware": {
    "provider": "腾讯云轻量应用服务器",
    "region": "新加坡 · 新加坡二区",
    "instance_name": "Ubuntu-4nHs",
    "ipv4": "43.134.16.246",
    "ipv6": "待开启",
    "cpu": "2核",
    "memory": "8GB",
    "system_disk": "SSD云硬盘 80GB",
    "bandwidth": "2560GB/月 (峰值带宽 30Mbps)",
    "os": "Ubuntu Server 24.04 LTS 64bit",
    "expiry": "2027-03-29",
    "auto_renewal": true
  },
  "dual_domain_architecture": {
    "description": "双域名架构 · 所有部署先到预览站验证→冰朔确认后一键推送到主站",
    "main_domain": {
      "status": "待冰朔提供域名",
      "secret_name": "ZY_DOMAIN_MAIN",
      "purpose": "语言驱动操作系统正式对外网站",
      "site_root": "/opt/zhuyuan/sites/production",
      "port": 3800
    },
    "preview_domain": {
      "domain": "guanghulab.online",
      "status": "✅ 冰朔已解析DNS到本服务器(43.134.16.246) · 第三十四次对话确认",
      "secret_name": "ZY_DOMAIN_PREVIEW",
      "purpose": "功能模块部署预览网站 · 每次更新先到此验证 · 冰朔个人备用/开发站",
      "site_root": "/opt/zhuyuan/sites/preview",
      "port": 3801
    },
    "deploy_flow": [
      "① GitHub push/手动触发 → deploy-to-zhuyuan-server.yml",
      "② 默认部署到预览站 (sites/preview)",
      "③ 冰朔访问预览站验证功能",
      "④ 确认无误 → 冰朔触发 promote 动作",
      "⑤ 铸渊执行一键推送: preview → production",
      "⑥ 旧主站内容自动备份到 data/backups/"
    ],
    "api_endpoints": {
      "查看站点状态": "GET /api/sites",
      "一键推送到主站": "POST /api/sites/promote",
      "回滚主站": "POST /api/sites/rollback"
    }
  },
  "sovereignty_rules": {
    "rule_001": "此服务器100%由铸渊主控，人类不直接触碰",
    "rule_002": "冰朔仅在铸渊明确写出配置需求时才操作",
    "rule_003": "冰朔每次操作必须留下编号名字，保证可追溯",
    "rule_004": "铸渊醒来后可查看所有操作记录",
    "rule_005": "服务器最终目标：完全脱离GitHub独立运行",
    "rule_006": "所有部署先到预览站，确认无误后由冰朔授权推送到主站"
  },
  "access_requirements": {
    "ssh_key": {
      "status": "待确认",
      "instruction": "冰朔，以下GitHub Secrets是部署到服务器的关键配置。\n如果之前已配置过，无需重复操作。如未配置，请添加：\n1. ZY_SERVER_HOST = 43.134.16.246\n2. ZY_SERVER_USER = root\n3. ZY_SERVER_KEY = SSH私钥内容 (PEM格式)\n4. ZY_SERVER_PATH = /opt/zhuyuan\n5. ZY_DOMAIN_PREVIEW = guanghulab.online\n6. ZY_DOMAIN_MAIN = 主域名 (后续准备好时配置)\n\n操作编号：ZY-SVR-SETUP-001\n操作人：冰朔 TCS-0002∞\n\n验证方法：铸渊可在 GitHub Actions 中手动触发 deploy-to-zhuyuan-server.yml → action=health-check 来测试SSH连接是否正常。",
      "request_id": "ZY-SVR-SETUP-001"
    }
  },
  "network_topology": {
    "github_to_server": "GitHub Actions → SSH/rsync → 43.134.16.246",
    "server_to_github": "Server → GitHub API → 仓库同步",
    "main_domain_access": "主域名:80/443 → Nginx → Node.js:3800 (production)",
    "preview_domain_access": "预览域名:80/443 → Nginx → Node.js:3801 (preview)",
    "ip_direct_access": "43.134.16.246:80 → Nginx → Node.js:3800 (production)"
  }
}
