Skip to main content

lean_ctx/core/context_prefetch/
mod.rs

1//! Predictive context pre-loading (OSS stub).
2//!
3//! Enterprise pre-caches files based on task triage predictions.
4//! OSS: no-op (no prefetching).
5
6/// Plans prefetch after triage (OSS: no-op).
7pub fn plan_after_triage(_task_class: &str) {}
8
9/// Records a file read for trajectory learning (OSS: no-op).
10pub fn record_file_read(_path: &str) {}
11
12/// Checks if a path was predicted by the prefetch engine (OSS: always false).
13pub fn is_prefetch_prediction(_path: &str) -> bool {
14    false
15}