{% extends 'base.html' %} {% block title %}Maintenance · Brain{% endblock %} {% block body %}

Maintenance

{% if notice %}

{{ notice }}

{% endif %} {% if failing %}

Automatic maintenance is failing since {{ failing.since }}: {{ failing.error }}

{% endif %}

GitHub sync

{% if git_status.enabled %}Enabled{% else %}Disabled{% endif %}{% if git_status.repo %} · {{ git_status.repo }}{% endif %}

Last sync: {{ (git_status.last_sync | when) or 'not yet' }} · pushed {{ git_status.pushed or 0 }} · pulled {{ git_status.pulled or 0 }}

{% if git_status.error %}

{{ git_status.error }}

{% endif %} {% if git_status.out_of_sync %}

Out of sync: {{ git_status.out_of_sync | join(', ') }}

{% endif %}

Runs

{% for x in runs %}{% else %}{% endfor %}
TimeTriggerProjectCheckedAppliedFlagsStatusError / note
{{ x.trigger }}{{ x.project or 'all' }}{{ x.checked }}{{ x.applied }}{{ x.flagged }}{{ x.status }}{% if x.error %}{{ x.error }}{% endif %}{% if x.note %} {{ x.note }}{% endif %}
No maintenance runs.

Changes

{% for x in changes %}

#{{ x.memory_id }}{% if x.target_id %} → #{{ x.target_id }}{% endif %} {{ x.action }}{% if x.run_status == 'dry_run' %} (dry run){% elif x.reverted_at %} ({{ 'reverted' if x.applied else 'dismissed' }}){% endif %}

{{ x.summary }}{% if x.blocked_by and x.blocked_by != 'dry_run' %} Blocked: {{ x.blocked_by }}{% endif %}

{% if x.blocked_by == 'protected' %}

Your rule may be outdated: review it and edit it yourself on the Memory page.

{% endif %} {% if x.old_title or x.new_title %}
− {{ x.old_title or '' }}
+ {{ x.new_title or '' }}
{% endif %} {% if x.old_content or x.new_content %}
− {{ x.old_content or '' }}
+ {{ x.new_content or '' }}
{% endif %} {% if x.old_review_after or x.new_review_after %}

review_after: {{ x.old_review_after or '—' }} → {{ x.new_review_after or 'unchanged' }}

{% endif %} {% if x.applied and not x.reverted_at %}
{% elif x.open_flag %}
{% endif %}
{% else %}

No changes.

{% endfor %} {% endblock %}