Skip to main content

Module coupling

Module coupling 

Source
Expand description

Co-change coupling store + ranker-signal integration.

Populated by a bounded git-history walker; queried at rerank time to promote files and symbols that historically ride with the query’s anchor. This module owns storage, cold-build, HEAD-delta updates, lazy preparation, and ranker-facing evidence for co-change signals.

Re-exports§

pub use lifecycle::LazyPrepareOutcome;
pub use lifecycle::coupling_prepare_policy_from_env;
pub use lifecycle::init_coupling_store;
pub use lifecycle::open_existing_coupling_store;
pub use lifecycle::refresh_on_reconcile_tick;
pub use lifecycle::start_lazy_prepare;
pub use store::CouplingRow;
pub use store::CouplingStore;
pub use walker::DeltaOutcome;
pub use walker::WalkerConfig;
pub use walker::WalkerStats;
pub use walker::apply_head_delta;
pub use walker::cold_build;

Modules§

lifecycle
Phase 3.1 — coupling store lifecycle.
schema
Schema DDL and migration constants for the coupling store.
store
Persistent store for co-change coupling evidence.
walker
Cold-build + incremental delta walker.

Structs§

AnchorKey
Namespaced key identifying one endpoint of a coupling edge.

Enums§

Granularity
Granularity of a coupling edge. File-level and symbol-level rows coexist in the same table, distinguished by the AnchorKey prefix.