Skip to main content

Assistant Version History

When experimenting with assistant configurations, the latest system instructions do not always produce the best results. AI/Run CodeMie automatically tracks changes to system instructions, allowing you to browse previous versions, compare them against the current editor content, and restore a prior version when needed.

Version history applies to system instructions only. Other assistant settings (tools, skills, integrations, and model configuration) are not versioned through this feature.

Prerequisites​

  • An existing assistant with at least one saved change to system instructions (history is empty until the instructions are modified and saved at least once)
  • Edit access to the assistant

Open Version History​

  1. Navigate to Assistants → Project Assistants.

  2. Click the Actions button (⋮) next to the assistant and select Edit.

  3. In the System Instructions section, click Version History:

    Version History button in the System Instructions toolbar

    The System Instructions editor expands into a full-width modal.

  4. Select the Version History tab (or the modal opens directly on this tab when opened via the Version History button):

    Expanded System Instructions modal with Version History tab

When History Is Available

Version history is available only when editing an existing assistant. New assistants that have not yet been saved do not have instruction history.

Browse and Compare Versions​

The version selector lists every saved prior version of the system instructions. Each entry is labeled in this format:

[NN] - <date> - <author>

Where NN is a sequential version number (newer versions have higher numbers).

  1. Select a version from the dropdown to load it into the diff view.

  2. Compare the selected version against a baseline using the diff tabs:

    BaselineDescription
    Current VersionThe system instructions currently in the editor, including any unsaved changes
    Previous VersionThe next older historical version relative to the selected entry (disabled when none exists)
  3. Review the side-by-side diff. Lines highlighted in red will be removed; lines in green will be added.

    Side-by-side diff with version selector and Restore button

A/B Testing Instructions

Use version history to compare different instruction sets before committing to a change. Switch between versions in the selector and review diffs against the current editor content to identify the most effective configuration.

Restore a Previous Version​

Restoring a version replaces the system instructions in the editor with the content from the selected historical version. The change is not saved automatically.

  1. Select the version to restore from the dropdown.

  2. Click Restore.

  3. Confirm the restore action in the confirmation dialog.

  4. Click Save on the Edit Assistant page to persist the restored instructions.

Unsaved Changes

Restoring a version replaces the current editor content. Any unsaved changes to system instructions are discarded when restore is confirmed.

Audit Trail

AI/Run CodeMie preserves all system instruction modifications, creating a complete audit trail. This allows safe experimentation while maintaining the ability to revert to proven configurations.