1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// 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;
/// Build an `anyhow::Error` holding [`AtomwriteError::InvalidInput`] from a format string.
///
/// For input the caller got wrong (a missing field, a malformed line): exit 65 with
/// the short reason, instead of an untyped error the binary reports as an internal one.
include!;
include!;
include!;
include!;
include!;
include!;