chore(scripts): retire bonsai + wtprune once skiffs `prune --apply` ships
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
調査の方向性
まず indexzero/skiffs#3 を確認し、skiffs prune --apply が、破棄可能なマージ済みブランチとマージ済み worktree のワークフローを、gitignored パス配下のスクラッチコンテンツも含めてカバーしていることを検証します。次に scripts/bonsai と scripts/wtprune を削除し、git grep -n -iE 'bonsai|wtprune' を実行して、履歴以外の参照が残っていないことを確認します。
索引モデルが issue の本文から書いたものです。
説明
Summary
scripts/bonsai and scripts/wtprune are the two branch/worktree pruners in this repo:
scripts/bonsai— bash branch-pruning analyzer (local × remote × PR × worktree →
ARESAFE/MAYBESAFE), read-only, single repo.scripts/wtprune— interactive pruner that removes integrated (⊂) worktrees via
wt remove.
Both are superseded by skiffs prune --apply (indexzero/skiffs#3), which folds bonsai's
analysis and wtprune's action (including wt remove delegation, so the pre-remove /
scratch-rescue hooks still fire) into one safe, worktree-aware pass. Once that ships and is
verified, retire both scripts.
Blocked by: indexzero/skiffs#3.
Tasks
- Confirm
skiffs prune --applycovers the real workflow end-to-end (a live run on a
disposable merged branch + a merged worktree behaves correctly, and scratch content
under gitignored paths survives via the delegatedwt remove). -
git rm scripts/bonsai -
git rm scripts/wtprune -
git grep -n -iE 'bonsai|wtprune'returns nothing outside intentional history.
Notes
~/.scriptsis a symlink toscripts/(seedotfiles/.exports,install/setup.sh), so
deleting the files removes them fromPATHautomatically — there's no installed copy or
installer entry to clean up.- No other tracked file references either script by name; the only occurrences are within the
two files themselves. - This is intentionally a separate, reversible change from the skiffs work — don't delete
until #skiffs3 is merged and the live verification above passes.
- 主要言語
- Shell
- スター
- 1
- フォーク
- 0
- 平均マージ
- 11分
- マージ済み PR(30日)
- 2
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
indexzero/dotfiles のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 39/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 48/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 8/100
indexzero/dotfiles の issue をすべて見る
似ている issue
-
e2e-failure ready-to-code
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
redhat-developer/rhdh-plugin-export-overlays#4485 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
good first issue spells
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
maintenance
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
fix(session-flow): redact.py misses bare sk-ant-oat01- tokens and stateless ghs_ tokens with dotsオープンneeds-human
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
melodic-software/claude-code-plugins#9026 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug raised-by:verifier
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
medici-finance/assay#4008 ·
メンテナーはふだん 1 日以内に返信