{% extends "_base.html" %} {% from "_partials.html" import status_pill, fresh_label, number, avatar %} {% set active = 'overview' %} {% block title %}trovex — overview{% endblock %} {% block topbar_meta %} last write {{ last_write_relative }} · / to search {% endblock %} {% block head %} {% endblock %} {% block content %} {# ── Onboarding banner ─────────────────────────────────────────────── #} {# ── Source-of-truth masthead ──────────────────────────────────────── #} {% set canonical = by_status.get('canonical', 0) %} {% set noise = by_status.get('stale', 0) + by_status.get('duplicate', 0) %} {% set coverage = (canonical / total * 100) if total else 0 %}
canonical store

One source of truth for your coding agents.

{{ "{:,}".format(total) }} docs indexed on write — agents stop rereading the repo to guess what's current. trovex serves the single canonical answer as a path:line pointer with a freshness marker.

fresh · {{ last_write_relative }} · {{ corpus_path }}
{# ── Sources → one canonical answer ────────────────────────────────── #} {% if sources %}
fed by {% for s in sources %} @{{ s.id }} {{ s.count }} {% endfor %} one canonical answer
{% endif %} {# ── KPI tiles — corpus → trust → noise → payoff ────────────────────── #}
docs in store
{{ "{:,}".format(total) }}
{{ docs_written_7d | default(0) }} written · 7d
canonical coverage
{% if total %}{{ "%.0f"|format(coverage) }}%{% else %}–{% endif %}
{{ "{:,}".format(canonical) }} trusted docs
{% if total %}
{% endif %}
noise to triage
{{ noise }}
{{ by_status.get('stale', 0) }} stale · {{ by_status.get('duplicate', 0) }} dup
total tokens
{{ number(total_tokens) }}
avg {{ "{:,}".format(avg_tokens) }} / doc
{# ── Status distribution stacked bar ───────────────────────────────── #} {% if total > 0 %}

Status distribution

{{ total }} docs · {{ "{:,}".format(total_tokens) }} tokens
{% for status in ['canonical', 'plan', 'duplicate', 'stale'] %} {% set c = by_status.get(status, 0) %} {{ c }} {{ status }} {% endfor %}
{% endif %} {# ── Section: humans / activity ────────────────────────────────────── #}
Activity last 7d

Agents querying

{{ total_queries_7d }} queries
{% if by_user %} {% else %}
no agent has queried the store yet
Connect Claude Code →
{% endif %}

Recent queries

view all →
{% if recent_queries %} {% else %}
no queries yet
{% endif %}
{# ── Section: corpus / content ─────────────────────────────────────── #}
Corpus {{ total }} docs

Recently updated

{{ recent | length }} shown
{% for r in recent %} {% endfor %}
doc status age tokens
{{ r.title }} {{ status_pill(r.status) }} {{ fresh_label(r.age_days) }} {{ "{:,}".format(r.tokens_est) }}

Needs attention

{% if attention %} {{ attention | length }} {% endif %}
{% if attention %} {% else %}
clean — nothing to triage
{% endif %}
{# ── Heaviest files ────────────────────────────────────────────────── #} {% if heaviest %}
Heaviest files by token estimate
{% for r in heaviest %} {% endfor %}
path status age tokens bytes
{{ r.title }} {{ status_pill(r.status) }} {{ fresh_label(r.age_days) }} {{ "{:,}".format(r.tokens_est) }} {{ "{:,}".format(r.size_bytes) }}
{% endif %} {% endblock %}