feat(kugetsu): implement worktree isolation + lock mechanism for delegation coordination #71
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Problem
Current delegation system has no coordination:
Desired Behavior
Hybrid approach: worktree isolation + lock mechanism
Worktree Isolation (existing)
Lock Mechanism (new)
~/.kugetsu/locks/<issue-ref>.lockDelegation Coordination
Option A - Serialized delegation:
Option B - PM session mutex:
Option C - Delegation queue:
Tasks
~/.kugetsu/locks/Tradeoffs