chap.control.rollback
chap.control.rollbackRestore workspace mode ceiling and member roles from a snapshot. Log the rollback as a new audit entry, preserving the original audit history.
Instructions
Restore workspace state from a snapshot. The mode ceiling and member roles are restored; the rollback is appended to the audit log rather than rewriting it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | Yes | Participant URI, e.g. 'human:alice@example.org' or 'agent:bot@local'. | |
| reason | No | Why the rollback was performed. The rollback is itself an audit entry; earlier entries are not rewritten. | |
| workspace | Yes | Workspace identifier, e.g. 'wsp_techcorp_support'. | |
| what_to_restore | No | Which captured aspects to apply. Only 'mode_ceiling' and 'members' are restored; the others are held in the snapshot and not reapplied. Restoring members resets role and scopes on members still present, and does not re-add members who have left. Defaults to the snapshot's include list. | |
| to_snapshot_artefact_id | Yes | Artefact id returned by chap.control.snapshot. An id with no matching snapshot is refused with -32062. |