# 2026-06-16 Handoff — Deploy Status ## Completed this session - **Docs site** (`docs.squaremcp.com`) rebuilt and rolled out with the new `communications.html` page and cross-page nav links. - **App site** (`app.squaremcp.com`) rebuilt and rolled out: - Fixed `product/app/Dockerfile` so it now copies `communications.js`. - `product/app/app-k8s.yaml` updated to image tag `453831a` and `imagePullPolicy: IfNotPresent`. - ChatGPT picker now shows direct **Open** links for the published Living Brief and Communications GPTs, plus scoped `/openapi-communications.json` and `/openapi-living-brief.json` options (no longer the old unscoped `/openapi.json`). - **Hermes backend** verified: - OAuth client `d5b4125c62c6f7ae61740116f8661dbb` is registered with `["communications"]` capability. - `POST /oauth/token` returns `invalid_grant` for a dummy code, which means the client is recognized (the earlier `invalid_client` was caused by the `oauth_clients` table being wiped). ## Current production state | Service | URL | Status | Image tag | |---|---|---|---| | docs | https://docs.squaremcp.com | 200 OK | `squaremcp-docs:453831a` | | app | https://app.squaremcp.com | 200 OK | `squaremcp-app:453831a` | | hermes | https://hermes.squaremcp.com | Running, OpenAPI specs 200 | `hermes-mcp:61ce4c7` | ## How images are getting into the cluster The registry NodePort `localhost:32000` is **not reachable from the host**, so the deploy path is: 1. `docker build ... -t localhost:32000/:` 2. `docker save ... -o /tmp/.tar` 3. `microk8s ctr image import /tmp/.tar` 4. `kubectl apply -f ` with `imagePullPolicy: IfNotPresent` Note: `microk8s ctr image import` has hung in recent runs; if it stalls, kill stale `ctr image import` processes and retry. ## Known issues / blockers for next person 1. **ChatGPT end-to-end not fully verified** - The OAuth client exists and is recognized, but a real ChatGPT conversation flow with `hermes-all-in` still needs to be run to confirm the full authorize → token → action path works. 2. **Privacy / Terms pages** - `product/site/privacy.html` and `terms.html` still lack Communications-specific data-handling language. 3. **Ingress controller health** - `nginx-ingress-microk8s-controller` has 317+ restarts over 269 days. It is currently `Running`, but this is a chronic risk. 4. **Dead registry references** - `fetcherpay-leads-api` and `fetcherpay-leads-worker` are still in `ImagePullBackOff` because they point at the old `23.120.207.35:32000` registry. 5. **MySQL restart dependency** - MySQL runs as a Docker container on the host at `:3306`. If you stop all Docker containers during a deploy, remember to restart MySQL or Hermes will fail to connect. ## Files changed / touched in repo - `docs/Dockerfile` - `docs/communications.html` - `docs/index.html` (nav link + card) - `docs/living-brief.html` (nav link) - `docs/getting-started.html` (nav link) - `docs/platforms.html` (nav link) - `docs/agent-tutorial.html` (nav link) - `product/app/Dockerfile` - `product/app/app.js` - `product/app/app-k8s.yaml` - `docs-k8s.yaml` ## Secrets note `COMMUNICATIONS_OAUTH_CLIENT_SECRET` is set in the live `hermes-k8s.yaml` env but is **not committed** to git. ## Next recommended actions 1. Open ChatGPT and run a real message through the `hermes-all-in` GPT to confirm OAuth completes and the Communications actions are reachable. 2. Update `product/site/privacy.html` and `terms.html` with Communications data-handling language. 3. Investigate and stabilize `nginx-ingress-microk8s-controller` restarts. 4. Decide whether to fix or retire `fetcherpay-leads-api` / `fetcherpay-leads-worker` image references.