Skip to content

Activity and reversal

Open Assistant → Activity to see the confirmed changes for this flow, most recent first. Viewing activity and reversing a saved change work with the provider switched off.

What the timeline shows

Entries read Proposal saved, Repair saved or Reversal. Expand Show details to see node types, ports and fields, including the before and after for supported settings.

The timeline excludes proposals, requests, provider responses, key material, rows and full graph snapshots. It records the source of a change and your confirmation, without attributing it to a named person.

Activity starts with the first assistant save after upgrading. Run ciaren db upgrade on existing installations before starting the upgraded server. On MySQL and MariaDB the migration enables microsecond precision on flow revisions.

Reverse a saved change

  1. Save or discard pending canvas edits first.
  2. Expand the entry and choose Preview reversal. This shows the inverse edit without changing the flow.
  3. Choose Confirm reversal. Ciaren writes a new revision and links it to the original in the same database transaction. The original entry stays visible after reload.

The editor's toolbar Undo is different: it edits the current canvas in memory.

Reversals preserve unrelated edits when the saved inverse can be proven safe. For example, reverting a Join mode keeps a later downstream sort. When you confirm, Ciaren checks the project, flow revision, affected settings, dependencies and bound inputs again.

  • If another client saves after a preview, preserve your local work, reload and preview again.
  • A changed dependency, a removed input, or a prior private value that cannot be reconstructed requires a manual edit.
  • A reversal is a final entry in the timeline. A fresh proposal can reapply a change.

Protection against concurrent saves

The editor sends the loaded revision on Save and on the save before Run. Run creation checks the returned revision again before taking its execution snapshot.

  • If you edit during a Run, the editor keeps the draft open and links to the result.
  • A conflict leaves the draft on the canvas and offers a separate tab to compare the saved version.
  • API callers can pass expected_revision (the flow's updated_at) on both PUT /api/flows/{id} and POST /api/flows/{id}/runs. Older clients that omit it keep unconditional save and latest-version execution; upgrade those clients to protect their writes.

Access and limits

Access follows the installation's existing server authentication. A moved flow's prior project entries are hidden, and deleting the flow deletes its activity.

Activity pages contain up to 20 entries. Reversal previews use up to 64 short-lived process-local references with a three-minute timeout, so use sticky routing or a single process for confirmations.