Skip to main content

Module context_prefetch

Module context_prefetch 

Source
Expand description

Predictive context pre-loading (OSS stub).

Enterprise pre-caches files based on task triage predictions. OSS: no-op (no prefetching).

Structs§

FileTrajectory
File trajectory tracker (OSS stub).
PrefetchEntry
An entry in the prefetch plan.
PrefetchPlan
A prefetch plan containing predicted files.

Functions§

build_prefetch_plan
Builds a prefetch plan from trajectory data (OSS: basic frequency-based).
is_prefetch_prediction
Checks if a path was predicted by the prefetch engine (OSS: always false).
plan_after_triage
Plans prefetch after triage (OSS: no-op).
record_file_read
Records a file read for trajectory learning (OSS: no-op).
skipped_count
Count of skipped predictions (OSS: 0).
warm_predictions
Warms the cache for predicted paths (OSS: no-op).
warmed_count
Count of successfully warmed predictions (OSS: 0).