Files
codex/codex-rs/tui/tests/suite/mod.rs
T
Eric Traut 02a8f038b8 Check folder consent before creating or resuming TUI tasks (#44755)
## What changed

- Check directory trust when dispatching tasks from Agent Command Center, resuming sessions, and opening loaded tasks.
- Return connected users to Agent Command Center when they cancel folder consent. Clear launch prompts and images on startup cancellation, and restore the composer draft when task dispatch is canceled.
- Reload local configuration after saving folder trust and review startup hooks before creating a new task.
- Label connected consent screens with “Back to Agent Command Center”; retain quit behavior for embedded sessions.

## Testing

Add a terminal integration test covering unknown and untrusted folders, server-authoritative trust, cancellation and retry, resumed tasks with changed directories, and hook review before task creation. Update consent-screen snapshots.

GitOrigin-RevId: db88d2113fd47bc4c57369cc20ebf3042e6fb7ab
2026-09-11 07:13:19 +00:00

14 lines
276 B
Rust

// Aggregates all former standalone integration tests as modules.
#[cfg(unix)]
mod directory_trust;
#[cfg(unix)]
mod focus_palette;
#[cfg(unix)]
mod reconnect;
mod resize_reflow;
mod status_indicator;
mod vt100_history;
mod vt100_live_commit;
#[cfg(unix)]
mod worktree_stack;