{% extends "base.html" %} {% block title %}{{ view.project.name }} - specflo{% endblock %} {% block content %}

Products {% if view.product %} / {{ view.product.name }}{% endif %}

{{ view.project.name }}

{% if view.project.summary %}

{{ view.project.summary }}

{% endif %}
Phase
{{ view.project.phase }}
Status
{{ view.project.status }}
Execution
{{ view.project.execution }}
Waiting on
{{ view.waiting_on or "nobody" }}
{% if view.gate %}

Waiting on {{ view.gate.role }}

{{ view.gate.note or "No note." }}

Opened by {{ view.gate.opened_by or "an unnamed seat" }} at

{% if view.can_take %}
{% endif %}
{% endif %} {% if view.agent is not none %}

Agent

{% if view.agent.alive %}
{% with name=view.agent.name, state=view.agent_state, attention=view.attention %}{% include "agent_status.html" %}{% endwith %}

Transport: {{ view.agent.transport or "unknown" }}

{% else %}

{% if view.agent.name %}{{ view.agent.name }} is {{ view.agent.state }}: not serving.{% else %}This project has no agent yet.{% endif %}

{% endif %}
{% endif %} {% if view.agent is not none or view.transcript %}

Transcript

{# The stream stays open for the whole visit and a turn can outlast htmx's 60 s default request timeout, so the timeout is off for this one request. #}
{% for entry in view.transcript %}{% include "chat_line.html" %} {% endfor %}
{% endif %} {% for name, text in view.artifacts %}

{{ name }}

{% if text is not none %}
{{ text }}
{% else %}

This project has no {{ name }}: not created yet.

{% endif %}
{% endfor %} {% endblock %}