Skip to main content

Crate ucm_ingest

Crate ucm_ingest 

Source
Expand description

Context ingestion layer — multi-source signal extraction.

Ingests heterogeneous signals about an application and emits typed UcmEvents. Each adapter normalizes its input format into the unified event model.

Current adapters:

  • Code parser (mock tree-sitter): source code → functions, imports, classes
  • Git diff parser: before/after → ChangeDetected events
  • Jira adapter: ticket JSON → Requirement entities
  • API log adapter: access logs → ApiEndpoint entities + traffic confidence
  • Git history adapter: co-change mining → CoChanged edges with HistoricalContext

In production, the code parser would use real tree-sitter bindings (56+ languages). The mock parser demonstrates the same API surface and event flow without the native C dependency.

Re-exports§

pub use api_log_adapter::*;
pub use code_parser::*;
pub use diff_parser::*;
pub use git_history_adapter::*;
pub use jira_adapter::*;
pub use linear_adapter::*;

Modules§

api_log_adapter
API log adapter — converts access logs into ApiEndpoint entities with traffic-based confidence scoring.
code_parser
Code parser — extracts entities and relationships from source code.
diff_parser
Git diff parser — compares before/after source to emit ChangeDetected events.
git_history_adapter
Git history adapter — mines co-change patterns from version control to produce CoChanged relationship edges with HistoricalContext discovery source.
jira_adapter
Jira/ticket adapter — converts ticket JSON into Requirement entities.
linear_adapter
Linear adapter — converts Linear issues into Requirement/Feature entities.