Skip to main content

Module models

Module models 

Source
Expand description

Data models for OpenCode validation enrichment

These models represent the two-stage validation flow:

  • Stage 1: Local pipeline produces RawFinding
  • Stage 2: OpenCode enriches to EnrichedFinding with RAG context

Structs§

AnalysisContext
Analysis context from RAG
DocReference
Documentation reference
EnrichedFinding
Enriched finding after OpenCode + RAG processing (Stage 2)
FileContext
File context for enrichment
FixRecommendation
Fix recommendation
IssueDetails
Detailed issue information
RawFinding
Raw finding from local pipeline (Stage 1)
ValidationResult
Complete validation result
ValidationSummary
Validation summary

Enums§

FixAction
Type of fix action
FixComplexity
Complexity of the fix
Severity
Severity level for findings
ValidationStatus
Validation status