BURROW // API

Shell operations

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

OperationAvailabilityPurpose
shell.closeequivalentClose the selected retained shell
shell.controlequivalentExplicitly take control of an attached shell
shell.detachequivalentRelease this frontend's claim and retain the shell
shell.listequivalentDiscover retained workspace shells
shell.openequivalentCreate a retained shell or observe an existing session
shell.resumeequivalentSelect an attached retained shell

shell.close

Close the selected retained shell

equivalent — This spelling is a terminal adapter. Use the listed headless equivalents with explicit workspace/resource identities and independent output offsets; frontend tab numbers are not retained session IDs.

Invocation

burrow --workspace PATH shell-close [ID]

Example

burrow --workspace /absolute/workspace shell-close 1

Parameters

shell-id · integer
Canonical positive decimal ID in the frontend's shells inventory. shell-close/control/detach default to last selected shell; these numbers can change and are not retained session IDs.

Minimum: 1

Approval and effects

No additional approval; the invocation itself authorizes the described effect. Hovel throws still require their normal confirmation and --allow-dangerous.

Explicitly closes that retained session; connection and sibling resources survive.

Returns

Terminal. See errors and exit status before interpreting command success.

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: shell-close [ID]
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentssession.close
Base-module commandUse the advertised route above; no base-module command string.
PresentationIncludes operational behavior.
Source / checksdispatch: core/cmd/burrow/terminal.go
semantic-check: core/cmd/burrow/shell_lab.py

Evidence limits · JSON inventory

shell.control

Explicitly take control of an attached shell

equivalent — This spelling is a terminal adapter. Use the listed headless equivalents with explicit workspace/resource identities and independent output offsets; frontend tab numbers are not retained session IDs.

Invocation

burrow --workspace PATH shell-control [ID]

Example

burrow --workspace /absolute/workspace shell-control 1

Parameters

shell-id · integer
Canonical positive decimal ID in the frontend's shells inventory. shell-close/control/detach default to last selected shell; these numbers can change and are not retained session IDs.

Minimum: 1

Approval and effects

No additional approval; the invocation itself authorizes the described effect. Hovel throws still require their normal confirmation and --allow-dangerous.

Generation-checked takeover fences the previous controller and applies the pane dimensions.

Returns

Terminal. See errors and exit status before interpreting command success.

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: shell-control [ID]
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentssession.takeover
Base-module commandUse the advertised route above; no base-module command string.
PresentationIncludes operational behavior.
Source / checksdispatch: core/cmd/burrow/shared_shells.go
semantic-check: core/cmd/burrow/shell_lab.py

Evidence limits · JSON inventory

shell.detach

Release this frontend's claim and retain the shell

equivalent — This spelling is a terminal adapter. Use the listed headless equivalents with explicit workspace/resource identities and independent output offsets; frontend tab numbers are not retained session IDs.

Invocation

burrow --workspace PATH shell-detach [ID]

Example

burrow --workspace /absolute/workspace shell-detach 1

Parameters

shell-id · integer
Canonical positive decimal ID in the frontend's shells inventory. shell-close/control/detach default to last selected shell; these numbers can change and are not retained session IDs.

Minimum: 1

Approval and effects

No additional approval; the invocation itself authorizes the described effect. Hovel throws still require their normal confirmation and --allow-dangerous.

Releases only this attachment's token; preserves the shell, dimensions and other controllers.

Returns

Terminal. See errors and exit status before interpreting command success.

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: shell-detach [ID]
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentssession.release
Base-module commandUse the advertised route above; no base-module command string.
PresentationIncludes operational behavior.
Source / checksdispatch: core/cmd/burrow/shared_shells.go
semantic-check: core/cmd/burrow/shell_lab.py

Evidence limits · JSON inventory

shell.list

Discover retained workspace shells

equivalent — This spelling is a terminal adapter. Use the listed headless equivalents with explicit workspace/resource identities and independent output offsets; frontend tab numbers are not retained session IDs.

Invocation

burrow --workspace PATH shells

Example

burrow --workspace /absolute/workspace shells

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.

Discovers recognized shells from Hovel and opens independent observer tabs.

Returns

Terminal. See errors and exit status before interpreting command success.

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: shells
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentsconnection.list, session.list, session.observe
Base-module commandUse the advertised route above; no base-module command string.
PresentationIncludes operational behavior.
Source / checksdispatch: core/cmd/burrow/terminal.go
semantic-check: core/cmd/burrow/shell_lab.py

Evidence limits · JSON inventory

shell.open

Create a retained shell or observe an existing session

equivalent — This spelling is a terminal adapter. Use the listed headless equivalents with explicit workspace/resource identities and independent output offsets; frontend tab numbers are not retained session IDs.

Invocation

burrow --workspace PATH shell NAME [SESSION_ID]

Example

burrow --workspace /absolute/workspace shell 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.
session-id · string
Opaque Hovel shell session ID; requires the explicit workspace and connection name.

Approval and effects

No additional approval; the invocation itself authorizes the described effect. Hovel throws still require their normal confirmation and --allow-dangerous.

Creates and controls one retained shell, or observes the selected existing session. No login fallback; detach/Keep running preserve the shell.

Returns

Terminal. See errors and exit status before interpreting command success.

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: shell NAME [SESSION_ID]
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentssession.create, session.claim, session.inspect, session.observe, session.snapshot, session.input, session.resize
Base-module commandUse the advertised route above; no base-module command string.
PresentationIncludes operational behavior.
Source / checksdispatch: core/cmd/burrow/terminal.go
semantic-check: core/cmd/burrow/shell_lab.py

Evidence limits · JSON inventory

shell.resume

Select an attached retained shell

equivalent — Frontend focus is presentation; resuming a controlled tab applies its geometry through session.resize. Observers cannot resize. Use the retained session ID and current control token for the headless operation.

Invocation

burrow --workspace PATH resume ID

Example

burrow --workspace /absolute/workspace resume 1

Parameters

shell-id · integer
Canonical positive decimal ID in the frontend's shells inventory. shell-close/control/detach default to last selected shell; these numbers can change and are not retained session IDs.

Minimum: 1

Approval and effects

No additional approval; the invocation itself authorizes the described effect. Hovel throws still require their normal confirmation and --allow-dangerous.

Selects an existing frontend tab without claiming control; a current controller applies the frontend geometry. Does not create a connection or shell.

Returns

Terminal. See errors and exit status before interpreting command success.

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: resume ID
ScopeCurrent frontend and selected workspace only; IDs are local to that frontend.
Headless equivalentssession.resize
Base-module commandUse the advertised route above; no base-module command string.
PresentationIncludes operational behavior.
Source / checksdispatch: core/cmd/burrow/terminal.go
semantic-check: core/cmd/burrow/shell_lab.py

Evidence limits · JSON inventory