Run operations
Commands and contracts for run. Place global flags before the command. Examples use placeholders and do not grant approval.
| Operation | Availability | Purpose |
|---|---|---|
run.cancel | supported | Request ordinary process-group cancellation |
run.close | supported | Close a stopped run and drop its working output |
run.collect | supported | Register retained output as Hovel evidence |
run.follow | equivalent | Open an independent live output viewer |
run.inspect | supported | Inspect execution, capture and cleanup separately |
run.launch | supported | Launch a prepared run once |
run.list | supported | List retained runs |
run.now | supported | Prepare, review, launch, wait and collect |
run.output | supported | Read captured bytes without collecting |
run.prepare | supported | Prepare 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_IDParameters
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
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: run cancel ID [--review HASH] [--yes] |
| Scope | Explicit workspace; resource names and IDs are workspace-local. |
| Headless equivalents | Use the direct invocation or availability limitation above. |
| Base-module command | Accepted through the verified daemon with normal Hovel approval. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/connection/runs.gosemantic-check: core/cmd/burrow/runs_lab.py |
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_IDParameters
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
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: run close ID [--review HASH] [--yes] |
| Scope | Explicit workspace; resource names and IDs are workspace-local. |
| Headless equivalents | Use the direct invocation or availability limitation above. |
| Base-module command | Accepted through the verified daemon with normal Hovel approval. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/connection/runs.gosemantic-check: core/cmd/burrow/runs_lab.py |
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_IDParameters
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
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: run collect ID [--review HASH] [--yes] |
| Scope | Explicit workspace; resource names and IDs are workspace-local. |
| Headless equivalents | Use the direct invocation or availability limitation above. |
| Base-module command | Accepted through the verified daemon with normal Hovel approval. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/connection/runs.gosemantic-check: core/cmd/burrow/runs_lab.py |
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_IDParameters
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
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: run follow ID [stdout|stderr] [OFFSET] |
| Scope | Explicit workspace; resource names and IDs are workspace-local. |
| Headless equivalents | run.output |
| Base-module command | Use the advertised route above; no base-module command string. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/cmd/burrow/follow_ui.gosemantic-check: core/cmd/burrow/follow_lab.py |
run.inspect
Inspect execution, capture and cleanup separately
supported
Invocation
burrow --workspace PATH run inspect IDExample
burrow --workspace /absolute/workspace run inspect RUN_IDParameters
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
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: run inspect ID |
| Scope | Explicit workspace; resource names and IDs are workspace-local. |
| Headless equivalents | Use the direct invocation or availability limitation above. |
| Base-module command | Accepted through the verified daemon with normal Hovel approval. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/connection/runs.gosemantic-check: core/cmd/burrow/runs_lab.py |
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_IDParameters
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
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: run launch ID [--collect] [--review HASH] [--yes] |
| Scope | Explicit workspace; resource names and IDs are workspace-local. |
| Headless equivalents | Use the direct invocation or availability limitation above. |
| Base-module command | Accepted through the verified daemon with normal Hovel approval. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/connection/runs.gosemantic-check: core/cmd/burrow/runs_lab.py |
run.list
List retained runs
supported
Invocation
burrow --workspace PATH run listExample
burrow --workspace /absolute/workspace run listParameters
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
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: run list |
| Scope | Explicit workspace; resource names and IDs are workspace-local. |
| Headless equivalents | Use the direct invocation or availability limitation above. |
| Base-module command | Accepted through the verified daemon with normal Hovel approval. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/connection/runs.gosemantic-check: core/cmd/burrow/runs_lab.py |
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/idParameters
connection·string- Explicit existing connection name; live verified manager ownership is required for operations using its transport.
run-options·objectOptions / request fields
Field / option Type Presence Description / constraints --budgetintegerOptional Bytes per captured stream; incomplete capture is reported.
Default:268435456· Minimum:1--interpreterstringOptional Absolute interpreter path for scripts. --keepbooleanOptional Explicit stage mode only; retain uploaded script.
Default:false--localbooleanOptional Run on daemon host in workspace; allowlisted environment; localExit differs from remoteExit.
Default:false--mode"stream" | "inline" | "stage"Optional Stream owns stdin; inline exposes source in argv and has a 64 KiB bound; stage uploads owned temporary files, remote only.
Allowed:stream,inline,stage--scriptstringOptional Upload-root source snapshot; requires explicit --mode and absolute --interpreter. Up to 256 MiB/input. --stdinstringOptional Independent upload-root byte snapshot; incompatible with stream mode. --timeoutstringOptional Optional 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
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: run now CONNECTION [OPTIONS] [--yes] -- COMMAND [ARG...] |
| Scope | Explicit workspace; resource names and IDs are workspace-local. |
| Headless equivalents | Use the direct invocation or availability limitation above. |
| Base-module command | Accepted through the verified daemon with normal Hovel approval. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/connection/runs.gosemantic-check: core/cmd/burrow/runs_lab.py |
run.output
Read captured bytes without collecting
supported
Invocation
burrow --workspace PATH run output ID stdout|stderr OFFSETExample
burrow --workspace /absolute/workspace run output RUN_ID stdout 0Parameters
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
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: run output ID stdout|stderr OFFSET |
| Scope | Explicit workspace; resource names and IDs are workspace-local. |
| Headless equivalents | Use the direct invocation or availability limitation above. |
| Base-module command | Accepted through the verified daemon with normal Hovel approval. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/connection/runs.gosemantic-check: core/cmd/burrow/follow_lab.py |
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/idParameters
connection·string- Explicit existing connection name; live verified manager ownership is required for operations using its transport.
run-options·objectOptions / request fields
Field / option Type Presence Description / constraints --budgetintegerOptional Bytes per captured stream; incomplete capture is reported.
Default:268435456· Minimum:1--interpreterstringOptional Absolute interpreter path for scripts. --keepbooleanOptional Explicit stage mode only; retain uploaded script.
Default:false--localbooleanOptional Run on daemon host in workspace; allowlisted environment; localExit differs from remoteExit.
Default:false--mode"stream" | "inline" | "stage"Optional Stream owns stdin; inline exposes source in argv and has a 64 KiB bound; stage uploads owned temporary files, remote only.
Allowed:stream,inline,stage--scriptstringOptional Upload-root source snapshot; requires explicit --mode and absolute --interpreter. Up to 256 MiB/input. --stdinstringOptional Independent upload-root byte snapshot; incompatible with stream mode. --timeoutstringOptional Optional 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
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: run prepare CONNECTION [OPTIONS] -- COMMAND [ARG...] |
| Scope | Explicit workspace; resource names and IDs are workspace-local. |
| Headless equivalents | Use the direct invocation or availability limitation above. |
| Base-module command | Accepted through the verified daemon with normal Hovel approval. |
| Presentation | Includes operational behavior. |
| Source / checks | dispatch: core/connection/runs.gosemantic-check: core/cmd/burrow/runs_lab.py |