Chain operations
Commands and contracts for chain. Place global flags before the command. Examples use placeholders and do not grant approval.
| Operation | Availability | Purpose |
|---|---|---|
chain.connect | supported | Export a reviewed connection chain |
chain.export | supported | Export a Hovel saved chain for an existing tunnel |
chain.http | supported | Perform a reviewed HTTP GET through one existing tunnel |
chain.select | supported | Discover current live tunnel identities |
chain.connect
Export a reviewed connection chain
supported
Invocation
burrow --workspace PATH chain connect NAME HOST --user USER [OPTIONS]Example
burrow --workspace /absolute/workspace chain connect target 192.0.2.10 --user aliceParameters
name·string- Workspace-local connection/profile name, 1–24 ASCII letters, digits, underscores or hyphens. Must start with a letter or digit; no paths.
host·string- SSH host/alias for connection calls; destination hostname or literal IP for tunnel calls.
user·string- Required --user USER; '-' uses the SSH config user. Positional third USER also accepted.
connection-options·objectOptions / request fields
Field / option Type Presence Description / constraints --agentstringOptional Default frontend SSH_AUTH_SOCK / effective SSH configuration; must be accessible by daemon. --jumpstringOptional [USER@]HOST[:PORT][,...]; config ProxyJump otherwise. --keystringOptional Absolute private-key reference; ~/ expansion supported; default current-user SSH identities. --passwordtrue | stringOptional Bare flag prompts privately; optional explicit value supplies target once, mutually exclusive with key/explicit nonempty agent. Value remains visible in original process argv; never persist it. --portintegerOptional Default SSH config port or 22. --promptbooleanOptional Default: false--reviewstringOptional Bind direct connection approval to preview digest. --ssh-configstringOptional Default ~/.ssh/config; supports aliases and selected safe settings. --yesbooleanOptional Not accepted by chain connect; exported chains need a separate confirmed Hovel throw.
Default:false-proxytrue | integerOptional Optional SOCKS port; omitted off, bare flag 9050. Not accepted by chain connect.
Approval and effects
Export does not connect. Confirm a separate Hovel throw; connection-only options exclude --yes and -proxy.
Requires an existing SSH server; never deploys it. Key/agent export exits; password/prompt export holds a private one-use authentication broker for up to 10 minutes. TUI stages the chain.
Returns
SavedChain. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: chain connect NAME HOST --user USER [OPTIONS] |
| Scope | Explicit workspace; resource names and IDs are workspace-local. |
| Headless equivalents | Use the direct invocation or availability limitation above. |
| Base-module command | Use the advertised route above; no base-module command string. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/connection/chains.gosemantic-check: core/cmd/burrow/chains_lab.py |
chain.export
Export a Hovel saved chain for an existing tunnel
supported
Invocation
burrow --workspace PATH chain export CONNECTION TUNNEL_ID URLExample
burrow --workspace /absolute/workspace chain export target target/0123456789abcdef0123456789abcdef http://127.0.0.1:80/Parameters
connection·string- Explicit existing connection name; live verified manager ownership is required for operations using its transport.
tunnel-id·string- Exact qualified CONNECTION/creation-ID from tunnel list or chain select; never synthesize an ID from a port.
url·string- http://HOST[:PORT]/PATH only; no TLS, redirects, credentials or query. Fixed tunnels require the exact destination. GET limit 8 seconds and 1 MiB.
Approval and effects
Export does not approve execution. Hovel throw requires its normal planning/confirmation and --allow-dangerous.
CLI emits JSON without execution. TUI stages a private chain and opens Hovel with throw ready for review.
Returns
SavedChain. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: chain export CONNECTION TUNNEL_ID URL |
| Scope | Explicit workspace; resource names and IDs are workspace-local. |
| Headless equivalents | Use the direct invocation or availability limitation above. |
| Base-module command | Use the advertised route above; no base-module command string. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/connection/chains.gosemantic-check: core/cmd/burrow/chains_lab.py |
chain.http
Perform a reviewed HTTP GET through one existing tunnel
supported
Invocation
burrow --workspace PATH chain http CONNECTION TUNNEL_ID URL [--review HASH] [--yes]Example
burrow --workspace /absolute/workspace chain http target target/0123456789abcdef0123456789abcdef http://127.0.0.1:80/Parameters
connection·string- Explicit existing connection name; live verified manager ownership is required for operations using its transport.
tunnel-id·string- Exact qualified CONNECTION/creation-ID from tunnel list or chain select; never synthesize an ID from a port.
url·string- http://HOST[:PORT]/PATH only; no TLS, redirects, credentials or query. Fixed tunnels require the exact destination. GET limit 8 seconds and 1 MiB.
review·string- --review HASH from recap binds the reviewed request or resource. Required with --yes for transfers and headless workspace restart/retire; optional for connect, profile connect, close and other advertised routes. Not accepted by tunnel remove.
yes·boolean- --yes is explicit approval; discovery never adds it automatically.
Default:
false
Approval and effects
CLI returns a review first; repeat with --yes after approval. --review HASH, where supported, binds the recap. TUI uses the shared review dialog.
Uses the exact live owner and tunnel; never provisions or reconnects. Bounded GET retains status, byte count and SHA256 evidence, not response bodies.
Returns
HTTPReview. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: chain http CONNECTION TUNNEL_ID URL [--review HASH] [--yes] |
| Scope | Explicit workspace; resource names and IDs are workspace-local. |
| Headless equivalents | Use the direct invocation or availability limitation above. |
| Base-module command | Use the advertised route above; no base-module command string. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/connection/chains.gosemantic-check: core/cmd/burrow/chains_lab.py |
chain.select
Discover current live tunnel identities
supported
Invocation
burrow --workspace PATH chain select CONNECTIONExample
burrow --workspace /absolute/workspace chain select targetParameters
connection·string- Explicit existing connection name; live verified manager ownership is required for operations using its transport.
Approval and effects
No additional approval; the invocation itself authorizes the described effect. Hovel throws still require their normal confirmation and --allow-dangerous.
Inspects existing state; requires a verified running workspace. Operational audit/history may be appended; does not initialize a workspace or connect.
Returns
ChainSelection. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: chain select CONNECTION |
| Scope | Explicit workspace; resource names and IDs are workspace-local. |
| Headless equivalents | Use the direct invocation or availability limitation above. |
| Base-module command | Use the advertised route above; no base-module command string. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/connection/chains.gosemantic-check: core/cmd/burrow/chains_lab.py |