pub const PROBE_SCRIPT: &str = r#"
echo "os=$(uname -s)"
echo "arch=$(uname -m)"
echo "git=$(git --version 2>/dev/null || echo MISSING)"
echo "home=$HOME"
echo "home_writable=$([ -w "$HOME" ] && echo yes || echo no)"
echo "ssh_appendable=$( { mkdir -p "$HOME/.ssh" && [ -w "$HOME/.ssh" ]; } >/dev/null 2>&1 && echo yes || echo no)"
echo "existing_ark=$( [ -x "$HOME/git-ark/bin/git-ark" ] && "$HOME/git-ark/bin/git-ark" --version 2>/dev/null | awk '{print $2}' || echo none)"
"#;Expand description
POSIX sh — no bashisms — run on the target host over the operator’s SSH.
Emits one key=value line per fact; order doesn’t matter to the parser.