Documentation
¶
Index ¶
Constants ¶
const DefaultMintURL = "https://mint.fullsend.sh"
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.
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 ¶
func IsHostedMintURL ¶ added in v0.37.0
IsHostedMintURL reports whether raw is the hosted community mint URL (mint.fullsend.sh). internal/e2etest duplicates this check locally so it does not import internal/cli (which pulls the nested mintcore module).
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"`
// ID is an opaque stable identifier (f_ plus alphanumeric) assigned
// upstream. This command copies it onto the inline comment; it does
// not mint ids. Empty until the agents repo starts emitting it.
ID findingID `json:"id,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.
Source Files
¶
- admin.go
- agent.go
- agent_new.go
- agent_openai.go
- bootstrap_input.go
- bootstrap_scan.go
- checkprotectedbranch.go
- content_collector.go
- deploy_identity.go
- dispatch.go
- dispatch_botrole.go
- dispatch_route.go
- evalmeasure.go
- fetchreviewthreads.go
- fetchserver.go
- fetchskill.go
- foreign.go
- forge_client.go
- fullsenddir.go
- github.go
- github_client.go
- github_gateway.go
- gitlab_profile.go
- gitlab_role.go
- inference.go
- inference_gateway.go
- inference_openai.go
- issues.go
- issues_transition.go
- lint.go
- lock.go
- mint.go
- mint_delete.go
- mint_setup.go
- mint_tracing.go
- minttoken.go
- orgconfig.go
- persona_manifest.go
- poll.go
- poll_jira_gitlab.go
- postcomment.go
- postreview.go
- preflight.go
- preflight_github.go
- prepareartifacts.go
- preset.go
- readbody.go
- reconcilestatus.go
- repos.go
- repos_gitlab.go
- repos_gitlab_service_accounts.go
- repos_gitlab_trigger_account.go
- repos_verbose.go
- resolvemrsource.go
- root.go
- run.go
- run_configerr.go
- run_forge_attrs.go
- run_gateway.go
- run_gateway_egress.go
- run_gateway_route.go
- run_image_pull.go
- run_jira.go
- run_jira_label.go
- run_openai.go
- run_overrides.go
- run_reserved_env_lint.go
- run_workitem.go
- runner_secrets.go
- runtime_prompt.go
- scan.go
- selfupdate.go
- skill_collision.go
- skill_staging.go
- tirith_repo_policy.go
- tokenscope.go
- tool_spans.go
- tracker_client.go
- vendor.go
- wallclock.go