commit 5b603ccfe3784c5e2bb49173588350340910eb2d
Author:     William Cory <williamcory@Williams-Mac-mini.local>
AuthorDate: Wed Sep 30 08:41:05 2026 -0700
Commit:     William Cory <williamcory@Williams-Mac-mini.local>
CommitDate: Wed Sep 30 08:41:05 2026 -0700

    🐛 fix(cli): append the raw cause of a startup failure under --verbose
    
    A module that failed to load before the command line started (a stale install)
    reached the executable's last catch, which printed only the generic sentence.
    Both process-level reporters now share Failure.operatorReport, which appends the
    redacted raw cause for an undesigned failure only under --verbose.
    
    Closes #2907
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

diff --git a/packages/smithers/src/bin.ts b/packages/smithers/src/bin.ts
index c34860b624..a67ed2e783 100644
--- a/packages/smithers/src/bin.ts
+++ b/packages/smithers/src/bin.ts
@@ -64,6 +64,7 @@ const start = async (): Promise<void> => {
 }
 
 void start().catch((cause: unknown) => {
-  process.stderr.write(`${String(Redaction.redactDiagnostic(Failure.operatorSentence(cause)))}\n`)
+  const text = Failure.operatorReport(cause, Argv.parse(process.argv.slice(2)).verbose)
+  process.stderr.write(`${String(Redaction.redactDiagnostic(text))}\n`)
   process.exitCode = 1
 })
