Effect.forkScoped ties the background fiber's lifetime to the enclosing scope. When wsServer wraps checkoutBranch in Effect.scoped, the scope closes immediately after checkout completes, interrupting the background git fetch. Switch to Effect.forkDetach so the background refresh runs independently, remove the now-unnecessary Scope.Scope requirement from checkoutBranch, and drop Effect.scoped from the WebSocket handler. Co-authored-by: Julius Marminge <[email protected]>