mirror of
https://github.com/NanmiCoder/claude-code-haha.git
synced 2026-10-10 11:53:10 +08:00
3326a880e6
* fix(swarm): serialize team config writes under the file lock Route every team config.json mutation through mutateTeamFileAsync so each update reads its snapshot inside the lock, and publish via a same-directory temp file + rename with bounded Windows retry instead of truncating the live file. Await the now-async writers in the UI and CLI callers. * test(teams): cover TeamsDialog mode cycling and teammate removal The changed-lines gate scored TeamsDialog.tsx as 0/20 because no test imported it, so the new async removeMemberFromTeam/setMemberMode paths went unrecorded in LCOV. Drive both the list and detail views through input handlers and keybindings, including the rejection paths, to bring changed-lines coverage from 84.91% to 93.53%.