Files operations
Commands and contracts for files. Place global flags before the command. Examples use placeholders and do not grant approval.
| Operation | Availability | Purpose |
|---|---|---|
files.cancel | supported | Cancel pending file discovery |
files.cd | supported | Validate and resolve remote navigation |
files.complete | supported | Read contextual remote path completion |
files.history | supported | Read file command history |
files.list | supported | List remote files including hidden entries |
files.local-cd | supported | Validate navigation within a local root |
files.local-list | supported | List contained local files |
files.pwd | supported | Resolve a remote directory |
files.roots | supported | Inspect effective transfer roots |
files.set-root | supported | Persist a workspace transfer root |
files.tree | supported | Read a bounded remote directory tree |
files.cancel
Cancel pending file discovery
supported
Invocation
burrow --workspace PATH scp NAME cancel IDExample
burrow --workspace /absolute/workspace scp target cancel request-1Parameters
name·string- Workspace-local connection/profile name, 1–24 ASCII letters, digits, underscores or hyphens. Must start with a letter or digit; no paths.
request-id·string- Optional --request ID for discovery; required positional ID for cancel. Choose a fresh non-secret ID per request. Scoped to the selected connection creation. Cancellation is remembered for one minute and affects no transfers.
Pattern:
^[A-Za-z0-9_-]{1,64}$
Approval and effects
No additional approval; the invocation itself authorizes the described effect. Hovel throws still require their normal confirmation and --allow-dangerous.
Requests cancellation for the exact connection and caller-chosen discovery ID; does not cancel transfers. Cancellation requested is not cleanup acknowledgement. A cancelled ID remains refused for one minute; use a fresh ID for each new request. TUI Ctrl+C uses the same owner contract.
Returns
FileListing. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: scp NAME cancel 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/remote_files.gosemantic-check: core/cmd/burrow/files_lab.py |
files.cd
Validate and resolve remote navigation
supported
Invocation
burrow --workspace PATH scp NAME cd [PATH] [--request ID]Example
burrow --workspace /absolute/workspace scp target cd /tmpParameters
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-path·string- Remote SFTP path; CLI never retains a working directory between invocations; TUI does.
Default:
"." request-id·string- Optional --request ID for discovery; required positional ID for cancel. Choose a fresh non-secret ID per request. Scoped to the selected connection creation. Cancellation is remembered for one minute and affects no transfers.
Pattern:
^[A-Za-z0-9_-]{1,64}$
Approval and effects
No additional approval; the invocation itself authorizes the described effect. Hovel throws still require their normal confirmation and --allow-dangerous.
CLI returns the resolved directory; pass it on subsequent calls. TUI changes its file-tab directory.
Returns
FileListing. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: scp NAME cd [PATH] |
| 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/remote_files.gosemantic-check: core/cmd/burrow/files_lab.py |
files.complete
Read contextual remote path completion
supported
Invocation
burrow --workspace PATH scp NAME complete [PATH] [--request ID]Example
burrow --workspace /absolute/workspace scp target complete /tmp/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-path·string- Remote SFTP path; CLI never retains a working directory between invocations; TUI does.
Default:
"." request-id·string- Optional --request ID for discovery; required positional ID for cancel. Choose a fresh non-secret ID per request. Scoped to the selected connection creation. Cancellation is remembered for one minute and affects no transfers.
Pattern:
^[A-Za-z0-9_-]{1,64}$
Approval and effects
No additional approval; the invocation itself authorizes the described effect. Hovel throws still require their normal confirmation and --allow-dangerous.
Uses bounded cached SFTP discovery; completion is not command history.
Returns
FileListing. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: scp NAME complete [PATH] |
| 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/remote_files.gosemantic-check: core/cmd/burrow/files_lab.py |
files.history
Read file command history
supported
Invocation
burrow --workspace PATH files-historyExample
burrow --workspace /absolute/workspace files-historyParameters
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
Strings. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: files-history |
| 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/files.gosemantic-check: core/cmd/burrow/files_check.py |
files.list
List remote files including hidden entries
supported
Invocation
burrow --workspace PATH scp NAME ls [PATH] [--request ID]Example
burrow --workspace /absolute/workspace scp target lsParameters
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-path·string- Remote SFTP path; CLI never retains a working directory between invocations; TUI does.
Default:
"." request-id·string- Optional --request ID for discovery; required positional ID for cancel. Choose a fresh non-secret ID per request. Scoped to the selected connection creation. Cancellation is remembered for one minute and affects no transfers.
Pattern:
^[A-Za-z0-9_-]{1,64}$
Approval and effects
No additional approval; the invocation itself authorizes the described effect. Hovel throws still require their normal confirmation and --allow-dangerous.
Reads remote SFTP metadata; records history. Links are shown, with numeric UID/GID fallback.
Returns
FileListing. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: scp NAME ls [PATH] |
| 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/remote_files.gosemantic-check: core/cmd/burrow/files_lab.py |
files.local-cd
Validate navigation within a local root
supported
Invocation
burrow --workspace PATH lcd [download|upload] PATHExample
burrow --workspace /absolute/workspace lcd download .Parameters
area·"download" | "upload"Default:
"download"· Allowed:download,uploadlocal-path·string- Contained within the selected root; absolute contained paths accepted. lcd requires a path.
Default:
"."
Approval and effects
No additional approval; the invocation itself authorizes the described effect. Hovel throws still require their normal confirmation and --allow-dangerous.
Inspects containment and accessibility; records history. CLI navigation is stateless.
Returns
FileListing. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: lcd [download|upload] PATH |
| 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/files.gosemantic-check: core/cmd/burrow/files_check.py |
files.local-list
List contained local files
supported
Invocation
burrow --workspace PATH lls [download|upload] [PATH]Example
burrow --workspace /absolute/workspace llsParameters
area·"download" | "upload"Default:
"download"· Allowed:download,uploadlocal-path·string- Contained within the selected root; absolute contained paths accepted. lcd requires a path.
Default:
"."
Approval and effects
No additional approval; the invocation itself authorizes the described effect. Hovel throws still require their normal confirmation and --allow-dangerous.
Inspects local metadata and records history; escaping or broken links are labelled.
Returns
FileListing. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: lls [download|upload] [PATH] |
| 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/files.gosemantic-check: core/cmd/burrow/files_check.py |
files.pwd
Resolve a remote directory
supported
Invocation
burrow --workspace PATH scp NAME [pwd [PATH]] [--request ID]Example
burrow --workspace /absolute/workspace scp target pwdParameters
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-path·string- Remote SFTP path; CLI never retains a working directory between invocations; TUI does.
Default:
"." request-id·string- Optional --request ID for discovery; required positional ID for cancel. Choose a fresh non-secret ID per request. Scoped to the selected connection creation. Cancellation is remembered for one minute and affects no transfers.
Pattern:
^[A-Za-z0-9_-]{1,64}$
Approval and effects
No additional approval; the invocation itself authorizes the described effect. Hovel throws still require their normal confirmation and --allow-dangerous.
Queries remote SFTP through the existing master; records file history. CLI is stateless; TUI keeps current directories.
Returns
FileListing. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: scp NAME [pwd [PATH]] |
| 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/remote_files.gosemantic-check: core/cmd/burrow/files_lab.py |
files.roots
Inspect effective transfer roots
supported
Invocation
burrow --workspace PATH localExample
burrow --workspace /absolute/workspace localParameters
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
FileRoots. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: local |
| 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/files.gosemantic-check: core/cmd/burrow/files_check.py |
files.set-root
Persist a workspace transfer root
supported
Invocation
burrow --workspace PATH local [download|upload] PATHExample
burrow --workspace /absolute/workspace local download /absolute/workspace/downloadsParameters
area·"download" | "upload"Default:
"download"· Allowed:download,uploadpath·string- Absolute canonical local path; ownership, permissions and symlink checks apply.
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 missing private root directory, validates it and persists the selection; never moves or deletes files; unsafe roots fail without fallback.
Returns
FileRoots. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: local [download|upload] PATH |
| 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/files.gosemantic-check: core/cmd/burrow/files_check.py |
files.tree
Read a bounded remote directory tree
supported
Invocation
burrow --workspace PATH scp NAME tree [PATH] [--request ID]Example
burrow --workspace /absolute/workspace scp target treeParameters
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-path·string- Remote SFTP path; CLI never retains a working directory between invocations; TUI does.
Default:
"." request-id·string- Optional --request ID for discovery; required positional ID for cancel. Choose a fresh non-secret ID per request. Scoped to the selected connection creation. Cancellation is remembered for one minute and affects no transfers.
Pattern:
^[A-Za-z0-9_-]{1,64}$
Approval and effects
No additional approval; the invocation itself authorizes the described effect. Hovel throws still require their normal confirmation and --allow-dangerous.
Reads at most 3000 entries or 30 seconds, reports partial results, and does not recurse into directory links.
Returns
FileTree. See errors and exit status before interpreting command success.
Other entry points and verification
| Contract | Behavior |
|---|---|
| Human entry point | Burrow management: scp NAME tree [PATH] |
| 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/remote_files.gosemantic-check: core/cmd/burrow/files_lab.py |