Versions in this module Expand all Collapse all v0 v0.1.0 May 23, 2026 Changes in this version + const DefaultSystemPrompt + const SortieSettingsDirName + const StepDoneDirName + func BuildDiffStatSummaryPrompt(taskID int64, title, description, diffStat string) string + func BuildSystemPrompt(resolvedPrompt, systemPrompt string, imageRelPaths []string) string + func CopyImagesToWorktree(worktreePath string, imagePaths []string) ([]string, error) + func EnsureWorkDirs(worktreePath string) error + func ImagesDir(worktreePath string) string + func InstallStopHook(worktreePath, stepName string) error + func LogsDir(worktreePath string) string + func ProjectLogPath(dataDir string, taskID int64) string + func ProjectLogsDir(dataDir string, taskID int64) string + func ResolveTaskRefs(s string, lookup func(int64) (*task.Task, error)) string + func ResolveTemplate(tmpl string, ctx *TemplateContext) string + func RunWorktreeSetupCommand(ctx context.Context, projectRoot, worktreePath, command string) error + func RunWorktreeSetupCommands(ctx context.Context, projectRoot, worktreePath string, commands []string) error + func SortieSettingsDir(worktreePath string) string + func StepDoneDir(worktreePath string) string + func SupportedTaskRefFields() []string + func SyncPathsToWorktree(srcRoot, dstRoot string, paths config.WorktreeSyncPathsConfig) error + func ValidateTaskRefs(refs []TaskRef) error + type Engine struct + func NewEngine(cfg *config.Config, database *db.DB, notifier *notify.Notifier, ...) *Engine + func (e *Engine) Coord() *merge.Coordinator + func (e *Engine) FinalizeTask(ctx context.Context, t *task.Task) error + func (e *Engine) ResumeAfterApproval(ctx context.Context, t *task.Task, outputFn func([]string)) error + func (e *Engine) RunTask(ctx context.Context, t *task.Task, outputFn func([]string)) error + type GitVars struct + BaseBranch string + RepoRoot string + TargetBranch string + type LoopVars struct + Iteration int + MaxIterations int + type TaskRef struct + Field string + ID int64 + Raw string + func ExtractTaskRefs(s string) []TaskRef + type TaskVars struct + Branch string + Context string + Description string + ID int64 + Images []string + Slug string + Title string + type TemplateContext struct + Git GitVars + Loop LoopVars + Steps map[string]string + Task TaskVars + TaskLookup func(int64) (*task.Task, error)