{% extends "base.html" %} {% set page = 'overview' %} {% block title %}{% if waiting %}({{ waiting|length }}) {% endif %}Loops · Loopcaptain{% endblock %} {% block body_attrs %} data-pulse-url="{{ url_for('overview_pulse') }}" data-pulse="{{ pulse }}"{% endblock %} {% block main %}

Where every loop stands

Loops

{% if error %}{% endif %} {% if views %} {% set running = views|selectattr('state')|selectattr('state.status', 'equalto', 'running')|list %} {% set troubled = views|selectattr('state')|selectattr('state.status', 'in', ['stalled', 'failed'])|list %} {% set here = url_for('overview') %}
{{ views|length }}loop{{ 's' if views|length != 1 }} in {{ project_count }} project{{ 's' if project_count != 1 }}
{{ waiting|length }}wait{{ 's' if waiting|length == 1 }} for your answer
{{ running|length }}running now
{{ troubled|length }}stalled or failed
{{ total_usd|usd or '$0' }}reported cost of all rounds
{% if tab == 'waiting' %} {% if not waiting %}

Nothing waits for you. A loop that needs you shows here with its question.

{% endif %} {% for view in waiting %}
Project
{{ view.repo.key }}
Loop
{{ view.title }}
Asked
{% if view.state.question.round %}round {{ view.state.question.round }} · {% endif %}{{ view.state.question.asked|ago }}{% if view.state.question.blocks %} · it stands still until you answer{% endif %}

{% if view.state.question.needs_person %}A step needs you. {% endif %}{{ view.state.question.text }}

{% if view.state.question.options %}
{% for option in view.state.question.options %}{% endfor %}
{% endif %}
{% endfor %} {% else %} {% if not projects %}

No loop matches{% if hidden %}; {{ hidden }} finished loop{{ 's' if hidden != 1 }} folded away{% endif %}.

{% else %}
{% for project in projects %} {% for view in project.views %} {% if view.state %} {% set s = view.state %} {% else %} {% endif %} {% endfor %} {% endfor %}
LoopStatusWhat it is forRoundsOpen findingsTimeCostLast sign of lifeOpen
Project{{ project.repo.key }}{{ project.place }}{% if project.branch %} · branch {{ project.branch }}{% endif %} · {{ project.views|length }} loop{{ 's' if project.views|length != 1 }}{% if project.waiting %}{{ project.waiting }} wait{{ 's' if project.waiting == 1 }} for you{% endif %}
{{ view.title }}{{ view.loop_id }}{{ s.status }}{% if s.question and s.status != 'waiting' %}asks{% endif %}{% set signs = no_progress(s) %}{% if signs %}no progress?{% endif %} {{ s.manifest.brief.goal|truncate(150) }} {{ s.rounds|length }}{% if s.manifest.round_cap %} / {{ s.manifest.round_cap }}{% endif %}{% set trail = trail_of(s) %}{% if trail %}{% for cell in trail %}{% endfor %}{% endif %} {{ s.open_findings|length or '' }} {{ s.minutes|minutes }} {{ s.cost_usd|usd }} {{ s.last_event|ago }}{% if view.problems %} · {{ view.problems|length }} unreadable line{{ 's' if view.problems|length != 1 }}{% endif %}unreadable {{ view.error }}
{% if hidden %}

{{ hidden }} finished loop{{ 's' if hidden != 1 }} folded away. Show {{ 'them' if hidden != 1 else 'it' }}.

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

{% if not config.source %}No loop to show yet, and no list of repositories to watch.{% else %}None of the repositories in {{ config.source.name }} has a .loops/ folder yet.{% endif %} Copy one of these into your coding agent:

Build a loop

{{ prompts['build-a-loop'] }}

Watch the loops on this machine

{{ prompts['watch-my-loops'] }}

Or see it first with an invented loop that costs nothing: loopcaptain demo, then reload. To watch your own repositories, list them under roots: or repos: in ~/.config/loopcaptain/config.yaml, or run loopcaptain watch <folder>. How a loop connects.

{% endif %} {% endblock %}