Skip to content

fix(replay): harden OpenCode continuation watchdogs - #131

Merged
reiase merged 8 commits into
DeepLink-org:mainfrom
wyeth93:fix/opencode-continuation-watchdogs
Sep 14, 2026
Merged

reiase merged 8 commits into
DeepLink-org:mainfrom
wyeth93:fix/opencode-continuation-watchdogs

Conversation

@wyeth93

@wyeth93 wyeth93 commented Sep 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add OpenCode continuation watchdogs: idle timeout with live stdout-redirect polling, and remaining step-budget enforcement via --print-logs progress.
  • Bridge/stabilize OpenCode resume transport (nonce stripping, sampling pins) and fall back to sqlite session rebuild when watchdogs terminate mid-stream.
  • Report agent_status: max_steps when the event watchdog caps a resumed session, and document the OpenCode replay behavior.

Test plan

  • cargo test -p persisting-replay --lib process::tests (includes redirect idle refresh / stall cases)
  • SweEval OpenCode replay 3-task config (replay-3tasks.toml → opencode-replay-3tasks-qwen36-idlepoll): 3/3 resolved, mean reward 1.0
  • CI on this PR

Made with Cursor

@wyeth93
wyeth93 force-pushed the fix/opencode-continuation-watchdogs branch from 29edbeb to 8efd609 Compare September 11, 2026 03:30
@wyeth93
wyeth93 force-pushed the fix/opencode-continuation-watchdogs branch from 8efd609 to aa0da01 Compare September 14, 2026 02:49
@reiase
reiase merged commit 481d563 into DeepLink-org:main Sep 14, 2026
29 checks passed
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.

2 participants