repopilot 0.12.0

Local-first CLI for repository audit, architecture risk detection, baseline tracking, and CI-friendly code review.
Documentation
1
2
3
4
5
6
7
8
9
use crate::knowledge::active_knowledge;
use crate::knowledge::model::RuntimeProfile;

pub fn profile_by_id(id: &str) -> Option<&'static RuntimeProfile> {
    active_knowledge()
        .runtimes
        .iter()
        .find(|runtime| runtime.id == id)
}