fix(nwsync): write emit and assemble summaries to stderr #82

Merged
archvillainette merged 1 commits from fix/81-nwsync-summary-to-stderr into main 2026-07-31 18:42:21 +00:00
1 Commits
Author SHA1 Message Date
archvillainetteandClaude Opus 5 1062fd007c fix(nwsync): write emit and assemble summaries to stderr
ci / ci (pull_request) Successful in 3m31s
crucible nwsync emit and assemble printed their summary line to stdout.
Callers that capture a script's stdout as a value got the summary glued
onto it: pack-haks.sh does release_dir="$(...)", so all 11 emit summaries
landed in $release_dir and publish-release.sh failed with "release dir
not found".

Neither line is a machine-readable contract, so move both to stderr,
where lib.sh's own "nwsync: emitted $key" log already goes. runEmit and
runAssemble no longer need the stdout writer.

Fixes #81.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-31 20:35:40 +02:00