Connection operations
Commands and contracts for connection. Place global flags before the command. Examples use placeholders and do not grant approval.
| Operation | Availability | Purpose |
|---|---|---|
connection.close | supported | Close all resources owned by a connection |
connection.connect | supported | Create a shell-free SSH master; bare connect opens a human form |
connection.inspect | supported | Inspect one connection and its ownership |
connection.list | supported | List live, lost and unverified connection owners |
connection.reconnect | supported | Explicitly replace a lost owned connection |
connection.close
Close all resources owned by a connection
supported
Invocation
burrow --workspace PATH close NAME [--yes] [--review HASH]Example
burrow --workspace /absolute/workspace close targetParameters
name·string- Workspace-local connection/profile name, 1–24 ASCII letters, digits, underscores or hyphens. Must start with a letter or digit; no paths.
yes·boolean- --yes is explicit approval; discovery never adds it automatically.
Default:
false 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.
Approval and effects
Review then --yes; --review HASH binds the exact workspace, owner, creation, observed state and tunnel revision. TUI binds the same identity.
Ends owned shells, transfers and tunnels; saved settings and artifacts survive.
Returns
CloseReview. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: close NAME [--yes] [--review HASH] |
| 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/commands.gosemantic-check: core/cmd/burrow/workspace_lab.py |
connection.connect
Create a shell-free SSH master; bare connect opens a human form
supported
Invocation
burrow --workspace PATH connect NAME HOST --user USER [OPTIONS]Example
burrow --workspace /absolute/workspace 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
CLI returns a review first; repeat with --yes after approval. --review HASH, where supported, binds the recap. TUI uses the shared review dialog.
After approval authenticates and creates a retained connection; may initialize the workspace manager. SSH host keys are not verified under the accepted host-trust policy.
Returns
ConnectionReview. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: 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/commands.gosemantic-check: core/cmd/burrow/authentication_lab.py |
connection.inspect
Inspect one connection and its ownership
supported
Invocation
burrow --workspace PATH inspect NAMEExample
burrow --workspace /absolute/workspace inspect targetParameters
name·string- Workspace-local connection/profile name, 1–24 ASCII letters, digits, underscores or hyphens. Must start with a letter or digit; no paths.
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
State. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: inspect NAME |
| 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/commands.gosemantic-check: core/cmd/burrow/manager_lab.py |
connection.list
List live, lost and unverified connection owners
supported
Invocation
burrow --workspace PATH connectionsExample
burrow --workspace /absolute/workspace connectionsParameters
No operation-specific parameters.
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
States. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: connections |
| 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/commands.gosemantic-check: core/cmd/burrow/manager_lab.py |
connection.reconnect
Explicitly replace a lost owned connection
supported
Invocation
burrow --workspace PATH reconnect NAME HOST --user USER [OPTIONS]Example
burrow --workspace /absolute/workspace reconnect 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
CLI returns a review first; repeat with --yes after approval. --review HASH, where supported, binds the recap. TUI uses the shared review dialog.
After approval closes the lost owned resource and attempts a fresh connection; refuses active or unknown ownership.
Returns
ConnectionReview. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: reconnect 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/commands.gosemantic-check: core/cmd/burrow/manager_lab.py |