Fix native normalization when another worktree owns main #798
No reviewers
Labels
No labels
burndown-2026-06
burndown-2026-08
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/advocate
role/director
role/exec
role/frontend
role/gamedev
role/human
role/platform
role/qa
role/science
role/sysadmin
state
ambient
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/agentic-os!798
Loading…
Reference in a new issue
No description provided.
Delete branch "aos/codex/20260730t084741z-45517-86cec5d4"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #796. Reorders the existing safe inactive-worktree cleanup so a recoverable linked worktree can release main before the canonical checkout switches to it. The remote-recoverability check still runs before cleanup, and dirty, unpushed, leased, and human workdirs remain preserved. Validation: focused regression test, full AOS test suite, Go vet, and full pre-commit suite.