Streamlit is a stateless framework that reruns the entire script on every interaction. We are building a local-first application backed by a YAML file.
- Writing to disk on every single click (e.g., moving a task) introduces latency.
- Relying solely on
st.session_staterisks data loss if the user refreshes the browser before saving.
We will implement a Command Pattern with Explicit Save.