Skip to content

Drop the Claim That No Worktree Outlives an Unattended Lane - #3191

Merged
ptr727 merged 2 commits into
developfrom
feature/unattended-cleanup-claim
Oct 17, 2026
Merged

ptr727 merged 2 commits into
developfrom
feature/unattended-cleanup-claim

Conversation

@ptr727

@ptr727 ptr727 commented Oct 17, 2026

Copy link
Copy Markdown
Owner

Summary

This fixes a previously-missed finding raised on promotion #3189. Step 7 of unattended-handoff said that because each merged pull request had drive-pr step 4's cleanup run, "no finished worktree or branch outlives the lane". That is false when the cleanup could not run or exited non-zero.

The step is now the bare instruction. Each merged pull request is cleaned up per drive-pr step 4. A cleanup that could not run, or exited other than 0, is named in the close-out comment with its output, rather than finished by hand.

Local review

Two recorded local-strict-review passes ran at the frontier tier. The first found that the rewrite added two claims of the same kind: what a failed cleanup leaves, and that cleanup ran at all. Both were cut. Nothing remains open.

🤖 Generated with Claude Code

ptr727 and others added 2 commits October 17, 2026 15:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings October 17, 2026 22:01
@ptr727

ptr727 commented Oct 17, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 6d21bf6ea510332eeaaa2517fafcc801d600a606, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@coderabbitai

coderabbitai Bot commented Oct 17, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3a5f19a4-4746-45f5-aedf-0d01b4e34edf
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

All reviewed changes address the inaccurate cleanup guarantee, with no unresolved issues.

No open issues 🎉

What changed in this PR

Updates unattended-handoff to remove the incorrect guarantee that cleanup always succeeds.

Changes:

  • Corrects cleanup and failure-reporting instructions.
  • Regenerates GitHub and Claude skill copies.
  • Updates the source digest.
File Description
.github/​skills/​unattended-handoff/​SKILL.md Updated skill instructions.
.claude-plugin/​fleet-skills/​skills/​unattended-handoff/​SKILL.md Regenerated skill copy.
.claude-plugin/​fleet-skills/​.source-digests/​unattended-handoff Updated source digest.
.agents/​skills/​unattended-handoff/​SKILL.md Updated canonical skill instructions.

Review effort: Lite

@codecov

codecov Bot commented Oct 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.44%. Comparing base (de75654) to head (6d21bf6).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3191      +/-   ##
===========================================
- Coverage    65.46%   65.44%   -0.03%     
===========================================
  Files           17       17              
  Lines         9750     9750              
===========================================
- Hits          6383     6381       -2     
- Misses        3367     3369       +2     
Flag Coverage Δ
python-3.13 65.44% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ptr727
ptr727 merged commit 0b5954f into develop Oct 17, 2026
14 checks passed
@ptr727
ptr727 deleted the feature/unattended-cleanup-claim branch October 17, 2026 22:16
ptr727 added a commit that referenced this pull request Oct 17, 2026
- #3186 adds the local half of post-merge cleanup to `pr_review.py
cleanup`. With `--checkout <base-clone>`, it removes the merged branch's
worktrees and local branch after the remote delete and fast-forwards the
base clone's `develop`. `cleanup --sweep` reports, and with `--apply`
removes, the worktrees and branches an interrupted or abandoned session
left behind.
- #3188 points every skill that finishes a worktree at those commands,
in place of the raw `git worktree remove`, `git branch -D`, and remote
delete, which the host-safety allowlist does not cover. The skills are
`repo-worktree`, `drive-pr`, `merge-and-release`, `backlog-burndown`,
`pr-review-conduct`, `unattended-handoff`, `resync-a-repo`, and
`audit-a-repo`. `git-commit-conventions`'s post-squash `-D` exception
now admits a tip behind the verified head.

- #3190 fixes a promotion-review finding. `cleanup --sweep` now judges a
branch held only by a pruned worktree entry in the same run, rather than
skipping it until the next.
- #3191 fixes a second promotion-review finding. `unattended-handoff`
step 7 no longer claims that no worktree outlives the lane, and it names
a cleanup that could not run or that failed.

Installed Skills change at release.

Closes #3184
Closes #1682
Closes #1693

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants