Help us shape the future of Go! Take the 2026 Go Developer Survey

agentlaunch

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package agentlaunch is the shared "launch a normal coding agent session with a composed prompt" helper, used by `entire review --fix` and `trace investigate fix`. Both commands feed accepted findings back into a follow-up coding agent without spawning a review/investigate session themselves.

The package is a leaf so review and investigate (which depend on it) avoid an import cycle. The env-var names it strips live in cli/provenance (also a leaf).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LaunchFixAgent

func LaunchFixAgent(ctx context.Context, agentName string, prompt string) error

LaunchFixAgent starts a normal coding agent session with the given prompt. TRACE_REVIEW_* and TRACE_INVESTIGATE_* env entries are stripped from the child process so the fix session is not tagged as a review or investigate.

agentName must be a launchable agent registry name. Returns nil on clean exit, or a wrapped error on cancellation / non-zero exit. Output / input are connected to the calling process's stdio so the user can interact with the fix session in their terminal.

Types

This section is empty.

Jump to

Keyboard shortcuts

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