ucm_ingest/lib.rs
1//! Context ingestion layer — multi-source signal extraction.
2//!
3//! Ingests heterogeneous signals about an application and emits
4//! typed UcmEvents. Each adapter normalizes its input format
5//! into the unified event model.
6//!
7//! Current adapters:
8//! - Code parser (mock tree-sitter): source code → functions, imports, classes
9//! - Git diff parser: before/after → ChangeDetected events
10//! - Jira adapter: ticket JSON → Requirement entities
11//! - API log adapter: access logs → ApiEndpoint entities + traffic confidence
12//! - Git history adapter: co-change mining → CoChanged edges with HistoricalContext
13//!
14//! In production, the code parser would use real tree-sitter bindings
15//! (56+ languages). The mock parser demonstrates the same API surface
16//! and event flow without the native C dependency.
17
18pub mod api_log_adapter;
19pub mod code_parser;
20pub mod diff_parser;
21pub mod git_history_adapter;
22pub mod jira_adapter;
23pub mod linear_adapter;
24
25pub use api_log_adapter::*;
26pub use code_parser::*;
27pub use diff_parser::*;
28pub use git_history_adapter::*;
29pub use jira_adapter::*;
30pub use linear_adapter::*;