Skip to content

desktop/src-tauri/crates/core/examples/real_verify_omp.rs

Comment 1, line 1

desktop/src-tauri/crates/core/examples/real_verify_omp.rs:1

//! Read-only checks of native oh-my-pi (OMP), authorized by the user.

Comment 2, line 2

desktop/src-tauri/crates/core/examples/real_verify_omp.rs:2

//! Output only permitted file/record/event/category/call/token counts

Comment 3, line 3

desktop/src-tauri/crates/core/examples/real_verify_omp.rs:3

//! and diagnostics; no paths, session IDs or record content beyond models.

Comment 4, line 4

desktop/src-tauri/crates/core/examples/real_verify_omp.rs:4

//! Usage: cargo run -p llm-usage-core --example real_verify_omp -- <omp_root> <work_dir>

Comment 5, line 5

desktop/src-tauri/crates/core/examples/real_verify_omp.rs:5

//! omp_root may be ~/.omp/agent or ~/.omp/agent/sessions; a sessions child

Comment 6, line 6

desktop/src-tauri/crates/core/examples/real_verify_omp.rs:6

//! selects the agent root, otherwise use the sessions directory itself.

Comment 7, line 74

desktop/src-tauri/crates/core/examples/real_verify_omp.rs:74

// A second scan adds no duplicate records.

Comment 8, line 82

desktop/src-tauri/crates/core/examples/real_verify_omp.rs:82

// OMP child layout requires separate primary/sub_agent/auxiliary counts.

Comment 9, line 94

desktop/src-tauri/crates/core/examples/real_verify_omp.rs:94

// Check permitted UTC summary fields: calls and token sums.