Skip to content

fix(code): preserve fleet worktrees with per-worktree config - #122

Merged
danii1 merged 1 commit into
mainfrom
fix/fleet-worktree-bare-config
Sep 2, 2026
Merged

fix(code): preserve fleet worktrees with per-worktree config#122
danii1 merged 1 commit into
mainfrom
fix/fleet-worktree-bare-config

Conversation

@danii1

@danii1 danii1 commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • migrate a bare clone's core.bare=true into its main-worktree config before enabling extensions.worktreeConfig
  • self-heal existing fleet clones during worker repository initialization
  • add regression coverage for bare-clone worktrees and already-poisoned workspace state
  • document the fix in the changelog

Root cause

Hook isolation enabled per-worktree Git config in the shared bare clone while leaving core.bare=true in shared config. Git then treated every linked task/review worktree as bare and rejected checkout, reset, clean, and merge with this operation must be run in a work tree.

Validation

  • pre-commit: format, lint, typecheck
  • pre-push: full monorepo test suite and typecheck
  • @getdevintern/code: 1296 tests passed

@danii1
danii1 merged commit f420454 into main Sep 2, 2026
1 check passed
@danii1
danii1 deleted the fix/fleet-worktree-bare-config branch September 2, 2026 04:42
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.

1 participant