test: add production launch evidence gate

This commit is contained in:
Codex
2026-06-30 02:31:25 +08:00
parent 52cef9f13d
commit 9a8a85a8c0
10 changed files with 822 additions and 2 deletions

View File

@@ -186,7 +186,16 @@ H5 正式回归时建议把前端登录态切到 Supabase Auth并观察业务
npm run check:taro
```
7. 打开三个域名,确认启动页能解析租户,登录后接口请求使用 `Authorization` 和正确的 `x-tenant-id`。
7. 收集生产上线证据并运行 launch gate
```bash
cp docs/refactor/production-launch-evidence.template.json docs/refactor/production-launch-evidence.json
npm run launch:gate -- --evidence docs/refactor/production-launch-evidence.json
```
证据文件只保存命令摘要、artifact 路径、审批人和时间,不保存真实 access token、支付密钥、对象存储密钥或用户隐私明细。真实 artifact 建议放在 `docs/refactor/launch-artifacts/`,该目录不入 Git。
8. 打开三个域名,确认启动页能解析租户,登录后接口请求使用 `Authorization` 和正确的 `x-tenant-id`。
## 安全审计边界