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

Stop claiming a cloned repository scaffolds - #44

Merged
seenu-k merged 1 commit into
mainfrom
fix/changeset-clone-claim
Aug 8, 2026
Merged

seenu-k merged 1 commit into
mainfrom
fix/changeset-clone-claim

Conversation

@seenu-k

@seenu-k seenu-k commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

Correction to #43, which is merged but not released — Release PR #42 still has the changeset, so this lands in the same 0.9.0.

The changeset was wrong, and it is the published changelog. It said the empty-destination allowance covers "cloning a repository with no first commit". A clone leaves .git, which destinationProblem refuses like any other entry — verified:

create-eigen-game: /tmp/ci-check/cloned already exists, and is not empty — it holds .git.

So the note as written promised git clone && create-eigen-game works, when it does not.

The destinationProblem doc comment carried the same claim and now states why the case is unsupported instead of implying it is: publishing into a clone means parking .git, renaming staging over the top and putting it back, with a failure in the middle able to orphan a remote — a lot of care for a flow whose alternative is scaffolding beside it and moving the result in.

No behaviour change. Text only.

🤖 Generated with Claude Code

The changeset said an empty destination covers "cloning a repository with no
first commit". It does not: a clone leaves `.git`, which is refused like any
other entry. That text becomes the published 0.9.0 changelog, so it would have
promised `git clone && create-eigen-game` works.

The `destinationProblem` comment repeated the same claim, and now says why the
case is not supported rather than implying it is — publishing into a clone
means parking `.git`, renaming staging over the top and putting it back, with a
failure in the middle able to orphan a remote.

Release PR #42 has not consumed the changeset yet, so this still lands in the
same release.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@seenu-k
seenu-k merged commit 3304be3 into main Aug 8, 2026
3 checks passed
@seenu-k
seenu-k deleted the fix/changeset-clone-claim branch August 8, 2026 07:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant