aboutsummaryrefslogtreecommitdiff
path: root/src/detect/agents/codex.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/detect/agents/codex.rs')
-rw-r--r--src/detect/agents/codex.rs9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/detect/agents/codex.rs b/src/detect/agents/codex.rs
index b77b7d25..93d2998c 100644
--- a/src/detect/agents/codex.rs
+++ b/src/detect/agents/codex.rs
@@ -14,13 +14,8 @@ pub(super) fn detect(content: &str) -> AgentState {
return AgentState::Working;
}
- // Idle
- if has_codex_current_prompt(content) {
- return AgentState::Idle;
- }
-
- // Weak blocked patterns are too broad to scan above a visible prompt. They
- // only apply when Codex does not currently show an idle prompt region.
+ // Weak blocked patterns are too broad to become visible blockers, but the
+ // legacy state detector still reports them as blocked for compatibility.
if has_codex_weak_blocked_prompt(&lower) {
return AgentState::Blocked;
}