{% 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 }}

{% if project_name %}

📦 Project: {{ project_name }}

{% endif %}

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 %} {% if commits %}

🔀 Commits During Task ({{ commits|length }})

{% for c in commits %} {% endfor %}
HashTimeSubject
{{ c.short }} {{ c.ts|int|dt }} {{ c.subject }}
{% endif %} {% if files_changed %}

📁 Files Changed

{% for chash, files in files_changed.items() %}
{{ chash }}:
    {% for f in files[:15] %}
  • {{ f }}
  • {% endfor %} {% if files|length > 15 %}
  • ... {{ files|length - 15 }} more
  • {% endif %}
{% endfor %}
{% 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 %}