You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stage (do not yet deploy) two narrowly scoped reliability changes on top of our tested Windows Codexify baseline. Based on relevant parts of LeZergan's upstream PR #24 and PR #22, not a wholesale import of either PR.
When enabled, goal_finish(status=blocked) requires the same concrete blocker over three distinct goal turns spanning at least 60 seconds.
Tool errors instruct continued independently authorized, free-only work; authorization, payment, contracting, spending and private-access gates remain unchanged.
A private per-chat sidecar audit keeps original strict goal-state JSON unchanged so the installed binary has a rollback-compatible state format.
New revision/restart resets effective audit; no unbounded browser retries.
2. Stop/End-turn recovery
Recognize standard and localized Stop controls plus the explicit End-turn label.
Wait for a briefly disabled Stop/End-turn control with an 8s bounded click, rather than never attempting it.
Re-evaluate after modal confirmation, keeping strict Send ownership and actual dialog safeguards.
New non-native unit checks and native-browser regression fixture.
Deliberately not adopted yet
LeZergan's parallel four-lane browser pool is not enabled or merged. The 16 GB Windows host still needs a low-memory concurrency, replay, throttling and browser RSS soak.
Verification
cargo fmt --all, git diff --check: pass
cargo check --lib: pass
cargo check --tests: previously passed on earlier staged code; rerunning after private-sidecar migration
Browser TypeScript tsc --noEmit: pass
Stop-control non-browser tests: 2/2 pass
Native Chrome fixture: not verified (browser startup timeout on loaded Windows machine)
No local release, service restart, installed-browser patch, or config activation.
Release gate
Resolve native browser regression, obtain full CI, check exact tasks and idle/rollback permissions, then use the guarded maintenance path. No work on the existing 10 hourly source workers, no goal-state manufacturing, no unapproved revenue actions.
This is a fork-internal draft, based on the existing Windows branch rather than a duplicate upstream PR.
Bun 1.4.0, matching upstream CI, with isolated native Chrome fixtures:
disabled End turn waits, stops, and sends exactly once: pass
non-modal suggestion popovers are ignored: pass
localized Stop confirmation for chat/goal/combined prompts: pass
unrelated/ambiguous confirmation dialogs are never approved: pass
Bun 1.3.2 on this Windows host could launch Chrome but could not complete Patchright's connection; a minimal Node.js and Bun 1.4.0 probe showed the runner incompatibility. This was an isolated test-environment failure, not a production fix.
Full Rust test execution and full browser suite are not green/complete. Fork PR targets the existing Windows branch, so the GitHub workflow limited to PRs targeting main is not triggered automatically.
Installed service and Chrome companion left untouched; deployment requires the Windows scheduled-task Administrator gate and a guarded, recoverable maintenance step.
The original strict goal-state JSON remains unchanged. The blocker audit is opt-in and saved in a private sidecar; payment and authorization gates stay enforced. Parallel browser lanes remain off pending a memory/Send-idempotency soak.
Follow-up commit 33fad0f addresses two observed Windows fleet issues: (1) ChatGPT conversation cooldowns previously created a background tab before rejecting navigation, then immediately closed it. The new preflight prevents that 1→2→1 tab flicker while preserving manually authorized Retry; its focused browser tests pass (34 pass, 1 native test skipped). (2) terminal goal states now clear stale turn-renewal state, the notice path refuses to renew non-active goals, and the supervisor retires terminal handoffs without affecting independent hourly worker chats. Rust cargo check --tests, TypeScript and Git diff validation pass. The live binary and installed companion remain unchanged until a guarded release is installed. The managed Chrome window has been minimized as a non-destructive interim mitigation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Objective
Stage (do not yet deploy) two narrowly scoped reliability changes on top of our tested Windows Codexify baseline. Based on relevant parts of LeZergan's upstream PR #24 and PR #22, not a wholesale import of either PR.
1. Persistent goal-blocker audit (opt-in)
agentChat.automation.persistentGoalBlockersdefaults false.goal_finish(status=blocked)requires the same concrete blocker over three distinct goal turns spanning at least 60 seconds.2. Stop/End-turn recovery
Deliberately not adopted yet
LeZergan's parallel four-lane browser pool is not enabled or merged. The 16 GB Windows host still needs a low-memory concurrency, replay, throttling and browser RSS soak.
Verification
cargo fmt --all,git diff --check: passcargo check --lib: passcargo check --tests: previously passed on earlier staged code; rerunning after private-sidecar migrationtsc --noEmit: passRelease gate
Resolve native browser regression, obtain full CI, check exact tasks and idle/rollback permissions, then use the guarded maintenance path. No work on the existing 10 hourly source workers, no goal-state manufacturing, no unapproved revenue actions.
This is a fork-internal draft, based on the existing Windows branch rather than a duplicate upstream PR.