autosave

Create a snapshot only when changes are detected in the target space.

Back to CLI Commands

autosave scans the current workspace and creates a new snapshot only when the target space has actual changes. If nothing changed, no snapshot is created.

This command is designed for lightweight checkpoint automation. It uses the same ManifestDB + CAS pipeline as save, but it does not support scoped save options.

Usage
rinne autosave [--full] [--parallel <N>] [--space <space>] [-m <message> | --message <message>]
Options
--full
Create an autosave snapshot by fully reprocessing all files, ignoring any existing file meta cache.
--parallel <N>
Override the default parallelism for file processing. N must be a positive integer.
--space <space>
Use the specified space instead of the current space.
-m, --message <message>
Write a note to <id>/note.md when a snapshot is created. If omitted, an empty <id>/note.md is created.
Examples
Create a snapshot only when something changed
rinne autosave
Create an autosave snapshot with a note
rinne autosave -m "Checkpoint before refactor"
Force a full rescan before deciding
rinne autosave --full -m "Recheck everything"
Run autosave in another space
rinne autosave --space standard -m "Scheduled checkpoint"
Notes
  • Standard only.
  • If no changes are detected, autosave finishes successfully but does not create a new snapshot.
  • --dir, --file, and --base are not supported by autosave. Use rinne save for scoped saves.
  • The target space must already exist. Create it first, then run autosave again.