fix(source-control): run the worktree reap without moving the caller's working directory
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 76/100
調査の方向性
クリーンアップコンテキストでの reap の呼び出しから始め、依存関係 #7132 がスクリプトの --worktree-path インターフェースを提供していることを確認する。呼び出し元側のディレクトリ変更を削除し、他の削除手順が対象ディレクトリに入らないことを確認する。変更されたスキルに対して check-skill.sh を、플グインに対して scripts/check-changelog-fragments.sh を実行する。完了とは、両方が成功し、変更された各プラグインに必要な changelog フラグメントが存在することを意味する。
索引モデルが issue の本文から書いたものです。
説明
Refs: #7453
Depends on: #7132
Agent Brief
Type: Bug
Summary: Cleanup's reap step leaves the caller's working directory where it was, so a later removal of that directory does not fail as busy.
Current behavior:
Cleanup's reap step tells the caller to cd into the worktree before running the reap script. Because the shell keeps its directory between calls, the session stays inside a directory it is about to remove, and rmdir then fails with Device or resource busy (#7453 comment 2026-10-17).
Desired behavior:
Once #7132 lets the reap script enter the target itself, cleanup's reap step runs the script with --worktree-path <path> from outside the target and never changes the caller's directory; no step in the removal sequence leaves the shell inside a directory being removed.
Key interfaces:
- Cleanup's reap invocation: no caller-side directory change.
Acceptance criteria:
- The cleanup context's reap command contains no
cd <path> &&and passes--worktree-path. - No other removal step in the cleanup context changes the caller's directory into the target.
-
check-skill.shpasses on every skill whose files the diff touches. -
scripts/check-changelog-fragments.shpasses, with one changelog fragment for each plugin the diff touches.
Out of scope:
- The reap script's own change (#7132).
- Cross-repository cleanup (sibling item).
This was generated by AI during backlog shaping. Split from #7453; the owner approved filing it in an attended backlog-shaping session on 2026-10-18.
- 主要言語
- Shell
- スター
- 22
- フォーク
- 2
- 平均マージ
- 7時間 8分
- マージ済み PR(30日)
- 874
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
melodic-software/claude-code-plugins のほかの issue
-
needs-human
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
melodic-software/claude-code-plugins#8405 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
needs-human
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
melodic-software/claude-code-plugins#8374 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
needs-human priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
melodic-software/claude-code-plugins#8366 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
priority: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
melodic-software/claude-code-plugins#8341 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
melodic-software/claude-code-plugins#8338 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
melodic-software/claude-code-plugins の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
CachyOS/cachyos-hooks#23 ·
-
area/cli good first issue size/S type/feature
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
lorica-labs/volant#549 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
alunduil/alunduil-chezmoi#949 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
input-output-hk/actions#45 ·