Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

Stale pre-migration repo URLs: THEME_REPO relies on a redirect, README clone URL is dead #4

Description

@Schmandarine

Both repos have moved to the brmbh org, but the README and src/registry.js still carry pre-migration URLs. One is dead, one survives only on a GitHub redirect.

The two repos and how they connect

Repo Role
CLI github.com/brmbh/cli this repo — published as @brmbh/cli / create-brmbh
Theme github.com/brmbh/wordpress the starter theme create clones

They are coupled in both directions:

  • CLI → theme: THEME_REPO (src/registry.js:13) hardcodes the clone URL used by create.
  • Theme → CLI: the theme's skills/wordpress/SKILL.md tells users to run npx create-brmbh and npm install -g @brmbh/cli.

Verified state of every URL

Where Value Status
git remote (this repo) brmbh/cli
package.jsonrepository.url brmbh/cli ✅ correct
package.jsonhomepage brmbh/wordpress ✅ correct — this is the theme repo
src/registry.js:13THEME_REPO Schmandarine/brmbh-agentic-wp-suite ⚠️ works, but only via GitHub's transfer redirect to brmbh/wordpress
README.md → local-dev clone command Schmandarine/brmbh-cli ❌ dead — repo does not exist, git ls-remote fails
README.md → intro link (theme) Schmandarine/brmbh-agentic-wp-suite ⚠️ redirect only

What to fix

  1. THEME_REPOhttps://github.com/brmbh/wordpress.git. create is not broken today: GitHub keeps a redirect after a repo transfer, so the old URL still clones. But that redirect is not a guarantee — it disappears the moment anyone creates a new repo at Schmandarine/brmbh-agentic-wp-suite, and the constant is baked into every published version of the CLI. This is the one with real consequences.

  2. README local-dev clone URL → brmbh/cli. Currently dead; anyone following the contributing instructions hits a 404.

  3. README intro link → brmbh/wordpress.

  4. package.json repository and homepage are both already correct — no change needed. (An earlier revision of this issue called homepage into question; it is right, it points at the theme, which is the useful landing page for the npm listing.)

Why now

The package is at 0.1.0 and unpublished. THEME_REPO is a hardcoded constant, so once npm create brmbh@latest is live, every released version carries whatever URL it shipped with. If the old redirect ever lapses, older CLI versions break permanently and there is no way to patch them. Cheapest moment to get this right is before the first publish.

Acceptance

  • THEME_REPO, the README, and package.json all reference brmbh/cli and brmbh/wordpress — no Schmandarine/ URLs remain anywhere in the repo (grep -rn "Schmandarine" . --exclude-dir=node_modules --exclude-dir=.git).
  • node bin/brmbh.js create smoke-test --skip-install clones successfully from the new URL.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions