22 KiB
Living Brief Documentation Site: Analysis, Plan, Implementation, and Deployment
Date documented: 2026-06-15
Implementation and production deployment date: 2026-06-14
Repository: hermes-mcp
Public documentation site: https://docs.squaremcp.com/
Living Brief guide: https://docs.squaremcp.com/living-brief.html
Live Custom GPT: https://chatgpt.com/g/g-6a2d6a01c5588191879c2c31edd9d02c-living-brief
Status: Deployed and publicly verified
Executive Summary
The Living Brief Custom GPT was live, but the public SquareMCP documentation site had not been updated for users. The live docs homepage was still presenting SquareMCP as an "AI Social Media Gateway," did not mention Living Brief, did not link to the live Custom GPT, and did not contain a living-brief.html page.
A prior vault handoff note dated 2026-06-13 described a Living Brief documentation update as ready for deployment, including a new page and updates to the existing documentation pages. However, inspection of the repository and the public site showed that those source changes were not present in the current working tree or Git history, and the production image still served the older June 12 documentation.
The documentation was therefore implemented directly in the repository, packaged into a new static-site container, pushed to the local production registry, pinned by immutable image digest in Kubernetes, rolled out, and verified over public HTTPS.
The result is now live:
- The homepage leads with Living Brief outcome-based positioning.
- A dedicated Living Brief user guide exists.
- The site links directly to the live ChatGPT Custom GPT.
- Existing documentation pages include Living Brief as the first navigation item.
- The broader SquareMCP platform guides remain available.
- The deployment is healthy at
1/1ready replicas.
User Request and Intended Outcome
The initial question was whether the documentation site code had been updated for users after the Living Brief GPT went live.
The required outcome was not merely to inspect the repository. The practical completion condition was:
- Determine what users could actually see on the public site.
- Compare the public site with the Living Brief product and positioning notes in the vault.
- Implement any missing user-facing documentation.
- Package and deploy the static site.
- Verify the result through the public domain.
- Avoid disturbing unrelated backend and OAuth work already present in the working tree.
Initial Analysis
Repository inspection
The documentation source was inspected under docs/.
The relevant files originally present were:
docs/index.htmldocs/getting-started.htmldocs/platforms.htmldocs/agent-tutorial.htmldocs/styles.cssdocs/Dockerfiledocs/docs-k8s.yaml
There was no docs/living-brief.html file.
A repository search found no live Custom GPT URL and no Living Brief product positioning in the user-facing HTML files. References to Living Brief appeared only in operational runbooks and backend OpenAPI notes.
Public-site inspection
The public homepage at https://docs.squaremcp.com/ returned HTTP 200, but its content was still the old site:
- Page title:
SquareMCP Docs — AI Social Media Gateway - Hero:
Build AI agents that talk to the world - Primary positioning: social network and messaging connectors
- No Living Brief navigation item
- No link to the live Living Brief GPT
- No dedicated Living Brief guide
The HTTP response showed the production page had a Last-Modified date of June 12, 2026, which confirmed that the June 13 Living Brief documentation work had not reached the public site.
Vault evidence
The vault contained these relevant notes:
SquareMCP/2026-06-13-office-hours-chatgpt-living-brief-gtm-design.mdSquareMCP/2026-06-13-docs-living-brief-kimi-deploy.mdSquareMCP/2026-06-13-capability-enforcement-deploy.mdSquareMCP/2026-06-13-chatgpt-living-brief-full-session-sanitized.md
The GTM note established the positioning direction:
- Lead with continuity of work, not generic integrations.
- Use the headline: "Your work follows you across every AI agent."
- Describe the Obsidian Living Brief as the durable record for project history, decisions, mistakes, and next actions.
- Keep the full connector kit behind the focused Living Brief entry point.
- Do not lead with MCP, APIs, connector counts, or implementation details.
The prior deployment handoff claimed that docs/living-brief.html and related page edits existed and were ready to deploy. Repository inspection proved they did not exist in the current checkout. The handoff also identified an important packaging requirement: docs/Dockerfile had to copy living-brief.html, or the page would return 404 after deployment.
Problem Statement
The product and documentation were inconsistent:
- The Custom GPT was live.
- The Obsidian-only OpenAPI action surface was deployed.
- The vault contained approved product positioning.
- The public documentation still advertised the old broad social-media gateway.
This created several user-facing problems:
- Users arriving at the docs could not discover the Living Brief GPT.
- The documentation did not explain what a Living Brief is.
- Users had no setup or usage path for the launched product.
- The site emphasized technical breadth instead of the focused continuity-of-work outcome.
- Marketplace and product messaging were inconsistent.
Implementation Plan
The implementation plan was:
- Confirm source and public-site state.
- Preserve the existing broader SquareMCP documentation rather than deleting it.
- Add a dedicated Living Brief guide for ordinary users.
- Reposition the homepage around Living Brief.
- Add direct calls to action to the live Custom GPT.
- Add Living Brief navigation to every existing documentation page.
- Add minimal reusable CSS for the new hero and buttons.
- Update the Dockerfile so the new page is included in the image.
- Validate HTML structure, local links, diff quality, and container build.
- Build and push an immutable production image.
- Pin the image digest in
docs/docs-k8s.yaml. - Apply the Kubernetes deployment and wait for rollout completion.
- Verify all public routes over HTTPS.
- Leave unrelated working-tree changes untouched.
Product and Content Decisions
Outcome-led homepage
The homepage was changed from broad integration-platform language to the approved Living Brief positioning:
- Eyebrow:
Living Brief by SquareMCP - Headline:
Your work follows you across every AI agent - Supporting copy explains that customer and project history, decisions, mistakes, and next actions live in an Obsidian Living Brief.
This follows the GTM direction to make one clear promise before introducing the full platform.
Direct GPT access
The homepage and Living Brief guide link directly to:
https://chatgpt.com/g/g-6a2d6a01c5588191879c2c31edd9d02c-living-brief
The link is used in:
- The homepage navigation call to action
- The homepage hero call to action
- The Living Brief page navigation call to action
- The Living Brief page hero
- The first setup step
- The final callout
External links use target="_blank" with rel="noopener".
User guide instead of builder instructions
The documentation page is written for end users, not Custom GPT builders. It does not tell users to import the OpenAPI schema or configure GPT Builder actions.
The guide explains:
- Open the Living Brief GPT.
- Connect a SquareMCP account when ChatGPT requests vault access.
- Find or create the working note.
- Verify proposed writes.
- Continue the work from another connected agent.
Capability explanation
The page describes the five user-visible Obsidian capabilities without exposing unnecessary API details:
- Search notes
- Read context
- Append progress
- Update a brief
- Check sync status
Trust and safety language
The guide states that:
- Notes remain in the user-controlled Obsidian vault.
- The Living Brief GPT is limited to Obsidian actions.
- Consequential changes should be reviewed before confirmation.
- Passwords, API keys, OAuth secrets, and raw credentials should not be stored in briefs.
Full platform retained
The broad SquareMCP feature set was not removed. Existing sections for supported clients and platforms remain on the homepage, and the platform guides and agent tutorial remain available.
The information hierarchy is now:
- Start with Living Brief.
- Connect another agent.
- Use broader tools when the workflow needs to act.
- Preserve outcomes back in the brief.
Files Changed
docs/living-brief.html
Created a new dedicated Living Brief guide containing:
- User-focused metadata
- Living Brief navigation state
- Direct link to the live GPT
- Outcome-led hero
- Definition of a Living Brief
- Five-step getting-started workflow
- Capability cards
- Example prompts
- Privacy and control guidance
- Final ChatGPT call to action
docs/index.html
Updated the homepage to:
- Change the page title to
SquareMCP Docs — Living Brief - Add Living Brief metadata
- Add Living Brief as the first navigation item
- Replace the primary navigation call to action with
Open Living Brief - Replace the old social-gateway hero with Living Brief positioning
- Add direct GPT and guide buttons
- Add a Living Brief card
- Reframe the broader platform as the full kit behind the focused workflow
- Add the
Remember, act, and preservecontinuity loop
docs/getting-started.html
Added Living Brief as the first navigation item.
docs/platforms.html
Added Living Brief as the first navigation item.
docs/agent-tutorial.html
Added Living Brief as the first navigation item.
docs/styles.css
Added styles for:
- Hero eyebrow text
- Hero action layout
- Primary action button
- Secondary action button
Also normalized card heading margins so the new cards align consistently with the existing card system.
docs/Dockerfile
Added:
COPY docs/living-brief.html /usr/share/nginx/html/living-brief.html
This is essential. Without this line, the source page could exist while production still returned 404.
docs/docs-k8s.yaml
Updated only the documentation container image digest to the newly pushed immutable image:
localhost:32000/squaremcp-docs@sha256:226213ccbe5e18baef2e04d811b4abb9a7d28b68242a4780fa57d37942f0f99c
The Service and Ingress were unchanged.
Implementation Method
The normal repository patch helper could not start because the environment's bubblewrap sandbox failed while configuring loopback networking:
bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted
Read-only shell commands initially encountered the same wrapper failure. Commands required for inspection were rerun using the approved escalated execution path.
The dedicated apply_patch helper remained tied to the failing sandbox even when called from an escalated shell. To preserve patch-based, reviewable edits rather than using ad hoc file rewrites, the changes were applied with git apply. The patches were split into narrow hunks and applied with --recount and, where necessary, --unidiff-zero so Git recalculated hunk metadata and matched exact lines.
Failed patch attempts were atomic and made no changes. After each successful application, the working-tree diff was inspected.
Validation Before Deployment
Diff checks
The docs diff was checked with:
git diff --check -- docs
No whitespace errors were reported.
The documentation-specific change summary was:
docs/Dockerfile | 1 +
docs/agent-tutorial.html | 2 +-
docs/docs-k8s.yaml | 2 +-
docs/getting-started.html | 2 +-
docs/index.html | 39 +++++++++++++++++++++++++--------------
docs/platforms.html | 2 +-
docs/styles.css | 36 +++++++++++++++++++++++++++++++++++-
docs/living-brief.html was a new untracked file and therefore was not included in the normal unstaged git diff --stat output.
HTML and local-link validation
A Node.js validation script checked all five HTML pages:
index.htmlliving-brief.htmlgetting-started.htmlplatforms.htmlagent-tutorial.html
The script verified balanced structural tags and confirmed that every local .html link points to an existing file.
Result:
Validated 5 docs pages: balanced structural tags and local HTML links exist.
Source-reference verification
A repository search confirmed:
- The Living Brief navigation item exists on all five pages.
- The exact live GPT URL exists in the homepage and Living Brief guide.
- The new page metadata and title are present.
- The Dockerfile includes the new page.
Container build
A local verification image was built successfully:
docker build -f docs/Dockerfile -t squaremcp-docs:living-brief-check .
The build output confirmed all seven image copy steps, including:
COPY docs/living-brief.html /usr/share/nginx/html/living-brief.html
Production Deployment
Build
The production-tagged image was built from the repository root:
docker build \
-t localhost:32000/squaremcp-docs:living-brief-20260614 \
-f docs/Dockerfile .
Build result: success.
Local image ID:
sha256:b09cbeaa2945c382e59e948314fd0316a44dfd1a57df76892431c6c53464001e
Push
The image was pushed to the local production registry:
docker push localhost:32000/squaremcp-docs:living-brief-20260614
Registry digest:
sha256:226213ccbe5e18baef2e04d811b4abb9a7d28b68242a4780fa57d37942f0f99c
Immutable manifest pin
docs/docs-k8s.yaml was changed from the previous digest:
sha256:762051a6eeadc6a95d22816f3495a567a85ebe955f32189dda5c0346ae427687
To the new digest:
sha256:226213ccbe5e18baef2e04d811b4abb9a7d28b68242a4780fa57d37942f0f99c
Using the digest rather than the mutable tag makes the deployed artifact explicit and reproducible.
Kubernetes apply
The manifest was applied with:
microk8s kubectl apply -f docs/docs-k8s.yaml
Result:
deployment.apps/squaremcp-docs configured
service/squaremcp-docs unchanged
ingress.networking.k8s.io/squaremcp-docs-ingress unchanged
Rollout
The rollout was monitored with:
microk8s kubectl rollout status \
deployment/squaremcp-docs \
-n fetcherpay \
--timeout=120s
Result:
deployment "squaremcp-docs" successfully rolled out
The deployment currently reports:
localhost:32000/squaremcp-docs@sha256:226213ccbe5e18baef2e04d811b4abb9a7d28b68242a4780fa57d37942f0f99c
1/1 ready
Public Verification
Verification was performed through public HTTPS rather than assuming Kubernetes readiness meant the edge route was correct.
Living Brief page
Request:
https://docs.squaremcp.com/living-brief.html
Result:
- HTTP
200 - Title:
Living Brief — SquareMCP Docs - Contains the exact live GPT URL
- Contains the
Open Living Brief in ChatGPTaction
Homepage
Request:
https://docs.squaremcp.com/
Verified content:
- Title:
SquareMCP Docs — Living Brief - Headline:
Your work follows you across every AI agent - Living Brief navigation link
- Direct GPT call to action
- Link to
living-brief.html
Navigation consistency
Public-page checks returned one Living Brief navigation link on each existing guide:
getting-started.html 1
platforms.html 1
agent-tutorial.html 1
Rollback Plan
If the documentation deployment must be rolled back, restore the previous image digest in docs/docs-k8s.yaml:
localhost:32000/squaremcp-docs@sha256:762051a6eeadc6a95d22816f3495a567a85ebe955f32189dda5c0346ae427687
Then run:
microk8s kubectl apply -f docs/docs-k8s.yaml
microk8s kubectl rollout status \
deployment/squaremcp-docs \
-n fetcherpay \
--timeout=120s
After rollback, verify the public homepage and guide routes over HTTPS.
Current Repository State
The documentation changes are deployed but remain uncommitted in the local repository as of 2026-06-15.
Documentation working-tree changes:
M docs/Dockerfile
M docs/agent-tutorial.html
M docs/docs-k8s.yaml
M docs/getting-started.html
M docs/index.html
M docs/platforms.html
M docs/styles.css
?? docs/living-brief.html
The repository also contains unrelated backend, OAuth, manifest, database, Kubernetes, test, and TODO changes that predated or were separate from this documentation task:
M hermes-k8s.yaml
M src/db.ts
M src/index.ts
M src/manifest.ts
M src/oauth-dcr.test.ts
M src/oauth-login-routes.test.ts
M src/oauth.test.ts
M src/oauth.ts
?? TODOS.md
?? src/capability-routes.test.ts
?? src/manifest.test.ts
Those unrelated changes were not reverted, modified for this task, or included in the docs deployment image.
Acceptance Criteria and Results
- Living Brief has a dedicated public documentation page.
- The page returns HTTP
200. - The homepage uses the approved Living Brief positioning.
- The homepage links directly to the live Custom GPT.
- Existing documentation pages link to Living Brief.
- The broader SquareMCP documentation remains available.
- The Docker image includes
living-brief.html. - The image is pushed to the production registry.
- Kubernetes is pinned to the immutable image digest.
- The rollout completed successfully.
- Production reports
1/1ready replicas. - Public HTTPS verification passed.
- Unrelated working-tree changes were preserved.
- Documentation changes have not yet been committed to Git.
Final Production State
Living Brief Custom GPT:
https://chatgpt.com/g/g-6a2d6a01c5588191879c2c31edd9d02c-living-brief
SquareMCP documentation homepage:
Living Brief user guide:
https://docs.squaremcp.com/living-brief.html
Deployed image:
localhost:32000/squaremcp-docs@sha256:226213ccbe5e18baef2e04d811b4abb9a7d28b68242a4780fa57d37942f0f99c
Deployment health:
1/1 ready
Repository Check-In Follow-Up — 2026-06-15
Request
After the deployment record was written, the repository was checked to determine whether the Living Brief documentation work had been committed. It had not: the production site was running the new image, but all eight documentation changes were still local working-tree changes.
The follow-up request was to check the Living Brief work into the repository.
Scope Decision
The working tree contained both the Living Brief documentation changes and unrelated backend/OAuth work. To avoid combining separate work in one commit, only the following documentation files were selected:
docs/Dockerfile
docs/agent-tutorial.html
docs/docs-k8s.yaml
docs/getting-started.html
docs/index.html
docs/living-brief.html
docs/platforms.html
docs/styles.css
The unrelated backend, OAuth, database, manifest, Kubernetes, test, and TODO files were intentionally left unstaged and untouched.
The active branch was confirmed as:
main
Pre-Commit Review
The exact documentation diff was reviewed again before staging. The review confirmed:
docs/living-brief.htmlwas the new user guide.- The homepage contained the approved Living Brief positioning and exact live GPT URL.
- Existing documentation pages contained the Living Brief navigation link.
docs/Dockerfilepackaged the new page.docs/docs-k8s.yamlpinned the image already running in production:
localhost:32000/squaremcp-docs@sha256:226213ccbe5e18baef2e04d811b4abb9a7d28b68242a4780fa57d37942f0f99c
The documentation diff passed the whitespace check:
git diff --check -- docs
Staging
Only the eight reviewed documentation files were staged:
git add \
docs/Dockerfile \
docs/agent-tutorial.html \
docs/docs-k8s.yaml \
docs/getting-started.html \
docs/index.html \
docs/living-brief.html \
docs/platforms.html \
docs/styles.css
The staged changes were then validated with:
git diff --cached --check
git diff --cached --stat
git status --short
Staged result:
8 files changed, 152 insertions(+), 19 deletions(-)
The staged status showed only the intended documentation files. The unrelated files remained unstaged.
Commit
The staged documentation changes were committed on main with:
git commit -m "feat(docs): launch Living Brief user guide"
Commit created:
6d75bc5 feat(docs): launch Living Brief user guide
Commit summary:
8 files changed, 152 insertions(+), 19 deletions(-)
create mode 100644 docs/living-brief.html
Post-Commit Verification
The resulting commit was inspected with:
git show --stat --oneline --decorate HEAD
Verified result:
6d75bc5 (HEAD -> main) feat(docs): launch Living Brief user guide
The commit contains exactly the eight intended documentation files.
A final git status --short confirmed that no Living Brief documentation changes remained uncommitted. The remaining working-tree changes are unrelated to this documentation commit:
M hermes-k8s.yaml
M src/db.ts
M src/index.ts
M src/manifest.ts
M src/oauth-dcr.test.ts
M src/oauth-login-routes.test.ts
M src/oauth.test.ts
M src/oauth.ts
?? TODOS.md
?? src/capability-routes.test.ts
?? src/manifest.test.ts
These files were not staged, committed, reverted, or otherwise changed as part of the Living Brief documentation check-in.
Environment Note
One verification command encountered the same environment wrapper failure seen earlier:
bwrap: loopback: Failed RTM_NEWADDR: Operation not permitted
This occurred after the commit while attempting an additional staged-diff check. It did not affect the commit. The commit itself succeeded, git show confirmed its exact contents, and git status confirmed that the documentation files were no longer modified or untracked.
Final Repository State for Living Brief Docs
- Documentation source: committed
- Deployment manifest digest: committed
- New Living Brief page: committed
- Commit:
6d75bc5 - Branch:
main - Production deployment: already live and healthy
- Push to a remote repository: not performed during this follow-up
This follow-up supersedes the earlier note statement that the documentation changes were still uncommitted.