Primitive
atom.snapshot
BETAShort name: snapshot
Version: 1.0.0
Sandbox-only primitive that clones an existing atom into the current sandbox session. Used by the verb editor's Test Run panel so a preview verb can mutate a copy of real (PRD) data without touching the original. The clone is owned by the caller, stamped with the sandbox marker, and carries the source atom id and version for diff display.
Back to primitive libraryInputs
| Key | Type | Required | Description |
|---|---|---|---|
| sourceAtomId | objectId | true | Atom to clone into the sandbox. |
Outputs
| Key | Type | Required | Description |
|---|---|---|---|
| atom | object | false | Created sandbox clone: { id, version, lexemeIds, data, isPublic, sandbox }. |
| source | object | false | Reference to the cloned source: { id, version } captured at snapshot time. |