BURROW // API

Workspace operations

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

OperationAvailabilityPurpose
capabilities.listsupportedDiscover the current contract without initialization
logs.followsupportedWatch new Hovel and Burrow activity without initializing or controlling work
workspace.hovel-clidelegatedOpen or restart the embedded workspace Hovel CLI
workspace.inspectsupportedInspect an existing workspace daemon without initialization
workspace.listsupportedInspect explicitly supplied workspace paths
workspace.opensupportedInitialize or reuse the verified workspace
workspace.quitequivalentReview connections across opened workspaces before quitting
workspace.restartsupportedRetire the reviewed manager and register the current build headlessly
workspace.retiresupportedRetire exactly the reviewed workspace manager headlessly
workspace.tuiequivalentOpen the management frontend

capabilities.list

Discover the current contract without initialization

supported

Invocation

burrow capabilities [ID]

Parameters

No operation-specific parameters.

Approval and effects

None.

Inspects this executable only; no workspace, cache, daemon, network or TUI initialization.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointCLI or API documentation tab
ScopeLocal operator installation/frontend; workspace operations require an explicit canonical path.
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/cmd/burrow/main.go
semantic-check: core/cmd/burrow/capabilities_check.py

Evidence limits · JSON inventory

logs.follow

Watch new Hovel and Burrow activity without initializing or controlling work

supported

Invocation

burrow --workspace PATH follow [--json]

Parameters

No operation-specific parameters.

Approval and effects

No approvals or target actions; requires verified existing daemon. Ctrl+C stops only this viewer; restarting cannot change shell control. Startup errors use text stderr/nonzero exit; recoverable source errors stay in the stream. NO_COLOR/global --no-color preserve text.

Streams version-1 NDJSON with --json or nonterminal stdout; otherwise uses semantic colors and native scrollback. Starts with current resources and new evidence, not history replay. Includes Hovel PollLogs, existing Burrow audit evidence, retained-run stdout/stderr, transfer progress and shared-shell state/control results. Shell resourceID and connectionID bind the exact owner; id matches the owner-generated control requestID; actor is only a controller label and runID is the shell launch. Hovel supplies no retained-control caller/request identity or generic command-completion event. Submitted input counts and providerResult.acceptedBytes never prove remote command completion. Tokens, keystrokes and terminal bytes are excluded; explicit session observe/snapshot routes remain independent. Each viewer owns volatile cursors; gap/resumed events expose lost history, shell owner failures, incomplete audit and daemon changes. Run output data is base64 with stream byte offsets; output-end marks a captured run stream end. See operation logs documentation for limits.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointSeparate terminal; normal TUI and agent CLI can run alongside
ScopeLocal operator installation/frontend; workspace operations require an explicit canonical path.
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/cmd/burrow/activity.go
semantic-check: core/cmd/burrow/activity_check.py

Evidence limits · JSON inventory

workspace.hovel-cli

Open or restart the embedded workspace Hovel CLI

delegated

Invocation

Use the installed pinned Hovel CLI with --workspace PATH --daemon-endpoint PATH/hoveld.sock

Parameters

No operation-specific parameters.

Approval and effects

Hovel owns confirmation and structured output; tab opening is not operation approval.

Starts a local Hovel frontend bound to the workspace; inherits Hovel operations and approval rules. Closing/restarting the tab ends only that frontend.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointHovel tab / Alt+H; restart control; Menu closes the CLI
ScopeLocal operator installation/frontend; workspace operations require an explicit canonical path.
Headless equivalentsUse the direct invocation or availability limitation above.
Base-module commandUse the advertised route above; no base-module command string.
PresentationStarts or closes the embedded Hovel frontend. Hovel operations remain delegated to its pinned public CLI contract; they are not extra Burrow capabilities.
Source / checksdispatch: core/cmd/burrow/terminal.go
semantic-check: core/cmd/burrow/terminal_check.py

Evidence limits · JSON inventory

workspace.inspect

Inspect an existing workspace daemon without initialization

supported

Invocation

burrow --workspace PATH workspace inspect

Parameters

No operation-specific parameters.

Approval and effects

None; failed verification returns an unverified error.

Verifies the selected launch receipt, paths, daemon process and actual socket peer. Never creates, replaces or reconnects resources. This is daemon health; use connections for SSH state.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointTUI status or Menu → Refresh daemon status
ScopeLocal operator installation/frontend; workspace operations require an explicit canonical path.
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/cmd/burrow/workspace.go
semantic-check: core/cmd/burrow/workspace_check.py

Evidence limits · JSON inventory

workspace.list

Inspect explicitly supplied workspace paths

supported

Invocation

burrow workspace list PATH [PATH...]

Parameters

No operation-specific parameters.

Approval and effects

None. --workspace is not allowed with list; missing paths refuse. Unverified entries include an error and never claim an empty resource inventory.

