Skip to content

Windows launcher, agent teams, and browser companion hardening (based on v2.3.15) - #20

Closed
LeZergan wants to merge 3 commits into
devnoname120:mainfrom
LeZergan:windows-agent-improvements
Closed

LeZergan wants to merge 3 commits into
devnoname120:mainfrom
LeZergan:windows-agent-improvements

Conversation

@LeZergan

Copy link
Copy Markdown

Summary

Windows reliability, a native Windows launcher, multi-agent teams with a generic agent connection, and browser companion hardening. These come from running Codexify daily on Windows 11.

Base: this branch is built on v2.3.15 (ca9f41b). main has moved on since then (v2.3.16 to v2.3.29), and several areas overlap, so GitHub will report merge conflicts. I'm opening the PR against the version I actually run so you can review the changes cleanly. I'm happy to rebase onto current main, or to split this into smaller PRs (one per section below), whichever you prefer.

Changes

Windows launcher and service lifecycle

  • Launch Codexify.cmd and a WPF launcher (scripts/windows-launcher.ps1, windows-launcher-core.ps1, windows-launcher.xaml) start the installed service, its saved tunnels and the browser companion. scripts/install-windows-launcher.ps1 adds desktop and Start menu shortcuts. No admin rights are needed. See docs/WINDOWS_LAUNCHER.md.
  • START CODEXIFY.cmd and windows-start-local(-core).ps1 start the service locally in a console.
  • Graceful updates: browser-only patch staging that applies on exit, a native backup, update guards so an update never interrupts running agent work, agent update build and activation, and live renderer priority.
  • Autowork status and state-file helpers (windows-autowork-status.ps1, windows-autowork-team-status.mjs).
  • Each script has a PowerShell test (scripts/test-windows-*.ps1).

Agent teams and the generic agent connection

  • New src/agent_automation/agents.rs and agent_clients.rs: parent and worker agent teams with per-worker goals, revision-checked control (agent_control), messaging (agent_message), status and reports.
  • New tools src/tools/agents.rs and src/tools/agent_client.rs. One agent connection over MCP, HTTP and a dependency-free JS helper (~/.codexify/agents/connection.json, client.mjs). See docs/CODING_APP_AGENTS.md and docs/AGENT_COORDINATION.md.
  • conversation_recovery.rs and goal_blocking.rs recover stalled conversations and report blocked goals. The supervisor, store, turn renewal and turn analytics were extended to support this.
  • Both features are off by default, behind the "Agent teams" and "AI agent control" settings.

Owner chat

  • New modules: agents panel, agent client, change review (changes.rs), chat listing, and recovery (recovery.rs).
  • UI updates to owner_chat.html and the global settings UI, including feature toggles.
  • More reliable markdown chat queue and wait behaviour.

Browser companion (ChatGPT driver)

  • Windows Chrome recovery: orphaned and stale Chrome processes, and Windows process priority handling.
  • A browser pool, draft and editor recovery, stop controls, approval monitor, submission network tracking and conversation readiness.
  • Renderer memory limits, minimal page and presentation mode for long chats, and faster navigation and model selection.
  • Hardening across the driver, navigation, session, turn binding and pairing.
  • Protocol schema and fixtures updated. Many new unit tests and smoke scripts under browser-companion/tests and browser-companion/scripts.

Core

  • exec_command and write_stdin session handling, diff output, config CLI, fast setup (src/fast_setup.rs), service and registry fixes.
  • codexify.config.example.json, README.md and docs/REFERENCE.md updated for the new settings.

Docs

  • docs/WINDOWS_LAUNCHER.md, docs/CODING_APP_AGENTS.md, docs/AGENT_COORDINATION.md, docs/PERFORMANCE_FIXES.md.

Not included

Machine-specific deploy scripts, build output (browser-companion/dist, bundled .smoke.mjs files), and local screenshots and logs were left out on purpose.

Testing

Developed and run day to day on Windows 11 against v2.3.15. Each area has new Rust tests (tests/agent_*, tests/turn_renewal.rs, src/*_tests.rs), browser-companion tests, and Windows PowerShell tests.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@devnoname120

Copy link
Copy Markdown
Owner

I'm happy to rebase onto current main, or to split this into smaller PRs (one per section below), whichever you prefer.

Yes do that, the fixes I’ve done since then have the priority.

LeZergan and others added 2 commits November 13, 2026 01:26
Resolves all conflicts with upstream's pairing reservations, chat-mode
compatibility, conversation-limit and transcript load rate-limit handling,
configurable offline timeout and model-picker refactor. Browser admission now
acknowledges before preflight while parallel action pages keep ownership of
pending actions. An agent acknowledgment still settles an uncertain send while
another page owns the conversation's scan lease.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@LeZergan

Copy link
Copy Markdown
Author

Thanks for the review. As you asked, I merged main (v2.3.29) into this branch and resolved all the conflicts, then split the work into themed PRs:

Closing this one in favour of those. The merged branch stays here for reference.

🤖 Generated with Claude Code

@LeZergan LeZergan closed this Nov 12, 2026
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