Skip to content

source-control: ExitWorktree remove no longer deletes another running session's worktree (2.1.330) #17829

Description

@kyle-sexton

Refs: #17713

Context

Item 3 of the 13 handoffs the v2.1.330 changelog apply run filed as #17713, split one issue per item under the owner's decision on that issue ("Go with recommendations.", 2026-11-21).

Route: an edit item, for the issue lane.

Owner surface: plugins/source-control/skills/worktree/reference/native-worktree.md
Lens: correct
Items: 2.1.330-012
Range: 2.1.330..2.1.330

Required sentence: Component says ExitWorktree remove deletes the worktree and branch with only the path-entered exception (now incomplete); the release says ExitWorktree and the worktree exit dialog no longer delete a worktree another running Claude Code session is working in (true).

Why a handoff (unverified): Condition 2: the worktrees page does not yet state the true half (docs-lag pair filed). Condition 3: verification level light. The same claim recurs in plugins/source-control/skills/worktree/SKILL.md:174-176 and docs/native-surfaces/records.json:2902 (outside the plugin).

Repo evidence (unverified, verification: skipped (light)): native-worktree.md:12 (its recheck trigger on what remove deletes fires)
Recheck trigger: worktrees page #clean-up-worktrees; tools-reference ExitWorktree row

Done when

  • plugins/source-control/skills/worktree/reference/native-worktree.md:12, plugins/source-control/skills/worktree/SKILL.md:174-176 and docs/native-surfaces/records.json:2902 state that ExitWorktree remove and the worktree exit dialog no longer delete a worktree another running Claude Code session is working in
  • Each changed claim cites changelog item 2.1.330-012 while the worktrees page does not state it

Activity

  1. added
    needs-triage
    on Nov 21, 2026
  2. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor

    Size: Small
    Complexity: Low
    Uncertainty: Known
    Flags: none
    Blocked by: none
    Blast radius: three doc/record lines (native-worktree.md, worktree SKILL.md, docs/native-surfaces/records.json) read by plugin users and the docs lane; no code runs from them.
    Reversible: yes; revert the text edits.
    Open questions: none
    Understood: update the worktree docs and the native-surfaces record so they say ExitWorktree remove and the exit dialog no longer delete a worktree another running session is using, citing changelog item 2.1.330-012. The issue gives the files and the done-when, so nothing is missing. Related, not a duplicate: #17713 (parent handoff). Open issue "native-overlap verdict for worktree-remove-gate.sh after 2.1.330" covers a neighbouring topic. No merged PR found that already fixes this.

    Automated triage. A maintainer reviews it.

  3. removed
    needs-triage
    on Nov 21, 2026
  4. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"4090925d9485e84470e8dcf754226e62cb40226d60f7cf329b21e1dd5e494949","body_sha256":"c1364e4deec415c95d3dabe3f529383617f3f1e31ae2147706685fdfd6f19969"}

  5. kyle-sexton commented on Nov 21, 2026

    @kyle-sexton
    MemberAuthor

    Hub: folded in from the triage of #16982 (v2.1.327), row 6, which touches the same lines and would conflict as a separate PR. Added done-when:

    • Rows :11 and :12 of native-worktree.md state the removal ask and when it is refused, cite changelog 2.1.327, and carry a new As-of date and a recheck trigger on the tools-reference ExitWorktree row.
    • plugins/source-control/skills/worktree/SKILL.md:174-176 and docs/native-surfaces/records.json:2889 and :2894 state the same ask, or record why an extraction field (gated false) stays as it was observed.
  6. melodic-automation-lanes commented on Nov 21, 2026

    @melodic-automation-lanes
    Contributor

    This records a re-fire of an earlier stop, not a new one. The start gate stopped run 44876198335, the work-resolve-issue run that agent-ready started, before any model turn, because the GITHUB_TOKEN budget was under its start-gate share, or the window was projected to have under its start-project share of the header's limit left by the run's expected end (github-token start-gate, start-project and start-run-minutes in rate-limits.json; the run's start-gate notice names which); that run ended at 2026-11-21T06:46:44Z. work-unblock has now removed and added agent-ready back to start a fresh run. A budget stop is the lanes' load, not a fault in this issue: it never counts toward limits.limit-stops-per-issue or the kill-switch wait.

  7. github-actions commented on Nov 21, 2026

    @github-actions
    Contributor
    No description provided.
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

    No labels
    No labels

    Type

    Fields

    Work status

    needs-triage

    Priority

    low

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions