Index
code_context_agent.models ¶
Data models for code-context-agent.
FrozenModel ¶
Bases: BaseModel
Immutable model (like frozen dataclass).
This model: - Prevents mutation (frozen=True) - Validates assignments - Forbids extra fields
Use for result objects and immutable data structures.
StrictModel ¶
Bases: BaseModel
Base model with strict validation.
This model: - Allows mutation (frozen=False) - Validates assignments - Forbids extra fields - Strips whitespace from strings
AnalysisConfidence ¶
AnalysisResult ¶
Bases: FrozenModel
Structured output for the complete analysis.
This model captures the analysis summary returned by the coordinator agent. The actual files (CONTEXT.md, bundles, etc.) are created by tools.
ArchitecturalPattern ¶
ArchitecturalRisk ¶
AreaRiskProfile ¶
BusinessLogicItem ¶
CalibratedJudgment ¶
ChangeVerdict ¶
Bases: FrozenModel
Machine-readable verdict for a set of code changes.
Produced by the deterministic verdict engine from a diff against pre-computed codebase context (risk profiles, GitNexus structural data, git history). Designed for CI/CD consumption.