-
Notifications
You must be signed in to change notification settings - Fork 0
Sandbox Operations
Sandbox operations cover the lifecycle of the temporary execution environment used for ground-truth capture and proof-backed SQL validation.
| Command | Purpose |
|---|---|
ad-migration setup-sandbox |
Provision the active sandbox and persist it in manifest.json
|
ad-migration teardown-sandbox |
Drop the active sandbox and clear its persisted runtime state |
ad-migration setup-sandbox provisions the active sandbox from the configured runtime.sandbox role in manifest.json.
-
manifest.jsonwithruntime.sandbox - extracted schemas in
extraction.schemas - sandbox environment variables for the configured technology
- Loads
runtime.sandboxfrommanifest.json - Validates the required
SANDBOX_*environment variables - Writes the current connection details into
manifest.json - Asks for confirmation unless
--yesis used - Clones the extracted schemas into a new sandbox
- Writes the active sandbox name back to
manifest.json
The command reports the active sandbox name plus the number of tables, views, and procedures cloned.
ad-migration teardown-sandbox drops the active sandbox that was previously persisted in manifest.json.
Run teardown after test generation and refactor work that depend on the sandbox are complete.
- Reads the active sandbox name from
manifest.json - Asks for confirmation unless
--yesis used - Drops the sandbox
- Clears sandbox metadata from
manifest.jsonon success
| Situation | Behavior |
|---|---|
No sandbox name in manifest.json
|
Stops and tells the user to run setup-sandbox first |
| Drop succeeds | Clears the manifest sandbox state and reports success |
| Drop fails | Surfaces SANDBOX_DOWN_FAILED details and exits with an error |
Use the technology-specific reference for source, target, and sandbox variables:
- Sandbox Setup -- project-setup walkthrough for sandbox creation
- Test Generation -- where the sandbox is used first
- Git Workflow -- worktree and branch cleanup lives there, not here
Getting Started
Project Setup (run once)
Whole-Mart Migration
Per-Object Migration (repeat per table)
Commands and CLI
Exploring the Catalog
Operations
- Status Dashboard
- Deciding Data Domains for Migration
- Handling Diagnostic Errors and Warnings
- Browsing the Catalog
- Sandbox Operations
- Git Workflow
Reference
- Glossary
-
verifying-completion-claimsskill - Profiling Signals
- SQL Server Connection Variables
- Oracle Connection Variables
- Troubleshooting and Error Codes