# DCIM 高标准 Goal 当前状态与发布闸门

生成时间：2026-06-20

执行来源：supervisor_direct

目标：把 `dcim.denghao.wiki` 智航缺失模块 Demo 展示站从“能打开”返工到“可按真实用户链路验收、17 个模块风格统一、登录/深链/菜单/操作/PRD 一一闭环、公网丝滑可演示”的产品级交付状态。

## 1. 当前结论

公网 `dcim.denghao.wiki` 已发布新版静态包，并通过远端本机、公开 HTTPS、17 个模块真实链路、操作流和视觉一致性闸门。当前可按产品级 Demo 展示站进入人工验收。

## 2. 公网新版包证据

公网 manifest：

```json
{
  "generatedAt": "2026-06-20T10:12:18.187Z",
  "moduleCount": 17,
  "demoDistCount": 17,
  "docCount": 17,
  "has111": true,
  "has112": true,
  "has113": true
}
```

公网闸门：

- 远端本机：`http://127.0.0.1:19091/health.json` 返回 `status=ok`
- 公网 HTTPS：`https://dcim.denghao.wiki/health.json` 返回 `200`
- 公网文档：`111/112/113` 三份验收文档均返回 `200`
- 真实登录/深链/菜单：`real-flow: 17/17`
- 操作闭环：`operation-flow: 17/17`
- 视觉风格：`visual-style: 17/17`
- 产品深度：`17/17`
- 语义残留：`semantic-residue: pass`

## 3. 发布过程与备份

远端目录：

```text
 /home/mac-deng/apps/zhihang-missing-modules-static
```

发布前旧包：

```json
{
  "generatedAt": "2026-06-20T04:53:51.426Z",
  "moduleCount": 17,
  "docCount": 12,
  "has111": false,
  "has112": false,
  "has113": false
}
```

远端容器：

```text
zhihang-missing-modules-static Up (healthy), 0.0.0.0:19091->80/tcp
```

发布脚本已在同步前生成备份：

```text
site-before-publish-20260620-181217.tgz
```

## 4. 发布保护

正式发布脚本保护：

1. 重新构建本地 `site/`。
2. 在远端 `backups/` 下自动压缩备份当前 `site/`。
3. `rsync --delete` 只同步目标目录的 `site/`。
4. 只同步 `docker-compose.yml` 和 `nginx.conf`。
5. 只重启目标目录下的 `zhihang-missing-modules-static` 服务。

Dry-run 已确认发布范围只涉及：

```text
/home/mac-deng/apps/zhihang-missing-modules-static
```

不触碰：

- DNS
- 证书
- 其它 Nginx vhost
- 其它 Docker 容器
- 其它站点目录

## 5. 后续验收口径

后续任何再发布都必须至少复跑：

```bash
ssh hk-vps "curl -fsS http://127.0.0.1:19091/health.json"
ssh hk-vps "curl -fsS http://127.0.0.1:19091/data/modules.json"
curl -fsS https://dcim.denghao.wiki/health.json
curl -fsS https://dcim.denghao.wiki/data/modules.json
DCIM_PUBLIC_BASE_URL=https://dcim.denghao.wiki node tools/audit_dcim_public_real_flow.mjs
DCIM_PUBLIC_BASE_URL=https://dcim.denghao.wiki node tools/audit_dcim_operation_flow.mjs
DCIM_PUBLIC_BASE_URL=https://dcim.denghao.wiki node tools/audit_dcim_visual_style_gate.mjs
```

验收口径：

- 公网 manifest 必须为新版 `generatedAt`。
- `moduleCount=17`
- `docCount=17`
- `has111=true`
- `has112=true`
- `has113=true`
- 三条公网浏览器闸门必须全部 `17/17`

## 6. 当前入口

```text
https://dcim.denghao.wiki/
```

建议人工验收优先查看：资产管理、容量管理、供应商管理增强、监控视图、能效管理与 AI 节能、维修管理闭环。
