repotoire 0.8.0

Graph-powered code analysis CLI. 110 detectors for security, architecture, bus factor, and code quality.
Documentation
//! Phase 2i annotations entry point — kebab-cased to per-detector intent.
//!
//! The actual parser lives in `super::super::dual_branch_annotation`
//! (consolidated in Phase 2c, after the rule-of-three). This module
//! exists so existing `super::annotation::parse_python_comment` call
//! sites inside the detector keep working without churn, AND so that
//! any Phase 2i-specific annotation kind validation can land here
//! without affecting the shared parser.
//!
//! Phase 2i uses two kinds (per decisions doc D2):
//! - `nosql-safe[<reason>]` — collapses to Benign / Info.
//! - `nosql-vulnerable[<source>]` — collapses to RealBug / the
//!   existing single-branch severity (typically `Critical` for the
//!   `$where` / dict-expansion shapes that the legacy
//!   `categorize_risk` classification fires on).
//!
//! The shared parser is kind-agnostic; this module is the natural
//! home for any future Phase 2i-specific kind validation or
//! normalization.

#[allow(unused_imports)]
pub(super) use crate::detectors::security::dual_branch_annotation::{
    parse_python_comment, Annotation,
};