Add a TUI setting to disable automatic recaps (#42101)

## What changed

- Add the `tui.auto_recap` configuration option, enabled by default.
- When disabled, cancel scheduled automatic recap checks, reject automatic
  requests, and discard pending automatic results without retrying.
- Keep manual `/recap` requests available regardless of the setting.

## Testing

- Cover configuration defaults and command-line overrides.
- Cover scheduling cancellation, pending request cleanup, discarded results,
  and manual recaps while automatic recaps are disabled.

GitOrigin-RevId: 7d5323f58a2c84e60683a25a8c77653097efe6e2
This commit is contained in:
Felipe Coury authored and copyberry committed 2026-09-01 17:09:13 +00:00
1 parent b6ab99ed87
commit 8ea297ff60
14 files changed
+229 -47

No files matched your search

@@ -0,0 +1,6 @@
---
source: tui/src/app/tests/recap_generation_tests.rs
expression: lines_to_single_string(&rendered)
---
› Finish the recap implementation