CODE-042: done.js swallows worktree-repair failures, reports the move clean

Now
DONE
Sev
MED
Rep
///bee
Ask
gritzko
Rev
///bee#184fddf
See
BEE-043

Input

Context

done.js:120:H3-124 repair() runs git worktree repair (and its sibling calls) discarding every child exit code, and moveWt returns "" success right after (done.js:133:H3-135). A failed repair leaves the retired tree's gitdir back-pointer broken while bee done reports a clean retire (BEE-043 flow). Found in the 2026-08-21 review.

Goals

Propagate the child status; a failed repair names the tree and the command in the report. Repro: retire a tree whose gitdir link cannot be rewritten.

WIP

TODOs

Outcome