Snapshot workspace
chap.control.snapshotCapture workspace state before a change and return a snapshot artefact ID that rollback uses to restore only mode ceiling and member roles.
Instructions
Capture the workspace state as an artefact before a change you may want to undo. Returns a snapshot artefact id, which is the only thing chap.control.rollback accepts as a target; the label is for a human reading the log and cannot be used to select it. Taking a snapshot changes nothing. Note that a rollback restores only the mode ceiling and member roles, so a snapshot is a narrow safety net rather than a general undo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Participant URI, e.g. 'human:alice@example.org' or 'agent:bot@local'. | |
| label | No | Name for this snapshot, recorded on the artefact. chap.control.rollback identifies a snapshot by its artefact id, not by label. | |
| include | No | Which aspects of the workspace to capture. Recognised values are 'members', 'open_tasks', 'mode_ceiling', 'policy' and 'audit'. Defaults to members, open_tasks and mode_ceiling. | |
| workspace | Yes | Workspace identifier, e.g. 'wsp_techcorp_support'. |