Skip to content

Revisions

AI Context Items support full revision history, allowing you to track changes over time and revert to previous versions if needed.

Viewing revisions

Each context item has a Revisions tab at /admin/ai/context/items/{id}/revisions that shows a chronological list of all revisions, including:

  • Revision timestamp
  • Revision author
  • Timestamp
  • Author
  • Log message
  • Current vs. previous status

Reverting a revision

From the revision history, you can revert any context item to a previous revision. This creates a new revision with the old content, preserving the full history.

Reverting requires the Revert all AI Context Item revisions permission.

Deleting a revision

Individual revisions can be deleted from the history (except the current revision). This requires the Delete all AI Context Item revisions permission.

Diff integration

When the Diff module is installed, you can compare revisions side-by-side. The module provides custom diff field builders for:

  • Dynamic Entity Reference fields -- shows changes to target entity associations
  • Scope map fields -- shows changes to scope value selections

The diff integration is automatically enabled when the Diff module is installed. No additional configuration is required.

Revision and moderation

Each moderation state change (draft to published, or vice versa) creates a new revision. Combined with revision log messages, this provides a complete audit trail of the editorial workflow.