{% 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
{{ 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') %}Nothing waits for you. A loop that needs you shows here with its question.
{% endif %} {% for view in waiting %}{% if view.state.question.needs_person %}A step needs you. {% endif %}{{ view.state.question.text }}
{% if view.state.question.options %} {% endif %}No loop matches{% if hidden %}; {{ hidden }} finished loop{{ 's' if hidden != 1 }} folded away{% endif %}.
{% else %}| Loop | Status | What it is for | Rounds | Open findings | Time | Cost | Last sign of life | Open | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 }} | {% if view.state %} {% set s = view.state %}{{ 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 %} | {% else %}unreadable | {{ view.error }} | {% endif %}|||||
{{ 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.