effortop

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: AGPL-3.0 Imports: 8 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 AddWorktree

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

AddWorktree adds the managed worktree for an effort.

func AttachActivity

func AttachActivity(service *effort.Service, slug, owner string) effort.ActivityReply

AttachActivity attaches one bounded activity owner.

func DetachActivity

func DetachActivity(service *effort.Service, slug, owner string) effort.ActivityReply

DetachActivity detaches one bounded activity owner.

func EditMemory

func EditMemory(service *effort.Service, input effort.MemoryEditInput) (effort.MemoryOperationResult, error)

EditMemory performs one exact memory edit or preview.

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 HeartbeatActivity

func HeartbeatActivity(service *effort.Service, slug, owner string) effort.ActivityReply

HeartbeatActivity refreshes one bounded activity owner.

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, noWorktree bool) (presentation.Document, error)

New creates an effort resident and, unless excluded, its managed worktree.

func ReadMemory

func ReadMemory(service *effort.Service, input effort.MemoryReadInput) (effort.MemoryOperationResult, error)

ReadMemory performs one bounded memory read.

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.

func UpdateMemory

func UpdateMemory(service *effort.Service, input effort.MemoryUpdateInput) (effort.MemoryOperationResult, error)

UpdateMemory updates effort memory metadata or previews the update.

Types

This section is empty.

Jump to

Keyboard shortcuts

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