{% extends "base.html" %} {% block body %} {% set stats = dashboard_stats|default({}) %} {% set active_rows = active_activity_views|default([]) %} {% set scheduled_rows = scheduled_activity_views|default([]) %} {% set recent_rows = recent_activity_views|default([]) %} {% set quota_rows = runner_quotas|default([]) %} {% set shell_rows = runner_stats|default([]) %} {% set event_rows = outbound_event_views|default([]) %}

Command deck

Repos through brnrd

Install the GitHub App, enable repos, and route GitHub or Telegram prompts into local brr agents.

{% if logged_in %} {% if notice %}
{{ notice }}
{% endif %}
Signed in@{{ account.github_login }}
GitHub App{{ github_app_slug }}
Enabled repos{{ connected_count }} of {{ stats.synced_repos|default(installed_repos|length) }} synced
Current work{{ stats.active_runs|default(0) }} active {{ stats.pending_runs|default(0) }} pending
Outbound events{{ stats.outbound_events|default(0) }} {{ stats.outbound_failures|default(0) }} failed

Repositories

Daemon pairing

{{ connected_count }} enabled
{% if repo_views %}
{% for row in repo_views %} {% set repo = row.repo %}
{{ repo.repo_full_name }} {{ repo.forge }}{% if repo.default_branch %} · {{ repo.default_branch }}{% endif %}
{{ row.daemon_label }}

{% if row.daemon_status == "online" %} Last heartbeat {{ row.daemon_last_seen }}{% if row.latest_daemon_name %} from {{ row.latest_daemon_name }}{% endif %}. {% elif row.daemon_status == "offline" %} Last heartbeat {{ row.daemon_last_seen }}{% if row.latest_daemon_name %} from {{ row.latest_daemon_name }}{% endif %}. Start the local daemon to drain queued work. {% else %} This repo is enabled in brnrd. Pair a local daemon from a checkout when you want it to drain work. {% endif %}

{% if row.daemon_status != "online" %}
Set up local daemon

Run from the local checkout for this repo.

{{ row.setup_command }}
{% endif %}
{% endfor %}
{% else %}
No repos enabled yet.

Enable one of the synced GitHub repositories below, then pair a local brnrd daemon from that repo's checkout.

{% endif %}

Current work

Active runs

Open activity
{% if active_rows %}
{% for row in active_rows %} {% set item = row.record %}
{{ item.kind }} {{ item.status or row.bucket }} {% if item.phase %}{{ item.phase }}{% endif %}
{{ row.summary_compact }} {{ row.repo_name }} · {{ row.source_label }}{% if item.conversation_key %} · {{ item.conversation_key }}{% endif %}
{% if row.runner_summary %}{{ row.runner_summary }}{% endif %} {% if item.branch %}{{ item.branch }}{% endif %} {% if row.elapsed_label %}elapsed {{ row.elapsed_label }}{% endif %} updated {{ row.updated_label }}
{% if row.links %} {% endif %}
{% endfor %}
{% else %}
No active runs surfaced here yet.

Running, pending, failed, and parked work will appear here once the dashboard aggregation layer passes activity records into this view.

{% endif %}

Budget

Runner quotas

{% if quota_rows %}
{% for quota in quota_rows %}
{{ quota.shell }}{{ quota.status }}
{% for window in quota.windows %}
{{ window.label }}{% if window.percent is not none %}{{ "%.0f"|format(window.percent) }}% left{% if window.reset %} · {{ window.reset }}{% endif %}{% elif window.used is not none %}{{ window.used }} / {{ window.limit }}{% else %}unknown{% endif %}
{% endfor %} {% if quota.credits and quota.credits.summary %}
credits{{ quota.credits.summary }}
{% endif %}
{% endfor %}
{% else %}
Quota provider pending.

This panel is ready for 5h and weekly quota windows per shell.

{% endif %}

Runners

Shell load

{% if shell_rows %}
{% for row in shell_rows %}
{{ row.shell }}{{ row.running }} active · {{ row.pending }} pending · {{ row.scheduled }} scheduled · {{ row.completed }} done · {{ row.failed }} failed
{% endfor %}
{% else %}
No shell data yet.

Runner distribution appears after daemons report activity.

{% endif %}

Wake plan

Scheduled work

{% if scheduled_rows %}
{% for row in scheduled_rows %}
{{ row.repo_name }}{{ row.summary_compact }}
{% endfor %}
{% else %}
No scheduled runs.

Scheduled wakes and respawns will land here.

{% endif %}

Outbound

Events

{% if event_rows %}
{% for row in event_rows %}
{{ row.status }}
[{{ row.source }}] {{ row.repo_name }}{% if row.summary %}{{ row.summary }}{% endif %}
{% endfor %}
{% else %}
No recent events.

Commits, replies, PR/issue updates, and delivery failures should eventually be separated here.

{% endif %}

System log

Recent daemon reports

{% if recent_rows %}
{% for row in recent_rows %} {% set item = row.record %}
[{{ row.source_label }}]{{ item.kind }}.{{ item.status or row.bucket }}{{ row.repo_name }}
{% endfor %}
{% else %}
No daemon reports.

Current work reports are empty for now.

{% endif %}

Available from GitHub

Installed repositories

{% if installations %}

Synced from {% for installation in installations %}{{ installation.target_login or installation.installation_id }}{% if not loop.last %}, {% endif %}{% endfor %}. Most recently pushed repos appear first.

{% endif %}
{{ installed_repos|length }} synced {% if github_sync_configured %}
{% endif %} Manage
{% if installed_repos %}
{% for repo in installed_repos %} {% if loop.index <= 12 %}
{{ repo.repo_full_name }}{% if repo.default_branch %}default {{ repo.default_branch }}{% else %}default branch unknown{% endif %}
{% if repo.repo_full_name|lower in connected_repo_names %} Enabled {% else %}
{% endif %}
{% endif %} {% endfor %}
{% else %}
No GitHub installation repos synced yet.

Use Manage to install or reconfigure access, then return here. The dashboard will sync automatically; the Sync button is a manual fallback.

{% endif %}
{% else %} {% endif %}
{% endblock %}