The brush for AI-native document editors — a minimal wry+tao shell that gives a web frontend exactly what it needs to co-write with an AI. Ships IPC bridge, path-sandboxed FS, native dialogs, PTY + ACP.
//! Shared fixtures for integration tests.
//!//! `/tmp` and `/var` on macOS canonicalize into `/private/*`, which is
//! blocked by `validate_path`. So scratch directories live under
//! `$HOME/.fude-test-scratch/` which is not on any block-list.
usestd::path::PathBuf;pubfnscratch_dir()->tempfile::TempDir{let home =std::env::var("HOME").expect("HOME set");let base =PathBuf::from(home).join(".fude-test-scratch");std::fs::create_dir_all(&base).expect("create scratch base");tempfile::TempDir::new_in(&base).expect("create scratch tempdir")}