Problem
Every time the user exits Raven with Ctrl+C, Raven appears to generate or update a log. We need to determine whether this is intentional best practice, necessary TUI hygiene, or noisy behavior that should be changed.
Current context
The TUI startup path redirects loguru output to ~/.raven/logs/tui.log before launching the full-screen Ink UI. Ctrl+C is also handled in both the Python parent process and the TUI input path, depending on whether a turn is active.
Relevant questions:
- Is the log file merely opened/updated because the TUI always routes logs there?
- Is Ctrl+C writing an expected shutdown line, a warning, or an exception?
- Does a normal user exit create misleading error-looking logs?
- Should Raven suppress normal-exit noise while preserving real crash diagnostics?
Acceptance criteria
- Reproduce Ctrl+C exit and inspect the exact log lines written.
- Classify the current behavior as expected, noisy, or incorrect.
- If normal Ctrl+C writes error-looking logs, change the wording/severity or suppress it.
- If keeping the log is intentional, document why and make sure
/logs or user-facing copy does not imply a crash.
Problem
Every time the user exits Raven with Ctrl+C, Raven appears to generate or update a log. We need to determine whether this is intentional best practice, necessary TUI hygiene, or noisy behavior that should be changed.
Current context
The TUI startup path redirects loguru output to
~/.raven/logs/tui.logbefore launching the full-screen Ink UI. Ctrl+C is also handled in both the Python parent process and the TUI input path, depending on whether a turn is active.Relevant questions:
Acceptance criteria
/logsor user-facing copy does not imply a crash.