Skip to content

fix: launch Hermes safely on Windows#3704

Merged
CompleteDotTech merged 11 commits into
mainfrom
fix/hermes-windows-launcher
Jul 23, 2026
Merged

fix: launch Hermes safely on Windows#3704
CompleteDotTech merged 11 commits into
mainfrom
fix/hermes-windows-launcher

Conversation

@CompleteDotTech

@CompleteDotTech CompleteDotTech commented Jul 22, 2026

Copy link
Copy Markdown
Member

Summary

Windows now uses the native Hermes executable with prompt flags instead of the POSIX-only hermes-coven shim.

Adapter scaffolding and legacy-manifest repair now consistently honor the active COVEN_HOME across configuration changes, Familiar creation, onboarding, regular Chat, and Board task launches. This keeps customized Node, Windows, macOS, and Linux installations on the active Coven state rather than silently writing to a different default home.

Legacy Cave-generated Hermes manifests are repaired before Board and regular Chat launches. User-authored manifests are left untouched.

Root cause

The synced Hermes registry recipe expected the POSIX shim while Windows installs hermes.exe only. Retrying a work card therefore failed before Hermes could start.

Compatibility objective

Coven Cave is intentionally broad about both installation and runtime shape: Node/package-managed, native Windows, macOS, and Linux installations, along with harnesses such as Codex, OpenClaw, Hermes, and future adapters. This PR therefore limits its repair to Cave-owned, known-legacy Hermes manifests on Windows. It preserves user-authored manifests and existing non-Hermes adapters rather than assuming one executable, package manager, platform, or harness layout fits every installation.

Cross-repository compatibility

This preserves the POSIX shim recipe on macOS/Linux and scopes the Windows native argv recipe to Hermes only; it does not replace user-authored adapter manifests or alter other harnesses (including Codex and OpenClaw).

Depends on OpenCoven/coven#465. That CLI change makes the trusted Hermes recipe platform-aware, so Cave's Windows manifest is accepted by the daemon while the exact POSIX recipe remains trusted on macOS/Linux. Keep this PR draft until that CLI release is available.

Validation

  • tsc --noEmit
  • node scripts/run-tests.mjs api (239 API test files)
  • Native Windows typecheck and focused adapter and Board route tests
  • Native Tauri launch through scripts/dev-app.sh
  • Real Board task start created a running Hermes session and reached agent initialization
  • Native MSI bundle produced successfully; local updater signing key is not configured

@CompleteDotTech
CompleteDotTech marked this pull request as ready for review July 23, 2026 02:55
@CompleteDotTech
CompleteDotTech merged commit fd53d16 into main Jul 23, 2026
15 checks passed
@CompleteDotTech
CompleteDotTech deleted the fix/hermes-windows-launcher branch July 23, 2026 03:02
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