Versions in this module Expand all Collapse all v0 v0.8.1 May 21, 2026 Changes in this version + const ActorSourceFlag + const ActorSourceGitConfig + const ExitFindings + const ExitInternal + const ExitOK + const ExitUsage + func AcquireRepoLock(rootDir, verbDisplay string) (release func(), rc int) + func AllKindNames() []string + func AssertSupportedOS(goos string) error + func CompleteEntityIDArg(filter entity.Kind, position int) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective) + func CompleteEntityIDFlag(filter entity.Kind) func(*cobra.Command, []string, string) ([]string, cobra.ShellCompDirective) + func CompleteEntityIDs(filter entity.Kind) ([]string, cobra.ShellCompDirective) + func ConfiguredTitleMaxLength(rootDir string) int + func DecorateAndFinish(ctx context.Context, root, label string, t *tree.Tree, result *verb.Result, ...) int + func FinishVerb(ctx context.Context, root, label string, result *verb.Result, err error) int + func HasCommits(ctx context.Context, root string) bool + func IsTerminalPromote(k entity.Kind, newStatus string) bool + func JoinKinds(ks []entity.Kind) string + func LoadContractsBlock(rootDir string) (*aiwfyaml.Contracts, error) + func LoadContractsDoc(rootDir string) (*aiwfyaml.Doc, *aiwfyaml.Contracts, error) + func LoadEntityScopes(ctx context.Context, root, id string) ([]*scope.Scope, error) + func LoadTreeWithTrunk(ctx context.Context, rootDir string) (*tree.Tree, []tree.LoadError, error) + func ParseKind(s string) (entity.Kind, bool) + func ParseTestsFlag(raw, verbLabel string) (*gitops.TestMetrics, error) + func ReadBodyFile(path string) ([]byte, error) + func RegisterFormatCompletion(cmd *cobra.Command) + func ReorderFlagsFirst(args, knownFlags, knownBoolFlags []string) []string + func ResolveActor(explicit, root string) (string, error) + func ResolveActorWithSource(explicit, root string) (actor, source string, err error) + func ResolveCurrentEntityID(ctx context.Context, root, id string) (string, error) + func ResolveRoot(explicit string) (string, error) + func SplitCommaList(s string) []string + func StatusesForID(id string) []string + func WrapExitCode(code int) error + type ExitError struct + Code int + func (e *ExitError) Error() string + type ProvenanceContext struct + Actor string + CreationRefs []string + IsTerminalPromote bool + MoveSource string + Principal string + TargetID string + VerbKind verb.VerbKind