From bc4a210edbfce67e07d547134c7c53023e37e50e Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 1 Sep 2026 22:33:12 +0000 Subject: [PATCH] feat(mcp): notify users website CDN deployment can take up to 5 minutes --- internal/mcp/agent_guide.go | 6 +++- internal/mcp/agent_guide_test.go | 33 +++++++++++++++++++ internal/mcp/guide_fragments.go | 7 ++++ .../prompttemplates/website_onboarding.tmpl | 5 +-- 4 files changed, 48 insertions(+), 3 deletions(-) diff --git a/internal/mcp/agent_guide.go b/internal/mcp/agent_guide.go index 1e9488c0..74d9780b 100644 --- a/internal/mcp/agent_guide.go +++ b/internal/mcp/agent_guide.go @@ -300,6 +300,7 @@ func publishDomainDecision() *toolforge.GuideDecisionBuilder { Detail(publishCidLead.Then(htmlRootClause). Static("Call websites_create with only {\"cid\": \"\"} — no domain, no label, no platform. The platform auto-generates a subdomain and manages DNS. Do NOT invent a label or call websites_platform_domain_availability. Do not infer a desire for custom naming from a generic request to create or publish a website."). Then(validateAfterCreateClause). + Then(cdnDeployNoticeClause). Then(reconcileNoSleep). Then(siteBundleUpload())), toolforge.Branch("Yes — user explicitly supplied or requested a specific label (e.g. \"call it acme\", \"use myapp\")"). @@ -307,11 +308,13 @@ func publishDomainDecision() *toolforge.GuideDecisionBuilder { Detail(publishCidLead.Then(htmlRootClause). Static("List platform roots with websites_platform_domains_list, then check the label is claimable with websites_platform_domain_availability