feat(author): add dirty-preserving same-claimant author-session rebind (Closes #864)

Introduce an explicit, fail-closed recovery operation that rebinds a live
author session to an already-registered dirty issue worktree when the durable
lock still belongs to the same identity/profile and the recorded owner PID is
provably dead. Ordinary locking remains clean-worktree-only; this path updates
only stale lock/session provenance, preserves every dirty byte under fingerprint
pins, and grants create-PR-sanctioned provenance without remote sync or recovery
worktrees.

Also stop treating dead-owner session pointers as live mutation workspace
bindings so a stale dead-owner pointer cannot poison unrelated author work.
This commit is contained in:
2026-07-23 22:54:15 -05:00
parent 6d0015cabc
commit a3f8f67c93
5 changed files with 2371 additions and 1 deletions
File diff suppressed because it is too large Load Diff