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

approver

command
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Command approver runs one scripted run to a publication-shaped approval, serves approver/webhook over its database on a loopback port, and acts as the chat bot on the other end: it fetches the approval's text rendering, prints it as the message an operator would read, posts the decision bound to the hash it showed, and then resumes the run the way the consumer's own process would. It makes no network calls beyond loopback and needs no model.

go run ./examples/approver [-db path] [-reject]

-db defaults to a fresh file under a per-user cache directory (os.UserCacheDir()/agentrt), created 0700. -reject has the bot refuse the approval instead, which cancels the run.

Jump to

Keyboard shortcuts

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