Skip to main content

Make-Invalid-States-Unrepresentable

Todo TUI in Rust 1. Scaffolding the TUI adapter and designing the state machine

·8 mins
We start a new series by migrating the CLI adapter to a ratatui TUI. We set up the new dependencies, design the module structure under adapters/tui/, model the interaction modes as an enum to make invalid states unrepresentable, and solve the ownership puzzle of cloning a repository in a persistent session.