Skip to content

Commit aa20ab1

Browse files
authored
chore: Remove sandbox cli commands
1 parent d0b249e commit aa20ab1

23 files changed

Lines changed: 135 additions & 1600 deletions

Cargo.lock

Lines changed: 0 additions & 94 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ flate2 = "1"
6060
tar = "0.4"
6161
semver = "1"
6262
sqlformat = "0.5.0"
63-
sysinfo = { version = "0.38.4", default-features = false, features = ["system"] }
6463
self_update = { version = "0.42", default-features = false, features = ["rustls"] }
6564
lzma-rs = "0.3"
6665
tempfile = "3"

README.md

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ API key priority (lowest to highest): config file → `HOTDATA_API_KEY` env var
7676
| `embedding-providers` | `list`, `get`, `create`, `update`, `delete` | Manage embedding providers used by vector indexes |
7777
| `results` | `list` | Retrieve stored query results |
7878
| `jobs` | `list` | Manage background jobs |
79-
| `sandbox` | `list`, `new`, `set`, `read`, `update`, `run` | Manage sandboxes |
8079
| `skills` | `install`, `status` | Manage the hotdata agent skill |
8180

8281
## Global options
@@ -321,28 +320,6 @@ hotdata jobs <job_id> [--workspace-id <id>] [--format table|json|yaml]
321320
- `--job-type` accepts: `data_refresh_table`, `data_refresh_connection`, `dataset_refresh`, `create_index`, `create_dataset_index`.
322321
- `--status` accepts: `pending`, `running`, `succeeded`, `partially_succeeded`, `failed`.
323322

324-
## Sandboxes
325-
326-
Sandboxes group related CLI activity (queries, dataset operations, etc.) under a single context.
327-
328-
```sh
329-
hotdata sandbox list [-w <id>] [-o table|json|yaml]
330-
hotdata sandbox <sandbox_id> [-w <id>] [-o table|json|yaml]
331-
hotdata sandbox new [--name "My Sandbox"] [-o table|json|yaml]
332-
hotdata sandbox set [<sandbox_id>]
333-
hotdata sandbox read
334-
hotdata sandbox update [<sandbox_id>] [--name "New Name"] [--markdown "..."] [-o table|json|yaml]
335-
hotdata sandbox run <cmd> [args...]
336-
hotdata sandbox <sandbox_id> run <cmd> [args...]
337-
```
338-
339-
- `list` shows all sandboxes with a `*` marker on the active one.
340-
- `new` creates a sandbox and sets it as active.
341-
- `set` switches the active sandbox. Omit the ID to clear the active sandbox.
342-
- `read` prints the markdown content of the current sandbox.
343-
- `update` modifies the name or markdown of a sandbox (defaults to the active sandbox).
344-
- `run` runs a command with the hotdata CLI scoped to a sandbox. Creates a new sandbox unless a sandbox ID is provided before `run`. Useful for launching an agent that can only access sandbox data. Nesting sandboxes is not allowed.
345-
346323
## Configuration
347324

348325
Config is stored at `~/.hotdata/config.yml` keyed by profile (default: `default`).

skills/hotdata-analytics/SKILL.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,3 @@ hotdata indexes create --connection-id <id> --schema <schema> --table <table> \
117117

118118
List and delete use the same `hotdata indexes` commands as in the search skill; only **`--type sorted`** is the analytics focus here.
119119

120-
---
121-
122-
## Sandboxes and chains
123-
124-
Sandbox datasets use **`datasets.<sandbox_id>.<table>`**, not `datasets.main`. Run queries with active sandbox config or `hotdata sandbox <id> run hotdata query "..."`. See **`hotdata`** skill **Sandboxes**.

skills/hotdata-analytics/references/WORKFLOWS.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -84,30 +84,20 @@ Note the printed **`full_name`** (e.g. `datasets.main.chain_revenue_slice` or `c
8484

8585
### 3. Chain query
8686

87-
Query using that name — do not hardcode `datasets.main` if the schema segment is a sandbox id:
87+
Query using the actual `full_name` from create or list — do not hardcode `datasets.main`; use whatever qualified name was printed:
8888

8989
```bash
9090
hotdata datasets list
9191
hotdata query "SELECT * FROM datasets.main.chain_revenue_slice WHERE ..."
92-
# Sandbox example (use actual full_name from create or list):
93-
# hotdata query "SELECT * FROM datasets.s_ufmblmvq.chain_revenue_slice WHERE ..."
9492
# Managed database:
9593
# hotdata query "SELECT * FROM chain_db.public.revenue_slice WHERE ..."
9694
```
9795

98-
### Sandbox context
99-
100-
For **sandbox-scoped** chain tables:
101-
102-
- Qualified name is **`datasets.<sandbox_id>.<table>`**, not `datasets.main`.
103-
- Run queries with **active sandbox** in config (`hotdata sandbox set`) **or** inside **`hotdata sandbox <sandbox_id> run hotdata query "…"`**.
104-
- Without sandbox context, you may get **access denied** on sandbox-only tables.
105-
10696
### Naming and documentation
10797

10898
- Prefer predictable `--table-name` values: `chain_<topic>_<YYYYMMDD>`.
10999
- Record long-lived chains in **context:DATAMODEL → Derived tables (Chain)** with the **full** SQL name you use (`datasets.…` or `database.schema.table`).
110-
- Promote join/grain findings to **context:DATAMODEL** when they should outlive the sandbox (**`hotdata`** skill).
100+
- Promote join/grain findings to **context:DATAMODEL** when they should be shared or persisted (**`hotdata`** skill).
111101

112102
### Guardrails
113103

0 commit comments

Comments
 (0)