mockforge_intelligence/handlers/mod.rs
1//! HTTP handlers for AI-coupled features.
2//!
3//! Issue #555 carves the AI-touching handler files out of
4//! `mockforge-http/src/handlers/` and re-homes them next to the
5//! intelligence logic they wrap. The HTTP crate keeps thin
6//! re-export shims at the legacy paths for one minor version so
7//! router-construction code in `mockforge_http::lib` keeps resolving
8//! unchanged.
9//!
10//! Currently migrated:
11//! - [`pr_generation`]: PR generation HTTP surface (#555 phase 2). The
12//! underlying `pr_generation` module moved in #562 phase 1; the
13//! handler followed once intelligence grew an axum dep.
14//! - [`semantic_drift`]: Semantic-drift incident HTTP surface (#555
15//! phase 3). All three of its foreign deps moved here in earlier #562
16//! phases (`ai_contract_diff` in phase 4, `incidents::semantic_manager`
17//! in phase 9) and the sqlx wrapper landed via the #611 prereq.
18//! - [`threat_modeling`]: Threat-modeling HTTP surface (#555 phase 4).
19//! Same pattern as `semantic_drift` — `contract_drift::threat_modeling`
20//! moved here in #562 phase 3, `incidents::integrations` moved in
21//! phase 9, and the threat types live in
22//! `mockforge_foundation::threat_modeling_types`.
23
24pub mod pr_generation;
25pub mod semantic_drift;
26pub mod threat_modeling;