// SPDX-License-Identifier: MIT OR Apache-2.0
//! Domain-specific error types with exit codes and error classification.
//!
//! Workload: mixed (error construction is CPU-light; NotFound suggestions
//! walk the workspace for similar basenames).
//! Parallelism: `similar_paths_for` uses budgeted-depth `WalkParallel` bound
//! by the process-wide thread pool, then ranks with jaro-winkler (top-5).
//! Sequential alternative rejected for monorepo NotFound paths where depth-6
//! serial walk dominates agent retry latency.
use PathBuf;
use t;
use JsonSchema;
use Serialize;
use crate;
include!;
include!;
include!;
include!;
include!;
include!;