pub fn load_state(repo_id: &str) -> DocsState
Read the persisted state file, returning a default if missing.