HSX_E_DEV_MANAGED_STOP

Managed dev session failed to stop.

What this error means

hs-x could not safely stop the exact managed dev process.

When this error stops a command, hs-x exits with code 1. With --json, the failure is reported as a structured error whose code field is HSX_E_DEV_MANAGED_STOP — stable to match on in scripts and agents.

Likely causes

  • The PID was reused by another process
  • Graceful shutdown timed out

How to fix it

  • Inspect the session and PID with hs-x dev status --session <id>
  • Use --force only after reviewing the exact target

Still stuck? Re-run the command with --debug for the wire-level detail, or hs-x doctor to check accounts, link state, and connectivity in one pass.