{% extends "base.html" %} {# /activity (pages/live_sync.py): what agents did, from the git log. #} {% block title %}What agents did{% endblock %} {% block content %}

What agents did

Every change an AI agent made to your data folder: each commit whose message starts with ai:, newest first. Undo makes a new commit that reverses one; nothing is deleted from your history.

Make it yours How it works

{% for label, entries in days %}

{{ label }}

{% for e in entries %} {% set touched = rows[e.sha] %} {% endfor %}
TimeWhat changedRecords
{{ e.when.strftime('%H:%M') }} {{ e.said }} {{ e.sha[:7] }}{% if e.what %}
{{ e.what }}{% endif %}
{%- for r in touched[:records_shown] %}{% if not loop.first %}, {% endif %}{% if r.url %}{{ r.label }}{% else %}{{ r.label }}{% endif %}{% endfor %} {%- if touched | length > records_shown %} and {{ touched | length - records_shown }} more{% endif %} {% if e.can_undo %}
{% elif e.undone %}undone {% elif e.merge %}merge {% else %}first commit{% endif %}
{% else %}

No agent changes yet. When an agent changes your data, over MCP or with its own commits, each change is listed here with an Undo button.

{% endfor %} {% if days %}

The last {{ scan }} commits are searched. In a terminal: git log --grep '^ai:' lists them all, and hermitcrm undo <commit> undoes one.

{% endif %} {% endblock %}