No description
health_report() had a hidden write side effect — it saved a metrics snapshot to disk while appearing to be a pure query (returns String). Extract the pure computation into current_metrics(), make the save explicit. daily_check() now uses current_metrics() too, eliminating duplicated metric computation. |
||
|---|---|---|
| prompts | ||
| schema | ||
| scripts | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||