Skip to content

feat: default site-memory seed lookup to the official cloud URL - #491

Merged
ankitranjan7 merged 2 commits into
mainfrom
feat/cloud-seeded-cold-start
Sep 7, 2026
Merged

feat: default site-memory seed lookup to the official cloud URL#491
ankitranjan7 merged 2 commits into
mainfrom
feat/cloud-seeded-cold-start

Conversation

@ankitranjan7

@ankitranjan7 ankitranjan7 commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Webcmd looks up https://api.webcmd.dev by default on first access to a product with no local memory, instead of requiring a configured WEBCMD_GLOBAL_MEMORY_URL.
  • WEBCMD_GLOBAL_MEMORY_URL becomes a developer/test override; exact WEBCMD_GLOBAL_MEMORY=off opts out.
  • Existing timeout (2s), no-retry, credential omission, and no-refresh-of-initialized-memory behavior are unchanged.
  • Companion Cloud change (already deployed to production, serving example.com): agentrhq/webcmd-cloud GET /v1/site-memory/seeds/<punycode-product-key>.

Design: webcmd-orchestrator:docs/superpowers/specs/2026-09-07-cloud-seeded-cold-start-design.md
Plans: webcmd-orchestrator:docs/superpowers/plans/2026-09-07-cloud-seeded-cold-start-{00-index,01-cloud-catalog,02-webcmd-default}.md

Test plan

  • npx vitest run src/site-memory/seed-client.test.ts (8 tests passed)
  • Full webcmd suite: 3,593 passed, 2 skipped; typecheck, build, make verify, plugin checks passed
  • Cross-repo smoke: built Webcmd CLI fetched the exact Markdown and revision Cloud served (local and against the now-live production endpoint)
  • Independent task review and final cross-repo review clean

Webcmd now looks up https://api.webcmd.dev by default on first access
to a product with no local memory, instead of requiring a configured
WEBCMD_GLOBAL_MEMORY_URL. WEBCMD_GLOBAL_MEMORY_URL becomes a
developer/test override; exact WEBCMD_GLOBAL_MEMORY=off opts out.
Existing timeout, no-retry, credential omission, and no-refresh
behavior are unchanged.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013KuPnjTXhrBoY2KtPV2R89
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

🟠 Maintainer review suggested — low confidence

The automated review could not reach a fully supported conclusion.

This review is advisory and does not block merging.

expect(Date.now() - started).toBeGreaterThanOrEqual(2000) flaked on
macOS CI (measured 1999ms) against AbortSignal.timeout(2000)'s real
timer. A few ms of slack is expected; the test's intent (aborts around
two seconds, does not retry) is unaffected by a 10ms tolerance.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013KuPnjTXhrBoY2KtPV2R89
@ankitranjan7
ankitranjan7 merged commit 680be39 into main Sep 7, 2026
15 checks passed
@ankitranjan7
ankitranjan7 deleted the feat/cloud-seeded-cold-start branch September 8, 2026 09:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant