pub fn record_search(
modeled_baseline: usize,
observed_tokens: usize,
output_tokens: usize,
pattern: &str,
path: &str,
duration: Duration,
output_excerpt: &str,
)Expand description
Record a search/grep operation with full Context OS side effects.
modeled_baseline (native-tool estimate, GL #479 D1) feeds the estimated
stats series; observed_tokens (raw measured match lines, no factor) feeds
the verified ledger (GL #479 D2). pattern/path/duration/output_excerpt
feed the Context IR lineage (#566).