summaryrefslogtreecommitdiff
path: root/src/cli
diff options
context:
space:
mode:
authorakbash <akbash@herdr.dev>2026-08-14 01:22:46 +0300
committerGitHub <noreply@github.com>2026-08-14 01:22:46 +0300
commit9351b058f34973016a5d5973297d0567513e67a4 (patch)
tree6b31e2700258170685297e08c03084e21d459e44 /src/cli
parent2075de5db083f1d1f4a9c67f6b36a8eeb250754e (diff)
fix: reject prompts to blocked agents (#2790)
* fix: reject prompts to blocked agents refs #2788 * docs: clarify agent prompt timing refs #2788 --------- Co-authored-by: akbash-bot <300245827+akbash-bot@users.noreply.github.com>
Diffstat (limited to 'src/cli')
-rw-r--r--src/cli/spec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/spec.rs b/src/cli/spec.rs
index a1efdac4..ba454bfc 100644
--- a/src/cli/spec.rs
+++ b/src/cli/spec.rs
@@ -354,7 +354,7 @@ fn agent_command() -> Command {
.help("Fail after this many milliseconds"),
)
.after_help(
- "When submission starts from a non-working state, --wait first requires an observed state change within 5000ms; otherwise it returns agent_prompt_stalled. A shorter --timeout returns timeout instead. It then matches idle, done, or blocked by default, or any exact --until state. It does not track turns: if the agent is already working, that active turn's completion may match. Without --timeout, the settled-state wait is indefinite.",
+ "If the agent is already blocked, submission is rejected with agent_blocked before any input is sent. When an accepted submission starts from another non-working state, --wait first requires an observed state change within 5000ms; otherwise it returns agent_prompt_stalled. A shorter --timeout returns timeout instead. It then matches idle, done, or blocked by default, or any exact --until state. It does not track turns: if the agent is already working, that active turn's completion may match. Without --timeout, the settled-state wait is indefinite.",
),
)
.subcommand(