Versions in this module Expand all Collapse all v0 v0.24.1 Jul 31, 2026 v0.24.0 Jul 31, 2026 Changes in this version + const ActionFix + const ActionReview + const ActionSafe + const PrepStatusAbort + const PrepStatusNeedsJudgment + const PrepStatusReady + const VerdictSafe + const VerdictUnsafe + func ApplyReviewDecisions(ctx context.Context, repoRoot string, decisions []ReviewDecision, ...) error + func BuildPrepStateBinding(ctx context.Context, repoRoot string, groups []CommitGroup) (string, map[string]string, error) + func ContainsLowConf(lowConf []PrepLowConf, groupID string) bool + func DeletePrepState(token string) error + func DetectJustfileRelease(repoRoot string) bool + func DetectSessionRepos(repoRoot string) []string + func EncodeExecuteResult(r *ExecuteResult, pretty bool) ([]byte, error) + func ExecExitCode(err error) int + func IsKitchenSink(g *CommitGroup) bool + func LoadDiffSlice(diffsPath string, g CommitGroup, maxChars int) string + func ModeHint(p PrepPreflight) string + func PersistPrepState(state *PrepState) (string, error) + func PersistPrepStateAt(token string, state *PrepState) error + func Polish(g CommitGroup) (subject string, confidence float64) + func PolishGroup(g *CommitGroup, threshold float64) bool + func ReviewFindingCount(findings []Finding) int + func StashArtifacts(repoRoot string, artifacts []string) + func StashArtifactsContext(ctx context.Context, repoRoot string, artifacts []string) + func ValidateConventionalMsg(msg string) error + func ValidateReviewDecisions(findings []Finding, decisions []ReviewDecision) error + func ValidateTag(tag string) error + func VerifyPrepStateFresh(ctx context.Context, state *PrepState) error + type Candidate struct + File string + Hint string + Kind string + Line int + Replacement string + func ApplyCandidates(ctx context.Context, repoRoot string, candidates []Candidate) (applied, skipped []Candidate, err error) + func RunSimplifyDetect(ctx context.Context, repoRoot string) ([]Candidate, error) + type CommitAnalysis = repomap.CommitAnalysis + type CommitGroup = repomap.CommitGroup + func ConsolidateGroups(groups []CommitGroup) []CommitGroup + type CommitRecord struct + Message string + SHA string + type CommitRefs = repomap.CommitRefs + type ExecuteOptions struct + DryRun bool + JSON bool + NoRelease bool + Output io.Writer + PlanFile string + Push bool + ReleaseNotesFrom string + Root string + SkipFix bool + Tag string + type ExecuteResult struct + Branch string + Commits []CommitRecord + Postflight PostflightCheck + Pushed bool + ReleaseURL *string + Tag *string + func ExecuteCommit(ctx context.Context, opts ExecuteOptions) (*ExecuteResult, error) + func ExecuteFromGroups(ctx context.Context, repoRoot string, groups []CommitGroup, ...) (*ExecuteResult, error) + type Finding = repomap.Finding + func ApplyFixFindings(ctx context.Context, repoRoot string, findings []Finding) (applied, skipped []Finding, err error) + func LoadFindings(path string) ([]Finding, error) + type PostflightCheck struct + Clean bool + Convent bool + Release bool + TagLocal bool + TagRemote bool + type PrepLowConf struct + DiffSlice string + Files []string + GroupID string + type PrepPayload struct + AbortReason string + LowConfSubjects []PrepLowConf + ModeHint string + Plan []PrepPlanGroup + Preflight PrepPreflight + PrepToken string + ReleaseGate *PrepReleaseGate + ReleaseRecipe bool + Review []PrepReviewItem + SessionRepos []string + Status string + type PrepPlanGroup struct + Confidence float64 + Files []string + Scope string + Subject string + Type string + func GroupsToPlan(groups []CommitGroup) []PrepPlanGroup + type PrepPreflight struct + Branch string + GHAuth string + LatestTag string + Remote string + Unpushed string + Working string + type PrepReleaseGate struct + Applied []any + BuildOK bool + func RunReleaseGate(repoRoot string) *PrepReleaseGate + func RunReleaseGateContext(ctx context.Context, repoRoot string) *PrepReleaseGate + type PrepReviewItem struct + DefaultAction string + Detail string + File string + ID string + Line int + Snippet string + func BuildReviewItems(findings []Finding, maxItems int) []PrepReviewItem + type PrepState struct + Analysis *CommitAnalysis + FileHashes map[string]string + HeadSHA string + Plan []CommitGroup + ReleaseGate *PrepReleaseGate + ReleaseRecipe bool + RepoRoot string + SessionRepos []string + func LoadPrepState(token string) (*PrepState, error) + type RepoStatus struct + Dirty []string + Repo string + func CrossRepoVerify(ctx context.Context, sessionRepos []string) (results []RepoStatus, allClean bool) + type ReviewDecision struct + ID string + Replacement string + Verdict string + type SecretsSummary = repomap.SecretsSummary + type VerifyResult struct + FailureDetail string + LastCommitSubject string + Mode string + OK bool + ReleaseURL string + Tag string + func SelfVerify(ctx context.Context, repoRoot, mode string) (VerifyResult, error)