fix: deduplicate Codex log followers

This commit is contained in:
liujing
2026-07-20 00:55:33 +08:00
parent 71b8025666
commit 84f1dc589e
5 changed files with 305 additions and 56 deletions
+3 -1
View File
@@ -105,11 +105,13 @@ Executor has been running for ~2m. Current activity: Editing src/parser.ts (PID
- Do not emit raw JSON, empty heartbeat spam, or repeat identical summaries.
- Mention stage, error summaries, or notable file changes when available.
- Always invite the user to watch live output independently:
- Invite the user once after the Run starts to watch live output independently; do not repeat this command in every progress update:
```
Watch live: agent-workflow logs --run <run-id> --follow
```
Start that `logs --follow` command at most once for a given Run in the current Codex thread. If it reports that a follower is already active, do not retry the same command; use `agent-workflow status --run <run-id> --json` for progress instead.
`timeoutSeconds` is a consecutive inactivity timeout. Observable executor output refreshes the deadline, so do not treat total runtime beyond that value as a timeout while activity continues.
### `awaiting_scope_resolution`