### Task 6: install.sh Nuxt Supervisor 契约测试（RED）

**Files:**
- Create: `tests/deploy/baota/test-install-nuxt-supervisor.sh`

```bash
#!/bin/bash
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/../../.." && pwd)"
INS="$ROOT/deploy/baota/install.sh"
grep -q 'ecshopx-nuxt' "$INS"
grep -q 'NITRO_PORT=3000' "$INS"
grep -q 'NUXT_PUBLIC_API_BASE=/api/h5app' "$INS"
grep -q 'NUXT_INTERNAL_API_BASE=http://127.0.0.1/api/h5app' "$INS"
grep -q 'NITRO_HOST=127.0.0.1' "$INS"
grep -q '\.output/server/index.mjs' "$INS"
grep -q '/web/' "$INS"
# Node 主版本检查痕迹
grep -qE 'node.*(20|version|主版本)' "$INS" || grep -q 'Node' "$INS"
```

- [ ] Run → Expected: FAIL

---

