Skip to content

Tracker: .agents/skills/repo-worktree/SKILL.md > Listing and Cleanup #3966

Closed as not planned

Description

@ptr727

Per-unit tracker for findings raised against this canonical unit by a carrying repository's review, per pr-review-conduct Merge Gate item 3.

Findings

  • Preserve ignored files before removing a worktree. Raised by CodeRabbit on Promote the Hub Resync to Main NxWitness#670, against the carried .github/skills/repo-worktree/SKILL.md line 247 at the hub's main c175d557, byte-identical to the hub's copy. In the reviewer's words: "The hub cleanup checks Git status without --ignored. Git can then remove ignored files with the worktree, including local credentials or other irreplaceable data. Inspect and preserve those files before running cleanup. (raw.githubusercontent.com)"
    • Not judged here. The carrier declined it under outcome 2, since the text is the hub's to change.
  • Do not treat branch containment as proof that a task finished. Raised by CodeRabbit on Promote the Hub Resync to Main NxWitness#670, against the carried .github/skills/repo-worktree/SKILL.md line 278 at the hub's main c175d557, byte-identical to the hub's copy. In the reviewer's words: "The hub sweep treats a branch contained in origin/develop as finished. A clean task branch can meet that condition before its first commit, even while another session is using it. After the age threshold, --apply can remove that session’s worktree and branch. Require completion evidence before recommending removal. (raw.githubusercontent.com)"
    • Not judged here. The carrier declined it under outcome 2, since the text is the hub's to change.

🤖 Generated with Claude Code

Activity

  1. ptr727 commented on Nov 9, 2026

    @ptr727
    OwnerAuthor

    More findings against this unit, raised on a carrying repository's review:

    • Check standalone clones before remote cleanup. Raised by CodeRabbit on Resync the Instruction Set and Carried Trees to Hub 2.0.1369 VSCode-Server-DotNetCore#196, against the carried .github/skills/repo-worktree/SKILL.md line 252 at the hub's main c175d557, byte-identical to the hub's copy. In the reviewer's words: "When a standalone clone has unfinished work, cleanup can delete its remote branch and report success without checking that clone. Check the clone for uncommitted changes and unpushed commits before remote cleanup, including automatic cleanup after merge."
      • Not judged here. The carrier declined it under outcome 2, since the text is the hub's to change.
    • Correct the refusal diagnosis in the hub skill source. Raised by CodeRabbit on Resync the Instruction Set and Carried Trees to Hub 2.0.1369 VSCode-Server-DotNetCore#196, against the carried .github/skills/repo-worktree/SKILL.md line 282 at the hub's main c175d557, byte-identical to the hub's copy. In the reviewer's words: "A clean detached helper worktree can refuse removal because it is locked. The guidance instead directs the agent to look for uncommitted work, delaying cleanup. Check the refusal and lock reason rather than assuming the worktree is dirty."
      • Not judged here. The carrier declined it under outcome 2, since the text is the hub's to change.

    🤖 Generated with Claude Code

  2. ptr727 commented on Nov 9, 2026

    @ptr727
    OwnerAuthor

    Closed in the 2026-11-09 tracker consolidation. Each finding was re-checked against hub main at 42f2155b. Per the maintainer's 2026-10-23 backlog decision on #3391, a real defect with a stated failure moves to one consolidated issue per fix site, and an open decision goes to a decision issue. A wording item, or hardening against a shape no session has produced, is closed rather than worked. Carried .github/skills/ is no longer reviewed downstream once the rendered reviewer configs skip it.

    🤖 Generated with Claude Code

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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions