bridge_checkpoint
Save, list, or restore named snapshots of bridge state (task queue, file locks, mailbox) for audit trail and rollback before risky bulk operations. Restoring overwrites current state.
Instructions
Save / list / restore named snapshots of the bridge state (memory.json: task queue + file locks + mailbox; 共享 KV/笔记已外置到 ~/.agents/shared-memory/,不随 checkpoint 回滚). For audit trail and rollback before risky bulk operations. Save: pass name (e.g. 'pre-promotion-batch'). List: pass name='list'. Restore (DANGER: overwrites current state): pass name= + restore=true. Snapshots stored as memory.json.checkpoint. alongside memory.json; do not collide with the live file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Checkpoint name (alphanumeric/dash/underscore). 'list' to list existing checkpoints. | |
| restore | No | If true, restore memory.json FROM the checkpoint <name> (overwrites current state). Default false = save a new snapshot. |