Prevents two bugs in the resumeForCommit flow: 1. Agent navigated to main repo instead of worktree due to relative paths in commit prompt — now uses absolute paths from getDirtyWorktreePaths 2. git add -A staged unrelated files (screenshots, other agents' work) — now uses git add -u to only stage tracked modified files
19 KiB
19 KiB