fix: feat: PostToolUse hook detects phase file writes in real-time (eliminates polling latency) (#278)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ab3efa2402
commit
ac04dc29a6
6 changed files with 132 additions and 6 deletions
|
|
@ -681,7 +681,7 @@ fi
|
|||
# =============================================================================
|
||||
status "creating tmux session: ${SESSION_NAME}"
|
||||
|
||||
if ! create_agent_session "${SESSION_NAME}" "${WORKTREE}"; then
|
||||
if ! create_agent_session "${SESSION_NAME}" "${WORKTREE}" "${PHASE_FILE}"; then
|
||||
log "ERROR: failed to create agent session"
|
||||
cleanup_labels
|
||||
cleanup_worktree
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue