Skip to content

Fix one-URL/two-workers Stockton conflict in agent memory - #49

Open
fsu9913-gif wants to merge 1 commit into
mainfrom
cursor/worker-url-map-one-url-one-worker-0e6c
Open

Fix one-URL/two-workers Stockton conflict in agent memory#49
fsu9913-gif wants to merge 1 commit into
mainfrom
cursor/worker-url-map-one-url-one-worker-0e6c

Conversation

@fsu9913-gif

Copy link
Copy Markdown
Contributor

Summary

Repo memory still treated Stockton as a hand-written workers/cleantruckcheckstockton worker and as generated sites/dist/cleantruckcheck-stockton — same custom domain (cleantruckcheckstockton.com), two worker names. That violates the one-URL → one-worker rule.

What changed

  • Deleted stale .github/workflows/deploy-stockton-worker.yml (still pointed at the deleted workers/cleantruckcheckstockton/ path and could resurrect the orphan worker name).
  • Added sites/WORKER_URL_MAP.md — canonical hostname ↔ worker inventory for agency + brochure sites, plus dashboard cleanup notes for leftovers.
  • Updated CLAUDE.md, AGENTS.md, ONBOARDING.md, sites/README.md, and .claude/skills/silverback-cloudflare-site/SKILL.md so agents use the hyphenated cleantruckcheck-stockton worker only.

Aligned with prior Grok / Hermes work

Dashboard follow-up (manual — no CF API token in this agent env)

  1. If worker cleantruckcheckstockton (no hyphen) still exists → detach domain → delete worker.
  2. Ensure cleantruckcheckstockton.com is attached only to cleantruckcheck-stockton.
  3. If Cloudflare Git project dmc-properties still exists → delete it.

Testing

  • Verified wrangler name= fields and sites.json id/domain pairs have no duplicate domains in git.
  • Live wrangler/Cloudflare API listing blocked here (egress allowlist + unauthenticated Cloudflare MCP).
Open in Web Open in Cursor 

Remove the stale deploy-stockton-worker.yml that still targeted the
deleted workers/cleantruckcheckstockton path, and add
sites/WORKER_URL_MAP.md as the canonical hostname ↔ worker inventory.
Update CLAUDE.md, AGENTS.md, ONBOARDING.md, sites/README.md, and the
silverback-cloudflare-site skill so agents stop treating the legacy
Stockton worker as live.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
dmc-properties 8dae446 Jul 20 2026, 02:52 AM

@fsu9913-gif
fsu9913-gif marked this pull request as ready for review July 20, 2026 02:55
Copilot AI review requested due to automatic review settings July 20, 2026 02:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes remaining repo guidance that implied Stockton’s cleantruckcheckstockton.com domain could be deployed by two different Workers, and replaces it with a single canonical URL↔Worker inventory to enforce the “one URL → one Worker” rule across the repo.

Changes:

  • Added sites/WORKER_URL_MAP.md as the canonical hostname ↔ Worker inventory (hand-written + generated sites), including documented cleanup steps for past conflicts.
  • Removed the stale Stockton deploy workflow that targeted a deleted legacy worker path.
  • Updated onboarding / agent docs and the brochure-site skill playbook to consistently point Stockton to cleantruckcheck-stockton (generated) only.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
sites/WORKER_URL_MAP.md Adds canonical URL↔Worker map and documents resolved conflicts + dashboard cleanup steps.
sites/README.md Links to the new canonical map and adds an explicit Stockton “do not recreate legacy worker” note.
ONBOARDING.md Removes Stockton from the list of hand-written worker workflows; points to deploy-sites.yml + URL map.
CLAUDE.md Updates architecture/deploy guidance to distinguish generated sites vs hand-written workers and references the canonical map.
AGENTS.md Reinforces one-URL/one-worker rule and documents why there is no Stockton-specific workflow.
.github/workflows/deploy-stockton-worker.yml Deletes stale workflow that could resurrect the legacy Stockton worker deployment path.
.claude/skills/silverback-cloudflare-site/SKILL.md Updates the site-migration playbook to reference the URL map and avoid recreating legacy workers.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

4 participants