- Repository:
git://eleglicity.com/go/verbgate.git - Go import metadata:
https://eleglicity.com/go-modules/verbgate/
Go import metadata is used by go get; it is not documentation and is intentionally blank in a browser.
Versionless commands resolve to the latest published release (v0.4.0):
go get eleglicity.com/go-modules/verbgate
go install eleglicity.com/go-modules/verbgate/cmd/hostexec
go install eleglicity.com/go-modules/verbgate/cmd/hostexec-client
go install eleglicity.com/go-modules/verbgate/cmd/hostverbs
Explicit @latest forms:
go get eleglicity.com/go-modules/verbgate@latest
go install eleglicity.com/go-modules/verbgate/cmd/hostexec@latest
go install eleglicity.com/go-modules/verbgate/cmd/hostexec-client@latest
go install eleglicity.com/go-modules/verbgate/cmd/hostverbs@latest
- hostexec-client linux/amd64 —
77ea70c1f228f9f38d7218cc1ca0c54a0a064f60a6b155582c796bee33626b2a - hostexec-client linux/arm64 —
eb7bf40152a8f6f57ea8caff29238f64d1aba84dd4e89ce9c6d2f2e0e73dd430 - SHA256SUMS
Versions
| Version | Commit | Go commands | Artifacts |
|---|---|---|---|
v0.4.0 (latest) |
e9aa23c0d6c042ae08114d30c5c522f30b880edb |
go get eleglicity.com/go-modules/verbgate@v0.4.0go install eleglicity.com/go-modules/verbgate/cmd/hostexec@v0.4.0go install eleglicity.com/go-modules/verbgate/cmd/hostexec-client@v0.4.0go install eleglicity.com/go-modules/verbgate/cmd/hostverbs@v0.4.0 |
client release |
v0.3.8 |
353e515d6ae7d2cf2f92d973b26bc3336d7640f1 |
go get eleglicity.com/go-modules/verbgate@v0.3.8go install eleglicity.com/go-modules/verbgate/cmd/hostexec@v0.3.8go install eleglicity.com/go-modules/verbgate/cmd/hostexec-client@v0.3.8go install eleglicity.com/go-modules/verbgate/cmd/hostverbs@v0.3.8 |
— |
v0.3.7 |
70623acbc1e90093d79095fb502bb9a824185d80 |
go get eleglicity.com/go-modules/verbgate@v0.3.7go install eleglicity.com/go-modules/verbgate/cmd/hostexec@v0.3.7go install eleglicity.com/go-modules/verbgate/cmd/hostexec-client@v0.3.7go install eleglicity.com/go-modules/verbgate/cmd/hostverbs@v0.3.7 |
— |
v0.3.6 |
4a8ad69066def4e6d90e54e626a5e2de0f928aff |
go get eleglicity.com/go-modules/verbgate@v0.3.6go install eleglicity.com/go-modules/verbgate/cmd/hostexec@v0.3.6go install eleglicity.com/go-modules/verbgate/cmd/hostexec-client@v0.3.6go install eleglicity.com/go-modules/verbgate/cmd/hostverbs@v0.3.6 |
— |
v0.3.5 |
0edb680f53752be0f6901898022588704c9dd74d |
go get eleglicity.com/go-modules/verbgate@v0.3.5go install eleglicity.com/go-modules/verbgate/cmd/hostexec@v0.3.5go install eleglicity.com/go-modules/verbgate/cmd/hostexec-client@v0.3.5go install eleglicity.com/go-modules/verbgate/cmd/hostverbs@v0.3.5 |
— |
v0.3.4 |
eff7c79f65238c2a6d06ef84c14ddd57279869a3 |
go get eleglicity.com/go-modules/verbgate@v0.3.4go install eleglicity.com/go-modules/verbgate/cmd/hostexec@v0.3.4go install eleglicity.com/go-modules/verbgate/cmd/hostexec-client@v0.3.4go install eleglicity.com/go-modules/verbgate/cmd/hostverbs@v0.3.4 |
— |
v0.3.3 |
82b9b7d4ff7e35da96e666f8027d1840bbab5a92 |
go get eleglicity.com/go-modules/verbgate@v0.3.3go install eleglicity.com/go-modules/verbgate/cmd/hostexec@v0.3.3go install eleglicity.com/go-modules/verbgate/cmd/hostexec-client@v0.3.3go install eleglicity.com/go-modules/verbgate/cmd/hostverbs@v0.3.3 |
— |
v0.3.2 |
f218130ef5b9dce48ba269898117a3f552595fce |
go get eleglicity.com/go-modules/verbgate@v0.3.2go install eleglicity.com/go-modules/verbgate/cmd/hostexec@v0.3.2go install eleglicity.com/go-modules/verbgate/cmd/hostexec-client@v0.3.2go install eleglicity.com/go-modules/verbgate/cmd/hostverbs@v0.3.2 |
— |
v0.3.1 |
e2d7da8887191a8a9f33930d750acdf8c9d2ce48 |
go get eleglicity.com/go-modules/verbgate@v0.3.1go install eleglicity.com/go-modules/verbgate/cmd/hostexec@v0.3.1go install eleglicity.com/go-modules/verbgate/cmd/hostexec-client@v0.3.1go install eleglicity.com/go-modules/verbgate/cmd/hostverbs@v0.3.1 |
— |
v0.3.0 |
e60e9d547cef14d7ced3ac69b3bc6dbe33e51bb3 |
go get eleglicity.com/go-modules/verbgate@v0.3.0go install eleglicity.com/go-modules/verbgate/cmd/hostexec@v0.3.0go install eleglicity.com/go-modules/verbgate/cmd/hostexec-client@v0.3.0 |
— |
v0.2.0 |
2dd339d9a76b2a92962a76b90e24d799ca03770a |
go get eleglicity.com/go-modules/verbgate@v0.2.0go install eleglicity.com/go-modules/verbgate/cmd/hostexec@v0.2.0go install eleglicity.com/go-modules/verbgate/cmd/hostexec-client@v0.2.0 |
— |
v0.1.0 |
d6826d683b9642933a5f3b12a06482a79f116d90 |
go get eleglicity.com/go-modules/verbgate@v0.1.0go install eleglicity.com/go-modules/verbgate/cmd/hostexec@v0.1.0go install eleglicity.com/go-modules/verbgate/cmd/hostexec-client@v0.1.0 |
— |
Overview
verbgate is the reusable executor library behind an approval-gated
container-to-host control loop. The unprivileged container writes typed
protocol-3 requests; the host launcher verifies an operator-approved
policy/runner pair and executes only registered handlers.
The container client never approves, installs, or executes jobs. The trusted launcher, approval records, frozen policy/runner, and host env remain host-only. See the threat model and the proprietary license.
The project-specific runner, hostverbs handlers, and policy stay in
server-infra; this module carries the shared library, client/host
packages, cmd/hostexec, and cmd/hostexec-client.
Install
Install the container client. Versionless commands resolve to the latest
published release; use @latest to be explicit, or pin a version from
the catalog's versions table:
GOPRIVATE=eleglicity.com/go-modules/verbgate \
go install eleglicity.com/go-modules/verbgate/cmd/hostexec-client
GOPRIVATE=eleglicity.com/go-modules/verbgate \
go install eleglicity.com/go-modules/verbgate/cmd/hostexec-client@latest
Linux release binaries and SHA256SUMS are published under
https://eleglicity.com/releases/verbgate/. The catalog versions table
lists the exact filenames for each release; verify a download with:
curl -fsSLO https://eleglicity.com/releases/verbgate/SHA256SUMS
sha256sum -c SHA256SUMS
The module is proprietary; use
GOPRIVATE=eleglicity.com/go-modules/verbgate when GOPROXY=direct and
the public checksum database must be bypassed.
Usage
hostexec-client writes jobs into the shared control directory (default
$PWD/tmp/hostexec/control) and reads host-written results. It can also
materialize the supported container-side wrappers:
hostexec-client bootstrap --prefix /work
/work/bin/hostexec-client init
/work/bin/hostexec-client run --command org.status --args '{"org":"demo"}'
/work/bin/hostexec-client send --command org.status --args '{"org":"demo"}'
/work/bin/hostexec-client wait
/work/bin/hostexec-client ack
/work/bin/hostexec-client status
bootstrap writes bin/, libexec/verbgate/, share/verbgate/examples/,
a project host-wrapper template, and VERSION; it creates the control
directory 0700 and resolves the prefix at runtime. It never installs or
approves anything on the host.
Commands: bootstrap, init, send, wait, ack, run, propose,
ack-proposal, status, abort, done, and reset. Add --json for
machine-readable output. Exit codes: 0 success, 1 failed/denied, 2
usage, 3 privileged action required, 4 wait timeout.
Proposal commands request reviewed env, policy/runner, or launcher trust changes; the host applies only selected changes.
Mechanism
Requests use protocol 3 and the control directory's atomic JSON files.
The host launcher validates the frozen policy and runner hashes, checks
the verb registry and argument grammar, and executes the handler with the
approved environment and sandbox limits. The client and the client Go
package are container-side only; the host package contains approval,
trust validation, freezing, execution, and the serve loop.
cmd/hostexec is the trusted host launcher. cmd/hostexec-client is the
language-agnostic container CLI. scripts/check-boundary.sh rejects a
hostexec-client dependency on the host-only packages.
Maintenance
Release immutable tags only. The tag is independent of the capability
Version (v3) checked by policy. Build the release binaries from the
tag, record their SHA-256 values, and update the catalog lock rather than
editing prose checksums.
Before publishing, run the module CI (./scripts/ci.sh), the nested
docs/site tests, and the clean-cache go install proof. A launcher or
runner change requires a new policy/runner proposal and operator
approval; the container client does not.