start

package
v0.61.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: MIT Imports: 30 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package start is the f10 start and f10 forward commands: it parses their arguments and hands the work to the start service.

Index

Constants

View Source
const (
	ModeDefault = ""
)

--plan stops after the plan; --discuss after the fetch, for a task the user talks through in the agent's own pane.

Variables

This section is empty.

Functions

func Command

func Command() *cli.Command

Command is the start verb, which replaces three hand-offs across three tools, each a place to lose the suffix, the base or the "keep it local" words. Outside Herdr it refuses before touching anything rather than degrade to a plain claude.

func Forward

func Forward(ctx context.Context, w io.Writer, in ForwardInput) error

Forward: every refusal comes before the one thing that leaves this process.

func ForwardCommand

func ForwardCommand() *cli.Command

ForwardCommand is the forward verb, which hands a command to the agent already working on a task: a `/f10:ship` typed outside the task's worktree would run on the wrong branch, without the plan, so the skills call this first.

func RefuseLandedPlan

func RefuseLandedPlan(mode string, pick *hostops.Pickup) error

RefuseLandedPlan stops --plan on a merged or closed PR: its diff is no starting point once it landed, and going on from it is a task of its own.

func RefuseNote

func RefuseNote(mode string, pick *hostops.Pickup, note string) error

RefuseNote stops a note no prompt can carry: only the prompts that stop and wait are plain text, and a driven chain's arguments belong to its skills.

func RefusePickupFlags

func RefusePickupFlags(flow, after, base string) error

RefusePickupFlags stops the flags a picked-up PR has no use for: its branch and base are the PR's, and nobody ships someone else's PR unread.

Types

type ForwardInput

type ForwardInput struct {
	Main string // the main checkout: worktrees are its siblings
	Here string // the checkout this command answers for: a task here is not forwarded

	Task     ref.Ref
	Suffix   string
	Text     string        // what the agent is told, before the marker
	StateDir string        // where run state lives, for the idle check
	Ttl      time.Duration // how long a run counts as live
	Now      time.Time
	// contains filtered or unexported fields
}

ForwardInput is everything forward needs once the target is settled, so the flow can be tested without a checkout.

Jump to

Keyboard shortcuts

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