{% extends "base.html" %} {% block title %}Archive - {% if current_project == all_projects_value %}All Projects{% else %}{{ current_project|display_name }}{% endif %} - CodeContext{% endblock %} {% block content %}

Memory Archive{% if current_project == all_projects_value %} - All Projects{% endif %}

{{ stats.total }}
Archived
{{ stats.by_reason.get('conflict_resolution', 0) }}
From Conflicts
{{ stats.by_reason.get('consolidation', 0) }}
From Consolidation
{{ stats.by_reason.get('manual', 0) }}
Manual
All Conflict Resolution Consolidation Manual
{% if archived_memories %} {% for m in archived_memories %}
{{ m.type }} {{ m.deletion_reason|replace('_', ' ')|title }} {% if m.project and current_project == all_projects_value %} {{ m.project|display_name }} {% endif %} Deleted: {{ m.deleted_at[:10] if m.deleted_at else 'Unknown' }}

{{ m.title }}

{{ m.fact }}

{% if m.files %}
{% for f in m.files if f %} {{ f }} {% endfor %}
{% endif %}
{% endfor %} {% else %}
{% if reason_filter %}

No archived memories with reason "{{ reason_filter|replace('_', ' ') }}".

{% else %}

No archived memories. Deleted memories will appear here.

{% endif %}
{% endif %}
{% if has_more %}
{% endif %}
{% endblock %}