Read-only observations of supplied paths only; no directory scanning, persisted registry, target creation or implicit selection. A verified entry describes a supported Burrow-started daemon, not its SSH connections.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointCLI; TUI sidebar lists only paths opened in that frontend
ScopeLocal operator installation/frontend; workspace operations require an explicit canonical path.
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/cmd/burrow/workspace.go
semantic-check: core/cmd/burrow/workspace_check.py

Evidence limits · JSON inventory

workspace.open

Initialize or reuse the verified workspace

supported

Invocation

burrow --workspace PATH workspace open

Parameters

No operation-specific parameters.

Approval and effects

The explicit invocation authorizes setup; ambiguous or stale owners are refused.

Initializes local workspace/cache as needed, downloads pinned Hovel unless --offline, starts or verifies the daemon, creates default profiles/file roots, and registers the base module. Never connects to an SSH target. status remains an initializing alias.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointNew workspace form, launch burrow --workspace PATH, or CLI status alias
ScopeLocal operator installation/frontend; workspace operations require an explicit canonical path.
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/cmd/burrow/workspace.go
semantic-check: core/cmd/burrow/workspace_check.py

Evidence limits · JSON inventory

workspace.quit

Review connections across opened workspaces before quitting

equivalent — An agent has no frontend to quit. Keep releases its own claims; close reviews and closes each selected connection. Cancel makes no change. This does not authorize retiring a whole manager.

Invocation

Use the listed routes for explicit workspaces and exact reviewed resources; retain work by releasing only your own claims.

Parameters

No operation-specific parameters.

Approval and effects

Shared quit review; uncertain ownership refuses teardown.

Keep releases this frontend's claims and preserves retained shells, connections and tunnels; close tears down only reviewed resources across opened workspaces. Cancel preserves the frontend and claims.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointTUI quit / Ctrl+C: keep running, close reviewed connections, or cancel
ScopeLocal operator installation/frontend; workspace operations require an explicit canonical path.
Headless equivalentsworkspace.list, connection.list, connection.close, session.release
Base-module commandUse the advertised route above; no base-module command string.
PresentationIncludes operational behavior.
Source / checksdispatch: core/cmd/burrow/quit.go
semantic-check: core/cmd/burrow/connection_lab.py

Evidence limits · JSON inventory

workspace.restart

Retire the reviewed manager and register the current build headlessly

supported

Invocation

burrow --workspace PATH workspace restart [--yes --review HASH]

Parameters

No operation-specific parameters.

Approval and effects

First returns state=review and digest bound to action and daemon/manager incarnation. --yes --review HASH is required for headless confirmation; success state=ready. Wrong, stale or unknown owners refuse; cleanup errors can be partial. Legacy terminal restart keeps its existing confirmation.

Closes the selected manager and all its connections, shells, transfers and tunnels, including concurrent additions. Registers the current build without starting a manager, TUI or SSH connection. Preserves saved settings, evidence, separate retained runs and Hovel. Legacy restart --yes additionally replaces a receipt-verified daemon when the Hovel pin changed, ending its live sessions and preserving retired runtime files. Requires an already verified workspace.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointHeadless CLI; legacy restart [--yes] confirms in a terminal then opens the TUI
ScopeLocal operator installation/frontend; workspace operations require an explicit canonical path.
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/cmd/burrow/workspace.go
semantic-check: core/cmd/burrow/workspace_lab.py

Evidence limits · JSON inventory

workspace.retire

Retire exactly the reviewed workspace manager headlessly

supported

Invocation

burrow --workspace PATH workspace retire [--yes --review HASH]

Parameters

No operation-specific parameters.

Approval and effects

Returns state=review and exact action/daemon/manager digest. Confirm with --yes --review HASH; success state=retired retains affected identities. Unknown ownership refuses; cleanup errors may be partial. Reconnect explicitly.

Ends the whole manager, including concurrent additions and dependent connections, shells, transfers and tunnels. Does not register a build or start a replacement. Preserves saved settings, collected evidence, separate retained runs and Hovel.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointHeadless CLI; restart also retires the manager
ScopeLocal operator installation/frontend; workspace operations require an explicit canonical path.
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/cmd/burrow/workspace.go
semantic-check: core/cmd/burrow/workspace_lab.py

Evidence limits · JSON inventory

workspace.tui

Open the management frontend

equivalent — Opening the frontend is presentation; workspace setup and optional collection loading use these same headless operations.

Invocation

burrow --workspace PATH [tui]

Parameters

No operation-specific parameters.

Approval and effects

The explicit invocation authorizes local setup.

Initializes as workspace.open then opens the TUI; --load opens a collection without connecting.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointNormal Burrow launch
ScopeLocal operator installation/frontend; workspace operations require an explicit canonical path.
Headless equivalentsworkspace.open, profile.load
Base-module commandUse the advertised route above; no base-module command string.
PresentationIncludes operational behavior.
Source / checksdispatch: core/cmd/burrow/main.go
semantic-check: core/cmd/burrow/terminal_check.py

Evidence limits · JSON inventory