fix(cli): survive unavailable chat log directory - #1099
Conversation
fa4bc28 to
b00d9e9
Compare
|
Good, focused fix. The root cause is real: The fix extracts the destination-resolution logic into a pure, testable function (
One thing worth double-checking before porting: does Overall this is a small, well-scoped, well-tested fix that addresses a genuine crash path — good candidate for porting. |
|
Checked the diagnosability point. I intentionally left the fallback silent rather than writing to stderr: this path runs during normal TUI logging, so an |
Summary
Fixes #783
Validation
logger.test.ts: 3 passedgit diff --check: passed