Skip to content

source-control: native-overlap verdict for worktree-remove-gate.sh after 2.1.330 #17828

Closed as not planned

Description

@kyle-sexton

Refs: #17713

Context

Item 2 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: a replace nomination, for /harness-ops:audit-native-overlap. The hook stays for now (owner decision on #17713).

Owner surface: plugins/source-control/hooks/worktree-remove-gate.sh
Lens: replace
Items: 2.1.330-012
Range: 2.1.330..2.1.330

Required sentence: The hook stops Claude Code's own worktree removal (ExitWorktree remove, session exit) from deleting a worktree another session claims through this plugin's session-claim lock; Claude Code now refuses to delete a worktree another running Claude Code session is working in, which overlaps part of that problem but not locks held by sessions that are not running.

Why a handoff (nomination): Replace rows are nominated to /harness-ops:audit-native-overlap; likely outcome keep and re-rationalize. Guards a destructive operation.

Repo evidence (unverified, verification: skipped (light)): worktree-remove-gate.sh:5-7, :13-16
Recheck trigger: worktrees page #clean-up-worktrees; hooks page #worktreeremove

Done when

  • /harness-ops:audit-native-overlap records a keep or replace verdict for plugins/source-control/hooks/worktree-remove-gate.sh against changelog item 2.1.330-012
  • worktree-remove-gate.sh itself is not edited

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: Knowable
    Flags: none
    Blocked by: none
    Blast radius: one native-overlap verdict record for the source-control worktree-remove-gate hook; read by maintainers. The hook itself is not edited.
    Reversible: yes; revert or supersede the recorded verdict.
    Open questions: none
    I understood this as item 2.1.330-012 from #17713, split into its own issue. It asks /harness-ops:audit-native-overlap to record a keep or replace verdict for the worktree-remove-gate hook against the 2.1.330 change. The hook is not edited. The issue states the likely outcome is keep with a re-rationalized rationale. Nothing is missing. Related but not duplicates: #17829 (the source-control docs side of the same 2.1.330 change) and #17835 (the sibling verdict for the guardrails hook).

    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":"3ead756a3f578f51b1e7e2e8cc89b44762af079f24d1fb58953a16a429e7d3f0","body_sha256":"22e2db132d8b00cde955deb618cd89e2f0ab5acae00b9b0de6807b699c4777d4"}

  5. kyle-sexton commented on Nov 21, 2026

    @kyle-sexton
    MemberAuthor

    Closing before a lane run: same as #17835. The native-overlap store cannot represent a hook (plugins/harness-ops/skills/audit-native-overlap/scripts/overlap.py:91), a verdict is never written by an unattended run, and the owner's direction on #17713 (answer 3) is that the hooks stay for now, so worktree-remove-gate.sh stays unchanged. Filed in error by the hub when it split #17713.

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

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions