{% extends "dashboard/base.html" %} {% from "partials/_macros.html" import status_pill, relative_time, empty_state, info_toggle %} {% from "partials/_list_chrome.html" import list_controls, list_pagination %} {% block page %} {% call info_toggle(key='decisions', title="What is a decision?") %}

A decision (also called a "decision request" or "ask") is a question a session asks the operator when it doesn't have enough information to proceed unilaterally — usually filed via the brains.ask_human tool.

Each decision carries the question body, optional proposed answer, and stays in the queue until you resolve it. Click a row to read context, see the proposed answer, and approve or override.

{% endcall %} {{ list_controls( '/dashboard/decisions', search_value=search_value, search_placeholder='Search code / title / workspace…', per_page=per_page, ) }}
{% if open_decisions %} {% for d in open_decisions %} {% endfor %}
CodeWorkspaceTitleFiled
{{ icon('sparkles') }} {{ d.code }} {{ d.workspace }} {{ d.title }} {{ relative_time(d.created_at) }}
{% else %} {{ empty_state( 'No open decisions', body='Sessions raise decisions via `brains.ask_human`. When one is waiting, it shows up here.', icon_name='sparkles' ) }} {% endif %}
{{ list_pagination( '/dashboard/decisions', page=page, per_page=per_page, total=total, search_value=search_value, shown=open_decisions|length, ) }} {% endblock %}