Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultMintURL = "https://fullsend-mint-gljhbkcloq-uc.a.run.app"
DefaultMintURL is the hosted public mint URL used when --mint-url is not explicitly provided. Users who self-host a mint can override this via the --mint-url flag.
View Source
const StaleHeadExitCode = 10
StaleHeadExitCode is the process exit code used when a review is discarded because the PR HEAD moved after the agent reviewed it. post-review.sh uses this to detect stale-head outcomes and re-dispatch a fresh review for the current HEAD.
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.
Click to show internal directories.
Click to hide internal directories.