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

approve

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package approve implements the "approve" CLI command: satisfy a pending human safety gate on an arc (SPEC §5.2). Approval requires an explicit phrase — the arc's own ID — typed by a human via --phrase. --yes and --dry-run never satisfy a gate, so the agent has no code route to self-grant.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*root.Config
	Phrase  string
	Flags   *ff.FlagSet
	Command *ff.Command
}

Config holds the configuration for the approve command.

func New

func New(parent *root.Config) *Config

New creates and registers the approve command with the given parent config.

Jump to

Keyboard shortcuts

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