{% extends "base.html" %} {% block title %}Overview · kb-mcp admin{% endblock %} {% block content %} {% if stats.conflicts and stats.conflicts > 0 %}
⚠️ Git Sync Conflict: There are {{ stats.conflicts }} document(s) containing unresolved merge conflict markers.
View Conflicts
{% endif %}
Active docs{{ stats.documents }}
Deleted docs{{ stats.deleted_documents }}
Types{{ stats.types }}
Links{{ stats.links }}
Orphans{{ stats.orphan_documents }}
Vectors{{ stats.vectors }}

Recent updates

Doctor

{{ "Healthy" if doctor_report.ok else "Needs attention" }}
{% for check in doctor_report.checks %}
{{ check.name }}
{{ check.detail }}
{{ "OK" if check.ok else "Fail" }}
{% endfor %}

Type distribution

{% for type_name, count in type_counts %}
{{ type_name }}
{{ count }}
{% else %}
No types yet

Types will appear once documents are created.

{% endfor %}

Top tags

{% for tag, count in tag_counts %} {{ tag }} {{ count }} {% else %}
No tags yet

Tags appear when documents carry them.

{% endfor %}
{% endblock %}