{% extends "base.html" %} {% from "_macros.html" import tile, ts, agent_link, counts_row %} {% set d = data %} {% block content %}

Overview · last {{ d.window }}

{{ tile("Agents", d.totals.agents_total, d.totals.agents.get("active", 0) ~ " active") }} {{ tile("Messages", d.totals.messages_total, "+" ~ (d.recent.messages.values() | sum) ~ " in " ~ d.window) }} {{ tile("Deliveries", d.totals.deliveries_total, "+" ~ (d.recent.deliveries.values() | sum) ~ " in " ~ d.window) }} {{ tile("Pending", d.totals.deliveries.get("pending", 0), "undelivered right now") }} {{ tile("Past lease", d.backlog.pending_past_lease, "pending > " ~ d.config.lease_ttl_seconds ~ "s", alert=d.backlog.pending_past_lease > 0) }} {{ tile("Read, never acked", d.backlog.read_private_unacked, "private mail claimed but not confirmed", alert=d.backlog.read_private_unacked > 0) }}

Traffic

Messages by kind
{{ counts_row(d.totals.messages) }}
Last {{ d.window }}
{{ counts_row(d.recent.messages) }}
Deliveries by state
{{ counts_row(d.totals.deliveries) }}
Last {{ d.window }}
{{ counts_row(d.recent.deliveries) }}
Agents by status
{{ counts_row(d.totals.agents) }}
Newest message
{{ ts(d.last.message_at) }}
Newest delivery
{{ ts(d.last.delivery_at) }}

Deepest mailboxes

{% if d.backlog.by_agent %}
{% for row in d.backlog.by_agent %} {% endfor %}
AgentPending
{{ agent_link(row.agent, row.handle) }} {{ row.pending }} deliveries →

Mailbox cap is {{ d.config.mailbox_cap }}; a send to a full mailbox is refused with quota_exceeded.

{% else %}

No pending deliveries anywhere.

{% endif %}

Health & configuration

Storage
{% if ready %}reachable{% else %}unreachable{% endif %}
Migrations
{% if d.config.migrations_done %}applied{% else %}not yet applied — the sweeper retries{% endif %}
Vector index
{{ d.config.index_size }} agent{{ "" if d.config.index_size == 1 else "s" }} {% if not d.config.index_warmed %}· warm-up deferred{% endif %}
Sweeper
{{ "enabled" if d.config.sweeper_enabled else "disabled" }}
Lease TTL
{{ d.config.lease_ttl_seconds }}s, up to {{ d.config.delivery_max_reverts }} reverts
Broadcast cut
floor {{ d.config.sim_floor }}, margin {{ d.config.sim_margin }}, top {{ d.config.broadcast_n }} {% if d.config.sim_margin >= 1.0 %}· margin ≥ 1.0 puts the relative bound below zero, so the floor is the only cut{% endif %}
Retention
terminal deliveries age out after {{ d.config.acked_max_age_days }}d
Embedding
{{ d.config.embed_backend }} · {{ d.config.embed_model }}
{% endblock %}