BURROW // API

Transfer operations

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

OperationAvailabilityPurpose
transfer.cancelsupportedCancel a transfer and await cleanup acknowledgement
transfer.downloadssupportedInspect downloads and workspace download totals
transfer.getsupportedReview and start a single download
transfer.listsupportedInspect both upload and download outcomes
transfer.mgetsupportedReview nonrecursive regular-file downloads
transfer.putsupportedReview and start a contained upload

transfer.cancel

Cancel a transfer and await cleanup acknowledgement

supported

Invocation

burrow --workspace PATH transfer-cancel ID

Example

burrow --workspace /absolute/workspace transfer-cancel TRANSFER_ID

Parameters

transfer-id · string
Opaque ID from transfers/downloads; omit to list, required for cancellation.

Approval and effects

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

Cancels either direction; retains labelled partials and protects existing destinations.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: transfer-cancel 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/downloads.go
semantic-check: core/cmd/burrow/files_lab.py

Evidence limits · JSON inventory

transfer.downloads

Inspect downloads and workspace download totals

supported

Invocation

burrow --workspace PATH downloads [ID]

Example

burrow --workspace /absolute/workspace downloads

Parameters

transfer-id · string
Opaque ID from transfers/downloads; omit to list, required for cancellation.

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

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

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: downloads [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/downloads.go
semantic-check: core/cmd/burrow/files_lab.py

Evidence limits · JSON inventory

transfer.get

Review and start a single download

supported

Invocation

burrow --workspace PATH scp NAME get REMOTE [LOCAL] [--review HASH] [--yes]

Example

burrow --workspace /absolute/workspace scp target get /tmp/result.txt

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.
remote · string
Required remote source path, up to 4096 bytes, no NUL.
local-destination · string
Optional destination within download root; default derives from remote filename (mget uses the root). Exact destinations and existing files appear in review.
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

Repeat with --review DIGEST --yes from the unchanged plan; TUI reviews the same plan.

Reviews exact destination and replacement; confirmed copying continues independently of the frontend. Working files are not automatically evidence.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: scp NAME get REMOTE [LOCAL] [--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/downloads.go
semantic-check: core/cmd/burrow/files_lab.py

Evidence limits · JSON inventory

transfer.list

Inspect both upload and download outcomes

supported

Invocation

burrow --workspace PATH transfers [ID]

Example

burrow --workspace /absolute/workspace transfers

Parameters

transfer-id · string
Opaque ID from transfers/downloads; omit to list, required for cancellation.

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

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

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: transfers [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/downloads.go
semantic-check: core/cmd/burrow/files_lab.py

Evidence limits · JSON inventory

transfer.mget

Review nonrecursive regular-file downloads

supported

Invocation

burrow --workspace PATH scp NAME mget PATTERN [LOCAL_DIR] [--review HASH] [--yes]

Example

burrow --workspace /absolute/workspace scp target mget '/tmp/*.txt'

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.
pattern · string
Nonrecursive remote regular-file glob; quote it to prevent local shell expansion.
local-destination · string
Optional destination within download root; default derives from remote filename (mget uses the root). Exact destinations and existing files appear in review.
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

Repeat with --review DIGEST --yes; changes to the reviewed discovery are refused.

Discovers and reviews a fixed file plan; confirmed copies report retained per-file outcomes and totals.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: scp NAME mget PATTERN [LOCAL_DIR] [--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/downloads.go
semantic-check: core/cmd/burrow/files_lab.py

Evidence limits · JSON inventory

transfer.put

Review and start a contained upload

supported

Invocation

burrow --workspace PATH scp NAME put LOCAL [REMOTE] [--review HASH] [--yes]

Example

burrow --workspace /absolute/workspace scp target put result.txt /tmp/result.txt

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.
local-source · string
Required source contained in upload root; relative paths start there.
remote-destination · string
Optional destination, default source basename at remote directory; inspect the exact review before approval.
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

Repeat with --review DIGEST --yes from the unchanged plan.

Reads inside the upload root; after approval replaces the reviewed remote destination safely. Download totals exclude uploads.

Returns

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

Other entry points and verification
ContractBehavior
Human entry pointBurrow management: scp NAME put LOCAL [REMOTE] [--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/downloads.go
semantic-check: core/cmd/burrow/files_lab.py

Evidence limits · JSON inventory