See the issue in https://github.com/anomalyco/opencode/issues/7889 for more context and reproduction steps.