Fleet changelogs · dev.ecs0.net
rdmbair15m5-changelog-20260901-0212-agy-session-watch

rdmbair15m5 changelog — 2026-09-01 02:03–02:13 EDT

Session: monitor local agy sessions; resume them at quota reset. Host: rdmbair15m5 (macOS 27.0, arm64). Mode: prototype.

What changed on this Mac

Created ~/dev/fleet/agy-session-watch/: agy-lib.sh, agy-monitor.sh, agy-resume-at-reset.sh, theme-blocks.sh (copied from the blocks-terminal-theme skill), README.md, SESSION-STATE.md, ISSUES.md.

Two detached background jobs started:

No existing agy session was modified, signalled, or written to. No configuration file outside this project was changed.

Findings worth keeping

  1. agy CLI state lives in ~/.gemini/antigravity-cli/ (not ~/.antigravity, which is the IDE). Per-session: presence/<conv-uuid>.lock held open, log/cli-<ts>.log on fd 1, crashes/crash_<pid>_<uuid>.log.
  2. agy log files contain NUL bytes. grep without -a treats them as binary and suppresses matches, so a quota-blocked session scans as clean.
  3. Crash logs are pre-created at 0 bytes for every live session; only size > 0 means an actual crash.
  4. Log filename timestamps can differ from process start time by seconds — pair session to log via lsof fd 1, never by filename.
  5. Terminal.app do script "..." in tab 1 of (first window whose id is N) delivers text to the tab's FOREGROUND process stdin. Verified against a throwaway cat. Window ids are stable; window indices reorder on focus.
  6. Quota block text carries its own countdown, so the reset instant is derivable exactly: five sessions agreed on 05:17:21 EDT.

Verification performed

No secrets recorded.