effortop

package
v0.45.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package effortop coordinates resolved effort use cases over effort residents and managed worktrees.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcquireMutationLease added in v0.41.0

func AcquireMutationLease(ctx context.Context, root, subcommand string) (*filesystem.Lease, error)

AcquireMutationLease is the sole effort application-composition policy for resident and dual-root mutation transactions. Command code supplies only the parsed operation shape and holds the returned capability through rendering.

func AddWorktree

func AddWorktree(ctx context.Context, manager *worktree.Manager, slug, base string) (presentation.Document, error)

AddWorktree adds the managed worktree for an effort.

func Finish

func Finish(ctx context.Context, service *effort.Service, slug string) (presentation.Document, error)

Finish finishes an effort resident and returns its readable mutation result.

func Integrate

func Integrate(ctx context.Context, root string, manager *worktree.Manager, slug string) (presentation.Document, error)

Integrate verifies and fast-forwards an effort branch into its base branch.

func List

func List(service *effort.Service) (presentation.Document, error)

List returns the readable active-effort listing.

func New

func New(ctx context.Context, service *effort.Service, manager *worktree.Manager, input effort.NewInput, base string) (presentation.Document, error)

New creates an effort resident and its managed worktree.

func RemoveWorktree

func RemoveWorktree(ctx context.Context, manager *worktree.Manager, slug string) (presentation.Document, error)

RemoveWorktree removes the managed worktree for an effort.

func Show

func Show(service *effort.Service, slug string) (presentation.Document, error)

Show returns one effort's readable detail.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL