openwork icon indicating copy to clipboard operation
openwork copied to clipboard

bug: openwork-orchestrator integrity checks fail with system-installed binaries

Open pedrohx26 opened this issue 8 months ago • 1 comments

Summary

The orchestrator binary performs integrity/hash checks on companion binaries (opencode, openwork-server, opencode-router). When these binaries are installed from system packages (AUR) rather than bundled by the upstream build, the integrity checks fail and the orchestrator refuses to start. There is no documented way to disable these checks.

To Reproduce

  1. Install openwork from AUR
  2. Install opencode from Arch extra repo
  3. Launch OpenWork
  4. Observe orchestrator fails to start — logs show binary integrity check failures

Expected behavior

When binaries are installed via a system package manager, integrity checks should either:

  • Be skipped automatically (detect non-bundled install)
  • Have a documented CLI flag to disable them
  • Use a more flexible verification that works with system packages

Actual behavior

The orchestrator refuses to start because the hash/integrity of system-installed companion binaries doesn't match the upstream-bundled expectations. No error message suggests how to bypass this.

OW version & Desktop info

  • OpenWork: 0.11.194-1 (AUR)
  • OS: Arch Linux x86_64

Additional context

Passing undocumented flags works as a workaround:

exec /usr/bin/openwork-orchestrator \
    --opencode-source external \
    --sidecar-source external \
    --allow-external \
    --opencode-bin /usr/bin/opencode-cli \
    --openwork-server-bin /usr/bin/openwork-server \
    --opencode-router-bin /usr/bin/opencode-router \
    "$@"

pedrohx26 avatar Mar 30 '26 17:03 pedrohx26

closed due to age, please reopen and tag me if still valid

OmarMcAdam avatar Oct 28 '26 22:10 OmarMcAdam