openmoat 0.23.0

Policy checks for AI coding agents: decides allow, defer, review or deny for each tool call the hook of Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot CLI and seven more agents reports, configures Claude Code's, Codex's and Cursor's own OS sandboxes from the same policy, and keeps a local audit log.
//! Neither Unix nor Windows: no modes or access lists are read; the doctor
//! says so once.

use std::path::Path;

use super::Found;
use crate::commands::doctor::rows::Report;
use crate::home::Home;

/// Nothing is read of the directory here.
pub(super) fn directory(_: &mut Report, _: &Home) {}

/// The note `doctor` shows instead of the rows.
pub(super) const NOT_CHECKED: &str = "state files      modes and owners are not checked on this \
                                      system (its files have no Unix \
                                      modes)";

/// No user to compare owners with here.
pub(super) fn current_user() -> Option<u32> {
    None
}

/// Never called: [`current_user`] answers `None`.
pub(super) fn inspect(_: &Path, _: u32) -> Option<Found> {
    None
}