Lane: CLI/UX (sweep 3, F1)
cli/bin/pbjs and bin/pbts only forward numeric exits; every error path throws (cli/pbjs.js:372,403,419,441,461; cli/pbts.js:182,263), so ordinary user errors (missing file, parse error, bad target, bad -o dir) print full Node stack traces with internal frames and leak library paths. Reproduced live for five error classes.
Verdicts: luna Confirm Strong; grok Downgrade Worth exploring (noisy DX, not data loss). Recorded as Worth exploring.
Upstream: unreported.
Decision question: Adopt — catch at the bin level, print err.message to stderr, exit 1, stacks behind NODE_DEBUG/--stack?
Lane: CLI/UX (sweep 3, F1)
cli/bin/pbjsandbin/pbtsonly forward numeric exits; every error path throws (cli/pbjs.js:372,403,419,441,461;cli/pbts.js:182,263), so ordinary user errors (missing file, parse error, bad target, bad-odir) print full Node stack traces with internal frames and leak library paths. Reproduced live for five error classes.Verdicts: luna Confirm Strong; grok Downgrade Worth exploring (noisy DX, not data loss). Recorded as Worth exploring.
Upstream: unreported.
Decision question: Adopt — catch at the bin level, print
err.messageto stderr, exit 1, stacks behindNODE_DEBUG/--stack?