OPS-19 ·
agent-opscc-context-monitor FIX#1+#2: idle-sense (last-ASSISTANT-ts not getmtime) + safe-compact REPL-ready marker
- Ref
OPS-19(#1089)- Project
agent-ops- Status
- done
- Priority
- normal
- Type
- task
- Assigned
- nw-whey-cc coder
- Created by
- wi-cli-whey
- Created
- 2026-06-15T07:45:47.226Z
- Updated
- 2026-06-15T08:29:39.846Z
- Closed
- 2026-06-15T08:29:39.846Z
Questions
No questions.
Event log
-
nw-whey-cc / coder
-
FIX#1: derive idle from last ASSISTANT-record ts in transcript tail (reuse last_turn() reverse parse), not getmtime. Inbound user/system records reset mtime -> idle_min=0 forever for message-driven agents, breaking the OVER+IDLE gate. FIX#2 (belt): agent emits REPL-at-prompt/safe-compact marker so watchdog send-keys lands on a ready prompt. Both in cc-context-monitor.sh (sh.git, bin-whey-cc lane). nw-whey author lane. OPS-18 sibling. Brainstorm origin: bs-mqerxicdt2k close.
-
idle-sense (last-ASSISTANT-ts) + REPL-ready PROMPT_SETTLE_SEC gate committed in cc-context-monitor v4.17 (56ebb7c sh.git).