Repository navigation
fix(hooks): let cleanup_worktrees remove worktrees left with only regenerable outputs - #235
Conversation
…enerable outputs Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Review summary: I found no P0–P3 issues, so I posted no inline comments.
I only read the diff and the surrounding code in 🤖 Generated with Claude Code |
|
Codex Review: Didn't find any major issues. Keep it up! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
…ed-path query Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
|
Review summary: I found no blocking issues and posted no inline comments.
I did not run the tests here. This was a read-only review. P3 (optional): 🤖 Generated with Claude Code |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🤖 I have created a release *beep* *boop* --- ## [0.3.0](v0.2.0...v0.3.0) (2026-11-19) ### Features * **lint:** fit the bash and yaml model rule cutoffs ([#243](#243)) ([d5eab6b](d5eab6b)) * **lint:** fit the Go model rules on eval fixtures ([#244](#244)) ([cf87c36](cf87c36)) * **lint:** fit the Rust model rules to eval fixtures ([#241](#241)) ([3275ce2](3275ce2)) * **lint:** fit the TypeScript model rules on eval fixtures ([#242](#242)) ([bb41bb7](bb41bb7)) * **lint:** make bash_local_underscore_prefix an error ([#251](#251)) ([cd8c5b8](cd8c5b8)) ### Bug Fixes * **hooks:** let cleanup_worktrees remove worktrees left with only regenerable outputs ([#235](#235)) ([a25ce5b](a25ce5b)) * **hooks:** raise the model rules subject cap and keep cached findings under it ([#246](#246)) ([a451e93](a451e93)) * **hooks:** show each Stop model-rule finding once per session ([#252](#252)) ([49cd6f9](49cd6f9)) * **hooks:** skip commits already on the default branch in model rules ([#247](#247)) ([3df49a2](3df49a2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: furedea-release[bot] <353651101+furedea-release[bot]@users.noreply.github.com>
概要
cleanup_worktrees.pyが,マージ済みで再生成できる生成物しか残っていない worktree を残していた問題を直した.判定は名前の許可リストのままで,git clean -fdX方式にはしていない.変更
.claude/に.cc-writesしか無い場合も session scratch として扱う(is_session_scratchが最初の.claude要素を探す).REGENERABLE_NAMESに次の名前を追加した..hypothesis.astroastro sync・astro buildが作り直すdisttest-results.pnpm-storepnpm installが取得し直す加えなかった名前
.wrangler:.wrangler/stateに,ローカルの D1・KV・R2 の開発データが入りうる.再生成できない可能性があるので残す(テストで確認).保った保護
is_regenerableは変更なし)..envなど許可リストに無い ignored file が残る worktree は従来どおり残す..claude/に.cc-writes以外があれば残す(入れ子でも).確認
uv run --frozen pytest -k cleanup: 247 passed.github/workflows/の変更なし範囲外
マージ済み判定,trust check,Herdr workspace の扱い,
git clean -fdXへの切り替え,他の repository は変更していない.Closes #232
Refs #169
🤖 Generated with Claude Code