Skip to main content

code_system_graph_hooks/
lib.rs

1//! Conservative, opt-in host integration for `Code System Graph` routing guidance.
2//!
3//! The crate installs only marker-owned host configuration. Prompt hooks classify the submitted
4//! prompt and return static routing guidance; they never inspect source code or run repository
5//! tools. Strict mode additionally installs a Git pre-commit gate that runs a staged `Code System Graph`
6//! change analysis.
7
8mod install;
9mod managed_root;
10mod routing;
11mod types;
12
13pub use install::{install, status, uninstall};
14pub use routing::{classify_prompt, route};
15pub use types::{
16    HookError, HookMode, HookStatus, HostKind, InstallReport, InstallRequest, RoutingIntent, RoutingRequest, RoutingResponse, UninstallReport
17};