fix(@scripts): 🐛 log and capture debug output in triage command

Co-Authored-By: Lilith Autocommit <noreply@atlilith.com>
This commit is contained in:
Natalie 2026-05-17 22:24:01 -07:00
parent 98f2475f1c
commit 0f823b4ecd

View file

@ -563,7 +563,8 @@ list_triage_on() {
# pre-installed on the remote.
ssh -o BatchMode=yes -o ConnectTimeout=5 "$_host" \
"${_REMOTE_TRIAGE_BOOT} \$PY -${_args}" \
< "$_helper" 2>/dev/null || true
< "$_helper" 2>>/tmp/rclaude-debug.log \
| tee -a "/tmp/rclaude-debug-stdout-${_host}.log" || true
fi | awk -F'\t' -v host="$_host" '
# _claude-triage writes informational lines starting with "# " to
# stderr; the stdout we capture is pure TSV. Each row: