BURROW // API

Run operations

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

OperationAvailabilityPurpose
run.cancelsupportedRequest ordinary process-group cancellation
run.closesupportedClose a stopped run and drop its working output
run.collectsupportedRegister retained output as Hovel evidence
run.followequivalentOpen an independent live output viewer
run.inspectsupportedInspect execution, capture and cleanup separately
run.launchsupportedLaunch a prepared run once
run.listsupportedList retained runs
run.nowsupportedPrepare, review, launch, wait and collect
run.outputsupportedRead captured bytes without collecting
run.preparesupportedPrepare a command, script or selected local tool without executing

run.cancel

Request ordinary process-group cancellation

supported

Invocation

burrow --workspace PATH run cancel ID [--review HASH] [--yes]

Example

burrow --workspace /absolute/workspace run cancel RUN_ID

Parameters

run-id · string
Opaque retained ID from run prepare/list/now; not the Hovel launch runID.
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.
yes · boolean
--yes is explicit approval; discovery never adds it automatically.

Default: false

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.

Attempts ordinary-group cleanup. Escaped descendants, PID races and remote cleanup after loss remain unconfirmed; local-tool exit is not remote termination.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: run cancel ID [--review HASH] [--yes]
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentsUse the direct invocation or availability limitation above.
Base-module commandAccepted through the verified daemon with normal Hovel approval.
PresentationIncludes operational behavior.
Source / checksdispatch: core/connection/runs.go
semantic-check: core/cmd/burrow/runs_lab.py

Evidence limits · JSON inventory

run.close

Close a stopped run and drop its working output

supported

Invocation

burrow --workspace PATH run close ID [--review HASH] [--yes]

Example

burrow --workspace /absolute/workspace run close RUN_ID

Parameters

run-id · string
Opaque retained ID from run prepare/list/now; not the Hovel launch runID.
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.
yes · boolean
--yes is explicit approval; discovery never adds it automatically.

Default: false

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.

Deletes uncollected working output; registered artifacts survive. Active runs must be cancelled first.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: run close ID [--review HASH] [--yes]
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentsUse the direct invocation or availability limitation above.
Base-module commandAccepted through the verified daemon with normal Hovel approval.
PresentationIncludes operational behavior.
Source / checksdispatch: core/connection/runs.go
semantic-check: core/cmd/burrow/runs_lab.py

Evidence limits · JSON inventory

run.collect

Register retained output as Hovel evidence

supported

Invocation

burrow --workspace PATH run collect ID [--review HASH] [--yes]

Example

burrow --workspace /absolute/workspace run collect RUN_ID

Parameters

run-id · string
Opaque retained ID from run prepare/list/now; not the Hovel launch runID.
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.
yes · boolean
--yes is explicit approval; discovery never adds it automatically.

Default: false

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.

Registers complete or partial output artifacts independently of command success; evidence survives close.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: run collect ID [--review HASH] [--yes]
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentsUse the direct invocation or availability limitation above.
Base-module commandAccepted through the verified daemon with normal Hovel approval.
PresentationIncludes operational behavior.
Source / checksdispatch: core/connection/runs.go
semantic-check: core/cmd/burrow/runs_lab.py

Evidence limits · JSON inventory

run.follow

Open an independent live output viewer

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 run follow ID [stdout|stderr] [OFFSET]

Example

burrow --workspace /absolute/workspace run follow RUN_ID

Parameters

run-id · string
Opaque retained ID from run prepare/list/now; not the Hovel launch runID.
stream · "stdout" | "stderr"
Required for output; follow defaults to stdout.

Allowed: stdout, stderr

offset · integer
Required byte offset for output; follow defaults to its remembered position or zero. Reads return nextOffset.

Minimum: 0

Approval and effects

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

Viewer state is frontend-local; closing the viewer does not cancel or collect the run.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: run follow ID [stdout|stderr] [OFFSET]
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentsrun.output
Base-module commandUse the advertised route above; no base-module command string.
PresentationIncludes operational behavior.
Source / checksdispatch: core/cmd/burrow/follow_ui.go
semantic-check: core/cmd/burrow/follow_lab.py

Evidence limits · JSON inventory

run.inspect

Inspect execution, capture and cleanup separately

supported

Invocation

burrow --workspace PATH run inspect ID

Example

burrow --workspace /absolute/workspace run inspect RUN_ID

Parameters

run-id · string
Opaque retained ID from run prepare/list/now; not the Hovel launch runID.

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

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

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: run inspect ID
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentsUse the direct invocation or availability limitation above.
Base-module commandAccepted through the verified daemon with normal Hovel approval.
PresentationIncludes operational behavior.
Source / checksdispatch: core/connection/runs.go
semantic-check: core/cmd/burrow/runs_lab.py

Evidence limits · JSON inventory

run.launch

Launch a prepared run once

supported

Invocation

burrow --workspace PATH run launch ID [--collect] [--review HASH] [--yes]

Example

burrow --workspace /absolute/workspace run launch RUN_ID

Parameters

run-id · string
Opaque retained ID from run prepare/list/now; not the Hovel launch runID.
collect · boolean
--collect on launch waits for completion and registers output; stopping the wait does not cancel execution.

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.
yes · boolean
--yes is explicit approval; discovery never adds it automatically.

Default: false

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.

Executes once; repeated launch is idempotent. Optional --collect waits and registers evidence; default launches without waiting.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: run launch ID [--collect] [--review HASH] [--yes]
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentsUse the direct invocation or availability limitation above.
Base-module commandAccepted through the verified daemon with normal Hovel approval.
PresentationIncludes operational behavior.
Source / checksdispatch: core/connection/runs.go
semantic-check: core/cmd/burrow/runs_lab.py

Evidence limits · JSON inventory

run.list

List retained runs

supported

Invocation

burrow --workspace PATH run list

Example

burrow --workspace /absolute/workspace run list

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

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

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: run list
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentsUse the direct invocation or availability limitation above.
Base-module commandAccepted through the verified daemon with normal Hovel approval.
PresentationIncludes operational behavior.
Source / checksdispatch: core/connection/runs.go
semantic-check: core/cmd/burrow/runs_lab.py

Evidence limits · JSON inventory

run.now

Prepare, review, launch, wait and collect

supported

Invocation

burrow --workspace PATH run now CONNECTION [OPTIONS] [--yes] -- COMMAND [ARG...]
burrow --workspace PATH run now CONNECTION --script PATH --mode stream|inline|stage --interpreter PATH [OPTIONS] [--yes] -- [ARG...]
burrow --workspace PATH run now CONNECTION --local [OPTIONS] [--yes] -- /absolute/TOOL [ARG...]

Example

burrow --workspace /absolute/workspace run now target -- /usr/bin/id

Parameters

connection · string
Explicit existing connection name; live verified manager ownership is required for operations using its transport.
run-options · object
Options / request fields
Field / optionTypePresenceDescription / constraints
--budgetintegerOptionalBytes per captured stream; incomplete capture is reported.
Default: 268435456 · Minimum: 1
--interpreterstringOptionalAbsolute interpreter path for scripts.
--keepbooleanOptionalExplicit stage mode only; retain uploaded script.
Default: false
--localbooleanOptionalRun on daemon host in workspace; allowlisted environment; localExit differs from remoteExit.
Default: false
--mode"stream" | "inline" | "stage"OptionalStream owns stdin; inline exposes source in argv and has a 64 KiB bound; stage uploads owned temporary files, remote only.
Allowed: stream, inline, stage
--scriptstringOptionalUpload-root source snapshot; requires explicit --mode and absolute --interpreter. Up to 256 MiB/input.
--stdinstringOptionalIndependent upload-root byte snapshot; incompatible with stream mode.
--timeoutstringOptionalOptional positive duration, e.g. 30s; default no execution timeout.
command · string[]
Tokens after --, individually quoted remotely. Use /bin/sh -c explicitly for shell syntax. For --script, these are script arguments; --local requires an absolute tool path. No secrets in commands/source/arguments.
yes · boolean
--yes is explicit approval; discovery never adds it automatically.

Default: false

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.

Preparation allocates a run even before approval. Confirm the returned run launch command to avoid preparing another run. --local runs on the daemon host.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: run now CONNECTION [OPTIONS] [--yes] -- COMMAND [ARG...]
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentsUse the direct invocation or availability limitation above.
Base-module commandAccepted through the verified daemon with normal Hovel approval.
PresentationIncludes operational behavior.
Source / checksdispatch: core/connection/runs.go
semantic-check: core/cmd/burrow/runs_lab.py

Evidence limits · JSON inventory

run.output

Read captured bytes without collecting

supported

Invocation

burrow --workspace PATH run output ID stdout|stderr OFFSET

Example

burrow --workspace /absolute/workspace run output RUN_ID stdout 0

Parameters

run-id · string
Opaque retained ID from run prepare/list/now; not the Hovel launch runID.
stream · "stdout" | "stderr"
Required for output; follow defaults to stdout.

Allowed: stdout, stderr

offset · integer
Required byte offset for output; follow defaults to its remembered position or zero. Reads return nextOffset.

Minimum: 0

Approval and effects

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

Reads up to 32 KiB as base64 with nextOffset and capture status; does not alter execution or collect evidence.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: run output ID stdout|stderr OFFSET
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentsUse the direct invocation or availability limitation above.
Base-module commandAccepted through the verified daemon with normal Hovel approval.
PresentationIncludes operational behavior.
Source / checksdispatch: core/connection/runs.go
semantic-check: core/cmd/burrow/follow_lab.py

Evidence limits · JSON inventory

run.prepare

Prepare a command, script or selected local tool without executing

supported

Invocation

burrow --workspace PATH run prepare CONNECTION [OPTIONS] -- COMMAND [ARG...]
burrow --workspace PATH run prepare CONNECTION --script PATH --mode stream|inline|stage --interpreter PATH [OPTIONS] -- [ARG...]
burrow --workspace PATH run prepare CONNECTION --local [OPTIONS] -- /absolute/TOOL [ARG...]

Example

burrow --workspace /absolute/workspace run prepare target -- /usr/bin/id

Parameters

connection · string
Explicit existing connection name; live verified manager ownership is required for operations using its transport.
run-options · object
Options / request fields
Field / optionTypePresenceDescription / constraints
--budgetintegerOptionalBytes per captured stream; incomplete capture is reported.
Default: 268435456 · Minimum: 1
--interpreterstringOptionalAbsolute interpreter path for scripts.
--keepbooleanOptionalExplicit stage mode only; retain uploaded script.
Default: false
--localbooleanOptionalRun on daemon host in workspace; allowlisted environment; localExit differs from remoteExit.
Default: false
--mode"stream" | "inline" | "stage"OptionalStream owns stdin; inline exposes source in argv and has a 64 KiB bound; stage uploads owned temporary files, remote only.
Allowed: stream, inline, stage
--scriptstringOptionalUpload-root source snapshot; requires explicit --mode and absolute --interpreter. Up to 256 MiB/input.
--stdinstringOptionalIndependent upload-root byte snapshot; incompatible with stream mode.
--timeoutstringOptionalOptional positive duration, e.g. 30s; default no execution timeout.
command · string[]
Tokens after --, individually quoted remotely. Use /bin/sh -c explicitly for shell syntax. For --script, these are script arguments; --local requires an absolute tool path. No secrets in commands/source/arguments.

Approval and effects

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

Creates a retained run and private snapshots; source/stdin paths must be within the upload root. Does not execute the command.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: run prepare CONNECTION [OPTIONS] -- COMMAND [ARG...]
ScopeExplicit workspace; resource names and IDs are workspace-local.
Headless equivalentsUse the direct invocation or availability limitation above.
Base-module commandAccepted through the verified daemon with normal Hovel approval.
PresentationIncludes operational behavior.
Source / checksdispatch: core/connection/runs.go
semantic-check: core/cmd/burrow/runs_lab.py

Evidence limits · JSON inventory