Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PRModeInput ¶
type PRModeResult ¶
type PRModeResult struct {
ShouldComment bool `json:"should_comment"`
BlockMerge bool `json:"block_merge"`
RelevantPaths []string `json:"relevant_paths"`
Comment string `json:"comment"`
}
func RunPRMode ¶
func RunPRMode(in PRModeInput) PRModeResult
RunPRMode emits deterministic PR comment payloads only for AI-config affecting file changes.
type ScheduledResult ¶
type ScheduledResult struct {
ScoreDeltaText string `json:"score_delta_text"`
ComplianceDeltaText string `json:"compliance_delta_text"`
Summary string `json:"summary"`
PostureScore float64 `json:"posture_score"`
CompliancePercent float64 `json:"compliance_percent"`
SummaryArtifactPath string `json:"summary_artifact_path,omitempty"`
}
func RunScheduled ¶
func RunScheduled(snapshot state.Snapshot) ScheduledResult
RunScheduled derives deterministic scheduled-mode summary text from a scan snapshot.
func RunScheduledWithSummary ¶
func RunScheduledWithSummary(snapshot state.Snapshot, summaryArtifactPath string) ScheduledResult
RunScheduledWithSummary derives deterministic scheduled-mode summary text and includes a summary artifact path when available.
Click to show internal directories.
Click to hide internal directories.