git_policy_cli/standards_review/mod.rs
1//! What:
2//! The standards-review shadow run:
3//! its request,
4//! the patch it covers,
5//! its one HTTPS call and the result it appends.
6//! Why:
7//! The review is optional and self-contained,
8//! so its modules sit together.
9//!
10//! In TS you'd write (pseudocode):
11//! ```ts
12//! // standards_review/index.ts: one `export * from './file'` per module below.
13//! ```
14
15/// The standards-review shadow run: JavaScript text behaviors the log depends on (UTF-16 lengths, number text).
16pub mod standards_review_text;
17
18/// The standards-review shadow run: a file's changed old-side ranges read from the patch.
19pub mod standards_review_patch;
20
21/// The standards-review shadow run: which commits get an entry, and the capped model input.
22pub mod standards_review_input;
23
24/// The standards-review shadow run: the Decisions API request body and the answer reading.
25pub mod standards_review_request;
26
27/// The standards-review shadow run: log entry rendering and appending.
28pub mod standards_review_entry;
29
30/// The standards-review shadow run: the in-process HTTPS call to the decisions gateway, with a total deadline.
31pub mod standards_review_client;
32
33/// The standards-review shadow run: the two real-Git reads (patch and file texts) of a landed commit.
34pub mod standards_review_source;
35
36/// The standards-review shadow run, end to end, and its bounded runner. Nothing calls it yet.
37pub mod standards_review_run;
38
39/// A loopback HTTP server for the standards-review tests; never in the release build.
40#[cfg(test)]
41pub(crate) mod standards_review_mock;
42
43/// The standards-review shadow run: appending an entry to the shared log without a lock, once per commit, with repair.
44pub mod standards_review_append;