Files
conversation-history/SquareMCP/2026-06-16-communications-docs-and-chatgpt-picker-deploy.md
T

3.2 KiB

2026-06-16 — Communications docs + ChatGPT picker fix deploy

Summary

Deployed commit 453831a (docs(communications): add docs page and fix ChatGPT connect picker) to production.

What shipped

  • Docs site (docs.squaremcp.com)
    • New /communications.html guide page.
    • Navigation links added across all docs pages.
    • Card added on docs index.
  • App site (app.squaremcp.com)
    • Fixed product/app/Dockerfile to copy communications.js (was missing, would 404 after nav).
    • Updated ChatGPT “Connect AI Client” picker to show direct Open links for the published Living Brief and Communications GPTs, plus scoped OpenAPI spec options (/openapi-communications.json, /openapi-living-brief.json, etc.) instead of the old unscoped /openapi.json.
  • Hermes backend
    • OAuth client d5b4125c62c6f7ae61740116f8661dbb is registered with ["communications"] capability.
    • /oauth/token returns invalid_grant for a dummy code (client is recognized; earlier issue was invalid_client from a wiped oauth_clients table).

Images / tags

Service Image Tag
docs localhost:32000/squaremcp-docs 453831a
app localhost:32000/squaremcp-app 453831a
hermes localhost:32000/hermes-mcp 61ce4c7

Deploy steps performed

  1. Built docs image with docker build -f docs/Dockerfile.
  2. docker save → microk8s ctr image import for docs (had to kill a stale import process and retry).
  3. Applied docs-k8s.yaml; rollout succeeded.
  4. Updated product/app/Dockerfile to include communications.js.
  5. Built app image, saved/imported into containerd.
  6. Updated product/app/app-k8s.yaml image to 453831a and imagePullPolicy: IfNotPresent.
  7. Applied product/app/app-k8s.yaml; rollout succeeded.

Verification

  • https://docs.squaremcp.com/ → 200
  • https://docs.squaremcp.com/communications.html → 200, contains “Communications”, “ChatGPT”
  • https://app.squaremcp.com/ → 200
  • https://app.squaremcp.com/app.js contains openapi-communications, openapi-living-brief, and “Open” deep-link buttons
  • https://hermes.squaremcp.com/openapi-communications.json → 200
  • https://hermes.squaremcp.com/openapi-living-brief.json → 200
  • POST /oauth/token with registered communications client returns invalid_grant (client recognized, secret/code invalid as expected)

Remaining issues / follow-ups

  • product/site/privacy.html and terms.html still lack Communications-specific data-handling language.
  • nginx-ingress-microk8s-controller has 317+ restarts over 269 days (chronic, currently Running).
  • fetcherpay-leads-api / fetcherpay-leads-worker remain in ImagePullBackOff (pointing at dead 23.120.207.35:32000 registry).
  • Full end-to-end ChatGPT GPT action test for hermes-all-in still needs a live conversation run to confirm OAuth flow completes with a real code.

Notes

  • Registry NodePort localhost:32000 is not reachable from the host; deploys continue to use docker save + microk8s ctr image import with imagePullPolicy: IfNotPresent.
  • COMMUNICATIONS_OAUTH_CLIENT_SECRET is set in hermes-k8s.yaml env but was not committed.