Skip to content

Allow Standalone Clones as Carry Targets - #812

Merged
ptr727 merged 1 commit into
developfrom
feature/allow-standalone-carry
Aug 18, 2026
Merged

Allow Standalone Clones as Carry Targets#812
ptr727 merged 1 commit into
developfrom
feature/allow-standalone-carry

Conversation

@ptr727

@ptr727 ptr727 commented Aug 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Allow an isolated standalone feature clone to serve as a carry target.
  • Retain the repository-root, origin, branch, ancestry, registration, and unrelated-change guards.
  • Add coverage that exercises a standalone clone against the target verifier.

Validation

  • Ruff check and format check passed across the repository.
  • mypy passed.
  • All 19 carry-engine tests passed.

This addresses the actionable review finding on promotion PR #811.

Copilot AI lite review requested due to automatic review settings August 18, 2026 15:21
@ptr727
ptr727 requested a lite review from Copilot and removed request for Copilot August 18, 2026 15:22

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.

Pull request overview

This PR updates the carry-engine target verifier to accept an isolated, standalone feature-branch clone (not only linked worktrees) as a valid carry target, and adds a regression test to cover that scenario.

Changes:

  • Relax carry.verify_target() by removing the guard that rejected primary checkouts (standalone clones).
  • Extend the carry verifier tests to confirm a standalone clone on a feature branch is accepted.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
scripts/carry.py Allows standalone feature-branch clones to pass verify_target() by removing the linked-worktree-only check.
scripts/tests/test_carry.py Adds coverage that clones the remote into a standalone checkout and verifies it is accepted as a target.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ptr727
ptr727 merged commit c3ac1a8 into develop Aug 18, 2026
9 checks passed
@ptr727
ptr727 deleted the feature/allow-standalone-carry branch August 18, 2026 15:36
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