Skip to content

Issue lane cannot rename or delete files in its checkout #7686

Closed

Description

@kyle-sexton

Problem

On #7597 (PR #7683) the issue lane created two misnamed changelog fragments and could not fix them: mv and rm were denied. They stayed uncommitted in the lane checkout. Harmless here, but a lane that cannot rename or delete its own files cannot finish a rename or clean up a mistake inside the PR.

Proposed fix

Allow the lane to rename and delete tracked or new files inside its checkout, preferably git mv and git rm limited to in-checkout paths, which also keeps the index right. No access outside the checkout.

Done when

An issue-lane run can rename a file it created and remove a file it no longer needs, and the change shows up in the PR diff.

Related

🤖 Generated with Claude Code

Activity

  1. added
    needs-triage
    on Oct 16, 2026
  2. github-actions commented on Oct 16, 2026

    @github-actions
    Contributor

    Thanks for the report. Automated triage handed this issue to a maintainer.

    Automated triage. A maintainer reviews it.

  3. added
    needs-human
    on Oct 16, 2026
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

    needs-humanneeds-triage

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions