{% extends "base.html" %} {% block title %}Task #{{ task_id }} - Hermes{% endblock %} {% block content %} {% if data.error %}

Error

{{ data.error }}

{% else %} {% set task = data.task %}

📋 Task #{{ task.id }}: {{ task.title }}

Task Info

Status: {{ task.status }}

Assignee: {{ task.assignee or 'N/A' }}

Priority: {{ task.priority or 'N/A' }}

Workspace: {{ task.workspace_path or 'N/A' }}

Created: {% if task.created_at %}{{ task.created_at|int|dt }}{% else %}N/A{% endif %}

{% if task.started_at %}

Started: {{ task.started_at|int|dt }} ({{ task.started_at|int|rel }})

{% endif %} {% if task.completed_at %}

Completed: {{ task.completed_at|int|dt }} ({{ task.completed_at|int|rel }})

{% endif %}

Description

{% if task.body %}
{{ task.body[:500] }}
{% else %}

No description

{% endif %}
{% if task.result %}

Result

{{ task.result }}
{% endif %}

Timeline ({{ data.events|length }} events)

{% if data.events %} {% for event in data.events %}
{{ event.created_at|int|dt }} - {{ event.kind }}
{% if event.payload %}
{{ event.payload }}
{% endif %}
{% endfor %} {% else %}

No events

{% endif %}

Comments ({{ data.comments|length }})

{% if data.comments %} {% for comment in data.comments %}
{{ comment.author or 'Anonymous' }} - {{ comment.created_at|int|dt }}
{{ comment.body }}
{% endfor %} {% else %}

No comments

{% endif %}

Runs ({{ data.runs|length }})

{% if data.runs %} {% for run in data.runs %} {% endfor %}
ID Profile Status PID Started Ended Outcome
{{ run.id }} {{ run.profile or 'N/A' }} {{ run.status }} {{ run.worker_pid or 'N/A' }} {% if run.started_at %}{{ run.started_at|int|dt }}{% else %}N/A{% endif %} {% if run.ended_at %}{{ run.ended_at|int|dt }}{% else %}N/A{% endif %} {{ run.outcome or 'N/A' }}
{% else %}

No runs

{% endif %}

Attachments ({{ data.attachments|length }})

{% if data.attachments %} {% else %}

No attachments

{% endif %}
{% endif %}

← Back to Tasks

{% endblock %}