Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReviewFinding ¶ added in v0.8.0
type ReviewFinding struct {
Severity string `json:"severity"`
Category string `json:"category"`
File string `json:"file"`
Line int `json:"line,omitempty"`
Description string `json:"description"`
Remediation string `json:"remediation,omitempty"`
Actionable bool `json:"actionable,omitempty"`
}
ReviewFinding is the structured form emitted by the review agent.
type ReviewResult ¶ added in v0.2.0
type ReviewResult struct {
Body string `json:"body"`
Action string `json:"action"` // "approve", "request-changes", "comment", "reject", "failure"
HeadSHA string `json:"head_sha"` // commit SHA the agent reviewed
Reason string `json:"reason"` // failure reason (when action is "failure")
Findings []ReviewFinding `json:"findings"`
}
ReviewResult represents a parsed review result file.
type RunMetrics ¶ added in v0.0.3
RunMetrics collects execution statistics from stream parsing.
Click to show internal directories.
Click to hide internal directories.