feat: default site-memory seed lookup to the official cloud URL - #491
Merged
Conversation
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
Contributor
🟠 Maintainer review suggested — low confidenceThe 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
https://api.webcmd.devby default on first access to a product with no local memory, instead of requiring a configuredWEBCMD_GLOBAL_MEMORY_URL.WEBCMD_GLOBAL_MEMORY_URLbecomes a developer/test override; exactWEBCMD_GLOBAL_MEMORY=offopts out.example.com):agentrhq/webcmd-cloudGET /v1/site-memory/seeds/<punycode-product-key>.Design:
webcmd-orchestrator:docs/superpowers/specs/2026-09-07-cloud-seeded-cold-start-design.mdPlans:
webcmd-orchestrator:docs/superpowers/plans/2026-09-07-cloud-seeded-cold-start-{00-index,01-cloud-catalog,02-webcmd-default}.mdTest plan
npx vitest run src/site-memory/seed-client.test.ts(8 tests passed)make verify, plugin checks passed