Problem
An operator confirmed an unintended downgrade of OpenCode during a managed upgrade workflow. The runtime installer currently falls back to a global npm installation without an explicit contract for preserving the active executable and installation provenance. Preview mode must preserve runtime binaries and service state.
Acceptance criteria
- Resolve and preserve the active OpenCode executable and installation method across setup and upgrade.
- Keep existing custom, standalone, and package-manager installations under their existing ownership.
- Ensure dry-run is side-effect free for runtime installation, binary selection, and service restarts.
- Verify behavior with isolated executable fixtures covering multiple installed copies and an existing newer/custom runtime.
- Document the supported fresh-install behavior and provide reproducible repository-native verification commands.
AI assistance
GPT-6 Astra via OpenCode inspected the installer and drafted this repair tracker at the operator’s request.
Problem
An operator confirmed an unintended downgrade of OpenCode during a managed upgrade workflow. The runtime installer currently falls back to a global npm installation without an explicit contract for preserving the active executable and installation provenance. Preview mode must preserve runtime binaries and service state.
Acceptance criteria
AI assistance
GPT-6 Astra via OpenCode inspected the installer and drafted this repair tracker at the operator’s request.