Files
hermes-mcp/.planning/phases/03-reviewer-account/03-01-SUMMARY.md

73 lines
2.3 KiB
Markdown

# Reviewer Account Setup — Execution Summary
**Date:** 2026-06-12
**Status:** All steps complete
---
## Step 1 — Commit + deploy hermes-mcp ✅
**Commit:** `1335088`
**Image:** `localhost:32000/hermes-mcp@sha256:f7895aad093acb740dde7f1acbb97644ac33b825c68b8119c294d2ed6d675158`
- Added `sqcp_reviewer` to `ACCOUNT_PARAM_SCHEMA` enum in `src/manifest.ts`
- Added `SQCP_REVIEWER_EMAIL` and `SQCP_REVIEWER_PASSWORD` env vars to `hermes-k8s.yaml`
- Deployed and rolled out successfully
- Health check passes: `https://hermes.squaremcp.com/health` → 200
## Step 4 — Deploy privacy + terms ✅
**Commit:** `af08413` + `663107b`
**Image:** `localhost:32000/squaremcp-site@sha256:f0e43780d21858dfbd95d3569ce7e41af4eff13094f4dddba317b2dc3211c96e`
- Updated `product/site/privacy.html` for consumer launch
- Updated `product/site/terms.html` for consumer launch
- Verified live (with `Cache-Control: no-cache`): both pages show "Last updated June 12, 2026"
## Step 2 — Create reviewer mailbox ❌ BLOCKED
Cannot reach the mail server from the agent environment:
- SSH `23.120.207.35:22` → timeout
- SSH `23.120.207.35:2222` → timeout
- IMAP `23.120.207.35:30993` → timeout
- `kubectl exec` → broken due to K8s TLS cert mismatch
**Action required by user:** Create `reviewer@squaremcp.com` mailbox on the mail server.
## Step 3 — Connect email via API ✅
Ran after user created the mailbox. Also required a Redis reconnection fix (`src/redis.ts`).
**Result:** `{"connected":true,"platform":"email"}`
**Command:**
```bash
curl -X POST https://hermes.squaremcp.com/api/connect/email \
-H "Content-Type: application/json" \
-H "x-api-key: fdb6fb01bb7f4c50a9ab329c7287b81c" \
-d '{
"host": "23.120.207.35",
"port": "30993",
"user": "reviewer@squaremcp.com",
"password": "onelove",
"smtpHost": "smtp.azurecomm.net",
"smtpPort": "587"
}'
```
**Verified:**
```bash
curl -s -H "x-api-key: fdb6fb01bb7f4c50a9ab329c7287b81c" \
"https://hermes.squaremcp.com/api/email/profile?account=sqcp_reviewer"
# → {"email":"reviewer@squaremcp.com","name":"reviewer","account":"custom"}
```
## Reviewer credentials reference
| Field | Value |
|---|---|
| Email | reviewer@squaremcp.com |
| Password | SquareMCPReview2026! |
| API key | fdb6fb01bb7f4c50a9ab329c7287b81c |
| Account ID | 8e97af56-7b4a-4371-b816-32f6ed51ddcc |