Skip to content

fix(tui): defer visible fresh inbox delivery#193

Merged
HonestMajority merged 1 commit into
mainfrom
defer-inbox-while-agent-visible
May 20, 2026
Merged

fix(tui): defer visible fresh inbox delivery#193
HonestMajority merged 1 commit into
mainfrom
defer-inbox-while-agent-visible

Conversation

@HonestMajority
Copy link
Copy Markdown
Owner

Summary

  • defer inbox delivery when the target tmux window is visible to an attached client and the specific inbox message is younger than 5 minutes
  • compare tmux window ids so linked task-session agent windows count as visible
  • treat visibility lookup errors conservatively for fresh messages and preserve existing readiness/cold-start gates before deferral
  • add decision tests plus tmux visibility smoke coverage

Validation

  • cargo fmt --check
  • cargo test
  • cargo clippy --all-targets -- -D warnings
  • researcher review from agman-improvements--inbox-manual-typing-race: approved with no blockers after conservative target-window-id error fix

@HonestMajority HonestMajority merged commit b029248 into main May 20, 2026
1 check passed
@HonestMajority HonestMajority deleted the defer-inbox-while-agent-visible branch May 20, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant