Skip to content

a-detached-directory-is-offered-for-removal - #915

Merged
VeryComplexAndLongName merged 4 commits into
mainfrom
a-detached-directory-is-offered-for-removal
Oct 14, 2026
Merged

VeryComplexAndLongName merged 4 commits into
mainfrom
a-detached-directory-is-offered-for-removal

Conversation

@VeryComplexAndLongName

Copy link
Copy Markdown
Owner

A working directory on no branch (a detached head) was never offered for removal: it has no branch to be merged or gone, and the standings reading skips a directory holding two changes. On 2026-10-13 one stood beside the checkout for a day, drawing dashed cards for changes that had landed.

The survey now marks a clean directory with no run recorded as finished with (merged, no branch named) where the default branch already contains the commit it is at. It appears under "Left behind" with a press to remove it.

The sweep is unchanged. It still keeps a directory on no branch (no-branch): a clean detached directory at main is also what one made a minute ago for work to come looks like, and removing it unasked could take it from under somebody.

  • worktree-survey.ts, worktree-survey-facts.ts (finishedWith.branch optional)
  • five tests in worktree-survey.test.ts; the positive one fails without the change
  • OpenSpec change, delta for openspec-workbench, changeset for core and the extension

Task 3.4 is the owner's: make a detached worktree at an older main commit and see it under "Left behind".

🤖 Generated with Claude Code

… is offered for removal where main contains its commit

The survey now marks a clean, runless directory on a detached head as finished
with ("merged", no branch named) where the default branch already contains the
commit it is at, so "Left behind" offers a press to remove it. The sweep still
keeps such a directory: it cannot be told from one made a moment ago.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… where it was

The reason literal written in place counted as one more message said in place
(message-register.test.ts, 331 against 330). It is a code, not a sentence: say it
the way the branch case beside it does.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…nswered, and say where the press is drawn

3.2 and 3.3 are done (CI run 38507448788). 3.4 stays the owner's, and now names the
standalone application, the one place "Left behind" and its press are drawn.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…press in the standalone application

Closes 3.4, the last open item, so the merge gate can pass.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@VeryComplexAndLongName
VeryComplexAndLongName merged commit d465027 into main Oct 14, 2026
10 checks passed
@VeryComplexAndLongName
VeryComplexAndLongName deleted the a-detached-directory-is-offered-for-removal branch October 14, 2026 04:28
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.

1 participant