BURROW // API

Connection operations

Commands and contracts for connection. Place global flags before the command. Examples use placeholders and do not grant approval.

OperationAvailabilityPurpose
connection.closesupportedClose all resources owned by a connection
connection.connectsupportedCreate a shell-free SSH master; bare connect opens a human form
connection.inspectsupportedInspect one connection and its ownership
connection.listsupportedList live, lost and unverified connection owners
connection.reconnectsupportedExplicitly 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 target

Parameters

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
ContractBehavior
Human entry pointBurrow management: close NAME [--yes] [--review HASH]
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentsUse the direct invocation or availability limitation above.
Base-module commandUse the advertised route above; no base-module command string.
PresentationIncludes operational behavior.
Source / checksdispatch: core/connection/commands.go
semantic-check: core/cmd/burrow/workspace_lab.py

Evidence limits · JSON inventory

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 alice

Parameters

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 · object
Options / request fields
Field / optionTypePresenceDescription / constraints
--agentstringOptionalDefault frontend SSH_AUTH_SOCK / effective SSH configuration; must be accessible by daemon.
--jumpstringOptional[USER@]HOST[:PORT][,...]; config ProxyJump otherwise.
--keystringOptionalAbsolute private-key reference; ~/ expansion supported; default current-user SSH identities.
--passwordtrue | stringOptionalBare 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.
--portintegerOptionalDefault SSH config port or 22.
--promptbooleanOptionalDefault: false
--reviewstringOptionalBind direct connection approval to preview digest.
--ssh-configstringOptionalDefault ~/.ssh/config; supports aliases and selected safe settings.
--yesbooleanOptionalNot accepted by chain connect; exported chains need a separate confirmed Hovel throw.
Default: false
-proxytrue | integerOptionalOptional 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
ContractBehavior
Human entry pointBurrow management: connect NAME HOST --user USER [OPTIONS]
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentsUse the direct invocation or availability limitation above.
Base-module commandUse the advertised route above; no base-module command string.
PresentationIncludes operational behavior.
Source / checksdispatch: core/connection/commands.go
semantic-check: core/cmd/burrow/authentication_lab.py

Evidence limits · JSON inventory

connection.inspect

Inspect one connection and its ownership

supported

Invocation

burrow --workspace PATH inspect NAME

Example

burrow --workspace /absolute/workspace inspect target

Parameters

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
ContractBehavior
Human entry pointBurrow management: inspect NAME
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentsUse the direct invocation or availability limitation above.
Base-module commandUse the advertised route above; no base-module command string.
PresentationIncludes operational behavior.
Source / checksdispatch: core/connection/commands.go
semantic-check: core/cmd/burrow/manager_lab.py

Evidence limits · JSON inventory

connection.list

List live, lost and unverified connection owners

supported

Invocation

burrow --workspace PATH connections

Example

burrow --workspace /absolute/workspace connections

Parameters

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
ContractBehavior
Human entry pointBurrow management: connections
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentsUse the direct invocation or availability limitation above.
Base-module commandUse the advertised route above; no base-module command string.
PresentationIncludes operational behavior.
Source / checksdispatch: core/connection/commands.go
semantic-check: core/cmd/burrow/manager_lab.py

Evidence limits · JSON inventory

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 alice

Parameters

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 · object
Options / request fields
Field / optionTypePresenceDescription / constraints
--agentstringOptionalDefault frontend SSH_AUTH_SOCK / effective SSH configuration; must be accessible by daemon.
--jumpstringOptional[USER@]HOST[:PORT][,...]; config ProxyJump otherwise.
--keystringOptionalAbsolute private-key reference; ~/ expansion supported; default current-user SSH identities.
--passwordtrue | stringOptionalBare 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.
--portintegerOptionalDefault SSH config port or 22.
--promptbooleanOptionalDefault: false
--reviewstringOptionalBind direct connection approval to preview digest.
--ssh-configstringOptionalDefault ~/.ssh/config; supports aliases and selected safe settings.
--yesbooleanOptionalNot accepted by chain connect; exported chains need a separate confirmed Hovel throw.
Default: false
-proxytrue | integerOptionalOptional 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
ContractBehavior
Human entry pointBurrow management: reconnect NAME HOST --user USER [OPTIONS]
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentsUse the direct invocation or availability limitation above.
Base-module commandUse the advertised route above; no base-module command string.
PresentationIncludes operational behavior.
Source / checksdispatch: core/connection/commands.go
semantic-check: core/cmd/burrow/manager_lab.py

Evidence limits · JSON inventory