Shell operations
Commands and contracts for shell. Place global flags before the command. Examples use placeholders and do not grant approval.
| Operation | Availability | Purpose |
|---|---|---|
shell.close | equivalent | Close the selected retained shell |
shell.control | equivalent | Explicitly take control of an attached shell |
shell.detach | equivalent | Release this frontend's claim and retain the shell |
shell.list | equivalent | Discover retained workspace shells |
shell.open | equivalent | Create a retained shell or observe an existing session |
shell.resume | equivalent | Select 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 1Parameters
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
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: shell-close [ID] |
| Scope | Explicit workspace; resource names and IDs are workspace-local. |
| Headless equivalents | session.close |
| Base-module command | Use the advertised route above; no base-module command string. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/cmd/burrow/terminal.gosemantic-check: core/cmd/burrow/shell_lab.py |
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 1Parameters
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
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: shell-control [ID] |
| Scope | Explicit workspace; resource names and IDs are workspace-local. |
| Headless equivalents | session.takeover |
| Base-module command | Use the advertised route above; no base-module command string. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/cmd/burrow/shared_shells.gosemantic-check: core/cmd/burrow/shell_lab.py |
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 1Parameters
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
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: shell-detach [ID] |
| Scope | Explicit workspace; resource names and IDs are workspace-local. |
| Headless equivalents | session.release |
| Base-module command | Use the advertised route above; no base-module command string. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/cmd/burrow/shared_shells.gosemantic-check: core/cmd/burrow/shell_lab.py |
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 shellsExample
burrow --workspace /absolute/workspace shellsParameters
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
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: shells |
| Scope | Explicit workspace; resource names and IDs are workspace-local. |
| Headless equivalents | connection.list, session.list, session.observe |
| Base-module command | Use the advertised route above; no base-module command string. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/cmd/burrow/terminal.gosemantic-check: core/cmd/burrow/shell_lab.py |
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 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.
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
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: shell NAME [SESSION_ID] |
| Scope | Explicit workspace; resource names and IDs are workspace-local. |
| Headless equivalents | session.create, session.claim, session.inspect, session.observe, session.snapshot, session.input, session.resize |
| Base-module command | Use the advertised route above; no base-module command string. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/cmd/burrow/terminal.gosemantic-check: core/cmd/burrow/shell_lab.py |
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 IDExample
burrow --workspace /absolute/workspace resume 1Parameters
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
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: resume ID |
| Scope | Current frontend and selected workspace only; IDs are local to that frontend. |
| Headless equivalents | session.resize |
| Base-module command | Use the advertised route above; no base-module command string. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/cmd/burrow/terminal.gosemantic-check: core/cmd/burrow/shell_lab.py |