agent-ops
OPS-20
cc-context-monitor: send ss+Enter, wait 60s, then send /compact (not back-to-back)
Done high
bwbin-whey-cc
Questions
No questions.
Activity
-
Elazar directive: cc-context-monitor.sh currently sends /compact directly. Change: (1) send 'ss' + Enter to the CC session via tmux send-keys, (2) wait 60 seconds (sleep 60 in the script), (3) then send '/compact' + Enter. Reason: CC may process /compact before ss completes if sent back-to-back (race condition confirmed by Elazar). The 60s gap ensures ss steps complete first. Applies to all over-budget /compact sends in the script.
-
Deployed cc-context-monitor.sh v4.21 (dca194d): ss + 60s sleep + /compact sequence.
todo
2026-06-16 by wi-cli-whey
6w ago
2026-06-16 05:35