Skip to content

fix(T677): keep silent open Codex turns active - #369

Merged
kryptobaseddev merged 1 commit into
mainfrom
fix/t677-open-turn-activity
Oct 17, 2026
Merged

kryptobaseddev merged 1 commit into
mainfrom
fix/t677-open-turn-activity

Conversation

@kryptobaseddev

Copy link
Copy Markdown
Owner

Codex ee1e8ba (base 6617cfd). Owner-approved full rule for T677. CodexActivity now recognises an unmatched rollout turn start (task_started with no task_complete, end or abort for that turn_id) and refreshes lease activity on the existing 60 s MCP heartbeat even while the rollout mtime stays unchanged. A long silent Codex turn is no longer offered for idle takeover. Missing, unreadable, malformed, replaced or truncated rollouts drop the cached turn state and fall back to mtime. The lease token, thread, PID-birth and live-process fences are unchanged, and there's no new timer or process.

Trade-off: an abandoned unmatched start keeps the holder live while its process lives.

test/codex-activity.test.ts 25/25 (REQ-T677-ROLLOUT; includes a >10 min silent turn and completed-turn recovery; the new regression fails without the fix), project-mailbox 26/26, tsc and check-dist clean. CHANGELOG Unreleased only.

🤖 Generated with Claude Code

@kryptobaseddev
kryptobaseddev merged commit 77ee9a7 into main Oct 17, 2026
1 check passed
@kryptobaseddev
kryptobaseddev deleted the fix/t677-open-turn-activity branch October 17, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant